[trunk][mrp] stock_move.action_consume raises exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
In the mrp modul's Manufacturing Order form clicking on the "Produce" then the "Confirm" buttons raises an AttributeError exception with the message 'stock.move' object has no attribute 'split_lines'. This occurs only if there are raw materials in the BOM list on which the "Track Manufacturing Lots" attribute is checked.
The problem seems to be the result of some untested and incomplete refactoring. (Probably at revision 3038.1.7)
The traceback is as follows:
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
data[
File "/home/
stock_
File "/home/
new_moves = super(StockMove, self).action_
File "/home/
res += self.split_
AttributeError: 'stock.move' object has no attribute 'split_lines'
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 54 lines (+9/-3)2 files modifiedmrp_operations/mrp_operations.py (+8/-2)
product/product.py (+1/-1)
Changed in openobject-addons: | |
status: | Incomplete → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Hello Tamas Denes,
Would you please provide me more information with proper steps to
reproduce this at my end?
Thanks