[FIX] sale: reorder inherit to be able to pass through portal before mail thread
Purpose is to enable override of mail.thread methods in portal mixin. An example is the _notification_recipients method defined in mail.thread and customized in portal.mixin.
This commit is contained in:
@@ -19,7 +19,7 @@ from odoo.addons import decimal_precision as dp
|
||||
|
||||
class SaleOrder(models.Model):
|
||||
_name = "sale.order"
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin', 'portal.mixin']
|
||||
_inherit = ['portal.mixin', 'mail.thread', 'mail.activity.mixin']
|
||||
_description = "Quotation"
|
||||
_order = 'date_order desc, id desc'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user