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.
cannot find create function [Closed]
The Question has been closed for reason: duplicate questionby
It might be a simple question for you..i am new to openerp and i need to override the save button inside WAREHOUSE->DELIVERYORDERS->PRODUCTINLINE(i.e:additem) ,unfortunately i couldn't find the 'def create()' and 'def write()' functions in STOCK_PICKING_OUT class .i had already searched the functions inside openerp-7.0->addons->stock->stock.py ,but those functions are not there .can anyone help me to find the particular file
You can find the create/write method in openerp/osv/orm.py file. You can override the create/write method based on your requirement instead of changing the main method from orm.py.
There are some examples in existing modules where these methods are overridden. e.g. Account, CRM, HR, HR Holidays.
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: 2/28/14, 12:44 AM|
|Seen: 892 times|
|Last updated: 3/16/15, 8:10 AM|