Commit Graph

76 Commits

Author SHA1 Message Date
OCA-git-bot
bf6160c876 [BOT] post-merge updates 2023-11-06 11:04:16 +00:00
OCA-git-bot
7ddd34d67b [BOT] post-merge updates 2023-11-04 18:37:58 +00:00
OCA-git-bot
a54776cb6d [BOT] post-merge updates 2023-10-30 07:51:29 +00:00
OCA-git-bot
e8e45e135f [BOT] post-merge updates 2023-10-04 07:40:01 +00:00
OCA-git-bot
df2383611a [BOT] post-merge updates 2023-09-22 14:21:16 +00:00
OCA-git-bot
2bbb56ad4d Merge PR #1142 into 14.0
Signed-off-by pedrobaeza
2023-09-22 14:16:47 +00:00
OCA-git-bot
c95674ec4a [BOT] post-merge updates 2023-09-22 14:13:12 +00:00
Víctor Martínez
e812ff8b70 [IMP] account_payment_order: Add payment_ref field to account.payment tree and form views
Co-authored-by: luc-demeyer

TT45153
2023-09-22 10:07:05 +02:00
OCA-git-bot
ed3bf4ebfc account_payment_order 14.0.2.0.5 2023-09-04 07:02:14 +00:00
OCA-git-bot
8b79262748 account_payment_order 14.0.2.0.4 2023-07-31 11:37:39 +00:00
OCA-git-bot
0cb111c755 account_payment_order 14.0.2.0.3 2023-06-04 09:27:43 +00:00
OCA-git-bot
6bfb921a39 account_payment_order 14.0.2.0.2 2023-04-17 14:56:44 +00:00
OCA-git-bot
24a35a08bb account_payment_order 14.0.2.0.1 2023-02-10 13:44:25 +00:00
Danny W. Adair
ce4281d316 Add pre_init_hook to add computed columns
Add columns to avoid MemoryError on an existing Odoo instance
with lots of data.

payment_order_ok on account.move is computed from payment_order_ok
on account.payment.mode which are both introduced by this module,
so nothing to compute.
(see AccountMove._compute_payment_order_ok() in models/account_move.py)

