← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/openerp-product-attributes/7.0-fix_1296605-afe into lp:openerp-product-attributes

 

Alexandre Fayolle - camptocamp has proposed merging lp:~camptocamp/openerp-product-attributes/7.0-fix_1296605-afe into lp:openerp-product-attributes.

Requested reviews:
  Graeme Gellatly (gdgellatly)
  Product Core Editors (product-core-editors)
Related bugs:
  Bug #1296605 in OpenERP Product Attributes: "customer_context_in_product_view : crash at install on 7.0"
  https://bugs.launchpad.net/openerp-product-attributes/+bug/1296605

For more details, see:
https://code.launchpad.net/~camptocamp/openerp-product-attributes/7.0-fix_1296605-afe/+merge/212372

customer_context_in_product_view: fix oid in view
-- 
https://code.launchpad.net/~camptocamp/openerp-product-attributes/7.0-fix_1296605-afe/+merge/212372
Your team Product Core Editors is requested to review the proposed merge of lp:~camptocamp/openerp-product-attributes/7.0-fix_1296605-afe into lp:openerp-product-attributes.
=== modified file 'customer_context_in_product_view/partner_pricelist_view.xml'
--- customer_context_in_product_view/partner_pricelist_view.xml	2014-02-14 21:09:26 +0000
+++ customer_context_in_product_view/partner_pricelist_view.xml	2014-03-24 09:52:31 +0000
@@ -30,7 +30,7 @@
             <field name="priority" eval="20"/>
             <field name="arch" type="xml">
                 <xpath expr="//div[@name='buttons']" position="inside">
-                    <button name="%(partner_price_in_product_view.act_res_partner_pricing)d" type="action"
+                    <button name="%(customer_context_in_product_view.act_res_partner_pricing)d" type="action"
                         string="Product Pricing" groups="base.group_sale_salesman"
                         attrs="{'invisibile': [('customer', '=', 'False')]}"/>
                 </xpath>
@@ -38,4 +38,4 @@
         </record>
         
     </data>
-</openerp>
\ No newline at end of file
+</openerp>