~unifield-team/unifield-wm/us-903

« back to all changes in this revision

Viewing changes to sourcing/sourcing_view.xml

[UF-379] first commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
                                        <field name="real_stock" />
59
59
                                        <field name="available_stock" />
60
60
                                        <field name="virtual_stock" />
61
 
                                        <field name="supplier" colspan="2" context="{'product_id': product_id, 'choose_supplier': True}" attrs="{'readonly': ['|', ('type', '=', 'make_to_stock'), ('state', '!=', 'draft')]}"
 
61
                                        <field name="supplier" colspan="2"
 
62
                                                context="{'product_id': product_id, 'choose_supplier': True}"
 
63
                                                attrs="{'readonly': ['|', ('type', '=', 'make_to_stock'), ('state', '!=', 'draft')]}"
62
64
                                                on_change="onChangeSupplier(supplier)" />
63
65
                                        <field name="estimated_delivery_date" />
64
66
                                        <button name="confirmLine" string="Confirm line" icon="gtk-go-forward" type="object" attrs="{'invisible':[('state', '!=', 'draft')]}" />