Commit Graph

157 Commits

Author SHA1 Message Date
OCA-git-bot
6683de5b11 [BOT] post-merge updates 2023-10-04 06:53:24 +00:00
Víctor Martínez
0757fe89ab [FIX] account_payment_order: Define the value of the communication field correctly
- Purchases: Ref field from invoice always.
- Sales: Payment_ref or ref field from invoice.

TT45153
2023-10-03 13:51:31 +02:00
Víctor Martínez
137402863d [IMP] account_payment_order: Add payment_ref field to account.payment tree and form views
Co-authored-by: luc-demeyer

TT45153
2023-10-03 13:43:08 +02:00
OCA-git-bot
3a3c27f7ee [BOT] post-merge updates 2023-09-22 15:56:59 +00:00
Víctor Martínez
e95d794aef [FIX] account_payment_order: Add colspan=2 to a correct visualization 2023-09-22 17:45:37 +02:00
Víctor Martínez
1e5d146d07 [FIX] account_payment_order: Add extra form view only to avoid open move lines in edit mode
TT45211
2023-09-22 17:45:37 +02:00
Ivorra78
98eae9526b Translated using Weblate (Spanish)
Currently translated at 100.0% (206 of 206 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2023-09-20 21:23:31 +00:00
Ivorra78
a3750b7c0b Translated using Weblate (Spanish)
Currently translated at 100.0% (206 of 206 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2023-09-04 19:39:13 +00:00
OCA-git-bot
608b20e0c5 [UPD] README.rst 2023-09-04 07:15:12 +00:00
OCA-git-bot
dcada82203 account_payment_order 16.0.1.2.3 2023-09-04 07:15:07 +00:00
Carlos Lopez
7817d7c13d [FIX] account_payment_order: change result_payorder_ids to list to show action correctly 2023-09-04 09:06:27 +02:00
Weblate
ddfed2c3ee Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2023-09-03 19:33:58 +00:00
Weblate
6736c6fd43 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2023-09-03 19:33:56 +00:00
oca-ci
7c22f2407e [UPD] Update account_payment_order.pot 2023-09-03 11:53:51 +00:00
OCA-git-bot
2fd38d4ac9 [UPD] README.rst 2023-09-03 11:49:50 +00:00
OCA-git-bot
06a921d162 account_payment_order 16.0.1.2.2 2023-08-21 11:44:05 +00:00
oca-ci
1c395d8455 [UPD] Update account_payment_order.pot 2023-08-21 11:38:40 +00:00
Pedro M. Baeza
38a41a9d85 [FIX+IMP] account_payment_order: Better error messages on "Add to order"
- The filter for payment order lines should be applied after checking
  the lack of payment mode.
- Added message when the payment mode is not valid for payment orders.
- Added message specifying the payment order where the line is already
  present.

TT44762
2023-08-21 13:29:22 +02:00
OCA-git-bot
bc801f2aa4 account_payment_order 16.0.1.2.1 2023-07-24 16:56:46 +00:00
Víctor Martínez
bd445ec935 [IMP] account_payment_order: Add a custom message if the invoice does not have a payment method
The message will be displayed when trying to create a line of a payment order to better clarify the reason.

TT44551
2023-07-24 15:57:54 +02:00
OCA-git-bot
3774d00598 account_payment_order 16.0.1.2.0 2023-07-10 11:31:56 +00:00
Yadier A. De Quesada
306007702c [FIX] account_payment_order Allow to download file in edit mode 2023-07-08 16:19:45 -04:00
Rémi
3b95487c01 Translated using Weblate (French)
Currently translated at 100.0% (204 of 204 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/fr/
2023-06-29 12:08:49 +00:00
Sandrine (ACSONE)
a53995ff23 Translated using Weblate (French)
Currently translated at 95.0% (194 of 204 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/fr/
2023-05-17 15:35:54 +00:00
gelo joga Rodríguez
937464166f Translated using Weblate (Spanish)
Currently translated at 100.0% (204 of 204 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2023-05-17 10:05:25 +00:00
OCA-git-bot
51f4d533da account_payment_order 16.0.1.1.1 2023-05-12 17:55:16 +00:00
Pedro M. Baeza
fcb2093e63 [FIX] account_payment_order: Set payment method line for account.payment
On v15+, a new model account.payment.method.line is introduced for
fine-graining the outstanding account, being `payment_method_id` a
related field referred to this new model, so we need to change the
previous approach to select the proper method line only if found. If not
found, it will be auto-selected by standard code.

TT43278
2023-05-12 19:46:09 +02:00
Weblate
e53ec82efc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2023-05-03 13:39:30 +00:00
OCA-git-bot
725fffcd0f account_payment_order 16.0.1.1.0 2023-05-03 13:38:58 +00:00
oca-ci
5076666db6 [UPD] Update account_payment_order.pot 2023-05-03 13:34:54 +00:00
OCA-git-bot
50cff7aada Merge PR #1076 into 16.0
Signed-off-by pedrobaeza
2023-05-03 13:31:40 +00:00
Pedro M. Baeza
8e1a230230 [FIX] account_payment_order: treet2 > street2 2023-04-25 19:22:57 +02:00
Nikul-OSI
4de1b47171 [FIX] Fixed Payment Transaction view 2023-04-25 10:53:15 +05:30
Weblate
643b96ec24 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2023-04-18 10:45:43 +00:00
OCA-git-bot
fd5fd14450 account_payment_order 16.0.1.0.2 2023-04-18 08:47:21 +00:00
oca-ci
2420bb80d3 [UPD] Update account_payment_order.pot 2023-04-18 08:43:42 +00:00
Simon Gonzalez
b4a46bebef [IMP] account_payment_order: Concatenate all UserError messages
Gather all the errors to only show one with all the problem on the current debit order. This will avoid for the users to have to make multiple time the same process.
2023-04-18 08:32:39 +02:00
OCA-git-bot
4d89ed96c9 account_payment_order 16.0.1.0.1 2023-04-12 11:43:51 +00:00
OCA-git-bot
e1c69c744c Merge PR #1070 into 16.0
Signed-off-by pedrobaeza
2023-04-12 11:40:40 +00:00
Matjaz Mozetic
2273d5b001 Translated using Weblate (Slovenian)
Currently translated at 17.8% (36 of 202 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/sl/
2023-04-11 13:22:56 +00:00
Reyes4711
594a3e4fa6 [FIX] account_payment_order: create lines with same sequence name 2023-04-06 12:53:43 +02:00
mymage
cb9d911018 Translated using Weblate (Italian)
Currently translated at 5.4% (11 of 202 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/it/
2023-03-23 13:26:41 +00:00
Weblate
73bf401b31 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2023-03-05 08:57:47 +00:00
OCA-git-bot
eae61b85eb [UPD] README.rst 2023-03-04 20:24:55 +00:00
oca-ci
c152526206 [UPD] Update account_payment_order.pot 2023-03-04 20:22:12 +00:00
Wolfgang Pichler
0c98de15fa [MIG] account_payment_order: Migration to 16.0 2023-03-04 20:54:01 +01:00
Wolfgang Pichler
170117c1e9 [I18N] account_payment_order: Better translations for de_DE 2023-03-04 20:54:01 +01:00
Pedro M. Baeza
0466d31c3e [FIX] account_payment_order: Do correctly the fix on tests
Previous patch by Alexis created a co-dependency between
account_payment_order and account_banking_sepa_direct_debit, which is
not correct.

This patch avoids such problem and fix properly the test, although
the utility of some of them is debatible.
2023-03-04 19:44:00 +01:00
Pedro M. Baeza
05c6c0111f [REF+IMP] account_payment_order: Use native payments
The previous approach creates manually the journal entries and does all
the hard work, plus not being 100% compatible with the bank statement
reconciliation widget (requiring a patch on OCB to see blue lines).

That decision made sense on the moment it was done (v9), where the
native payment model (account.payment) was very limited, and wasn't able
to store all the needed information for the bank transaction.

Now that the limitations are gone, we can get rid off this extra model,
and generate instead `account.payment` records, using both the native
model + methods to perform the same operations.

This serves also to workaround the problem found in #966.

All the code, views and tests of main module have been adapted to this
new approach in this commit. Later commits will adapt the rest of the
modules of the suite, and add migration scripts to transit from the
previous approach to this new one.

TT39832
2023-03-04 19:44:00 +01:00
Alexis de Lattre
6eb7ad01e3 [IMP] account_payment_order: add link to payment order in chatter 2023-03-04 19:44:00 +01:00