From 16980f388f75d9aac0c66f44db821951d233e2ec Mon Sep 17 00:00:00 2001 From: Luis Date: Tue, 5 Jul 2022 10:27:23 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20m=C3=B3dulo=20que=20modifica=20e?= =?UTF-8?q?l=20ticket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pos_receipt_clientinfo/__init__.py | 0 pos_receipt_clientinfo/__manifest__.py | 24 ++ pos_receipt_clientinfo/static/src/xml/pos.xml | 308 ++++++++++++++++++ .../views/report_receipt.xml | 303 +++++++++++++++++ 4 files changed, 635 insertions(+) create mode 100644 pos_receipt_clientinfo/__init__.py create mode 100644 pos_receipt_clientinfo/__manifest__.py create mode 100644 pos_receipt_clientinfo/static/src/xml/pos.xml create mode 100644 pos_receipt_clientinfo/views/report_receipt.xml diff --git a/pos_receipt_clientinfo/__init__.py b/pos_receipt_clientinfo/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pos_receipt_clientinfo/__manifest__.py b/pos_receipt_clientinfo/__manifest__.py new file mode 100644 index 0000000..d18c67b --- /dev/null +++ b/pos_receipt_clientinfo/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2022 Criptomart +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Pos Receipt Clientinfo', + 'description': """ + Adds a report to print a simplified invoice with client tax data""", + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'Criptomart', + 'website': 'https://criptomart.net', + 'depends': [ + 'point_of_sale', + 'l10n_es_pos' + ], + 'data': [ + 'views/report_receipt.xml' + ], + 'qweb': [ + 'static/src/xml/pos.xml', + ], + 'demo': [ + ], +} diff --git a/pos_receipt_clientinfo/static/src/xml/pos.xml b/pos_receipt_clientinfo/static/src/xml/pos.xml new file mode 100644 index 0000000..2e6ee6f --- /dev/null +++ b/pos_receipt_clientinfo/static/src/xml/pos.xml @@ -0,0 +1,308 @@ + + + + +
+
+

+
- -
+

+
+ Phone:
+
+
+
+ +
+ Cooperativista:
+ Name:
+ + VAT:
+
+ + + + + +
+ +
+
+
+
+
+ + + + + + + + + + + + +
+ +
+ + Ud. + + + + + +
+ x +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subtotal: + +
+ +
Discount: + +
Total: + +
Total Redondeado: + +
Total: + +
+
+ + + + + + + +
+ + + +
+
+ + +
Change: + +
+ +
+
+ +
+
+
+
+ + +
Simplified invoice: +
+ +
+
+
+
+ + + + + + Logo +
+
+ +
+
+ +
- -
+
+ +
VAT:
+
+ +
Tel:
+
+
--------------------------------
+ + Cooperativista:
+ Name:
+ VAT:
+ Address: + +
--------------------------------
+ + + + +
+
+ +
+
--------------------------------
+
Served by
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + Ud. + + + + + +
+ x +
+
+ + + + + + +
+
+
+
--------------------------------
+
+ + Subtotal: + + + + + + + + + + + + + + + Discount: + + + + + + + + Total: + + + + + + Total (Redondeado): + + + + + + + + Total: + + + + + +
+
--------------------------------
+
+ + + + + + + + + + +
+
+ Change: + + + + +
+ + + + + + +
+ +
+
+
+ +
+ + +
Simplified invoice: +
+ +
+
+ +
+
+
diff --git a/pos_receipt_clientinfo/views/report_receipt.xml b/pos_receipt_clientinfo/views/report_receipt.xml new file mode 100644 index 0000000..c52ded5 --- /dev/null +++ b/pos_receipt_clientinfo/views/report_receipt.xml @@ -0,0 +1,303 @@ + + + + + + + Point Of Sale Receipt + + custom + 150 + 60 + Portrait + 3 + 3 + 3 + 3 + + 3 + 130 + + + + + +