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

« back to all changes in this revision

Viewing changes to sale_override/sale_view.xml

  • Committer: Quentin THEURET
  • Date: 2016-03-04 10:44:48 UTC
  • Revision ID: qt@tempo-consulting.fr-20160304104448-u1pm8cvpkreodcfg
US-826 [FIX] Remove domain on product selection based on order category

Show diffs side-by-side

added added

removed removed

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