-
-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e06d84
commit ced8767
Showing
7 changed files
with
152 additions
and
28 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
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,21 @@ | ||
<!-- Copyright 2019 Anvar Kildebekov <https://it-projects.info/team/fedoranvar> | ||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). --> | ||
<odoo> | ||
<record id="pos_mail_body_template_demo" model="mail.template"> | ||
<field name="name">pos_mail demo-template</field> | ||
<field name="body_html"><![CDATA[ | ||
<p>Dear, ${partner.name}</p> | ||
<p>Thanks for purchasing in our shop</p> | ||
<p>Your order is: ${order.id}</p> | ||
<p>Best wishes.</p> | ||
]]></field> | ||
</record> | ||
|
||
<record id="mail_message_default" model="ir.config_parameter"> | ||
<field name="key">pos_mail.mail_message</field> | ||
<field name="value" ref="pos_mail_body_template_demo"></field> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright 2019 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). --> | ||
<odoo> | ||
|
||
<!-- | ||
<template id="assets" inherit_id="point_of_sale.assets"> | ||
<xpath expr="." position="inside"> | ||
<script type="text/javascript" src="/pos_mail/static/src/js/pos.js"></script> | ||
<link rel="stylesheet" href="/pos_mail/static/src/css/pos.css"/> | ||
</xpath> | ||
</template> | ||
<!-- <template id="demo_assets_backend" inherit_id="web.assets_backend">--> | ||
<!-- <xpath expr="." position="inside">--> | ||
<!-- <script type="text/javascript" src="/pos_mail/static/src/js/test_pos_mail.js"></script>--> | ||
<!-- </xpath>--> | ||
<!-- </template>--> | ||
|
||
<template id="demo_assets_backend" inherit_id="web.assets_backend"> | ||
<xpath expr="." position="inside"> | ||
<script type="text/javascript" src="/pos_mail/static/src/js/test_pos_mail.js"></script> | ||
</xpath> | ||
</template> | ||
--> | ||
</odoo> |