Skip to content

Commit 60ac10c

Browse files
committed
Merge PR #1472 into 18.0
Signed-off-by pedrobaeza
2 parents c2af2a2 + fd65042 commit 60ac10c

24 files changed

+1630
-0
lines changed

pos_session_pay_invoice/README.rst

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
=======================
2+
POS Session Pay invoice
3+
=======================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:e6d561100de18a2e7b98d9cfd2eb83c14d8115a723dbcb653563b82efd986ae6
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/18.0/pos_session_pay_invoice
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-18-0/pos-18-0-pos_session_pay_invoice
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=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This modules allows to pay an existing Supplier Invoice / Customer
32+
Refund, or to collect payment for an existing Customer Invoice, from
33+
within a POS Session.
34+
35+
**Table of contents**
36+
37+
.. contents::
38+
:local:
39+
40+
Configuration
41+
=============
42+
43+
1. Go to *Point of Sale / Configuration / Payment Methods* and ensure
44+
that at least one payment method with a journal type "cash" is
45+
created (or create one if it does not exist).
46+
2. Go to *Point of Sale / Configuration / Settings* Select a Point of
47+
Sale and ensure than in the payment methods section, at least one
48+
payment method has a journal type "cash"
49+
50+
Usage
51+
=====
52+
53+
1. Go to *Point of Sale / Dashboard* and create and open or access to an
54+
already open POS Session.
55+
2. Open the POS Session form view on the Backend.
56+
3. Press the button **Pay Supplier** to pay a Supplier Invoice or **Pay
57+
Refund** for a Customer Refund. It will be paid using Cash.
58+
4. Select **Get Payment from Invoice** to receive a payment of an
59+
existing Customer Invoice or a Supplier Refund. You will need to
60+
select a Journal if the POS Config has defined multiple Payment
61+
Methods.
62+
63+
Known issues / Roadmap
64+
======================
65+
66+
- Cannot pay invoices in a different currency than that defined in the
67+
journal associated to the payment method used to pay/collect payment.
68+
69+
Bug Tracker
70+
===========
71+
72+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
73+
In case of trouble, please check there if your issue has already been reported.
74+
If you spotted it first, help us to smash it by providing a detailed and welcomed
75+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_session_pay_invoice%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
76+
77+
Do not contact contributors directly about support or help with technical issues.
78+
79+
Credits
80+
=======
81+
82+
Authors
83+
-------
84+
85+
* Creu Blanca
86+
87+
Contributors
88+
------------
89+
90+
- Enric Tobella <etobella@creublanca.es>
91+
- Jordi Ballester <jordi.ballester@eficent.com>
92+
- Tecnativa (https://www.tecnativa.com):
93+
94+
- Carlos Lopez
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+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/18.0/pos_session_pay_invoice>`_ project on GitHub.
110+
111+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
2+
3+
from . import models
4+
from . import wizard
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (C) 2017 Creu Blanca
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
3+
4+
{
5+
"name": "POS Session Pay invoice",
6+
"version": "18.0.1.0.0",
7+
"category": "Point Of Sale",
8+
"author": "Creu Blanca, Odoo Community Association (OCA)",
9+
"website": "https://github.com/OCA/pos",
10+
"summary": "Pay and receive invoices from PoS Session",
11+
"license": "LGPL-3",
12+
"depends": ["point_of_sale", "account_cash_invoice"],
13+
"data": [
14+
"wizard/cash_pay_invoice.xml",
15+
"views/pos_session.xml",
16+
],
17+
}

pos_session_pay_invoice/i18n/es.po

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * pos_session_pay_invoice
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-03-23 00:46+0000\n"
10+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: pos_session_pay_invoice
20+
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
21+
msgid ""
22+
"<span class=\"o_stat_text\">Get Payment</span>\n"
23+
" <span class=\"o_stat_text\">from Invoice</span>"
24+
msgstr ""
25+
"<span class=\"o_stat_text\">Obtener pago</span>\n"
26+
" <span class=\"o_stat_text\">desde factura</span>"
27+
28+
#. module: pos_session_pay_invoice
29+
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
30+
msgid ""
31+
"<span class=\"o_stat_text\">Pay Supplier</span>\n"
32+
" <span class=\"o_stat_text\">Invoice</span>"
33+
msgstr ""
34+
"<span class=\"o_stat_text\">Pagar factura</span>\n"
35+
" <span class=\"o_stat_text\">de proveedor</span>"
36+
37+
#. module: pos_session_pay_invoice
38+
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
39+
msgid ""
40+
"<span class=\"o_stat_text\">Pay</span>\n"
41+
" <span class=\"o_stat_text\">Refund</span>"
42+
msgstr ""
43+
"<span class=\"o_stat_text\">Pagar</span>\n"
44+
" <span class=\"o_stat_text\">Rectificativa</span>"
45+
46+
#. module: pos_session_pay_invoice
47+
#: model:ir.model,name:pos_session_pay_invoice.model_cash_pay_invoice
48+
msgid "Cash Pay invoice from bank statement"
49+
msgstr ""
50+
51+
#. module: pos_session_pay_invoice
52+
#: model:ir.actions.act_window,name:pos_session_pay_invoice.action_pos_invoice_in_control
53+
msgid "Pay invoice"
54+
msgstr "Factura de pago"
55+
56+
#. module: pos_session_pay_invoice
57+
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_payment_method_id
58+
msgid "Payment Method"
59+
msgstr "Modo de pago"
60+
61+
#. module: pos_session_pay_invoice
62+
#: model:ir.model,name:pos_session_pay_invoice.model_pos_order
63+
msgid "Point of Sale Orders"
64+
msgstr "Pedidos del punto de venta"
65+
66+
#. module: pos_session_pay_invoice
67+
#: model:ir.model,name:pos_session_pay_invoice.model_pos_session
68+
msgid "Point of Sale Session"
69+
msgstr ""
70+
71+
#. module: pos_session_pay_invoice
72+
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_payment_method_domain
73+
msgid "Pos Payment Method Domain"
74+
msgstr ""
75+
76+
#. module: pos_session_pay_invoice
77+
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_session_id
78+
msgid "Pos Session"
79+
msgstr ""
80+
81+
#. module: pos_session_pay_invoice
82+
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_config_kanban
83+
msgid "Summary"
84+
msgstr "Resumen"
85+
86+
#. module: pos_session_pay_invoice
87+
#. odoo-python
88+
#: code:addons/pos_session_pay_invoice/models/pos_session.py:0
89+
#, python-format
90+
msgid ""
91+
"You can only pay invoices in an opened session. Please refresh the window "
92+
"and try again."
93+
msgstr ""
94+
95+
#~ msgid "Amount"
96+
#~ msgstr "Importe"
97+
98+
#, python-format
99+
#~ msgid "Bank Statement was not found"
100+
#~ msgstr "No se encontró el extracto bancario"
101+
102+
#~ msgid "Cancel"
103+
#~ msgstr "Cancelar"
104+
105+
#~ msgid "Cash invoice in"
106+
#~ msgstr "Factura al contado en"
107+
108+
#~ msgid "Collect Payment from Invoice"
109+
#~ msgstr "Cobrar el pago de la factura"
110+
111+
#~ msgid "Company"
112+
#~ msgstr "Compañía"
113+
114+
#~ msgid "Created by"
115+
#~ msgstr "Creado por"
116+
117+
#~ msgid "Created on"
118+
#~ msgstr "Creado en"
119+
120+
#~ msgid "Currency"
121+
#~ msgstr "Moneda"
122+
123+
#~ msgid "Display Name"
124+
#~ msgstr "Nombre mostrado"
125+
126+
#~ msgid "ID"
127+
#~ msgstr "ID"
128+
129+
#~ msgid "Invoice"
130+
#~ msgstr "Factura"
131+
132+
#~ msgid "Last Modified on"
133+
#~ msgstr "Última modificación en"
134+
135+
#~ msgid "Last Updated by"
136+
#~ msgstr "Última actualización por"
137+
138+
#~ msgid "Last Updated on"
139+
#~ msgstr "Última actualización en"
140+
141+
#~ msgid "Payment Method Count"
142+
#~ msgstr "Método de Pago Recuento"
143+
144+
#~ msgid "Payment methods"
145+
#~ msgstr "Modos de pago"
146+
147+
#~ msgid "Reason"
148+
#~ msgstr "Razón"
149+
150+
#~ msgid "Register"
151+
#~ msgstr "Registrar"
152+
153+
#~ msgid "Session"
154+
#~ msgstr "Sesión"
155+
156+
#, python-format
157+
#~ msgid "There is no cash register for this Pos session"
158+
#~ msgstr "No hay caja registradora para esta sesión de TPV"
159+
160+
#~ msgid "pos box cash invoice in"
161+
#~ msgstr "factura de caja en efectivo en"
162+
163+
#~ msgid "pos box cash invoice out"
164+
#~ msgstr "caja pdv factura en efectivo"
165+
166+
#~ msgid ""
167+
#~ "<span class=\"o_stat_text\">Collect Payment</span>\n"
168+
#~ " <span class=\"o_stat_text\">from Invoice</span>"
169+
#~ msgstr ""
170+
#~ "<span class = \"o_stat_text\"> Cobrar pago </span>\n"
171+
#~ " <span class = \"o_stat_text\"> de la factura </"
172+
#~ "span>"
173+
174+
#~ msgid ""
175+
#~ "<span class=\"o_stat_text\">Pay</span>\n"
176+
#~ " <span class=\"o_stat_text\">Invoice</span>"
177+
#~ msgstr ""
178+
#~ "<span class=\"o_stat_text\">Pagado</span>\n"
179+
#~ " <span class=\"o_stat_text\">Factura</span>"
180+
181+
#~ msgid "cash.invoice.in"
182+
#~ msgstr "cash.invoice.in"
183+
184+
#~ msgid "cash.invoice.out"
185+
#~ msgstr "cash.invoice.out"

0 commit comments

Comments
 (0)