[MIG] account_invoice_default_journal: migrate to 18.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2022 Nicolas JEUDY
|
||||
Copyright 2026 Elabore
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="view_product_template_forced_journal_form">
|
||||
<field name="name">product.template.forced_journal.form.inherit</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="account.product_template_form_view" />
|
||||
<field name="arch" type="xml">
|
||||
<!--
|
||||
No `domain` attribute here on purpose: a view-level domain
|
||||
overrides the one generated from the field definition, which
|
||||
already combines the journal type with the `check_company`
|
||||
company domain.
|
||||
-->
|
||||
<field name="property_account_income_id" position="after">
|
||||
<field name="forced_journal_id" />
|
||||
</field>
|
||||
<field name="property_account_expense_id" position="after">
|
||||
<field name="forced_purchase_journal_id" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user