diff options
| author | Raphael Collet <rco@openerp.com> | 2016-06-24 17:23:50 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-07-01 16:04:55 +0200 |
| commit | f4677cf2a6ca79c0770090ece6c488b8e4ace317 (patch) | |
| tree | 21fb8b88a31d7f12c668feee268869428595c557 /addons | |
| parent | 4ee6adf4b2371120a3944faf0eb93fc886f0ea0c (diff) | |
[FIX] account, purchase: keep model 'mail.compose.message' transient
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/account_invoice.py | 2 | ||||
| -rw-r--r-- | addons/purchase/purchase.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index e2ead024c30..101f7f26e81 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -1378,7 +1378,7 @@ class AccountPaymentTermLine(models.Model): if self.option in ('last_day_current_month', 'last_day_following_month'): self.days = 0 -class MailComposeMessage(models.Model): +class MailComposeMessage(models.TransientModel): _inherit = 'mail.compose.message' @api.multi diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index a9a8b3dbf9e..407976486f0 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -1017,7 +1017,7 @@ class ProductCategory(models.Model): help="This account will be used to value price difference between purchase price and accounting cost.") -class MailComposeMessage(models.Model): +class MailComposeMessage(models.TransientModel): _inherit = 'mail.compose.message' @api.multi |
