Merge pull request #379 from ursais/12.0-imp-serviceprofile_chatter

[IMP] Add Chatter to an Agreement Service Profile
This commit is contained in:
Bejaoui Souheil
2019-10-01 09:12:34 +02:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ from odoo import fields, models, api
class AgreementServiceProfile(models.Model):
_name = 'agreement.serviceprofile'
_inherit = 'mail.thread'
_description = 'Agreement Service Profiles'
def _default_stage_id(self):

View File

@@ -54,6 +54,10 @@
<field name="notes" nolabel="1" widget="html"/>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>