← Back to team overview

openerp-india team mailing list archive

[Bug 1317352] [NEW] [stock][stock_view] wrong field orderpoint_count

 

Public bug reported:

Wrong field name set in button,

orderpoint_count was set intead of orderpoint_ids

Best regards.

=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml        2014-05-07 18:29:17 +0000
+++ stock/stock_view.xml        2014-05-08 04:15:46 +0000                                                                                                                                                          
@@ -1817,7 +1817,7 @@                                                                                                                                                                                              
                    <button string="Moves" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_stock_user"/>                                
                    <button class="oe_inline oe_stat_button" name="%(product_open_orderpoint)d" type="action"                                                                                                      
                         attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-pinterest">                                                                                                                     
-                       <field string="Order Points" name="orderpoint_count" widget="statinfo" />                                                                                                                  
+                       <field string="Order Points" name="orderpoint_ids" widget="statinfo" />                                                                                                                    
                    </button>                                                                                                                                                                                      
                 </xpath>

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-wms

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1317352

Title:
  [stock][stock_view] wrong field orderpoint_count

Status in OpenERP Addons (modules):
  New

Bug description:
  Wrong field name set in button,

  orderpoint_count was set intead of orderpoint_ids

  Best regards.

  === modified file 'stock/stock_view.xml'
  --- stock/stock_view.xml        2014-05-07 18:29:17 +0000
  +++ stock/stock_view.xml        2014-05-08 04:15:46 +0000                                                                                                                                                          
  @@ -1817,7 +1817,7 @@                                                                                                                                                                                              
                      <button string="Moves" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_stock_user"/>                                
                      <button class="oe_inline oe_stat_button" name="%(product_open_orderpoint)d" type="action"                                                                                                      
                           attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-pinterest">                                                                                                                     
  -                       <field string="Order Points" name="orderpoint_count" widget="statinfo" />                                                                                                                  
  +                       <field string="Order Points" name="orderpoint_ids" widget="statinfo" />                                                                                                                    
                      </button>                                                                                                                                                                                      
                   </xpath>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1317352/+subscriptions


Follow ups

References