diff options
Diffstat (limited to 'addons/website_mail/models/update.py')
| -rw-r--r-- | addons/website_mail/models/update.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/website_mail/models/update.py b/addons/website_mail/models/update.py new file mode 100644 index 00000000..5367cb7d --- /dev/null +++ b/addons/website_mail/models/update.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, models + + +class PublisherWarrantyContract(models.AbstractModel): + _inherit = "publisher_warranty.contract" + + @api.model + def _get_message(self): + msg = super(PublisherWarrantyContract, self)._get_message() + msg['website'] = True + return msg |
