Skip to Content
Menu
This question has been flagged
2 Replies
2092 Views

hello i am new on odoo.

i try to add write method without add create method it is possible??

is that compulsory to create for write method??


Avatar
Discard
Author

can u explain how is that possible
thank you for reply

Author

thank tou Waleed mohsen

Best Answer

Hi,

Create/Write done by Odoo automatically but if you want to add your own code for your purpose you can override create or write methods and you will call the super method before or after your code depend on your need.

Create method called when you create a new record.

Write method called when you change any field in your already created method.

Avatar
Discard
Best Answer

Hello Ra_one, 

Yes it is possible
It is not compulsory to add create method.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Discard
Related Posts Replies Views Activity
2
Jun 22
8010
8
Oct 21
7672
0
Apr 15
186
1
Jun 25
1005
3
Jul 25
2739