Browse Source

[FIX] contract_sale

pull/437/head
Maxime Chambreuil 5 years ago
parent
commit
6352e3355c
  1. 1
      contract_sale/__manifest__.py
  2. 15
      contract_sale/views/sale_order.xml

1
contract_sale/__manifest__.py

@ -20,7 +20,6 @@
'views/contract_line.xml',
'views/contract_template.xml',
'views/res_partner_view.xml',
'views/sale_order.xml',
],
'license': 'AGPL-3',
'installable': True,

15
contract_sale/views/sale_order.xml

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_order_form_form_view" model="ir.ui.view">
<field name="name">sale.order.form.view</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="contract_id" domain="[('partner_id', '=', partner_id)]"/>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save