[FIX]: Fix group unpack problem
bzr revid: atp@tinyerp.com-20120727093615-9f53wu6z6f7j931b
This commit is contained in:
@@ -27,7 +27,7 @@ class sale_configuration(osv.osv_memory):
|
||||
_inherit = 'sale.config.settings'
|
||||
_columns = {
|
||||
'group_invoice_deli_orders': fields.boolean('Based on Delivery Orders',
|
||||
implied_group='group_invoice_deli_orders',
|
||||
implied_group='sale_stock.group_invoice_deli_orders',
|
||||
help="To allow your salesman to make invoices for Delivery Orders using the menu 'Deliveries to Invoice'."),
|
||||
'task_work': fields.boolean('Based on Task Activities',
|
||||
help="""Lets you transfer the entries under tasks defined for Project Management to
|
||||
@@ -45,7 +45,7 @@ class sale_configuration(osv.osv_memory):
|
||||
'default_picking_policy' : fields.boolean("Configurable Shipping Policy",
|
||||
help = "You will be able to configure, per sale order, if you deliver all products at once or if you deliver each product when it is available. This may have an impact on the shipping price."),
|
||||
'group_mrp_properties': fields.boolean('Properties on Lines',
|
||||
implied_group='group_mrp_properties',
|
||||
implied_group='sale_stock.group_mrp_properties',
|
||||
help="Allows you to tag sale order lines with properties."),
|
||||
'group_multiple_shops': fields.boolean("Manage Multiple Shops",
|
||||
implied_group='stock.group_locations',
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
</xpath>
|
||||
<xpath expr="//page[@string='Order Lines']/field[@name='order_line']/form[@string='Sales Order Lines']/group/group/field[@name='address_allotment_id']" position="after">
|
||||
<field name="property_ids" widget="many2many_tags"
|
||||
groups="sale.group_mrp_properties"/>
|
||||
groups="sale_stock.group_mrp_properties"/>
|
||||
</xpath>
|
||||
<xpath expr="//page[@string='Order Lines']/field[@name='order_line']/form[@string='Sales Order Lines']/group/group/field[@name='tax_id']" position="before">
|
||||
<field name="product_packaging" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" on_change="product_packaging_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, parent.partner_id, product_packaging, True, context)" domain="[('product_id','=',product_id)]" groups="product.group_stock_packaging" colspan="3"/>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<field name="context">{'default_type': 'out', 'contact_display': 'partner_address', 'search_default_to_invoice': 1, 'search_default_done': 1, 'default_invoice_state': '2binvoiced'}</field>
|
||||
<field name="search_view_id" ref="stock.view_picking_out_search"/>
|
||||
</record>
|
||||
<menuitem action="outgoing_picking_list_to_invoice" id="menu_action_picking_list_to_invoice" parent="base.menu_invoiced" groups="group_invoice_deli_orders" sequence="20"/>
|
||||
<menuitem action="outgoing_picking_list_to_invoice" id="menu_action_picking_list_to_invoice" parent="base.menu_invoiced" groups="sale_stock.group_invoice_deli_orders" sequence="20"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user