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

« back to all changes in this revision

Viewing changes to tender_flow/tender_flow_view.xml

  • Committer: Olivier DOSSMANN
  • Date: 2012-09-10 12:47:41 UTC
  • mfrom: (1122 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: olivier@tempo-laptop-20120910124741-jwl0z433kaszn1ob
UF-1285 [MERGE] Last trunk lp:unifield-wm

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                            </group>
46
46
                        </page>
47
47
                        <page string="Suppliers">
48
 
                                <field colspan="4" mode="tree,form,graph" name="supplier_ids" nolabel="1" attrs="{'readonly': [('state', '!=', 'draft')]}" >
 
48
                                <field colspan="4" mode="tree,form,graph" name="supplier_ids" nolabel="1" attrs="{'readonly': [('state', '!=', 'draft')]}" domain="[('check_partner', '=', sale_order_id )]">
49
49
                                <tree string="Suppliers">
50
50
                                    <field name="name" />
51
51
                                    <field name="partner_type" />
213
213
                        <attribute name="readonly">True</attribute>
214
214
                    </xpath>
215
215
                    <xpath expr="/form/notebook//field[@name='partner_id']" position="attributes">
216
 
                        <attribute name="attrs">{'readonly': [('state', 'in', ['rfq_sent', 'rfq_updated', 'done', 'cancel', 'confirmed', 'confirmed_wait', 'approved', 'except_picking', 'except_invoice'])]}</attribute>
 
216
                        <attribute name="attrs">{'readonly': [('state', 'in', ['rfq_sent', 'rfq_updated', 'done', 'cancel', 'confirmed', 'confirmed_wait', 'approved', 'except_picking', 'except_invoice'])],}</attribute>
 
217
                        <attribute name="domain">[('check_partner_rfq', '=', tender_id)]</attribute>
217
218
                    </xpath>
218
219
                    <xpath expr="/form/notebook//field[@name='partner_address_id']" position="attributes">
219
220
                        <attribute name="attrs">{'readonly': [('state', 'in', ['rfq_sent', 'rfq_updated', 'done', 'cancel', 'confirmed', 'confirmed_wait', 'approved', 'except_picking', 'except_invoice'])]}</attribute>