summaryrefslogtreecommitdiff
path: root/addons/note/data/note_data.xml
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-12-09 09:23:01 +0000
committerPierre Masereel <pim@odoo.com>2019-12-10 15:47:58 +0000
commitae3951e01b8ee602d0be4298627d187ebca6794c (patch)
tree413403045bda9446546ba8a69d107c7e4f98c599 /addons/note/data/note_data.xml
parentb649b18dd5afd14855eb07992cd241a44ca17759 (diff)
[FIX] point_of_sale: post refund invoice and avoid payment
When a refund of pos order is made in the POS backend, the invoice was created in draft, which is a different behavior than when an order is created. So we now automatically post the refund invoice once it is created, and hide the button 'Payment', because if the invoice is reconciled with an account payment, the session cannot be closed anymore as the invoice should be reconciled with POS recievable. We are also fixing a multi-company issue, because the validation of the invoice was made in the company of the user, instead of the company of the order. closes odoo/odoo#41734 Issue-id: 2129357 X-original-commit: 1c0e5d1ad56802b23174809cdfd4b22914fc1ba5 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions