Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][UPD] deltatech_business_process #1818

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ addon | version | maintainers | summary | price
[deltatech_average_payment_period](deltatech_average_payment_period/) | 16.0.1.0.0 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Computes average duration of cash accounting | Free
[deltatech_backup_attachment](deltatech_backup_attachment/) | 16.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Backup attachments for selected file type | Free
[deltatech_batch_transfer](deltatech_batch_transfer/) | 16.0.0.0.2 | [![danila12](https://github.com/danila12.png?size=30px)](https://github.com/danila12) | Batch transfer improvements | Free
[deltatech_business_process](deltatech_business_process/) | 16.0.1.2.8 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process | Free
[deltatech_business_process](deltatech_business_process/) | 16.0.1.2.9 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process | Free
[deltatech_business_process_documentation](deltatech_business_process_documentation/) | 16.0.1.0.5 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process documentation | Free
[deltatech_business_process_handover_document](deltatech_business_process_handover_document/) | 16.0.0.0.1 | [![VoicuStefan2001](https://github.com/VoicuStefan2001.png?size=30px)](https://github.com/VoicuStefan2001) | Business process verbal process | Free
[deltatech_card_payment](deltatech_card_payment/) | 16.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Deltatech Payment Method Card | Free
Expand Down
2 changes: 1 addition & 1 deletion deltatech_business_process/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Business process
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:447452d27b9f597f574a682424e5c5622e855f8c48ccf9e85bbc9e4290623786
!! source digest: sha256:af393b3162dc6262e390d197936c5873006e99cafa83fbdab921943a12da3d64
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion deltatech_business_process/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Business process",
"summary": "Business process",
"version": "16.0.1.2.8",
"version": "16.0.1.2.9",
"author": "Terrabit, Dorin Hongu",
"website": "https://www.terrabit.ro",
"license": "OPL-1",
Expand Down
75 changes: 42 additions & 33 deletions deltatech_business_process/data/email_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@
<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="partner_to">{{object.project_id.project_manager_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" />,
Dear&#160;<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" />
<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')" />.
<t t-esc="datetime.date.today().strftime('%d-%m-%Y')" />
with the required time of <t t-out="object.development_duration" />.

<br />
Please check and inform colleagues of the current development.

Expand All @@ -23,33 +27,38 @@
<field name="lang">{{object.project_id.project_manager_id.lang}}</field>
<field name="auto_delete" eval="False" />
</record>

<record id="email_template_issue_submitted" model="mail.template">
<field name="name">Issue Submitted</field>
<field name="model_id" ref="model_business_issue" />
<field name="subject">Issue Submitted</field>
<field name="partner_to">{{object.project_id.project_manager_id.id}}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p>
Dear&#160;<t t-out="object.project_id.project_manager_id.name" />,
<br />
The issue
<t t-out="object.name" />
of
<t t-out="object.project_id.name" />
has submitted by
<t t-out="object.create_uid.name" />
on
<t t-esc="datetime.date.today().strftime('%d-%m-%Y')" />.
<br />
Please check and inform colleagues of the current issue.
<br />
<br />
Description:
<br />
<div style="border: 1px solid #000; padding: 10px;">
<t t-out="object.description" />
</div>
</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>-->
Loading
Loading