CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i am working on a module to set the status of a delivery order based on a csv input.
I am using this code where delivery ID is the id of a specific delivery order:
picking_pool = self.pool.get('stock.picking.out')
for delivery_order in picking_pool.browse(cr, uid, delivery_id):
self.pool.get('activity.log').create_log(cr, uid, "delivery order: %s" % (delivery_order.name))
the script, if triggered, runs without any error, but the delivery order is not changed to delivered. Any ideas what's wrong?
About This Community
Odoo Training Center
|Asked: 12/8/14, 8:39 AM|
|Seen: 1097 times|
|Last updated: 3/16/15, 8:10 AM|