to mail. The only use was to update a method of publisher_warranty.contract model that is defined in mail. This code has been moved to the bridge module between website and mail aka website_mail. Dependency to share has also been removed.
11 lines
325 B
Python
11 lines
325 B
Python
# -*- coding: utf-8 -*-
|
|
from openerp.models import AbstractModel
|
|
|
|
class publisher_warranty_contract(AbstractModel):
|
|
_inherit = "publisher_warranty.contract"
|
|
|
|
def _get_message(self, cr, uid):
|
|
msg = super(publisher_warranty_contract, self)._get_message(cr, uid)
|
|
msg['website'] = True
|
|
return msg
|