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

« back to all changes in this revision

Viewing changes to procurement_request/procurement_request_view.xml

  • Committer: Quentin THEURET
  • Date: 2012-03-29 09:24:07 UTC
  • mto: This revision was merged to the branch mainline in revision 735.
  • Revision ID: qt@tempo-consulting.fr-20120329092407-hszhj85erybao34b
UF-930 [IMP] Remove the possibility to split an internal request line when the internal request is not draft or validated

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                                    <field name="latest" />
55
55
                                    <field name="my_company_id" invisible="1" />
56
56
                                    <field name="supplier" context="{'product_id': product_id, 'choose_supplier': True}" attrs="{'readonly': [('type', '=', 'make_to_stock')]}" domain="[('supplier', '=', True), ('id', '!=', my_company_id)]"/>
57
 
                                    <button name="open_split_wizard" type="object" string="Split Line" icon="terp-stock_effects-object-colorize" />
 
57
                                    <field name="state" invisible="1" />
 
58
                                    <button name="open_split_wizard" type="object" string="Split Line" icon="terp-stock_effects-object-colorize" 
 
59
                                            attrs="{'invisible': [('state', 'in', ('confirmed', 'cancel', 'done', 'exception'))]}"/>
58
60
                                </tree>
59
61
                                <form>
60
62
                                   <field name="product_id" colspan="4" />