OdooWiki OCA HUB

POS Receipt Replace User By Trigram

pos_receipt_replace_user_by_trigram folder_open OCA/pos open_in_new
Point of Sale License: AGPL-3

This module allows to replace User by Trigram in POS receipt as below:

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you print a short 3-letter code (trigram) instead of the cashier's full name on Point of Sale receipts, and adds a Trigram field on users.

This module changes how the cashier is shown on Point of Sale receipts. Instead of the full user name, the receipt can show a short code of up to three letters, called a trigram.

  • A new "Trigram" field is added on the user/contact form, so you can type the code for each cashier.
  • In Point of Sale settings, under the bills and receipts section, a new option "Replace User by trigram in POS receipt" is available. It is turned on by default for each point of sale.
  • When the option is on, the receipt line that normally says "Served by <cashier name>" shows "Served by <trigram>" instead. When it is off, the full cashier name is printed as before.
  • A scheduled job named "POS: generate user trigram" can fill in missing trigrams for users. It builds the code from the first letter of the first name plus the first two letters of the last name, or the first three letters when only one name is available. The job is created inactive, so it does not run unless someone enables it.

The module works with the Point of Sale configuration (pos.config), the Point of Sale session (pos.session), settings (res.config.settings) and contacts/users (res.partner).

Depends on

point_of_sale
Models and fields (3)
  • pos.config · extends an existing modelreplace_user_by_trigram (Replace User by trigram in POS receipt)
  • res.partner · extends an existing modelpos_trigram
  • res.config.settings · extends an existing modelpos_replace_user_by_trigram

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

By default, username on receipts is replaced by his Trigram.

In "Point of Sale" configuration "Bills & Receipts" section, you can deactivate "Replace User by trigram in POS receipt" feature: Generation of trigram is done through scheduled action 'POS: generate user trigram' that can be customized and executed manually.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.