|
@ -1,6 +1,22 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<odoo> |
|
|
<odoo> |
|
|
|
|
|
|
|
|
|
|
|
<record id="account_analytic_account_recurring_form_form" |
|
|
|
|
|
model="ir.ui.view"> |
|
|
|
|
|
<field name="name">Contract form (in contract_sale)</field> |
|
|
|
|
|
<field name="model">account.analytic.account</field> |
|
|
|
|
|
<field name="inherit_id" |
|
|
|
|
|
ref="contract.account_analytic_account_recurring_form_form"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
|
|
|
|
|
|
<xpath expr="//field[@name='discount']" position="attributes"> |
|
|
|
|
|
<attribute name="groups">sale.group_discount_per_so_line |
|
|
|
|
|
</attribute> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
|
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<menuitem |
|
|
<menuitem |
|
|
id="menu_contract_sale" name="Contracts" |
|
|
id="menu_contract_sale" name="Contracts" |
|
|
parent="sale.sale_order_menu" |
|
|
parent="sale.sale_order_menu" |
|
|