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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
agreement_serviceprofile/models/agreement_serviceprofile.py
-
agreement_serviceprofile/views/agreement_serviceprofile.xml
|
|
@ -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): |
|
|
|
|
|
@ -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> |
|
|
|