diff options
| author | mgh-odoo <mgh@odoo.com> | 2020-02-19 05:00:31 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2020-02-28 12:16:13 +0000 |
| commit | 7fa9aa9f7d25d518f4356ab4bd7a93203456a69d (patch) | |
| tree | 813ec64f3a675d70e9b98c627959fd11ae5c98a4 /addons/l10n_co_pos/static/src/xml | |
| parent | 5855bd11546b8f316fd20078a08b3bf7a18d7950 (diff) | |
[ADD] l10n_co_pos: DIAN Sequence for pos receipt
In the Colombian legal requirementqs for point_of_sale, a number should
be printed on the receipt, this number sequence must have no gap and no
duplicates.
As there is already a no gap 'ir.sequence' on each config, we allow the
edition of this sequence, and set set same ir.sequence on all pos
config, with their DIAN number as prefix.
closes odoo/odoo#46546
Task-id: 2169664
X-original-commit: 4ba07bb5a503b5d7dc1ad07cc05adac6309ab8c4
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_co_pos/static/src/xml')
| -rw-r--r-- | addons/l10n_co_pos/static/src/xml/pos.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/l10n_co_pos/static/src/xml/pos.xml b/addons/l10n_co_pos/static/src/xml/pos.xml new file mode 100644 index 00000000000..24d98d5f7cf --- /dev/null +++ b/addons/l10n_co_pos/static/src/xml/pos.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<templates id="template" xml:space="preserve"> + <t t-extend="OrderReceipt"> + <t t-jquery=".pos-receipt-order-data" t-operation="append"> + <t t-if="receipt.l10n_co_dian !== false"> + <div style="word-wrap:break-word;"><t t-esc="receipt.l10n_co_dian"/></div> + </t> + </t> + </t> +</templates> |
