summaryrefslogtreecommitdiff
path: root/addons/base_geolocalize/models/base_geocoder.py
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-01 08:06:38 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-01 20:55:36 +0000
commit222aa425129bd485948515b8c3ca73343d8d9a97 (patch)
treeedd54f56d2d0f82bad12f5a0f9b0f1732617fd67 /addons/base_geolocalize/models/base_geocoder.py
parenta97a1d838ed8c79277e71c02d2245c2bc86da729 (diff)
[FIX] point_of_sale: do not reconcile 0 sum lines
- Have a clean V13 db with point_of_sale and account_accountant - General Settings => Accounting => Check "Anglo-Saxon Accounting" (debug mode) - Choose or create a storable product P with category C - Go to category C and set 'inventory valuation' to 'automated' - Open a new POS session PS - Sell product P with qty 1 - Pay - New order - Sell product P with qty -1 (refund) - Pay - Close session PS - Validate session PS Error "You are trying to reconcile some entries that are already reconciled." will popup because the 0 sum AML is already marked as reconciled. This can be fixed by avoiding asking reconciliation when the amount_residual is 0. opw-2177881 closes odoo/odoo#48799 X-original-commit: 2c5ef4ed7ea98f890f95f8892c8a0df64b88db98 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/base_geolocalize/models/base_geocoder.py')
0 files changed, 0 insertions, 0 deletions