Jalpesh Patel(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-10-first-clicks-purchase-atp-Warehouse-pja
into lp:openobject-addons.
Requested reviews:
Atul Patel(OpenERP) (atp-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-10-first-clicks-purchase-atp-Warehouse-pja/+merge/131814
Hello sir
I have fix problem when creating manually an incoming shipment don't
saving (or confirm / or confirm & receive).
Thanks!
pja
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-10-first-clicks-purchase-atp-Warehouse-pja/+merge/131814
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-10-first-clicks-purchase-atp-Warehouse-pja.
=== modified file 'stock/stock.py'
--- stock/stock.py 2012-10-25 13:09:30 +0000
+++ stock/stock.py 2012-10-29 04:54:22 +0000
@@ -618,7 +618,7 @@
def create(self, cr, user, vals, context=None):
if ('name' not in vals) or (vals.get('name')=='/'):
- seq_obj_name = 'stock.picking.' + vals['type']
+ seq_obj_name = 'stock.picking.' + vals.get('type','in')
vals['name'] = self.pool.get('ir.sequence').get(cr, user, seq_obj_name)
new_id = super(stock_picking, self).create(cr, user, vals, context)
if new_id:
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp