コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2268 ビュー

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
8403
8
10月 21
7931
0
4月 15
186
1
6月 25
1871
3
7月 25
3480