problem in production lot spliting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
suppose there is a situation in which there are 2 production orders
1: In this the Quantity of Final product is 10.
2: In this the Quantity of Final Product is 9.
now we split the production order by Manufacturing-
now select the final product line and click
and then Split in Production Lots
Now We give Quantity Per Lot =5
in the 1 case it will be splited properly and two production line of final product each Quantity=5 is splited
but in the 2 case as we can not divide 9 into equal production lines it is giving an error message
Error message:-
Traceback (most recent call last):
File "netsvc.pyo", line 231, in dispatch
File "netsvc.pyo", line 74, in __call__
File "service\
File "service\
File "wizard\
File "wizard\
File "C:\Program Files\OpenERP AllInOne\
File "osv\orm.pyo", line 2446, in create
File "sql_db.pyo", line 76, in wrapper
File "sql_db.pyo", line 118, in execute
IntegrityError: null value in column "product_id" violates not-null constraint
Fixed in trunk addons revision 2264