Skip to content

Commit 2286a9d

Browse files
author
phucph
committed
[IMP] pos_access_right: pre-commit auto fixes
1 parent 9122e88 commit 2286a9d

File tree

12 files changed

+59
-47
lines changed

12 files changed

+59
-47
lines changed

pos_access_right/README.rst

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,28 @@ Point of Sale - Extra Access Right
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
20-
:target: https://github.com/OCA/pos/tree/16.0/pos_access_right
20+
:target: https://github.com/OCA/pos/tree/18.0/pos_access_right
2121
:alt: OCA/pos
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_access_right
23+
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_access_right
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=18.0
2727
:alt: Try me on Runboat
2828

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

31-
This module extends Odoo Point Of Sale features, restricting possibility to cashier to make some actions in the Point of Sale. This module will add the following groups to Odoo:
31+
This module extends Odoo Point Of Sale features, restricting possibility
32+
to cashier to make some actions in the Point of Sale. This module will
33+
add the following groups to Odoo:
3234

33-
* **PoS - Negative Quantity**: The cashier can sell negative quantity in Point Of Sale (ie, can return products);
34-
* **PoS - Discount**: The cashier can set Discount in Point Of Sale;
35-
* **PoS - Change Unit Price**: The cashier can change the unit price of a product in Point Of Sale;
36-
* **PoS - Many Orders**: The cashier can many orders at the same time;
37-
* **PoS - Delete Order**: The cashier can not delete a full order;
35+
- **PoS - Negative Quantity**: The cashier can sell negative quantity in
36+
Point Of Sale (ie, can return products);
37+
- **PoS - Discount**: The cashier can set Discount in Point Of Sale;
38+
- **PoS - Change Unit Price**: The cashier can change the unit price of
39+
a product in Point Of Sale;
40+
- **PoS - Many Orders**: The cashier can many orders at the same time;
41+
- **PoS - Delete Order**: The cashier can not delete a full order;
3842

3943
**Table of contents**
4044

@@ -49,8 +53,9 @@ Once installed, you have to give correct access right to your cashiers.
4953
Usage
5054
=====
5155

52-
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
53-
:alt: Try me on Runbot
56+
|Try me on Runbot|
57+
58+
.. |Try me on Runbot| image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
5459
:target: https://runbot.odoo-community.org/runbot/184/9.0
5560

5661
Bug Tracker
@@ -59,28 +64,30 @@ Bug Tracker
5964
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
6065
In case of trouble, please check there if your issue has already been reported.
6166
If you spotted it first, help us to smash it by providing a detailed and welcomed
62-
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_access_right%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
67+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_access_right%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6368

6469
Do not contact contributors directly about support or help with technical issues.
6570

6671
Credits
6772
=======
6873

6974
Authors
70-
~~~~~~~
75+
-------
7176

7277
* La Louve
7378
* GRAP
7479

7580
Contributors
76-
~~~~~~~~~~~~
81+
------------
7782

78-
* Sylvain LE GAL <https://twitter.com/legalsylvain>
79-
* Ammmar Officewala <https://twitter.com/AmmarOfficewala>
80-
* Helly kapatel <helly.kapatel@initos.com>
83+
- Sylvain LE GAL
84+
<`https://twitter.com/legalsylvain\\> <https://twitter.com/legalsylvain\>>`__
85+
- Ammmar Officewala
86+
<`https://twitter.com/AmmarOfficewala\\> <https://twitter.com/AmmarOfficewala\>>`__
87+
- Helly kapatel <helly.kapatel@initos.com>
8188

8289
Maintainers
83-
~~~~~~~~~~~
90+
-----------
8491

8592
This module is maintained by the OCA.
8693

@@ -92,6 +99,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9299
mission is to support the collaborative development of Odoo features and
93100
promote its widespread use.
94101

95-
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/16.0/pos_access_right>`_ project on GitHub.
102+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/18.0/pos_access_right>`_ project on GitHub.
96103

97104
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

pos_access_right/demo/res_groups.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
66
-->
77
<odoo>
8-
98
<record id="group_negative_qty" model="res.groups">
109
<field
1110
name="users"
@@ -47,5 +46,4 @@
4746
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
4847
/>
4948
</record>
50-
5149
</odoo>

pos_access_right/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Sylvain LE GAL \<https://twitter.com/legalsylvain\>
2+
- Ammmar Officewala \<https://twitter.com/AmmarOfficewala\>
3+
- Helly kapatel \<helly.kapatel@initos.com\>

pos_access_right/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This module extends Odoo Point Of Sale features, restricting possibility
2+
to cashier to make some actions in the Point of Sale. This module will
3+
add the following groups to Odoo:
4+
5+
- **PoS - Negative Quantity**: The cashier can sell negative quantity in
6+
Point Of Sale (ie, can return products);
7+
- **PoS - Discount**: The cashier can set Discount in Point Of Sale;
8+
- **PoS - Change Unit Price**: The cashier can change the unit price of
9+
a product in Point Of Sale;
10+
- **PoS - Many Orders**: The cashier can many orders at the same time;
11+
- **PoS - Delete Order**: The cashier can not delete a full order;

pos_access_right/readme/DESCRIPTION.rst

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

pos_access_right/readme/USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[![Try me on Runbot](https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas)](https://runbot.odoo-community.org/runbot/184/9.0)

pos_access_right/readme/USAGE.rst

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

0 commit comments

Comments
 (0)