[FIX]stock: fix the issue of counting of Deliveries in kanban view and improve a action string

lp bug: https://launchpad.net/bugs/1011541 fixed

bzr revid: mma@tinyerp.com-20120611105038-wrospxpjr2wbna6h
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-06-11 16:20:38 +05:30
parent b2f173d4b2
commit 61a3238d97
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class product_product(osv.osv):
], ['product_id'], ['product_id'])
for move in moves:
product_id = move['product_id'][0]
res[product_id]['reception_count'] = move['product_id_count']
res[product_id]['delivery_count'] = move['product_id_count']
return res
def get_product_accounts(self, cr, uid, product_id, context=None):

View File

@ -140,7 +140,7 @@
</record>
<record id="action_deliver_move" model="ir.actions.act_window">
<field name="name">Receive Products</field>
<field name="name">Deliver Products</field>
<field name="res_model">stock.move</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>