diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-09-23 11:58:12 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-09-23 14:02:54 +0000 |
| commit | cb16eccbf18ed80fe0d6284fc272148e89c9d0f0 (patch) | |
| tree | 0093c61a0e31bc4511ab7b960da24b5ad5c1a8de /addons/pos_six/static/src/xml | |
| parent | 32f8e15466e3911ae9083d0c9c07a42283a12d13 (diff) | |
[FIX] pos_six: Prepare for the certification
- The balance operation is performed automatically at the end of the
day but it doesn't print any receipt. We add the possibility to perform
the balance manually to get a receipt showing all the transactions of
the day.
- By default, DCC is set to true, but it requires a different
implementation. As we don't support it, Six asked us to changed the
variable to False, to make it clearer in case of debugging.
closes odoo/odoo#58355
X-original-commit: bc5ea7e3d3b694bbe88b14c10cd5cc80ca617e48
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieƫls <aprieels@users.noreply.github.com>
Diffstat (limited to 'addons/pos_six/static/src/xml')
| -rw-r--r-- | addons/pos_six/static/src/xml/BalanceButton.xml | 12 | ||||
| -rw-r--r-- | addons/pos_six/static/src/xml/Chrome.xml | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/addons/pos_six/static/src/xml/BalanceButton.xml b/addons/pos_six/static/src/xml/BalanceButton.xml new file mode 100644 index 00000000000..e68d7ae397a --- /dev/null +++ b/addons/pos_six/static/src/xml/BalanceButton.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="BalanceButton" owl="1"> + <div class="header-button balance-button" t-on-click="sendBalance"> + <span class="lock-button"> + Send Balance + </span> + </div> + </t> + +</templates> diff --git a/addons/pos_six/static/src/xml/Chrome.xml b/addons/pos_six/static/src/xml/Chrome.xml new file mode 100644 index 00000000000..1187e4f5a44 --- /dev/null +++ b/addons/pos_six/static/src/xml/Chrome.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="Chrome" t-inherit="point_of_sale.Chrome" t-inherit-mode="extension" owl="1"> + <xpath expr="//SyncNotification" position="after"> + <BalanceButton t-if="balanceButtonIsShown" /> + </xpath> + </t> + +</templates> |
