Skip to content

Commit e932781

Browse files
committed
[BOT] post-merge updates
1 parent 4bec586 commit e932781

File tree

5 files changed

+165
-29
lines changed

5 files changed

+165
-29
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ addon | version | maintainers | summary
4646
[pos_partner_firstname](pos_partner_firstname/) | 16.0.1.0.3 | [![robyf70](https://github.com/robyf70.png?size=30px)](https://github.com/robyf70) | POS Support of partner firstname
4747
[pos_partner_sale_warning](pos_partner_sale_warning/) | 16.0.1.0.0 | | Show partner sales warning in POS
4848
[pos_payment_change](pos_payment_change/) | 16.0.1.0.3 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Allow cashier to change order payments, as long as the session is not closed.
49+
[pos_payment_method_image](pos_payment_method_image/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Add images on Payment Methods available in the PoS
4950
[pos_payment_terminal](pos_payment_terminal/) | 16.0.1.0.2 | | Point of sale: support generic payment terminal
5051
[pos_product_display_default_code](pos_product_display_default_code/) | 16.0.1.0.0 | | pos: display product default code before product name
5152
[pos_product_label](pos_product_label/) | 16.0.1.0.0 | [![ivantodorovich](https://github.com/ivantodorovich.png?size=30px)](https://github.com/ivantodorovich) | Print product labels from the POS

pos_payment_method_image/README.rst

+119
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
====================================
2+
Point of Sale - Payment Method Image
3+
====================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:5d5756c5387f8f4f107c7d0471e83a7a4f218ec2e5992542be34e16876c1caaa
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
18+
:alt: License: LGPL-3
19+
.. |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_payment_method_image
21+
:alt: OCA/pos
22+
.. |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_payment_method_image
24+
:alt: Translate me on Weblate
25+
.. |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
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module extends the functionality of point of sale to display images
32+
for each journal available in the Point of Sale.
33+
34+
* The images are available in the payment screen
35+
36+
.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment.png
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Configuration
44+
=============
45+
46+
To configure this module, you need to:
47+
48+
* Go to 'Point Of Sale' / 'Configuration' / 'Payment Methods'
49+
50+
* Select a payment method
51+
52+
.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment_method_form.png
53+
54+
55+
Note:
56+
57+
If there is no image defined, default image will be set, depending
58+
on the configuration (cash, customer wallet, bank)
59+
60+
Known issues / Roadmap
61+
======================
62+
63+
* Do not port this module in V17+, because the feature become native at this release.
64+
See : https://github.com/odoo/odoo/pull/109446
65+
66+
* write migration scripts from ``pos_journal_image`` (V12) to ``pos_payment_method_image`` (V16).
67+
68+
Bug Tracker
69+
===========
70+
71+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
72+
In case of trouble, please check there if your issue has already been reported.
73+
If you spotted it first, help us to smash it by providing a detailed and welcomed
74+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_payment_method_image%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
75+
76+
Do not contact contributors directly about support or help with technical issues.
77+
78+
Credits
79+
=======
80+
81+
Authors
82+
~~~~~~~
83+
84+
* Odoo SA
85+
* GRAP
86+
87+
Contributors
88+
~~~~~~~~~~~~
89+
90+
* Sylvain LE GAL <https://twitter.com/legalsylvain>
91+
92+
Most of the code comes from Odoo SA <http://www.odoo.com>.
93+
94+
(https://github.com/odoo/odoo/pull/109446)
95+
96+
Maintainers
97+
~~~~~~~~~~~
98+
99+
This module is maintained by the OCA.
100+
101+
.. image:: https://odoo-community.org/logo.png
102+
:alt: Odoo Community Association
103+
:target: https://odoo-community.org
104+
105+
OCA, or the Odoo Community Association, is a nonprofit organization whose
106+
mission is to support the collaborative development of Odoo features and
107+
promote its widespread use.
108+
109+
.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
110+
:target: https://github.com/legalsylvain
111+
:alt: legalsylvain
112+
113+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
114+
115+
|maintainer-legalsylvain|
116+
117+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/16.0/pos_payment_method_image>`_ project on GitHub.
118+
119+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

pos_payment_method_image/static/description/index.html

+43-28
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
54
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
7-
<title>Point of Sale - Journal Image</title>
5+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6+
<title>Point of Sale - Payment Method Image</title>
87
<style type="text/css">
98

109
/*
1110
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
11+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
1615
17-
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
16+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1817
customize this style sheet.
1918
*/
2019

@@ -360,79 +359,95 @@
360359
</style>
361360
</head>
362361
<body>
363-
<div class="document" id="point-of-sale-journal-image">
364-
<h1 class="title">Point of Sale - Journal Image</h1>
362+
<div class="document" id="point-of-sale-payment-method-image">
363+
<h1 class="title">Point of Sale - Payment Method Image</h1>
365364

366365
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367366
!! This file is generated by oca-gen-addon-readme !!
368367
!! changes will be overwritten. !!
368+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369+
!! source digest: sha256:5d5756c5387f8f4f107c7d0471e83a7a4f218ec2e5992542be34e16876c1caaa
369370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/pos/tree/12.0/pos_journal_image"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_journal_image"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/184/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
371+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/pos/tree/16.0/pos_payment_method_image"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_payment_method_image"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/pos&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371372
<p>This module extends the functionality of point of sale to display images
372373
for each journal available in the Point of Sale.</p>
373374
<ul class="simple">
374375
<li>The images are available in the payment screen</li>
375376
</ul>
376377
<div class="figure">
377-
<img alt="https://raw.githubusercontent.com/OCA/pos/12.0/pos_journal_image/static/description/pos_payment.png" src="https://raw.githubusercontent.com/OCA/pos/12.0/pos_journal_image/static/description/pos_payment.png" />
378+
<img alt="https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment.png" src="https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment.png" />
378379
</div>
379380
<p><strong>Table of contents</strong></p>
380381
<div class="contents local topic" id="contents">
381382
<ul class="simple">
382-
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
383-
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
384-
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
385-
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
386-
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
387-
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
383+
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
384+
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
385+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
386+
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
387+
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
388+
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
389+
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
388390
</ul>
389391
</li>
390392
</ul>
391393
</div>
392394
<div class="section" id="configuration">
393-
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
395+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
394396
<p>To configure this module, you need to:</p>
395397
<ul class="simple">
396398
<li>Go to ‘Point Of Sale’ / ‘Configuration’ / ‘Payment Methods’</li>
397-
<li>Select journals available in the PoS</li>
398-
<li>In the ‘Point of Sale’ tab, set an image</li>
399+
<li>Select a payment method</li>
399400
</ul>
400401
<div class="figure">
401-
<img alt="https://raw.githubusercontent.com/OCA/pos/12.0/pos_journal_image/static/description/account_journal_form.png" src="https://raw.githubusercontent.com/OCA/pos/12.0/pos_journal_image/static/description/account_journal_form.png" />
402+
<img alt="https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment_method_form.png" src="https://raw.githubusercontent.com/OCA/pos/16.0/pos_payment_method_image/static/description/pos_payment_method_form.png" />
402403
</div>
404+
<p>Note:</p>
405+
<p>If there is no image defined, default image will be set, depending
406+
on the configuration (cash, customer wallet, bank)</p>
407+
</div>
408+
<div class="section" id="known-issues-roadmap">
409+
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
410+
<ul class="simple">
411+
<li>Do not port this module in V17+, because the feature become native at this release.
412+
See : <a class="reference external" href="https://github.com/odoo/odoo/pull/109446">https://github.com/odoo/odoo/pull/109446</a></li>
413+
<li>write migration scripts from <tt class="docutils literal">pos_journal_image</tt> (V12) to <tt class="docutils literal">pos_payment_method_image</tt> (V16).</li>
414+
</ul>
403415
</div>
404416
<div class="section" id="bug-tracker">
405-
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
417+
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
406418
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/pos/issues">GitHub Issues</a>.
407419
In case of trouble, please check there if your issue has already been reported.
408-
If you spotted it first, help us smashing it by providing a detailed and welcomed
409-
<a class="reference external" href="https://github.com/OCA/pos/issues/new?body=module:%20pos_journal_image%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
420+
If you spotted it first, help us to smash it by providing a detailed and welcomed
421+
<a class="reference external" href="https://github.com/OCA/pos/issues/new?body=module:%20pos_payment_method_image%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
410422
<p>Do not contact contributors directly about support or help with technical issues.</p>
411423
</div>
412424
<div class="section" id="credits">
413-
<h1><a class="toc-backref" href="#id3">Credits</a></h1>
425+
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
414426
<div class="section" id="authors">
415-
<h2><a class="toc-backref" href="#id4">Authors</a></h2>
427+
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
416428
<ul class="simple">
429+
<li>Odoo SA</li>
417430
<li>GRAP</li>
418431
</ul>
419432
</div>
420433
<div class="section" id="contributors">
421-
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
434+
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
422435
<ul class="simple">
423436
<li>Sylvain LE GAL &lt;<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>&gt;</li>
424437
</ul>
438+
<p>Most of the code comes from Odoo SA &lt;<a class="reference external" href="http://www.odoo.com">http://www.odoo.com</a>&gt;.</p>
439+
<p>(<a class="reference external" href="https://github.com/odoo/odoo/pull/109446">https://github.com/odoo/odoo/pull/109446</a>)</p>
425440
</div>
426441
<div class="section" id="maintainers">
427-
<h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
442+
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
428443
<p>This module is maintained by the OCA.</p>
429444
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
430445
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
431446
mission is to support the collaborative development of Odoo features and
432447
promote its widespread use.</p>
433448
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
434-
<p><a class="reference external" href="https://github.com/legalsylvain"><img alt="legalsylvain" src="https://github.com/legalsylvain.png?size=40px" /></a></p>
435-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/pos/tree/12.0/pos_journal_image">OCA/pos</a> project on GitHub.</p>
449+
<p><a class="reference external image-reference" href="https://github.com/legalsylvain"><img alt="legalsylvain" src="https://github.com/legalsylvain.png?size=40px" /></a></p>
450+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/pos/tree/16.0/pos_payment_method_image">OCA/pos</a> project on GitHub.</p>
436451
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
437452
</div>
438453
</div>

setup/_metapackage/VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.0.20240220.0
1+
16.0.20240222.0

setup/_metapackage/setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
'odoo-addon-pos_partner_firstname>=16.0dev,<16.1dev',
3434
'odoo-addon-pos_partner_sale_warning>=16.0dev,<16.1dev',
3535
'odoo-addon-pos_payment_change>=16.0dev,<16.1dev',
36+
'odoo-addon-pos_payment_method_image>=16.0dev,<16.1dev',
3637
'odoo-addon-pos_payment_terminal>=16.0dev,<16.1dev',
3738
'odoo-addon-pos_product_display_default_code>=16.0dev,<16.1dev',
3839
'odoo-addon-pos_product_label>=16.0dev,<16.1dev',

0 commit comments

Comments
 (0)