Skip to content

Commit a05d2af

Browse files
committed
[IMP] pos_payment_change: pre-commit auto fixes
1 parent b64e747 commit a05d2af

File tree

4 files changed

+28
-33
lines changed

4 files changed

+28
-33
lines changed

pos_payment_change/README.rst

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Point Of Sale - Change Payments
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/17.0/pos_payment_change
20+
:target: https://github.com/OCA/pos/tree/18.0/pos_payment_change
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-17-0/pos-17-0-pos_payment_change
23+
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_payment_change
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=17.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|
@@ -43,16 +43,16 @@ session, Only if entries has not been generated.
4343
Configuration
4444
=============
4545

46-
- Go to Point of Sale.
47-
- Choose the view list.
48-
- Edit your point of sale, and select a value for the field 'Payment
49-
Change Policy'.
46+
- Go to Point of Sale.
47+
- Choose the view list.
48+
- Edit your point of sale, and select a value for the field 'Payment
49+
Change Policy'.
5050

5151
Two options are available:
5252

53-
- 'Refund and Resale': Odoo will refund the current Pos Order to cancel
54-
it, and create a new PoS Order with the correct payment lines
55-
- 'Update Payments': Odoo will change payment lines.
53+
- 'Refund and Resale': Odoo will refund the current Pos Order to cancel
54+
it, and create a new PoS Order with the correct payment lines
55+
- 'Update Payments': Odoo will change payment lines.
5656

5757
|image1|
5858

@@ -64,22 +64,22 @@ field. If the module ``l10n_fr_certification`` is installed and if the
6464
current company has an inalterable accounting, it will not be possible
6565
to select the value 'Update Payments'.
6666

67-
.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_payment_change/static/description/pos_config_form.png
67+
.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_payment_change/static/description/pos_config_form.png
6868

6969
Usage
7070
=====
7171

72-
- Go to a PoS Order
73-
- Click on the button 'Change Payments'
72+
- Go to a PoS Order
73+
- Click on the button 'Change Payments'
7474

7575
|image1|
7676

77-
- In the pop up wizard, select the real payment(s) that have been used
78-
to pay the order
77+
- In the pop up wizard, select the real payment(s) that have been used
78+
to pay the order
7979

8080
|image2|
8181

82-
- Then click on the button 'Change Payments'
82+
- Then click on the button 'Change Payments'
8383

8484
**Note**
8585

@@ -89,17 +89,17 @@ the new one.
8989

9090
|image3|
9191

92-
.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_payment_change/static/description/pos_order_form.png
93-
.. |image2| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_payment_change/static/description/pos_payment_change_wizard_form.png
94-
.. |image3| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_payment_change/static/description/pos_order_tree.png
92+
.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_payment_change/static/description/pos_order_form.png
93+
.. |image2| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_payment_change/static/description/pos_payment_change_wizard_form.png
94+
.. |image3| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_payment_change/static/description/pos_order_tree.png
9595

9696
Bug Tracker
9797
===========
9898

9999
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
100100
In case of trouble, please check there if your issue has already been reported.
101101
If you spotted it first, help us to smash it by providing a detailed and welcomed
102-
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_payment_change%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
102+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_payment_change%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
103103

104104
Do not contact contributors directly about support or help with technical issues.
105105

@@ -114,19 +114,19 @@ Authors
114114
Contributors
115115
------------
116116

117-
- Sylvain LE GAL <https://twitter.com/legalsylvain>
118-
- Julien WESTE
119-
- Foram Shah <[email protected]>
120-
- Manuel Regidor <[email protected]>
117+
- Sylvain LE GAL <https://twitter.com/legalsylvain>
118+
- Julien WESTE
119+
- Foram Shah <[email protected]>
120+
- Manuel Regidor <[email protected]>
121121

122122
Other credits
123123
-------------
124124

125125
The development of this module has been financially supported by:
126126

127-
- GRAP, Groupement Régional Alimentaire de proximité
128-
(`www.grap.coop <http://www.grap.coop>`__)
129-
- Vracoop (`www.vracoop.fr <http://www.vracoop.fr>`__)
127+
- GRAP, Groupement Régional Alimentaire de proximité
128+
(`www.grap.coop <http://www.grap.coop>`__)
129+
- Vracoop (`www.vracoop.fr <http://www.vracoop.fr>`__)
130130

131131
Maintainers
132132
-----------
@@ -149,6 +149,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
149149

150150
|maintainer-legalsylvain|
151151

152-
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/17.0/pos_payment_change>`_ project on GitHub.
152+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/18.0/pos_payment_change>`_ project on GitHub.
153153

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

pos_payment_change/views/view_pos_config.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Copyright (C) 2020-Today GRAP (http://www.grap.coop)
55
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
66
-->
77
<odoo>
8-
98
<record id="view_pos_config_form" model="ir.ui.view">
109
<field name="model">pos.config</field>
1110
<field name="inherit_id" ref="point_of_sale.pos_config_view_form" />
@@ -21,5 +20,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2120
</xpath>
2221
</field>
2322
</record>
24-
2523
</odoo>

pos_payment_change/views/view_pos_order.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Copyright (C) 2015-Today GRAP (http://www.grap.coop)
55
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
66
-->
77
<odoo>
8-
98
<record id="view_pos_order_form" model="ir.ui.view">
109
<field name="model">pos.order</field>
1110
<field name="inherit_id" ref="point_of_sale.view_pos_pos_form" />

pos_payment_change/wizards/view_pos_payment_change_wizard.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Copyright (C) 2015-Today GRAP (http://www.grap.coop)
55
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
66
-->
77
<odoo>
8-
98
<record id="view_pos_payment_change_wizard_form" model="ir.ui.view">
109
<field name="model">pos.payment.change.wizard</field>
1110
<field name="arch" type="xml">
@@ -56,5 +55,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5655
<field name="view_mode">form</field>
5756
<field name="target">new</field>
5857
</record>
59-
6058
</odoo>

0 commit comments

Comments
 (0)