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

« back to all changes in this revision

Viewing changes to sale_override/sale_view.xml

  • Committer: jf
  • Date: 2013-09-05 09:32:29 UTC
  • mfrom: (1743.1.6 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20130905093229-7vyntm4uaumxfbz1
UF-1042 [IMP] Product's drop down lists configuration access
UF-1044 [IMP] Product status restrictive rules
lp:~unifield-team/unifield-wm/uf-1044-qt-integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                     -->
36
36
 
37
37
                    <xpath expr="/form/notebook//page[@string='Sales Order']//field[@name='order_line']/form/notebook//field[@name='product_id']" position="attributes">
38
 
                         <attribute name="domain">[('sale_ok', '=', True), ('purchase_type', '=', parent.categ)]</attribute>
 
38
                        <attribute name="domain">[('sale_ok', '=', True), ('purchase_type', '=', parent.categ)]</attribute>
 
39
                        <attribute name="context">partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom,available_for_restriction=parent.partner_type,search_default_not_restricted=1</attribute>
39
40
                    </xpath>
40
41
 
41
42
                    <xpath expr="/form/group//field[@name='invoiced']" position="attributes">