Commit Graph

66 Commits

Author SHA1 Message Date
OCA-git-bot
988ebd26ef [BOT] post-merge updates 2024-06-28 16:33:15 +00:00
Víctor Martínez
41f75f1f00 [FIX] account_payment_purchase: Leave the partner_bank_id field empty in purchase invoice process
Example use case:
- Create a Supplier and set a bank account.
- Creating a purchase order with a Supplier Bank Account
- The payment method of the payment method must have the Bank Account Required box unchecked.
- Confirm the purchase order and create the invoice with the "Create Bill" button.
- The invoice must have the bank account empty.

TT46502
2024-06-28 17:04:00 +02:00
jakobkrabbe
73ba92eaa7 Translated using Weblate (Swedish)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/sv/
2024-06-19 11:37:02 +00:00
OCA-git-bot
674bb0ff5b [BOT] post-merge updates 2024-06-17 08:48:11 +00:00
Pedro M. Baeza
e4d4c113e6 [FIX] account_payment_purchase: Don't propagate empty payment mode
Steps to reproduce the problem:

- Have a partner without payment mode.
- Create a PO with such partner.
- No payment mode is filled.
- Now fill the payment mode in the partner.
- Create the invoice for the PO.

Current behavior:

The invoice has empty payment mode.

Expected behavior:

The invoice has the partner payment mode. Someone may think that having
no payment mode in the PO may prevail over the partner's payment mode,
or even their flows may consist in empyting the payment mode in the PO
for not binding it with anything yet, but that strategy has more holes
than the one implemented here, as the flow presented proves.

You can then use another one like having an extra payment mode
"Undetermined" or similar for doing such classification as a more
resilient strategy.

It includes a regression test that fails before the change and now is
correct.

