problem in production lot spliting

Bug #343713 reported by swati
6
This bug affects 1 person
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->Production Order To Start->Final Products
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\web_services.pyo", line 552, in execute
  File "service\web_services.pyo", line 532, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 74, in execute_cr
  File "C:\Program Files\OpenERP AllInOne\Server\addons\stock\wizard\wizard_track_line.py", line 100, in _track_lines
  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

Revision history for this message
Husen Daudi (husendaudi) wrote :

Fixed in trunk addons revision 2264

Changed in openobject-server:
status: New → Fix Released
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.