partner_bank_id on account.move.line requires payment_order_ok to be True
which it won't be as it's newly introduced - again nothing to compute.
(see AccountMoveLine._compute_partner_bank_id() in models/account_move_line.py)
2023-01-20 14:45:31 +13:00
OCA-git-bot
9ed094409a account_payment_order 14.0.2.0.0 2023-01-01 16:55:56 +00:00
Pedro M. Baeza
b8d818967b [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
2022-12-25 12:51:03 +01:00
OCA-git-bot
3b32a5cb25 account_payment_order 14.0.1.11.0 2022-11-09 08:32:32 +00:00
OCA-git-bot
3f32d90756 account_payment_order 14.0.1.10.0 2022-10-25 14:17:23 +00:00
OCA-git-bot
0f2880bbe4 account_payment_order 14.0.1.9.1 2022-09-26 14:08:32 +00:00
OCA-git-bot
47a22cc86f account_payment_order 14.0.1.9.0 2022-09-20 12:18:01 +00:00
OCA-git-bot
214b362d8f account_payment_order 14.0.1.8.5 2022-09-05 00:06:06 +00:00
OCA-git-bot
e74a0a9b1e account_payment_order 14.0.1.8.4 2022-08-11 15:56:47 +00:00
OCA-git-bot
09965ce9e9 account_payment_order 14.0.1.8.3 2022-05-20 06:26:14 +00:00
OCA-git-bot
466b4e1a5f account_payment_order 14.0.1.8.2 2022-04-24 10:05:34 +00:00
Pedro M. Baeza
0c179baafd [FIX] account_payment_order: Don't fail due to tz
When the test hour is around midnight, and demo data using CET/CEST
timezones, current code fails due to some asserts not having this into
consideration. This fix avoids such problem, and irons the execution
no matter the hour.
2022-04-23 10:24:40 +02:00
OCA-git-bot
cc8f237b31 account_payment_order 14.0.1.8.0 2022-04-21 09:43:47 +00:00
Enric Tobella
ab0a5ad9a2 [IMP] account_payment_order: Promote to Mature 2022-04-21 11:34:15 +02:00
OCA-git-bot
98718d781d account_payment_order 14.0.1.7.0 2022-04-14 15:04:57 +00:00
OCA-git-bot
7bc063cc75 account_payment_order 14.0.1.6.0 2022-03-08 17:29:12 +00:00
OCA-git-bot
5bdffc8dd1 account_payment_order 14.0.1.5.0 2022-02-16 09:13:56 +00:00
OCA-git-bot
b29c1ac3e9 account_payment_order 14.0.1.4.0 2021-11-29 16:16:33 +00:00
Alexis de Lattre
7fa38049be account_payment_order: remove done state (migration script provided)
Don't set reference_type field on account.move required=True, because it
causes a lot of problems in other modules that don't depend on this one.
Setting it as required in the view is enough.
2021-10-28 00:11:34 +02:00
OCA-git-bot
c70e181493 account_payment_order 14.0.1.2.4 2021-09-14 16:14:23 +00:00
OCA-git-bot
03688d8568 account_payment_order 14.0.1.2.3 2021-07-26 12:09:52 +00:00
OCA-git-bot
493e2ff836 account_payment_order 14.0.1.2.2 2021-07-13 18:07:42 +00:00
OCA-git-bot
b5670d883f account_payment_order 14.0.1.2.1 2021-07-06 14:10:16 +00:00
OCA-git-bot
9979f04db6 account_payment_order 14.0.1.2.0 2021-05-19 08:07:39 +00:00
OCA-git-bot
8be1d7883a account_payment_order 14.0.1.1.0 2021-05-17 11:42:10 +00:00
OCA-git-bot
b3bc0097b7 account_payment_order 14.0.1.0.5 2021-05-13 06:16:30 +00:00
Pedro M. Baeza
5ce95f4a84 [FIX] account_payment_order: Computed non-stored fields needs always a value
We should assign a value for all records of the set.
2021-04-15 20:43:30 +02:00
OCA-git-bot
f4f8b72781 account_payment_order 14.0.1.0.3 2021-04-14 18:00:29 +00:00
OCA-git-bot
ddc352ae67 account_payment_order 14.0.1.0.2 2021-03-31 10:59:52 +00:00
OCA-git-bot
3136875449 account_payment_order 14.0.1.0.1 2021-03-02 17:45:54 +00:00
Jesús Alan Ramos Rodríguez
bd5c8b24ec [MIG] account_payment_order: Migration to 14.0 2021-01-05 14:03:52 +01:00
Andrea
5138c5ce2b [FIX] avoid cache miss in compute 2021-01-05 14:03:52 +01:00
Luc De Meyer
72a526dfdf move Debit Order after Payments in Customer menu 2021-01-05 14:03:52 +01:00
Alexis de Lattre
a7cd7f60b6 Fix state condition on invoice view 2021-01-05 14:03:52 +01:00
Valentin Vinagre Urteaga
24dbb35c18 [FIX] account_payment_order: fix the attachment file name & dowload.
Case: After the configuration of a debit order and generating the .xml file, user can't download it from the next step screen using the download link.
This fix makes the .xml file downloadable from the .xml file name as it was in older versions
2021-01-05 14:03:52 +01:00
Pedro M. Baeza
836fd9985a [IMP] account_payment_order: Print payment order in user lang if not generated
When you haven't still generated the file, `generated_user_id` is not filled, and
so, you can't control the language in which the payment order is going to be printed.

Adding a condition for using the user language in that case makes this more
comfortable.
2021-01-05 14:03:52 +01:00
Raf Ven
369f18bbed [MIG] account_payment_order: Migration to 13.0 2021-01-05 14:03:52 +01:00