~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to purchase_followup/purchase_followup_view.xml

  • Committer: jf
  • Date: 2014-03-14 10:29:03 UTC
  • mfrom: (1875.11.8 uf-2223)
  • mto: This revision was merged to the branch mainline in revision 2032.
  • Revision ID: jfb@tempo-consulting.fr-20140314102903-pgdtwmww0czr632g
UF-2223 [IMP] Report: Purchase Order follow up per client
lp:~unifield-team/unifield-wm/uf-2223

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
                <form string="Choose a Purchase Order">
103
103
                    <separator colspan="4" string="Select Purchase Order" />
104
104
                    <field name="order_id" 
105
 
                           attrs="{'readonly': ['|', ('cust_order_id', '!=', False), ('incoming_id', '!=', False)], 'required': [('cust_order_id', '=', False), ('incoming_id', '=', False)]}" 
 
105
                           attrs="{'readonly': ['|', ('cust_order_id', '!=', False), ('incoming_id', '!=', False), ('cust_order_id2', '!=', False)], 'required': [('cust_order_id', '=', False), ('incoming_id', '=', False), ('cust_order_id2', '=', False)]}" 
106
106
                           context="{'active_test': False}"
107
107
                           domain="[('rfq_ok', '=', False), ('state', 'in', ['sourced', 'confirmed_wait', 'split', 'approved', 'done', 'except_picking', 'except_invoice'])]"
108
 
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, 'order_id')"/>
 
108
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, cust_order_id2, 'order_id')"/>
109
109
                    <field name="cust_order_id" 
110
110
                           context="{'from_followup': True, 'active_test': False}" 
111
 
                           attrs="{'readonly': ['|', ('order_id', '!=', False), ('incoming_id', '!=', False)], 'required': [('order_id', '=', False), ('incoming_id', '=', False)]}" 
 
111
                           attrs="{'readonly': ['|', ('order_id', '!=', False), ('incoming_id', '!=', False), ('cust_order_id2', '!=', False)], 'required': [('order_id', '=', False), ('incoming_id', '=', False), ('cust_order_id2', '=', False)]}" 
112
112
                           domain="[('rfq_ok', '=', False), ('state', 'in', ['sourced', 'confirmed_wait', 'split', 'approved', 'done', 'except_picking', 'except_invoice'])]"
113
 
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, 'cust_order_id')" />
 
113
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, cust_order_id2, 'cust_order_id')" />
114
114
                    <field name="incoming_id" 
115
115
                           context="{'from_followup': True, 'wh_dashboard': True, 'pick_type': 'incoming'}" 
116
 
                           attrs="{'readonly': ['|', ('order_id', '!=', False), ('cust_order_id', '!=', False)], 'required': [('cust_order_id', '=', False), ('order_id', '=', False)]}" 
 
116
                           attrs="{'readonly': ['|', ('order_id', '!=', False), ('cust_order_id', '!=', False), ('cust_order_id2', '!=', False)], 'required': [('cust_order_id', '=', False), ('order_id', '=', False), ('cust_order_id2', '=', False)]}" 
117
117
                           domain="[('purchase_id', '!=', False), ('type', '=', 'in')]"
118
 
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, 'incoming_id')" />
 
118
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, cust_order_id2, 'incoming_id')" />
 
119
                    <field name="cust_order_id2" 
 
120
                           context="{'from_followup2': True, 'active_test': False}" 
 
121
                           attrs="{'readonly': ['|', ('cust_order_id', '!=', False), ('order_id', '!=', False), ('incoming_id', '!=', False)], 'required': [('cust_order_id', '=', False), ('order_id', '=', False), ('incoming_id', '=', False)]}" 
 
122
                           domain="[('rfq_ok', '=', False), ('state', 'in', ['sourced', 'confirmed_wait', 'split', 'approved', 'done', 'except_picking', 'except_invoice'])]"
 
123
                           on_change="change_order_id(order_id, cust_order_id, incoming_id, cust_order_id2, 'cust_order_id2')" />
119
124
                    <separator colspan="4" string="Actions" />
120
125
                    <button special="cancel" string="Cancel" colspan="2" icon="gtk-cancel" />
121
126
                    <button name="go_to_followup" string="Go to followup" icon="gtk-execute" colspan="2" type="object"/>