diff options
| author | Louis Baudoux <lba@odoo.com> | 2019-09-30 14:45:00 +0000 |
|---|---|---|
| committer | Louis Baudoux <lba@odoo.com> | 2019-10-01 07:07:32 +0000 |
| commit | 1f0d28591dd373e34b3d8ff0dd0a3352804e5497 (patch) | |
| tree | 85c2123d54c51f109ad727cbb81a34cbe59c8eaa /addons/l10n_generic_coa | |
| parent | 12824cb432b61db326d583c4ef6620c4e45b71c8 (diff) | |
[FIX] l10n_generic_coa: fix demo invoice with wrong journal
The 'Miscellaneous Operations' journal was used instead of the 'Vendor
Bills' journal for that demo invoice, which lead to a crash when
processing it with the OCR.
closes odoo/odoo#37618
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_generic_coa')
| -rw-r--r-- | addons/l10n_generic_coa/demo/account_invoice_demo.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_generic_coa/demo/account_invoice_demo.xml b/addons/l10n_generic_coa/demo/account_invoice_demo.xml index c1aabfd3fb1..91058a50536 100644 --- a/addons/l10n_generic_coa/demo/account_invoice_demo.xml +++ b/addons/l10n_generic_coa/demo/account_invoice_demo.xml @@ -64,7 +64,7 @@ <!-- ==== Invoice Demo 6 - Draft Vendor Bill for OCR ==== --> - <record id="demo_invoice_extract" model="account.move" context="{'type': 'in_invoice'}"> + <record id="demo_invoice_extract" model="account.move" context="{'default_type': 'in_invoice'}"> <field name="type">in_invoice</field> <field name="invoice_user_id" ref="base.user_demo"/> </record> |
