refactor: update field labels and definitions for POS order audit fields

This commit is contained in:
Suherdy Yacob 2026-05-18 11:01:33 +07:00
parent 6cf02ba859
commit fa564e86f0
2 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@ Ensure that employees have PINs set in their HR Employee profile and that they a
## Audit Fields
The following fields are added or modified on the `pos.order` model:
- `creator_id`: "Order Taker" - Employee who took the order.
- `user_id`: "Session User" - Odoo user who opened the session.
- `employee_id`: "Order Taker" - Employee who registered the order/uses the cash register (standard `pos_hr` field).
- `payer_id`: "Cashier" - Employee who processed the payment.
- `employee_id`: Renamed to "Cash Open by" - Employee who opened the cash register (standard `pos_hr` field).
These fields can be viewed in the POS Order backend list and form views.

View File

@ -6,5 +6,5 @@ class PosOrder(models.Model):
payer_id = fields.Many2one('hr.employee', string='Cashier', help='Employee who processed the payment')
# Existing Odoo/POS fields renamed for clarity
user_id = fields.Many2one('res.users', string='Order Taker', help='Odoo user who opened the session')
user_id = fields.Many2one('res.users', string='Session User', help='Odoo user who opened the session')
employee_id = fields.Many2one('hr.employee', string='Order Taker', help='Employee who uses the cash register')