Skip to content

Commit

Permalink
Set default in RFQ mail message
Browse files Browse the repository at this point in the history
  • Loading branch information
leemannd committed Mar 29, 2017
1 parent af567db commit 6dff28c
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
14 changes: 14 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ latest (unreleased)

**Features and Improvements**

* Update message subtypes for RFQ

**Bugfixes**

**Build**

**Documentation**


10.0.9 (2017-03-23)
+++++++++++++++++++

**Features and Improvements**

**Bugfixes**

* Correct sale validation group names
Expand Down
2 changes: 1 addition & 1 deletion odoo/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.0.8
10.0.9
1 change: 1 addition & 0 deletions odoo/local-src/specific_purchase/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'security/ir.model.access.csv',
# data
'data/sequence.xml',
'data/mail_message_subtypes.xml',
# views
'views/purchase_line_views.xml',
'views/purchase_views.xml',
Expand Down
23 changes: 23 additions & 0 deletions odoo/local-src/specific_purchase/data/mail_message_subtypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>

<record id="purchase.mt_rfq_confirmed" model="mail.message.subtype">
<field name="name">RFQ Confirmed</field>
<field name='sequence'>1</field>
<field name="res_model">purchase.order</field>
<field name='default' eval="True"/>
</record>
<record id="purchase.mt_rfq_approved" model="mail.message.subtype">
<field name="name">RFQ Approved</field>
<field name='sequence'>1</field>
<field name="res_model">purchase.order</field>
<field name='default' eval="True"/>
</record>
<record id="purchase.mt_rfq_done" model="mail.message.subtype">
<field name="name">RFQ Done</field>
<field name='sequence'>1</field>
<field name="res_model">purchase.order</field>
<field name='default' eval="True"/>
</record>

</odoo>
4 changes: 4 additions & 0 deletions odoo/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ migration:
upgrade:
- specific_hr
- specific_sale
- version: 10.0.10
addons:
upgrade:
- specific_purchase

0 comments on commit 6dff28c

Please sign in to comment.