Pedro M. Baeza f286691f14 [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
2022-08-29 11:37:01 +02:00
2022-04-21 11:08:24 +02:00
2022-08-18 17:50:10 +00:00
2022-04-21 11:08:24 +02:00
2020-10-08 21:06:33 +02:00
2022-03-30 21:47:46 +02:00
2021-05-14 18:37:30 +02:00
2020-10-08 21:06:33 +02:00
2021-05-14 18:37:30 +02:00
2020-11-01 21:37:08 +01:00
2020-10-08 21:06:33 +02:00
2020-10-08 21:06:33 +02:00
2022-08-18 17:50:07 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

OCA banking payment addons for Odoo

This project focus on payment interface

Available addons

addon version maintainers summary
account_banking_mandate 14.0.1.2.0 Banking mandates
account_banking_mandate_sale 14.0.1.0.0 Adds mandates on sale orders
account_banking_pain_base 14.0.1.0.1 Base module for PAIN file generation
account_banking_sepa_credit_transfer 14.0.1.2.0 Create SEPA XML files for Credit Transfers
account_banking_sepa_direct_debit 14.0.1.3.3 Create SEPA files for Direct Debit
account_invoice_select_for_payment 14.0.1.0.0 Account Invoice Select for Payment
account_payment_mode 14.0.1.1.0 Account Payment Mode
account_payment_order 14.0.1.8.4 Account Payment Order
account_payment_order_return 14.0.1.0.2 Account Payment Order Return
account_payment_order_tier_validation 14.0.1.0.0 marcelsavegnago Extends the functionality of Payment Orders to support a tier validation process.
account_payment_order_vendor_email 14.0.1.0.0 Account Payment Order Email
account_payment_partner 14.0.1.6.0 Adds payment mode on partners and invoices
account_payment_purchase 14.0.1.0.2 Adds Bank Account and Payment Mode on Purchase Orders
account_payment_purchase_stock 14.0.1.0.1 Integrate Account Payment Purchase with Stock
account_payment_sale 14.0.1.0.0 Adds payment mode on sale orders

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

Description
Odoo Electronic Payment
Readme 46 MiB
Languages
Python 58.9%
HTML 41%