Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1285 Visualizzazioni

Hello

I was wondering why the _inherit for mail.thread is always _inherit = ["mail.thread"] where as most other models leave off the '[ ]'?  For instance I can do _inherit = "product.attribute.value" and that works just fine. 

Avatar
Abbandona
Risposta migliore

The box brackets [] are used when you have multiple inheritance.

Avatar
Abbandona