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

« back to all changes in this revision

Viewing changes to sourcing/wizard/multiple_sourcing_view.xml

  • Committer: jf
  • Date: 2014-06-18 08:26:21 UTC
  • Revision ID: jfb@tempo-consulting.fr-20140618082621-cptq430pbwqo6z1t
Tags: pilot3.1b2
UFTP-249 [FIX] Reference field not imported in Unifield when importing register lines
lp:~unifield-team/unifield-wm/UFTP-78 2000..2001

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
                        <separator colspan="4" string="Selected lines to source" />
18
18
                        <field name="line_ids" nolabel="1" colspan="4">
19
19
                            <tree string="Lines to source" hide_new_button="True" noteditable="True">
20
 
                                <field name="sale_order_id" string="Order reference" />
 
20
                                <field name="order_id" string="Order reference" />
21
21
                                <field name="line_number" />
22
22
                                <field name="product_id" />
23
 
                                <field name="qty" />
24
 
                                <field name="uom_id" />
 
23
                                <field name="product_uom_qty" />
 
24
                                <field name="product_uom" />
25
25
                                <field name="real_stock" />
26
26
                            </tree>
27
27
                        </field>
33
33
                        <separator colspan="4" string="Supplier selection" />
34
34
                        <field name="supplier"
35
35
                               domain="[('id', '!=', company_id), ('available_for_dpo', '=', po_cft), ('line_contains_fo', '=', line_ids)]"
36
 
                               attrs="{'readonly': ['|', ('po_cft', '=', 'cft'), ('type', '=', 'make_to_stock')]}"/>
 
36
                               attrs="{'readonly': ['|', ('po_cft', '=', 'cft'), ('type', '=', 'make_to_stock')]}"
 
37
                               on_change="change_supplier(supplier)"
 
38
                        />
37
39
                    </group>
38
40
                    <separator colspan="4" string="Actions" />
39
41
                    <button special="cancel" string="Cancel" icon="gtk-cancel" help="Close the wizard" />
46
48
 
47
49
        <act_window name="Source lines"
48
50
                    res_model="multiple.sourcing.wizard"
49
 
                    src_model="sourcing.line"
 
51
                    src_model="sale.order.line"
50
52
                    view_mode="form"
51
53
                    target="new"
52
54
                    key2="client_action_multi"