~eduardo-bayardo-bias/openobject-addons/bias_trunk_v8

« back to all changes in this revision

Viewing changes to crm_protocol/crm_view.xml

  • Committer: Eduardo Bayardo
  • Date: 2016-10-07 00:39:04 UTC
  • Revision ID: eduardo.bayardo@bias.com.mx-20161007003904-2ak0ssyo1zk420d8
update crm protocol module

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
                            <div>
70
70
                                <field name="purchase_order" class="oe_inline" readonly="1"/>
71
71
                                <field name="nt_purchase_order" class="oe_inline"  readonly="1"
72
 
                                       attrs="{'invisible':[('purchase_order','=',True)],'required':[('purchase_order','!=',True)]}"/>
 
72
                                       attrs="{'invisible':[('purchase_order','=',True)],'required':[('purchase_order','!=',True),('sale_state','!=','rejected')]}"/>
73
73
 
74
74
                            </div>
75
75
                            <label for="billing"/>
276
276
                            <div>
277
277
                                <field name="purchase_order" class="oe_inline" attrs="{'readonly':[('financial_state','=','authorized')]}"/>
278
278
                                <field name="nt_purchase_order" class="oe_inline" 
279
 
                                       attrs="{'invisible':[('purchase_order','=',True)],'required':[('purchase_order','!=',True)], 'readonly':[('financial_state','=','authorized')]}"/>
 
279
                                       attrs="{'invisible':[('purchase_order','=',True)],'required':[('purchase_order','!=',True),('financial_state','!=','authorized')], 'readonly':[('financial_state','=','authorized')]}"/>
280
280
                            </div>
281
281
                            <label for="billing"/>
282
282
                            <div>