Skip to content
Snippets Groups Projects
Commit 428cb3fb authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] purchase: payment_term_id twice in the view

+ replace widget selection by options no_open no_create
parent 6f643252
No related branches found
No related tags found
No related merge requests found
...@@ -265,7 +265,6 @@ ...@@ -265,7 +265,6 @@
</page> </page>
<page string="RFQ &amp; Bid"> <page string="RFQ &amp; Bid">
<group> <group>
<field name="payment_term_id" widget="selection"/>
<field name="incoterm_id"/> <field name="incoterm_id"/>
<field name="bid_date"/> <field name="bid_date"/>
<field name="bid_validity"/> <field name="bid_validity"/>
...@@ -281,7 +280,7 @@ ...@@ -281,7 +280,7 @@
<group> <group>
<field name="invoice_method"/> <field name="invoice_method"/>
<field name="invoiced"/> <field name="invoiced"/>
<field name="payment_term_id" widget="selection"/> <field name="payment_term_id" options="{'no_open': True, 'no_create': True}"/>
<field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}" /> <field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}" />
<!-- We do not need these fields anymore, the information is in open chatter --> <!-- We do not need these fields anymore, the information is in open chatter -->
<field name="validator" groups="base.group_no_one"/> <field name="validator" groups="base.group_no_one"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment