Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
9805efe
[ADD] PoS session pay invoice module
etobella Sep 28, 2017
afb4be1
Migration of pos_session_pay_invoice to 11.0
JordiBForgeFlow Oct 9, 2017
3be2f7a
Fix account-payment's github repo url
bishalgit Jun 25, 2018
38c84a9
[12.0][MIG] pos_session_pay_invoice
Jun 25, 2019
fa59c87
Added translation using Weblate (Spanish)
danimv5 Oct 26, 2020
6aa0a1b
Added translation using Weblate (French)
jguenat Nov 26, 2020
aa080c9
[IMP] pos_session_pay_invoice: black, isort, prettier
acsonefho Feb 5, 2021
797170e
[13.0][MIG] pos_session_pay_invoice
acsonefho Feb 8, 2021
cbffa9e
[MIG] pos_session_pay_invoice: Ending migration to 13.0
olgamarcocb Jun 14, 2021
8f77f09
[IMP] pos_session_pay_invoice: black, isort, prettier
olgamarcocb Dec 24, 2021
3c7128c
[MIG] pos_session_pay_invoice: Migration to 14.0
olgamarcocb Jan 11, 2022
b39a72c
[UPD] Update pos_session_pay_invoice.pot
oca-travis Jan 31, 2022
19da30a
Added translation using Weblate (Italian)
mymage Mar 16, 2023
fd50081
[14.0][IMP] pos_session_pay_invoice: Set `target=new` on views
May 25, 2023
5fdfa52
[FIX] `search_paid_order_ids` must exclude orders createds with this …
May 31, 2023
dbd8e7f
[UPD] Update pos_session_pay_invoice.pot
Jun 28, 2023
b93726c
pos_session_pay_invoice 14.0.1.1.0
OCA-git-bot Jul 4, 2023
222de9e
Translated using Weblate (Spanish)
anmarmo1 Aug 9, 2023
b832ffb
Translated using Weblate (Spanish)
Ivorra78 Mar 22, 2024
f0bdec6
Translated using Weblate (Italian)
mymage Jun 29, 2023
c3e1c93
[MIG] pos_session_pay_invoice: Migration to 16.0
carlos-lopez-tecnativa Jul 18, 2024
7dbb191
[UPD] Update pos_session_pay_invoice.pot
Sep 25, 2024
39ea0d8
[BOT] post-merge updates
OCA-git-bot Sep 25, 2024
3b03a4b
Translated using Weblate (Italian)
mymage Jul 30, 2025
9be617a
[FIX] pos_session_pay_invoice: `search_paid_order_ids` must exclude o…
May 31, 2023
55dd9f9
[UPD] Update pos_session_pay_invoice.pot
Aug 5, 2025
85dc654
[BOT] post-merge updates
OCA-git-bot Aug 5, 2025
ce0a30c
Update translation files
weblate Aug 5, 2025
885b2c9
Translated using Weblate (Italian)
mymage Aug 5, 2025
398d5bc
[IMP] pos_session_pay_invoice: Restrict to journals of the current PO…
carlos-lopez-tecnativa Aug 7, 2025
249bd53
[UPD] Update pos_session_pay_invoice.pot
Aug 7, 2025
804bc1e
[BOT] post-merge updates
OCA-git-bot Aug 7, 2025
a39d724
Update translation files
weblate Aug 7, 2025
dbfb583
[IMP] pos_session_pay_invoice: Generate pos.order and pos.payment for…
carlos-lopez-tecnativa Aug 7, 2025
8e8a206
[UPD] Update pos_session_pay_invoice.pot
Aug 8, 2025
ef391d0
[BOT] post-merge updates
OCA-git-bot Aug 8, 2025
d8f4247
Update translation files
weblate Aug 8, 2025
f999a3d
Translated using Weblate (Italian)
mymage Aug 8, 2025
c1afe15
[IMP] pos_session_pay_invoice: pre-commit auto fixes
Tisho99 Jan 9, 2026
726ffc0
[MIG] pos_session_pay_invoice: Migration to 18.0
Tisho99 Jan 9, 2026
6bfe20c
[DON'T MERGE] test-requirements.txt
Tisho99 Jan 12, 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 <[email protected]>
- Jordi Ballester <[email protected]>
- 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.3",
"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 <[email protected]>\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