Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ef1cf86
[ADD] PoS session pay invoice module
etobella Sep 28, 2017
7af0504
Migration of pos_session_pay_invoice to 11.0
JordiBForgeFlow Oct 9, 2017
3a93624
Fix account-payment's github repo url
bishalgit Jun 25, 2018
c3b2869
[12.0][MIG] pos_session_pay_invoice
Jun 25, 2019
26ec3a4
Added translation using Weblate (Spanish)
danimv5 Oct 26, 2020
2c3c3ac
Added translation using Weblate (French)
jguenat Nov 26, 2020
bff4f7f
[IMP] pos_session_pay_invoice: black, isort, prettier
acsonefho Feb 5, 2021
d7088e2
[13.0][MIG] pos_session_pay_invoice
acsonefho Feb 8, 2021
98406c6
[MIG] pos_session_pay_invoice: Ending migration to 13.0
olgamarcocb Jun 14, 2021
3fd655e
[IMP] pos_session_pay_invoice: black, isort, prettier
olgamarcocb Dec 24, 2021
b2054d6
[MIG] pos_session_pay_invoice: Migration to 14.0
olgamarcocb Jan 11, 2022
7da0005
[UPD] Update pos_session_pay_invoice.pot
oca-travis Jan 31, 2022
eccec91
Added translation using Weblate (Italian)
mymage Mar 16, 2023
10e25bf
[14.0][IMP] pos_session_pay_invoice: Set `target=new` on views
May 25, 2023
d7be92f
[FIX] `search_paid_order_ids` must exclude orders createds with this …
May 31, 2023
dcec12f
[UPD] Update pos_session_pay_invoice.pot
Jun 28, 2023
a6e75a0
pos_session_pay_invoice 14.0.1.1.0
OCA-git-bot Jul 4, 2023
ea617fa
Translated using Weblate (Spanish)
anmarmo1 Aug 9, 2023
3a6de28
Translated using Weblate (Spanish)
Ivorra78 Mar 22, 2024
5dc98b3
Translated using Weblate (Italian)
mymage Jun 29, 2023
ef232ff
[MIG] pos_session_pay_invoice: Migration to 16.0
carlos-lopez-tecnativa Jul 18, 2024
3d60eac
[UPD] Update pos_session_pay_invoice.pot
Sep 25, 2024
e163f00
[BOT] post-merge updates
OCA-git-bot Sep 25, 2024
b5be54c
Translated using Weblate (Italian)
mymage Jul 30, 2025
2f7f6d3
[FIX] pos_session_pay_invoice: `search_paid_order_ids` must exclude o…
May 31, 2023
cc55358
[UPD] Update pos_session_pay_invoice.pot
Aug 5, 2025
8e62408
[BOT] post-merge updates
OCA-git-bot Aug 5, 2025
72ed302
Update translation files
weblate Aug 5, 2025
51ddaa1
Translated using Weblate (Italian)
mymage Aug 5, 2025
bbc3b3a
[IMP] pos_session_pay_invoice: Restrict to journals of the current PO…
carlos-lopez-tecnativa Aug 7, 2025
d318667
[UPD] Update pos_session_pay_invoice.pot
Aug 7, 2025
19a4f16
[BOT] post-merge updates
OCA-git-bot Aug 7, 2025
1f39c58
Update translation files
weblate Aug 7, 2025
080b3fb
[IMP] pos_session_pay_invoice: Generate pos.order and pos.payment for…
carlos-lopez-tecnativa Aug 7, 2025
e54e159
[UPD] Update pos_session_pay_invoice.pot
Aug 8, 2025
e3fb61c
[BOT] post-merge updates
OCA-git-bot Aug 8, 2025
118ddd9
Update translation files
weblate Aug 8, 2025
5813ba8
Translated using Weblate (Italian)
mymage Aug 8, 2025
8b9c65f
[IMP] pos_session_pay_invoice: pre-commit auto fixes
Tisho99 Jan 9, 2026
fd65042
[MIG] pos_session_pay_invoice: Migration to 18.0
Tisho99 Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions pos_session_pay_invoice/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
=======================
POS Session Pay invoice
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e6d561100de18a2e7b98d9cfd2eb83c14d8115a723dbcb653563b82efd986ae6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/18.0/pos_session_pay_invoice
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_session_pay_invoice
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This modules allows to pay an existing Supplier Invoice / Customer
Refund, or to collect payment for an existing Customer Invoice, from
within a POS Session.

**Table of contents**

.. contents::
:local:

Configuration
=============

1. Go to *Point of Sale / Configuration / Payment Methods* and ensure
that at least one payment method with a journal type "cash" is
created (or create one if it does not exist).
2. Go to *Point of Sale / Configuration / Settings* Select a Point of
Sale and ensure than in the payment methods section, at least one
payment method has a journal type "cash"

Usage
=====

1. Go to *Point of Sale / Dashboard* and create and open or access to an
already open POS Session.
2. Open the POS Session form view on the Backend.
3. Press the button **Pay Supplier** to pay a Supplier Invoice or **Pay
Refund** for a Customer Refund. It will be paid using Cash.
4. Select **Get Payment from Invoice** to receive a payment of an
existing Customer Invoice or a Supplier Refund. You will need to
select a Journal if the POS Config has defined multiple Payment
Methods.

Known issues / Roadmap
======================

- Cannot pay invoices in a different currency than that defined in the
journal associated to the payment method used to pay/collect payment.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`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**>`_.

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

Credits
=======

Authors
-------

