Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/8/14, 8:39 AM|
|Seen: 943 times|
|Last updated: 3/16/15, 8:10 AM|