Skip to content

Commit 71efdf0

Browse files
author
phucph
committed
[MIG] pos_automatic_cashdrawer: Migration to 18.0
1 parent d6cb145 commit 71efdf0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1750
-2884
lines changed

pos_automatic_cashdrawer/README.rst

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ POS Automatic Cashdrawer
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module adds support for automatic cashdrawers in the Point of Sale.
31+
- This module adds support for automatic cashdrawers in the Point of
32+
Sale with other IP Address different with IoT Box.
33+
- In user form, you can add ``Point of Sale - Allow Cashlogy Config``
34+
group to user to display ``Cashlogy Admin`` popup in PoS.
3235

3336
**Table of contents**
3437

@@ -48,16 +51,31 @@ implemented in the *hw_cashlogy* module and also in pywebdriver
4851
Configuration
4952
=============
5053

51-
The cashlogyConnector adddress and port should be configured on the main
52-
Odoo server, in the menu *Pointof Sale > Configuration > Payment
53-
Methods*,under the *Point of Sale* tab.
54+
- Go to Point of Sale > Configuration > Settings, in
55+
``Connected Devices`` section, enable Automation Cashdrawer and fill
56+
IP Address, TCP Port.
57+
58+
|Config automatic cashdrawer|
59+
60+
- Go to Point of Sale > Configuration > Payment Methods, with ``Cash``
61+
type, enable ``Automation Cashdrawer``.
62+
63+
|Config pos payment methods|
64+
65+
.. |Config automatic cashdrawer| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_automatic_cashdrawer/static/description/config_pos_automatic_cashdrawer.png
66+
.. |Config pos payment methods| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_automatic_cashdrawer/static/description/config_pos_payment_method.png
5467

5568
Usage
5669
=====
5770

5871
In the frontend of the POS, when you select a payment method CASH you
59-
will have a *Start Transaction* button : if you click on that button,
60-
the amount will be sent to the POSbox.
72+
can see a popup show ``Customer Transaction`` to start adding cash into
73+
the machine. When fully paid or have change, the amount of cash will be
74+
updated.
75+
76+
|Payment|
77+
78+
.. |Payment| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_automatic_cashdrawer/static/description/automatic_cashdrawer_payment_method.png
6179

6280
Bug Tracker
6381
===========
@@ -85,6 +103,9 @@ Contributors
85103
- Mathieu Vatel
86104
- Iván Todorovich
87105
- Druidoo <`https://www.druidoo.io\\> <https://www.druidoo.io\>>`__
106+
- `Trobz <https://www.trobz.com/>`__
107+
108+
- Phan Hong Phuc <phucph@trobz.com>
88109

89110
Maintainers
90111
-----------

pos_automatic_cashdrawer/__manifest__.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,24 @@
55

66
{
77
"name": "POS Automatic Cashdrawer",
8-
"version": "12.0.1.0.0",
8+
"version": "18.0.1.0.0",
99
"category": "Point Of Sale",
1010
"summary": "Manage Automatic Cashdrawer device from POS front end",
11-
"author": "Aurélien DUMAINE, Druidoo",
11+
"author": "Aurélien DUMAINE, Druidoo, Odoo Community Association (OCA)",
1212
"license": "AGPL-3",
1313
"depends": ["point_of_sale"],
14+
"website": "https://github.com/OCA/pos",
1415
"data": [
1516
"security/res_groups.xml",
16-
"views/assets.xml",
17-
"views/account_journal.xml",
18-
"views/pos_config.xml",
17+
"views/pos_payment_method.xml",
18+
"views/res_config_settings_views.xml",
1919
],
20-
"qweb": ["static/src/xml/pos_automatic_cashdrawer.xml"],
21-
"demo": ["demo/demo.xml"],
20+
"assets": {
21+
"point_of_sale._assets_pos": [
22+
"pos_automatic_cashdrawer/static/src/overrides/components/**/*",
23+
"pos_automatic_cashdrawer/static/src/report/*",
24+
"pos_automatic_cashdrawer/static/src/dialogs/*",
25+
"pos_automatic_cashdrawer/static/src/css/*",
26+
]
27+
},
2228
}

pos_automatic_cashdrawer/demo/demo.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)