-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[17.0][UPD] deltatech_business_process
- Loading branch information
1 parent
854c293
commit 633f59b
Showing
8 changed files
with
180 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<odoo> | ||
<record id="email_template_development_approved" model="mail.template"> | ||
<field name="name">Development Approved</field> | ||
<field name="model_id" ref="model_business_development" /> | ||
<field name="subject">Development Approved</field> | ||
<field name="partner_to">{{object.project_id.project_manager_id.partner_id.id}}</field> | ||
<field name="body_html" type="html"> | ||
<div style="margin: 0px; padding: 0px;"> | ||
<p> | ||
Dear<t t-out="object.project_id.project_manager_id.name" />, | ||
<br /> | ||
The development | ||
<t t-out="object.name" /> of <t t-out="object.project_id.name" /> | ||
has been approved on | ||
<t t-esc="datetime.date.today().strftime('%d-%m-%Y')" />. | ||
<br /> | ||
Please check and inform colleagues of the current development. | ||
|
||
|
||
</p> | ||
</div> | ||
</field> | ||
<field name="lang">{{object.project_id.project_manager_id.lang}}</field> | ||
<field name="auto_delete" eval="False" /> | ||
</record> | ||
</odoo> | ||
<!--<odoo noupdate="1">--> | ||
<!-- <record id="mail_template_negative_stock" model="mail.template">--> | ||
<!-- <field name="name">Location: send negative stock</field>--> | ||
<!-- <field name="model_id" ref="stock.model_stock_location" />--> | ||
<!-- <field name="subject">Negative stock for location {{object.complete_name}}</field>--> | ||
<!-- <field name="partner_to">{{object.user_id.partner_id.id}}</field>--> | ||
<!-- <field name="body_html" type="html">--> | ||
<!-- <div style="margin: 0px; padding: 0px;">--> | ||
<!-- <p style="margin: 0px; padding: 0px; font-size: 12px;">--> | ||
<!-- Negative quantity products:--> | ||
<!-- </p>--> | ||
<!-- <p>--> | ||
<!-- <t t-foreach="object.get_negative_products()" t-as="line">--> | ||
<!-- <t t-foreach="line.items()" t-as="prod">--> | ||
<!-- [<t t-out="prod[0].default_code" />]<t--> | ||
<!-- t-out="prod[0].with_context(lang=object.user_id.lang).name"--> | ||
<!-- />:--> | ||
<!-- <t t-out="prod[1]" />--> | ||
<!-- <t t-out="prod[0].with_context(lang=object.user_id.lang).uom_id.name" />--> | ||
<!-- <br />--> | ||
<!-- </t>--> | ||
<!-- </t>--> | ||
<!-- </p>--> | ||
<!-- </div>--> | ||
<!-- </field>--> | ||
<!-- <field name="lang">{{object.user_id.partner_id.lang}}</field>--> | ||
<!-- <field name="auto_delete" eval="False" />--> | ||
<!-- </record>--> | ||
<!--</odoo>--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters