mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] Move comment_template_id from account_invoice_comment_template and make it company_dependant [IMP] base_comment_template: Add test
15 lines
538 B
XML
15 lines
538 B
XML
<odoo>
|
|
|
|
<record id="view_partner_form" model="ir.ui.view">
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="priority" eval="2"/>
|
|
<field name="arch" type="xml">
|
|
<group name="sale" position="inside">
|
|
<field name="property_comment_template_id" attrs="{'invisible': ['|',('customer', '=', False), ('is_company', '=', False), ('parent_id', '!=', False)]}"/>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|