Skip to content

Commit 4b3687a

Browse files
committed
Merge PR #851 into 16.0
Signed-off-by ivantodorovich
2 parents 937d7ad + 30bef8c commit 4b3687a

20 files changed

+833
-0
lines changed

pos_receipt_hide_price/README.rst

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
======================
2+
POS Receipt Hide Price
3+
======================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
15+
:alt: License: LGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
17+
:target: https://github.com/OCA/pos/tree/14.0/pos_receipt_hide_price
18+
:alt: OCA/pos
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_receipt_hide_price
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23+
:target: https://runbot.odoo-community.org/runbot/184/14.0
24+
:alt: Try me on Runbot
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
This module adds a button in the receipt view to hide price from the receipt for printing and emailing purpose.
29+
30+
Clicking the hide price button transforms the receipt from:
31+
32+
.. figure:: https://raw.githubusercontent.com/OCA/pos/14.0/pos_receipt_hide_price/static/description/price-shown.png
33+
34+
To:
35+
36+
.. figure:: https://raw.githubusercontent.com/OCA/pos/14.0/pos_receipt_hide_price/static/description/price-hidden.png
37+
38+
39+
The price will also be hidden on the printed receipt and the sent email.
40+
41+
**Table of contents**
42+
43+
.. contents::
44+
:local:
45+
46+
Usage
47+
=====
48+
49+
Click the Hide Price button in the receipt view before printing / emailing the receipt.
50+
51+
Bug Tracker
52+
===========
53+
54+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
55+
In case of trouble, please check there if your issue has already been reported.
56+
If you spotted it first, help us smashing it by providing a detailed and welcomed
57+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_receipt_hide_price%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
58+
59+
Do not contact contributors directly about support or help with technical issues.
60+
61+
Credits
62+
=======
63+
64+
Authors
65+
~~~~~~~
66+
67+
* Akretion
68+
69+
Contributors
70+
~~~~~~~~~~~~
71+
72+
* `Akretion <https://www.akretion.com>`_:
73+
74+
* Florian Mounier
75+
76+
* `FactorLibre <https://factorlibre.com/>`_:
77+
78+
* Daniel Duque
79+
80+
Maintainers
81+
~~~~~~~~~~~
82+
83+
This module is maintained by the OCA.
84+
85+
.. image:: https://odoo-community.org/logo.png
86+
:alt: Odoo Community Association
87+
:target: https://odoo-community.org
88+
89+
OCA, or the Odoo Community Association, is a nonprofit organization whose
90+
mission is to support the collaborative development of Odoo features and
91+
promote its widespread use.
92+
93+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/14.0/pos_receipt_hide_price>`_ project on GitHub.
94+
95+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

pos_receipt_hide_price/__init__.py

Whitespace-only changes.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2021 Akretion - Florian Mounier
2+
# Copyright 2022 FactorLibre - Daniel Duque
3+
{
4+
"name": "POS Receipt Hide Price",
5+
"summary": "Add button to remove price from receipt.",
6+
"author": "Akretion, FactorLibre, Odoo Community Association (OCA)",
7+
"website": "https://github.com/OCA/pos",
8+
"category": "Point of Sale",
9+
"version": "16.0.1.0.0",
10+
"license": "LGPL-3",
11+
"depends": ["point_of_sale"],
12+
"assets": {
13+
"point_of_sale.assets": [
14+
"pos_receipt_hide_price/static/src/js/ReceiptScreen.js",
15+
"pos_receipt_hide_price/static/src/js/ReprintReceiptScreen.js",
16+
"pos_receipt_hide_price/static/src/js/OrderReceipt.js",
17+
"pos_receipt_hide_price/static/src/xml/**/*",
18+
],
19+
},
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * pos_receipt_hide_price
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: pos_receipt_hide_price
17+
#. openerp-web
18+
#: code:addons/pos_receipt_hide_price/static/src/xml/HidePrice.xml:0
19+
#, python-format
20+
msgid "Hide Price"
21+
msgstr ""
22+
23+
#. module: pos_receipt_hide_price
24+
#. openerp-web
25+
#: code:addons/pos_receipt_hide_price/static/src/xml/HidePrice.xml:0
26+
#, python-format
27+
msgid "Show Price"
28+
msgstr ""
29+
30+
#. module: pos_receipt_hide_price
31+
#. openerp-web
32+
#: code:addons/pos_receipt_hide_price/static/src/xml/ReceiptScreen.xml:0
33+
#: code:addons/pos_receipt_hide_price/static/src/xml/ReprintReceiptScreen.xml:0
34+
#, python-format
35+
msgid "hidePriceState"
36+
msgstr ""
37+
38+
#. module: pos_receipt_hide_price
39+
#. openerp-web
40+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
41+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
42+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
43+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
44+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
45+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
46+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
47+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
48+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
49+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
50+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
51+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
52+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
53+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
54+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
55+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
56+
#: code:addons/pos_receipt_hide_price/static/src/xml/OrderReceipt.xml:0
57+
#, python-format
58+
msgid "{'oe_hidden': priceHidden}"
59+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* `Akretion <https://www.akretion.com>`_:
2+
3+
* Florian Mounier
4+
5+
* `FactorLibre <https://factorlibre.com/>`_:
6+
7+
* Daniel Duque
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This module adds a button in the receipt view to hide price from the receipt for printing and emailing purpose.
2+
3+
Clicking the hide price button transforms the receipt from:
4+
5+
.. figure:: ../static/description/price-shown.png
6+
7+
To:
8+
9+
.. figure:: ../static/description/price-hidden.png
10+
11+
12+
The price will also be hidden on the printed receipt and the sent email.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Click the Hide Price button in the receipt view before printing / emailing the receipt.
Loading

0 commit comments

Comments
 (0)