Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] pos_session_pay_invoice: Migration to version 16.0 #1226

Merged
merged 22 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7314023
[ADD] PoS session pay invoice module
etobella Sep 28, 2017
7446180
Migration of pos_session_pay_invoice to 11.0
JordiBForgeFlow Oct 9, 2017
08ad1e9
Fix account-payment's github repo url
bishalgit Jun 25, 2018
8771765
[12.0][MIG] pos_session_pay_invoice
Jun 25, 2019
a09aa7c
Added translation using Weblate (Spanish)
danimv5 Oct 26, 2020
8b9455f
Added translation using Weblate (French)
jguenat Nov 26, 2020
1c8e3b1
[IMP] pos_session_pay_invoice: black, isort, prettier
acsonefho Feb 5, 2021
e013581
[13.0][MIG] pos_session_pay_invoice
acsonefho Feb 8, 2021
ffe4a95
[MIG] pos_session_pay_invoice: Ending migration to 13.0
olgamarcocb Jun 14, 2021
279d4d8
[IMP] pos_session_pay_invoice: black, isort, prettier
olgamarcocb Dec 24, 2021
48b3331
[MIG] pos_session_pay_invoice: Migration to 14.0
olgamarcocb Jan 11, 2022
0739687
[UPD] Update pos_session_pay_invoice.pot
oca-travis Jan 31, 2022
5b2fe8e
Added translation using Weblate (Italian)
mymage Mar 16, 2023
3598b64
[14.0][IMP] pos_session_pay_invoice: Set `target=new` on views
zamberjo May 25, 2023
1ac3586
[FIX] `search_paid_order_ids` must exclude orders createds with this …
zamberjo May 31, 2023
52e7b73
[UPD] Update pos_session_pay_invoice.pot
Jun 28, 2023
c215740
pos_session_pay_invoice 14.0.1.1.0
OCA-git-bot Jul 4, 2023
c36d996
Translated using Weblate (Spanish)
anmarmo1 Aug 9, 2023
c6ed5a1
Translated using Weblate (Spanish)
Ivorra78 Mar 22, 2024
2393c61
Translated using Weblate (Italian)
mymage Jun 29, 2023
9102832
[IMP] pos_session_pay_invoice: pre-commit stuff
carlos-lopez-tecnativa Jul 18, 2024
ac0049d
[MIG] pos_session_pay_invoice: Migration to 16.0
carlos-lopez-tecnativa Jul 18, 2024
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
110 changes: 110 additions & 0 deletions pos_session_pay_invoice/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
=======================
POS Session Pay invoice
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6eac7dbff1f6e08ae835df882a549b193c4d037be692dfd6913960c06245184b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.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-16-0/pos-16-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=16.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
=============

#. 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).

#. 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
=====

#. Go to *Point of Sale / Dashboard* and create and open or access to an
already open POS Session.
#. Open the POS Session form view on the Backend.
#. Press the button **Pay Supplier** to pay a Supplier Invoice or **Pay Refund** for a Customer
Refund. It will be paid using Cash.
#. 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:%2016.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/16.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": "16.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",
],
}
227 changes: 227 additions & 0 deletions pos_session_pay_invoice/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
# 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.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__amount
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__amount
msgid "Amount"
msgstr "Importe"

#. module: pos_session_pay_invoice
#: code:addons/pos_session_pay_invoice/wizard/cash_invoice_in.py:0
#, python-format
msgid "Bank Statement was not found"
msgstr "No se encontró el extracto bancario"

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.cash_invoice_in_form
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.cash_invoice_out_form
msgid "Cancel"
msgstr "Cancelar"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_cash_invoice_in
msgid "Cash invoice in"
msgstr "Factura al contado en"

#. module: pos_session_pay_invoice
#: model:ir.actions.act_window,name:pos_session_pay_invoice.action_pos_invoice_out
msgid "Collect Payment from Invoice"
msgstr "Cobrar el pago de la factura"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__company_id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__company_id
msgid "Company"
msgstr "Compañía"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__create_uid
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__create_date
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__create_date
msgid "Created on"
msgstr "Creado en"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__currency_id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__currency_id
msgid "Currency"
msgstr "Moneda"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_invoice_in__display_name
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__display_name
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__display_name
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_order__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_invoice_in__id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_order__id
msgid "ID"
msgstr "ID"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__move_id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__move_id
msgid "Invoice"
msgstr "Factura"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_cash_invoice_in____last_update
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in____last_update
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out____last_update
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_order____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__write_uid
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__write_date
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: pos_session_pay_invoice
#: model:ir.actions.act_window,name:pos_session_pay_invoice.action_pos_invoice_in
#: 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_pos_box_cash_invoice_in__payment_method_id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__payment_method_id
msgid "Payment Method"
msgstr "Modo de pago"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__payment_method_count
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__payment_method_count
msgid "Payment Method Count"
msgstr "Método de Pago Recuento"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__payment_method_ids
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__payment_method_ids
msgid "Payment methods"
msgstr "Modos 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.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__name
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__name
msgid "Reason"
msgstr "Razón"

#. module: pos_session_pay_invoice
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.cash_invoice_in_form
#: model_terms:ir.ui.view,arch_db:pos_session_pay_invoice.cash_invoice_out_form
msgid "Register"
msgstr "Registrar"

#. module: pos_session_pay_invoice
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_in__session_id
#: model:ir.model.fields,field_description:pos_session_pay_invoice.field_pos_box_cash_invoice_out__session_id
msgid "Session"
msgstr "Sesión"

#. 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
#: code:addons/pos_session_pay_invoice/wizard/cash_invoice_in.py:0
#, python-format
msgid "There is no cash register for this Pos session"
msgstr "No hay caja registradora para esta sesión de TPV"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_pos_box_cash_invoice_in
msgid "pos box cash invoice in"
msgstr "factura de caja en efectivo en"

#. module: pos_session_pay_invoice
#: model:ir.model,name:pos_session_pay_invoice.model_pos_box_cash_invoice_out
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