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.
What do the [ ] mean in this python line : self.message_post(cr, uid, [new_id], body=_("Quotation created"), context=ctx)?
I don't know why the bold new_id is between [ ] in the second sentence??? What does it mean? What do the two [ ] do there?
new_id = super(sale_order, self).create(cr, uid, vals, context=ctx)
self.message_post(cr, uid, [new_id], body=_("Quotation created"), context=ctx)
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: 11/2/15, 9:53 PM|
|Seen: 985 times|
|Last updated: 11/3/15, 10:03 AM|