[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:
parent
b2f173d4b2
commit
61a3238d97
|
@ -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):
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue