missing currency in FIFO price_unit

Bug #600428 reported by filsys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Thailand
New
Undecided
Unassigned

Bug Description

account_thai.py
...
class purchase_order(osv.osv):
    _inherit="purchase.order"
...
def action_picking_create(self,cr,uid,ids,*args):
        pick_id=super(purchase_order,self).action_picking_create(cr,uid,ids,*args)
        pick=self.pool.get("stock.picking").browse(cr,uid,pick_id)
        for move in pick.move_lines:
            move.write({"price_unit": move.purchase_line_id.price_unit}) #missing currency!!!
        return pick_id

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.