Pedro M. Baeza 79bd593286 [FIX] account_payment_purchase: Don't propagate empty payment mode
Steps to reproduce the problem:

- Have a partner with not 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-18 21:05:00 +02:00
2022-04-21 11:06:37 +02:00
2021-10-16 03:03:24 +00:00
2022-04-21 11:06:37 +02:00
2020-03-14 11:49:26 +01:00
2022-03-30 21:46:56 +02:00
2021-05-15 11:00:04 +02:00
2021-02-11 11:31:15 +00:00
2021-05-15 11:00:04 +02:00
2021-02-11 11:31:15 +00:00
2021-02-11 11:31:15 +00:00
2021-02-11 11:31:15 +00:00
2021-02-11 11:31:15 +00:00
2022-04-22 23:54:05 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

OCA banking payment addons for Odoo

On version 13.0, this project focus on payment interface. The indentation below indicates the dependency graph of the main modules.

  • account_payment_order - Basic export functionality of payment orders

    • account_banking_sepa_credit_transfer - Export of payment orders in SEPA format

    • account_direct_debit - Debit order infrastructure analogous to Odoo native payment orders

      • account_banking_sepa_direct_debit - Export of debit orders in SEPA format

Other features can now be found in these repositories:

Available addons

addon version maintainers summary
account_banking_mandate 13.0.1.3.0 Banking mandates
account_banking_pain_base 13.0.1.0.1 Base module for PAIN file generation
account_banking_sepa_credit_transfer 13.0.1.1.0 Create SEPA XML files for Credit Transfers
account_banking_sepa_direct_debit 13.0.1.2.0 Create SEPA files for Direct Debit
account_invoice_select_for_payment 13.0.1.0.0 Account Invoice Select for Payment
account_payment_mode 13.0.1.2.1 Account Payment Mode
account_payment_order 13.0.1.6.3 Account Payment Order
account_payment_order_return 13.0.1.0.3 Account Payment Order Return
account_payment_partner 13.0.1.4.1 Adds payment mode on partners and invoices
account_payment_purchase 13.0.1.0.2 Adds Bank Account and Payment Mode on Purchase Orders
account_payment_purchase_stock 13.0.1.0.1 Integrate Account Payment Purchase with Stock
account_payment_sale 13.0.1.1.3 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%