Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1288 Переглядів

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. 

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити