Odoo Help


cannot find create function [Closed]

on 2/28/14, 12:44 AM 1,133 views

The Question has been closed for reason: duplicate question

Serpent Consulting Services Pvt. Ltd.
on 03/07/2014 12:40:27

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


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

Top 10 Odoo contributor On Stackoverflow 




Sudhir Arya (ERP Harbor Consulting Services)
On 2/28/14, 4:08 PM

Hi Shafeeq,

This link Override Save Button may help you.




| 5 2 8
Ahmadabad, India
On 2/28/14, 2:01 AM


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/28/14, 12:44 AM
Seen: 1133 times
Last updated: 3/16/15, 8:10 AM