-
- Downloads
[IMP] point_of_sale: Send Context Closing POS Session
Sending a context when you are closing a `pos.session` will allow you to
make some validations/actions only when the closing is being done from the UI.
For example, sending values for new fields or a message that includes
something from the pos, like the Cashier ID, name, etc.
Also, it will help more when it is necessary to inherit the function in a
simpler way, to avoid having to overwrite it.
closes odoo/odoo#97864
Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>