Skip to content

Commit

Permalink
[FIX] contract_sale: Migration to 17.0 extra views.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeep32 committed Apr 15, 2024
1 parent e4c6210 commit fd1b9f0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 67 deletions.
3 changes: 0 additions & 3 deletions contract_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
"data": [
"security/ir.model.access.csv",
"security/contract_security.xml",
"views/abstract_contract_line.xml",
"views/contract.xml",
"views/contract_line.xml",
"views/contract_template.xml",
"views/res_partner_view.xml",
],
"license": "AGPL-3",
Expand Down
19 changes: 0 additions & 19 deletions contract_sale/views/abstract_contract_line.xml

This file was deleted.

17 changes: 0 additions & 17 deletions contract_sale/views/contract.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,4 @@
sequence="21"
groups="sales_team.group_sale_salesman"
/>
<record id="contract_contract_form_view" model="ir.ui.view">
<field name="name">contract.contract.form.contract.sale</field>
<field name="model">contract.contract</field>
<field name="inherit_id" ref="contract.contract_contract_form_view" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='contract_line_ids']/tree/field[@name='discount']"
position="attributes"
>
<attribute
name="groups"
add="product.group_discount_per_so_line"
separator=","
/>
</xpath>
</field>
</record>
</odoo>
14 changes: 0 additions & 14 deletions contract_sale/views/contract_line.xml

This file was deleted.

14 changes: 0 additions & 14 deletions contract_sale/views/contract_template.xml

This file was deleted.

0 comments on commit fd1b9f0

Please sign in to comment.