~unifield-team/unifield-wm/prod

« back to all changes in this revision

Viewing changes to stock_override/stock_view.xml

  • Committer: jf
  • Date: 2015-02-25 08:47:44 UTC
  • mfrom: (2402.1.1 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20150225084744-yjc3iv4ue6xcaumx
US-108 [FIX] Able to create & process OUT from scratch to Intermission location
lp:~unifield-team/unifield-wm/us-108

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                    <attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}</attribute>
51
51
                </xpath>
52
52
                <xpath expr="/form//field[@name='partner_id2']" position="attributes">
53
 
                    <attribute name="domain">['|', '&amp;', ('partner_type', '!=', 'internal'), ('customer', '=', True), ('is_instance', '=', True)]</attribute>
 
53
                    <attribute name="domain">[('partner_type', 'in', ['esc', 'external']), ('customer', '=', True)]</attribute>
54
54
                </xpath>
55
55
                <xpath expr="/form//field[@name='move_lines']/tree//field[@name='location_id']" position="after">
56
56
                    <field name="location_dest_id" readonly="1" />
829
829
                            <field name="partner_id2"
830
830
                                on_change="on_change_partner(partner_id2, address_id)"
831
831
                                required="1"
 
832
                                domain="[('partner_type', 'in', ['esc', 'external'])]"
832
833
                                attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}"
833
834
                                />
834
835
                            <field name="address_id"