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

« back to all changes in this revision

Viewing changes to tender_flow/tender_flow_view.xml

  • Committer: jf
  • Date: 2016-02-08 16:40:08 UTC
  • mfrom: (2753.1.7 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20160208164008-426e001so4e9xoip
US-871 [FIX] Mass Realloc: add COR prefix in AJI, use entry_sequence as ref. in COR and REV AJIs
US-871 [FIX] Single AJI manually corrected, COR AJI can't be mass rallocated
lp:~jfb-tempo-consulting/unifield-wm/us-871

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                        <page string="Tender Lines">
28
28
                            <field colspan="4" mode="tree,form,graph" name="tender_line_ids" nolabel="1" widget="one2many_list">
29
29
                                <tree string="Tender Lines" editable="top" hide_delete_button="1" noteditable="line_state in ['cancel', 'done']" colors="blue: line_state=='cancel'">
30
 
                                    <field name="product_id" on_change="on_product_change(product_id, product_uom, qty, parent.categ)" attrs="{'readonly': [('state', '!=', 'draft')]}" context="{'available_for_restriction': 'tender', 'search_default_not_restricted': 1}" />
 
30
                                    <field name="product_id" on_change="on_product_change(product_id, product_uom, qty)" attrs="{'readonly': [('state', '!=', 'draft')]}" domain="[('purchase_type', '=', parent.categ)]" context="{'available_for_restriction': 'tender', 'search_default_not_restricted': 1}" />
31
31
                                    <field name="comment" />
32
32
                                    <field name="qty" attrs="{'readonly': [('state', '!=', 'draft')]}" 
33
33
                                        on_change="onchange_uom_qty(product_uom, qty)" />
171
171
            <field name="arch" type="xml">
172
172
                <tree string="Tender Lines" editable="top">
173
173
                    <!-- <field name="date_planned" /> -->
174
 
                    <field name="product_id" on_change="on_product_change(product_id, product_uom, qty)" attrs="{'readonly': [('state', '!=', 'draft')]}" context="{'available_for_restriction': 'tender', 'search_default_not_restricted': 1}" />
 
174
                    <field name="product_id" on_change="on_product_change(product_id, product_uom, qty)" attrs="{'readonly': [('state', '!=', 'draft')]}" domain="[('purchase_type', '=', parent.categ)]" context="{'available_for_restriction': 'tender', 'search_default_not_restricted': 1}" />
175
175
                    <field name="comment" />
176
176
                    <field name="qty" attrs="{'readonly': [('state', '!=', 'draft')]}" 
177
177
                           on_change="onchange_uom_qty(product_uom, qty)" />