[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:
Thibault Delavallée
2018-02-15 14:50:36 +01:00
parent 0e22ccb721
commit 75ec7ab257
+1 -1
View File
@@ -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'