Browse Source

[IMP] Add Chatter

pull/379/head
scampbell 5 years ago
parent
commit
8443041c7e
  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): class AgreementServiceProfile(models.Model):
_name = 'agreement.serviceprofile' _name = 'agreement.serviceprofile'
_inherit = 'mail.thread'
_description = 'Agreement Service Profiles' _description = 'Agreement Service Profiles'
def _default_stage_id(self): def _default_stage_id(self):

4
agreement_serviceprofile/views/agreement_serviceprofile.xml

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

Loading…
Cancel
Save