blob: 5367cb7df9342c1314d3c2cf2633e6c61dea84da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|