[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>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user