summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-07-03 13:10:41 +0000
committerNans Lefebvre <len@odoo.com>2019-07-03 13:33:22 +0000
commitd5688e6ca08c0732f192207b9bb584bf7b672e90 (patch)
tree1a9f385adfd447e0fe650ecb3bc10702e4450eed /addons/web_editor/static/src/xml/editor.xml
parent6020f4baf27d3750d0c49a26f7a039062ac04f40 (diff)
[FIX] account: set bank account when creating invoices programmatically
The bank account field is set up by the default_get of invoice. Similarly to the application of the onchange in the create, we add it in the create if it is not already part of the given values. This will set the bank account for invoices created e.g. from subscriptions. Note that we extract it in a function to avoid duplicating the logic. opw 2030562 closes odoo/odoo#34558 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions