mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] agreement,agreement_legal: support activities
- The `agreement` model now features mail and activities from its base module. - The `agreement_legal` module doesn't need to add mail support now. - Add activities to form views. @Tecnativa TT22477
This commit is contained in:
committed by
Pedro M. Baeza
parent
24294cc0f2
commit
baf52df001
@@ -8,6 +8,7 @@ from odoo import models, fields
|
||||
class Agreement(models.Model):
|
||||
_name = 'agreement'
|
||||
_description = 'Agreement'
|
||||
_inherit = ["mail.thread", "mail.activity.mixin"]
|
||||
|
||||
code = fields.Char(required=True, copy=False)
|
||||
name = fields.Char(required=True)
|
||||
|
||||
Reference in New Issue
Block a user