Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2494 Visualizzazioni

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
Abbandona
Autore

can u explain how is that possible
thank you for reply

Autore

thank tou Waleed mohsen

Risposta migliore

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
Abbandona
Risposta migliore

Hello Ra_one, 

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

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
giu 22
8799
8
ott 21
8294
0
apr 15
186
1
set 25
2384
1
giu 25
2403