diff options
| author | Joseph Caburnay <jcb@odoo.com> | 2020-11-24 07:26:50 +0000 |
|---|---|---|
| committer | Joseph Caburnay <jcb@odoo.com> | 2020-11-24 07:26:50 +0000 |
| commit | 7b9545387962981b5729318e2bbc5714dcbac68c (patch) | |
| tree | 5b1468058fba00766f5f49429ca43fb4cbae73c1 /addons/project | |
| parent | bea4222875b82b96069a20fc68eb15ab4e7a8797 (diff) | |
[FIX] point_of_sale: balance pos session move when closing
Instances like deleting a tax used in a pos.order before closing a
session is allowed but it renders error when closing the session
because of imbalance move lines. In this commit, we are adding
a 'balancing' line in the move before it is created. This ensures
the closing of pos session. The introduced move line is named
'Difference at closing PoS session' and is a receivable making it
easy to find and can be reconciled.
closes odoo/odoo#62194
X-original-commit: 5c6b045
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/project')
0 files changed, 0 insertions, 0 deletions