* Creu Blanca

Contributors
------------

- Enric Tobella <etobella@creublanca.es>
- Jordi Ballester <jordi.ballester@eficent.com>
- Tecnativa (https://www.tecnativa.com):

- Carlos Lopez

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/18.0/pos_session_pay_invoice>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions pos_session_pay_invoice/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

from . import models
from . import wizard
17 changes: 17 additions & 0 deletions pos_session_pay_invoice/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (C) 2017 Creu Blanca
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
"name": "POS Session Pay invoice",
"version": "18.0.1.0.0",
"category": "Point Of Sale",
"author": "Creu Blanca, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"summary": "Pay and receive invoices from PoS Session",
"license": "LGPL-3",
"depends": ["point_of_sale", "account_cash_invoice"],
"data": [
"wizard/cash_pay_invoice.xml",
"views/pos_session.xml",
],
}
185 changes: 185 additions & 0 deletions pos_session_pay_invoice/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_session_pay_invoice
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-23 00:46+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
msgid ""
"<span class=\"o_stat_text\">Get Payment</span>\n"
" <span class=\"o_stat_text\">from Invoice</span>"
msgstr ""
"<span class=\"o_stat_text\">Obtener pago</span>\n"
" <span class=\"o_stat_text\">desde factura</span>"

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
msgid ""
"<span class=\"o_stat_text\">Pay Supplier</span>\n"
" <span class=\"o_stat_text\">Invoice</span>"
msgstr ""
"<span class=\"o_stat_text\">Pagar factura</span>\n"
" <span class=\"o_stat_text\">de proveedor</span>"

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_session_form
msgid ""
"<span class=\"o_stat_text\">Pay</span>\n"
" <span class=\"o_stat_text\">Refund</span>"
msgstr ""
"<span class=\"o_stat_text\">Pagar</span>\n"
" <span class=\"o_stat_text\">Rectificativa</span>"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_cash_pay_invoice
msgid "Cash Pay invoice from bank statement"
msgstr ""

#. module: pos_session_pay_invoice
#: model:ir.actions.act_window,name:pos_session_pay_invoice.action_pos_invoice_in_control
msgid "Pay invoice"
msgstr "Factura de pago"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_payment_method_id
msgid "Payment Method"
msgstr "Modo de pago"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_pos_order
msgid "Point of Sale Orders"
msgstr "Pedidos del punto de venta"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_payment_method_domain
msgid "Pos Payment Method Domain"
msgstr ""

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_pay_invoice__pos_session_id
msgid "Pos Session"
msgstr ""

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.view_pos_config_kanban
msgid "Summary"
msgstr "Resumen"

#. module: pos_session_pay_invoice
#. odoo-python
#: code:addons/pos_session_pay_invoice/models/pos_session.py:0
#, python-format
msgid ""
"You can only pay invoices in an opened session. Please refresh the window "
"and try again."
msgstr ""

#~ msgid "Amount"
#~ msgstr "Importe"

#, python-format
#~ msgid "Bank Statement was not found"
#~ msgstr "No se encontró el extracto bancario"

#~ msgid "Cancel"
#~ msgstr "Cancelar"

#~ msgid "Cash invoice in"
#~ msgstr "Factura al contado en"

#~ msgid "Collect Payment from Invoice"
#~ msgstr "Cobrar el pago de la factura"

#~ msgid "Company"
#~ msgstr "Compañía"

#~ msgid "Created by"
#~ msgstr "Creado por"

#~ msgid "Created on"
#~ msgstr "Creado en"

#~ msgid "Currency"
#~ msgstr "Moneda"

#~ msgid "Display Name"
#~ msgstr "Nombre mostrado"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Invoice"
#~ msgstr "Factura"

#~ msgid "Last Modified on"
#~ msgstr "Última modificación en"

#~ msgid "Last Updated by"
#~ msgstr "Última actualización por"

#~ msgid "Last Updated on"
#~ msgstr "Última actualización en"

#~ msgid "Payment Method Count"
#~ msgstr "Método de Pago Recuento"

#~ msgid "Payment methods"
#~ msgstr "Modos de pago"

#~ msgid "Reason"
#~ msgstr "Razón"

#~ msgid "Register"
#~ msgstr "Registrar"

#~ msgid "Session"
#~ msgstr "Sesión"

#, python-format
#~ msgid "There is no cash register for this Pos session"
#~ msgstr "No hay caja registradora para esta sesión de TPV"

#~ msgid "pos box cash invoice in"
#~ msgstr "factura de caja en efectivo en"

#~ msgid "pos box cash invoice out"
#~ msgstr "caja pdv factura en efectivo"

#~ msgid ""
#~ "<span class=\"o_stat_text\">Collect Payment</span>\n"
#~ " <span class=\"o_stat_text\">from Invoice</span>"
#~ msgstr ""
#~ "<span class = \"o_stat_text\"> Cobrar pago </span>\n"
#~ " <span class = \"o_stat_text\"> de la factura </"
#~ "span>"

#~ msgid ""
#~ "<span class=\"o_stat_text\">Pay</span>\n"
#~ " <span class=\"o_stat_text\">Invoice</span>"
#~ msgstr ""
#~ "<span class=\"o_stat_text\">Pagado</span>\n"
#~ " <span class=\"o_stat_text\">Factura</span>"

#~ msgid "cash.invoice.in"
#~ msgstr "cash.invoice.in"

#~ msgid "cash.invoice.out"
#~ msgstr "cash.invoice.out"
Loading
Loading