summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-09-11 13:44:46 +0000
committerJulien Castiaux <juc@odoo.com>2019-09-12 07:46:39 +0000
commit51a602824c480e408ce38929c93bdd0bcb17ee15 (patch)
tree43bdb07f6a182e7de665bcaba2202add7f740bc4 /addons/web/static/src/js/views/basic/basic_controller.js
parent25b7494e776c3675554ce9bd0d4f133e1ceeae4b (diff)
[FIX] account: inherits key is define in the backend
Install Account, do an invoice, send and print it. Install snailmail_account, do the same process. The wizard refuses to send the email because the Compose field is empty. The `account.invoice.send` model is defined with an `_inherits` to `mail.compose.message` on the `compose_id` key. When the model is first created, that `compose_id` key is left unpopulated on the view as the referenced model is not created yet. Hence posting the view is impossible as it fails the form validation. closes odoo/odoo#36715 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions