跳至内容
菜单
此问题已终结
2 回复
2281 查看

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??


形象
丢弃
编写者

can u explain how is that possible
thank you for reply

编写者

thank tou Waleed mohsen

最佳答案

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.

形象
丢弃
最佳答案

Hello Ra_one, 

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

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

形象
丢弃
相关帖文 回复 查看 活动
2
6月 22
8411
8
10月 21
7934
0
4月 15
186
1
6月 25
1874
3
7月 25
3482