TT38608
2024-06-13 10:40:11 -05:00
Rodrigo Macedo
61ab6e2739 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/pt_BR/
2024-05-17 20:36:10 +00:00
mymage
9886d686a1 Translated using Weblate (Italian)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/it/
2024-05-03 14:40:37 +00:00
OCA-git-bot
bd1efe6a57 [BOT] post-merge updates 2024-01-04 15:27:02 +00:00
GuillemCForgeFlow
2271360f46 [FIX]account_payment_purchase: return result from onchange and get properties with correct company 2024-01-04 10:15:57 +01:00
OCA-git-bot
fc1346a5ec [BOT] post-merge updates 2023-11-10 15:59:33 +00:00
Alexis de Lattre
4c3e829097 account_payment_purchase: replace api.onchange by computed field on purchase.order
Add check_company=True on the 2 fields of purchase.order
2023-11-06 22:43:36 +01:00
Ivorra78
4c8144f28d Translated using Weblate (Spanish)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/es/
2023-10-10 21:37:06 +00:00
Weblate
f53ec6a283 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_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/
2023-10-10 05:55:11 +00:00
OCA-git-bot
2fd38d4ac9 [UPD] README.rst 2023-09-03 11:49:50 +00:00
Rémi
bfe62ae30a Translated using Weblate (French)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/fr/
2023-06-29 12:08:49 +00:00
mymage
9263992f33 Translated using Weblate (Italian)
Currently translated at 37.5% (3 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/it/
2023-06-22 08:10:09 +00:00
mymage
3bda2bdb93 Translated using Weblate (Italian)
Currently translated at 37.5% (3 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/it/
2023-06-13 13:11:56 +00:00
Bole
5e750f942b Translated using Weblate (Croatian)
Currently translated at 37.5% (3 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/hr/
2023-06-08 14:10:57 +00:00
gelo joga Rodríguez
5529fe7c23 Translated using Weblate (Spanish)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/es/
2023-06-01 18:09:50 +00:00
Weblate
f8d5cf9824 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_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase/
2023-06-01 11:47:39 +00:00
OCA-git-bot
575648df61 [UPD] README.rst 2023-06-01 10:31:34 +00:00
oca-ci
df3d575363 [UPD] Update account_payment_purchase.pot 2023-06-01 10:27:21 +00:00
David Ramia
3094e7e25c [MIG] account_payment_purchase: Migration to 16.0 2023-06-01 11:26:57 +02:00
Vladimir Mitreski
6ab34e532b [FIX] account_payment_purchase: Make payment method to require bank account
Without this fix, the partner_bank_id was being reset to False on change of 'company_id'
in the _onchange_purchase_auto_complete method in account.move in the following unit test:
def test_from_purchase_order_invoicing_bank

That's because in commit 9be9766535 we switched to
getting payment method from env.ref('account.account_payment_method_manual_out'), which has
bank_account_required == False by default, while before that we were creating payment method for
which we were explicitly setting bank_account_required as True

Also tag unit test as post_install
2023-06-01 11:26:57 +02:00
Cramosh
30511f9d0e [FIX] account_payment_purchase: solved error get payment mode and bank id close #899 2023-06-01 11:26:57 +02:00
Koen Loodts
ce5da9d7ef [MIG] account_payment_purchase: Migration to 15.0 2023-06-01 11:26:57 +02:00
Jordi Ballester
77a51dc034 [account_payment_purchase][fix] Only warn for non-blank payment mode or bank PO
- Only issue a warning message if the PO had a non-blank payment mode or bank.
2023-06-01 11:26:56 +02:00
Simon S
8ca37bba8b Translated using Weblate (Swedish)
Currently translated at 62.5% (5 of 8 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_purchase/sv/
2023-06-01 11:26:56 +02:00
Yves Le Doeuff
5d35ac01c1 Translated using Weblate (French)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_purchase/fr_FR/
2023-06-01 11:26:56 +02:00
Carlos Roca
ab2736c56a [MIG] account_payment_purchase: Migration to v14 2023-06-01 11:26:56 +02:00
Ignacio Buioli
feb6b55e9f Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_purchase/es_AR/
2023-06-01 11:26:56 +02:00
Ignacio Buioli
0d4d583b4b Added translation using Weblate (Spanish (Argentina)) 2023-06-01 11:26:56 +02:00
Rodrigo Macedo
c14bcf6b76 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_purchase/pt_BR/
2023-06-01 11:26:56 +02:00
Andrea
c450a8a8e2 Split account_payment_purchase (add account_payment_purchase_stock) 2023-06-01 11:26:55 +02:00
mreficent
b48955c943 [MIG] account_payment_purchase: Migration to 13.0 2023-06-01 11:26:55 +02:00
mreficent
9a66745752 [IMP] account_payment_purchase: black, isort 2023-06-01 11:26:55 +02:00
Jaume Planas
fd134bff30 Translated using Weblate (Catalan)
Currently translated at 100.0% (9 of 9 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_purchase/ca/
2023-06-01 11:26:55 +02:00
Rodrigo Macedo
6521a7abfe Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9 of 9 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_purchase/pt_BR/
2023-06-01 11:26:55 +02:00
cubells
850663b898 account_payment_purchase: Migration to 11.0 2023-06-01 11:26:55 +02:00
Abranes
ec61427e4e account_payment_purchase: Migration to 10.0 2023-06-01 11:26:54 +02:00
cubells
090dc8440d account_payment_purchase module 2023-06-01 11:26:54 +02:00
jesusVMayor
59f1c30f9e account_payment_purchase: set correctly payment mode in purchases created from procurement. 2023-06-01 11:26:54 +02:00
Alexis de Lattre
b3c160823b Remove module account_payment_purchase 2023-06-01 11:26:54 +02:00
Alexis de Lattre
8d2f8c0f73 Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view
Started to integrate payment transfer in account_payment_order (not finished at all though)
Various fixes/changes/improvements/...
2023-06-01 11:26:54 +02:00
Pedro M. Baeza
f5bcc2c4e2 account_payment_*: Ensure work with dropshipping dual invoice
When invoicing from dropshipping, the same picking serves for both
invoicing sale and purchase orders. The OCA module
stock_dropshipping_dual_invoice makes that this happens, but
as the picking is the same, it contains both the sale and the
purchase reference, making that the resulting invoices don't have
the correct payment mode. This is harmless for the rest of
operations, as the dictionary query is provided with the proper
default value. On v9, dropshipping dual invoice has been merged
into core, so this patch for sure will be welcome in that version
(if the used method is the same).
2023-06-01 11:26:53 +02:00
Pedro M. Baeza
6939b277fd account_payment_purchase: Propagate payment_mode on MTO/drop shipping 2023-06-01 11:26:53 +02:00
Pedro M. Baeza
949485447d Make modules uninstallable 2023-06-01 11:26:53 +02:00
Stéphane Bidoul
d0f679dd81 prefix versions with 8.0 2023-06-01 11:26:53 +02:00
Yannick Vaucher
963aa7c64f Add missing default oca icons 2023-06-01 11:26:53 +02:00
Philippe Schmidt
f086d10be4 some typo corrections 2023-06-01 11:26:53 +02:00