[IMP] Add Chatter

This commit is contained in:
scampbell
2019-09-24 15:06:08 -07:00
parent 316bc77735
commit 8443041c7e
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): 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):

View File

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