forked from Mapan/odoo17e
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="res_partner_view_form" model="ir.ui.view">
|
|
<field name="name">res.partner.form</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="account.view_partner_property_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='accounting_entries']" position="attributes">
|
|
<attribute name="groups">account.group_account_manager</attribute>
|
|
<attribute name="invisible">not is_coa_installed</attribute>
|
|
</xpath>
|
|
<xpath expr="//page[@name='accounting_disabled']" position="attributes">
|
|
<attribute name="string">Accounting</attribute>
|
|
</xpath>
|
|
<xpath expr="//page[@name='accounting']" position="attributes">
|
|
<attribute name="string">Accounting</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="product_template_form_view" model="ir.ui.view">
|
|
<field name="name">product.template.form.inherit</field>
|
|
<field name="model">product.template</field>
|
|
<field name="priority">5</field>
|
|
<field name="inherit_id" ref="account.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<page name="invoicing" position="attributes">
|
|
<attribute name="groups">account.group_account_invoice,account.group_account_readonly</attribute>
|
|
</page>
|
|
</field>
|
|
</record>
|
|
</odoo>
|