Skip to content

Commit

Permalink
Merge PR #329 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 19, 2019
2 parents 1ff7c30 + c2b3052 commit 5912fb0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions business_requirement_deliverable/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
],
'data': [
'data/business_data.xml',
'data/mail_message_subtype_data.xml',
'security/business_requirement_deliverable_security.xml',
'security/ir.model.access.csv',
'views/business_view.xml',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<!-- Both are hidden because we only want to take advantage of the auto
propagation of the followers from BR to BRD -->

<record id="mt_brd_new" model="mail.message.subtype">
<field name="name">Deliverable Created</field>
<field name="res_model">business.requirement.deliverable</field>
<field name="default" eval="False"/>
<field name="hidden" eval="True"/>
<field name="description">Deliverable Created</field>
</record>

<record id="mt_br_brd_new" model="mail.message.subtype">
<field name="name">Deliverable Created</field>
<field name="sequence">10</field>
<field name="res_model">business.requirement</field>
<field name="default" eval="False"/>
<field name="hidden" eval="True"/>
<field name="parent_id" eval="ref('mt_brd_new')"/>
<field name="relation_field">business_requirement_id</field>
</record>

</odoo>

0 comments on commit 5912fb0

Please sign in to comment.