Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Binsfeld
00ab7d0df1 [MIG] account_payment_partner: Migration to 16.0 2022-11-29 14:51:23 +01:00
David Ramia
7c98ab268e [FIX] account_payment_partner: Fix tests
Add company permissions to the admin user to be able to create the demo data
2022-11-29 14:15:04 +01:00
Marçal Isern
ec6028f8d4 [MIG] account_payment_partner: Migration to 15.0 2022-11-29 14:15:04 +01:00
Marçal Isern
8ad04276f5 [IMP] account_payment_partner: black, isort, prettier 2022-11-29 14:15:03 +01:00
Víctor Martínez
b1720bdca8 [FIX] account_payment_partner: Set the correct value of payment_mode_id
instead of False

TT31904
2022-11-29 14:15:03 +01:00
Carlos Dauden
7660d5924b [FIX] account_payment_partner: _compute_invoice_partner_bank isn't executed
- When value is set from SO _prepare_invoice method
- When partner_id changes

TT30875
2022-11-29 14:15:03 +01:00
Víctor Martínez
03a65c40b3 [IMP] account_payment_partner: Add refund_payment_mode_id to set in reverse moves (Adapt to 14.0) 2022-11-29 14:15:03 +01:00
Víctor Martínez
17b8ca575f [IMP] account_payment_partner: Add refund_payment_mode_id to assign any payment mode to set auto-compute in reverse moves (in_refund and out_refund) 2022-11-29 14:15:03 +01:00
João Marques
f4d509e7ae [FIX] account_payment_partner: Fix tests
After fcaa54939e, we need to specify the invoice date for vendor bills to be able to post them
2022-11-29 14:15:03 +01:00
Víctor Martínez
d6257a213c [FIX] account_payment_partner: Set correct journals in tests to prevent error 2022-11-29 14:15:03 +01:00
Alexis de Lattre
3e2c2b8cea account_payment_partner: FIX form view of account.move
Replace python constraint by check_company=True on payment_mode_id of account.move
2022-11-29 14:15:03 +01:00
Marçal Isern
d1fa981bd2 [MIG] account_payment_partner: Migration to 14.0 2022-11-29 14:15:03 +01:00
mreficent
3fe3f9831a [MIG] account_payment_purchase: Migration to 13.0 2022-11-29 14:15:03 +01:00
Raf Ven
26de286d5c [MIG] account_payment_partner: Migration to 13.0 2022-11-29 14:15:03 +01:00
Raf Ven
31817a7d88 [IMP] account_payment_partner: black, isort 2022-11-29 14:15:03 +01:00
Raf Ven
368ff27b1c [FIX] test_invoice_refund
The test checks on empty bank account but with Odoo commit d5688e6ca0 (diff-f3712147f4b25231caa371bd83265dbe) the company bank account gets defaulted when not specified
2022-11-29 14:15:03 +01:00
Pedro M. Baeza
a6e4752c78 [MIG] account_payment_partner: Fix tests for new version 2022-11-29 14:15:03 +01:00
Pedro M. Baeza
4293479ebc [MIG] account_payment_partner: Adapt tests + code to latest version 2022-11-29 14:15:03 +01:00
cubells
9c4906c13b [IMP] account_payment_partner: Add several tests 2022-11-29 14:15:03 +01:00
Jordi Ballester
f32a73ed6c add tests and small fixes 2022-11-29 14:15:03 +01:00