Browse Source

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

[IMP] Add Chatter to an Agreement Service Profile
pull/238/head
Bejaoui Souheil 5 years ago
committed by GitHub
parent
commit
3036901e23
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      agreement_serviceprofile/models/agreement_serviceprofile.py
  2. 4
      agreement_serviceprofile/views/agreement_serviceprofile.xml

1
agreement_serviceprofile/models/agreement_serviceprofile.py

@ -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):

4
agreement_serviceprofile/views/agreement_serviceprofile.xml

@ -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>

Loading…
Cancel
Save