*this line was useless:
from datetime import timedelta

*the function onchange_production_id() was crashing when emptying the field 
(production_id=False)

*the variable 'products' was badly chosen in this line:
products = self.pool.get('mrp.production').browse(cr, uid, production_id, 
context=None)
'production' would have been a better choice

*as you were already changing this line to add a coma at the end, you chould 
have removed the useless lambda
'delay': lambda *a: 0.0,
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve-addons27-mrp-psa/+merge/139429
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-improve-addons27-mrp-psa.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to