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

[17.0][MIG] account_payment_widget_amount: Migration to 17.0 #745

Open
wants to merge 27 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
99f4bd8
[10.0][ADD] account_payment_widget_amount module
AdriaGForgeFlow May 15, 2019
173125c
[12.0][MIG] account_payment_widget_amount module
AdriaGForgeFlow May 15, 2019
e4e3aee
[IMP] replace popover depending on screen size
AdriaGForgeFlow May 16, 2019
9e09f4a
- adds fixes to the logic to reconcile the amount maid
JordiBForgeFlow May 20, 2019
1bc241c
[UPD] Update account_payment_widget_amount.pot
oca-travis May 20, 2019
7f29c2a
[UPD] README.rst
OCA-git-bot Jul 29, 2019
bb12862
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 1, 2021
4b315c3
Translated using Weblate (Portuguese)
pedrocs-exo Mar 1, 2021
2f5cc23
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 14, 2021
4cd7284
[IMP] account_payment_widget_amount: black, isort, prettier
ChrisOForgeFlow Dec 20, 2021
af5b573
[14.0][MIG] account_payment_widget_amount
ChrisOForgeFlow Dec 21, 2021
e706224
[IMP] added as mainteiner
ChrisOForgeFlow Dec 21, 2021
58ec84b
[UPD] Update account_payment_widget_amount.pot
oca-travis Mar 18, 2022
9d78eda
[UPD] README.rst
OCA-git-bot Mar 18, 2022
20d940a
[15.0][MIG] account_payment_widget_amount
ChrisOForgeFlow Mar 24, 2022
6ed8fb1
[UPD] Update account_payment_widget_amount.pot
Apr 20, 2022
6ac2eee
[UPD] README.rst
OCA-git-bot Apr 20, 2022
21b8f7b
Added translation using Weblate (Catalan)
jabelchi Jul 26, 2022
9880f82
Translated using Weblate (Catalan)
jabelchi Jul 26, 2022
02cdc0d
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 12, 2022
41bdb16
[IMP] account_payment_widget_amount: pre-commit stuff
dsolanki-initos Apr 20, 2023
6d1da55
[MIG] account_payment_widget_amount: Migration to 16.0
dsolanki-initos May 24, 2023
de14633
[UPD] Update account_payment_widget_amount.pot
May 6, 2024
733bd09
[BOT] post-merge updates
OCA-git-bot May 6, 2024
865cc8a
Added translation using Weblate (Italian)
mymage May 13, 2024
c1f791e
Translated using Weblate (Italian)
mymage Jun 5, 2024
ce4bbfb
git commit -m "[MIG] account_payment_widget_amount: Migration to 17.0"
dc-oerp Jun 25, 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
102 changes: 102 additions & 0 deletions account_payment_widget_amount/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
=============================
Account Payment Widget Amount
=============================

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

.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--payment-lightgray.png?logo=github
:target: https://github.com/OCA/account-payment/tree/17.0/account_payment_widget_amount
:alt: OCA/account-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_widget_amount
: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/account-payment&target_branch=17.0
:alt: Try me on Runboat

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

This module adds a popover widget in the invoice form view when there
are outstanding payments that allows the user to select the amount of
the selected payment that wants to assign to the invoice.

|Payment Widget|

.. |Payment Widget| image:: https://raw.githubusercontent.com/OCA/account-payment/17.0/account_payment_widget_amount/static/description/payment_widget.png

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Go to 'Invoicing > Purchases > Vendor Bills' or to 'Invoicing > Sales
> Customer Invoices'.
2. If there are payments registered you will see the Add option.
3. Press Add and enter the amount you want to add to invoice.
4. Automatic reconciliation will be done with the specified amount.

|Payment Widget Amount Reconciled|

.. |Payment Widget Amount Reconciled| image:: https://raw.githubusercontent.com/OCA/account-payment/17.0/account_payment_widget_amount/static/description/payment_widget_amount_reconciled.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-payment/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/account-payment/issues/new?body=module:%20account_payment_widget_amount%0Aversion:%2017.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
-------

* ForgeFlow S.L.
* OERP Canada

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

