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 want to interactively create new product. I got as far as importing the addon:
from openerp.addons.product import product
p = new product.product_product()
SyntaxError: invalid syntax
p = product.product_product()
NoneType # no luck here either
# And then there is...
TypeError: unbound method create() must be called with product_product instance as first argument (got nothing instead)
# Ok I get that, but how do I create a product_product instance?
# And this one is not very clear either:
TypeError: create_instance() takes exactly 3 arguments (1 given)
# But the docstring is not very helpful.
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: 7/14/14, 1:53 PM|
|Seen: 1583 times|
|Last updated: 3/16/15, 8:10 AM|