- Adrià Gil Sorribes <[email protected]>
- Jordi Ballester Alomar <[email protected]>
- Christopher Ormaza <[email protected]>
- Dhara Solanki <[email protected]>
- Daryl Chen <[email protected]>

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/account-payment <https://github.com/OCA/account-payment/tree/17.0/account_payment_widget_amount>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_payment_widget_amount/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
dc-oerp marked this conversation as resolved.
Show resolved Hide resolved

from . import models
22 changes: 22 additions & 0 deletions account_payment_widget_amount/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2019-2021 ForgeFlow S.L.
# Copyright 2024 OERP Canada <https://www.oerp.ca>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Account Payment Widget Amount",
"summary": "Extends the payment widget to be able to choose the payment " "amount",
"version": "17.0.1.0.0",
"category": "Account-payment",
"website": "https://github.com/OCA/account-payment",
"author": "ForgeFlow S.L., OERP Canada, Odoo Community Association (OCA)",
dc-oerp marked this conversation as resolved.
Show resolved Hide resolved
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["account"],
"data": [],
"assets": {
"web.assets_backend": [
"account_payment_widget_amount/static/src/xml/account_payment.xml",
"account_payment_widget_amount/static/src/js/account_payment_field.esm.js",
],
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_widget_amount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Apply"
msgstr ""

#. module: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/js/account_payment_field.esm.js:0
#, python-format
msgid "Enter the payment amount"
msgstr ""

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Paid Amount:"
msgstr ""
41 changes: 41 additions & 0 deletions account_payment_widget_amount/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_widget_amount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-07-26 17:06+0000\n"
"Last-Translator: jabelchi <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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.3.2\n"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Apply"
msgstr "Aplica"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move
msgid "Journal Entry"
msgstr "Assentament comptable"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move_line
msgid "Journal Item"
msgstr "Apunt comptable"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Paid Amount:"
msgstr "Import pagat:"
48 changes: 48 additions & 0 deletions account_payment_widget_amount/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_widget_amount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-06-05 12:40+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Apply"
msgstr "Applica"

#. module: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/js/account_payment_field.esm.js:0
#, python-format
msgid "Enter the payment amount"
msgstr "Inserire il valore pagamento"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move
msgid "Journal Entry"
msgstr "Registrazione contabile"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move_line
msgid "Journal Item"
msgstr "Movimento contabile"

#. module: account_payment_widget_amount
#. odoo-javascript
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:0
#, python-format
msgid "Paid Amount:"
msgstr "Importo pagato:"
42 changes: 42 additions & 0 deletions account_payment_widget_amount/i18n/pt.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_widget_amount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-03-01 18:45+0000\n"
"Last-Translator: Pedro Castro Silva <[email protected]>\n"
"Language-Team: none\n"
"Language: pt\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.3.2\n"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:19
#, python-format
msgid "Apply"
msgstr "Aplicar"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move_line
msgid "Journal Item"
msgstr "Item de Diário"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:9
#, python-format
msgid "Paid Amount:"
msgstr "Montante Pago:"

#. module: account_payment_widget_amount
#: code:addons/account_payment_widget_amount/models/account_move_line.py:25
#, python-format
msgid "The specified amount has to be strictly positive"
msgstr "O valor especificado tem que ser estritamente positivo"
42 changes: 42 additions & 0 deletions account_payment_widget_amount/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_widget_amount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-10-12 02:35+0000\n"
"Last-Translator: Douglas Custódio <[email protected]>\n"
"Language-Team: none\n"
"Language: pt_BR\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.3.2\n"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:19
#, python-format
msgid "Apply"
msgstr "Aplicar"

#. module: account_payment_widget_amount
#: model:ir.model,name:account_payment_widget_amount.model_account_move_line
msgid "Journal Item"
msgstr "Item de Diário"

#. module: account_payment_widget_amount
#. openerp-web
#: code:addons/account_payment_widget_amount/static/src/xml/account_payment.xml:9
#, python-format
msgid "Paid Amount:"
msgstr "Montante Pago:"

#. module: account_payment_widget_amount
#: code:addons/account_payment_widget_amount/models/account_move_line.py:25
#, python-format
msgid "The specified amount has to be strictly positive"
msgstr "O montante especificado deve ser terminantemente positivo"
3 changes: 3 additions & 0 deletions account_payment_widget_amount/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import account_move_line
Loading
Loading