Commit Graph

87 Commits

Author SHA1 Message Date
OCA-git-bot
6165f87df2 [BOT] post-merge updates 2024-09-16 08:36:30 +00:00
OCA-git-bot
58519ad962 [BOT] post-merge updates 2024-09-13 06:05:17 +00:00
OCA-git-bot
0fc6af3506 [BOT] post-merge updates 2024-09-12 15:51:41 +00:00
OCA-git-bot
e5c4e7d689 [BOT] post-merge updates 2024-08-27 21:20:50 +00:00
OCA-git-bot
f498d2b72f [BOT] post-merge updates 2024-08-17 10:40:24 +00:00
OCA-git-bot
b338bb4b42 [BOT] post-merge updates 2024-07-16 08:44:16 +00:00
OCA-git-bot
0826f46fe7 [BOT] post-merge updates 2024-07-15 07:30:33 +00:00
OCA-git-bot
1477376824 [BOT] post-merge updates 2024-07-01 20:46:17 +00:00
OCA-git-bot
7d56033848 [BOT] post-merge updates 2024-07-01 17:48:46 +00:00
OCA-git-bot
657d187692 [BOT] post-merge updates 2024-06-03 15:13:06 +00:00
OCA-git-bot
82c495481b [BOT] post-merge updates 2024-04-24 07:49:36 +00:00
OCA-git-bot
0a16cf7430 [BOT] post-merge updates 2024-04-20 09:26:18 +00:00
Luc De Meyer
d05aba74c2 [IMP] update payment reference on open payment order
This commits adds the possibility to update the payment reference on a
payment transaction before generating XML file.
2024-04-20 09:33:04 +02:00
OCA-git-bot
cbe580f818 [BOT] post-merge updates 2024-04-19 14:56:53 +00:00
Luc De Meyer
73d857295f [IMP] integrate transfer journal option into account_payment_order 2024-04-14 19:52:49 +02:00
OCA-git-bot
59792d7725 [BOT] post-merge updates 2024-03-01 17:37:49 +00:00
OCA-git-bot
886ea3418a [BOT] post-merge updates 2024-02-18 14:01:06 +00:00
OCA-git-bot
8ce292ac62 [BOT] post-merge updates 2024-01-30 08:16:49 +00:00
OCA-git-bot
9f3f2cdd15 [BOT] post-merge updates 2023-11-27 09:25:36 +00:00
OCA-git-bot
2f5fd752de [BOT] post-merge updates 2023-11-20 18:10:52 +00:00
OCA-git-bot
8808c2c6da [BOT] post-merge updates 2023-11-10 07:46:32 +00:00
OCA-git-bot
1b408e21e3 [BOT] post-merge updates 2023-11-05 10:28:34 +00:00
OCA-git-bot
079a37c89f [BOT] post-merge updates 2023-11-04 10:51:09 +00:00
OCA-git-bot
6683de5b11 [BOT] post-merge updates 2023-10-04 06:53:24 +00:00
Víctor Martínez
137402863d [IMP] account_payment_order: Add payment_ref field to account.payment tree and form views
Co-authored-by: luc-demeyer

TT45153
2023-10-03 13:43:08 +02:00
OCA-git-bot
3a3c27f7ee [BOT] post-merge updates 2023-09-22 15:56:59 +00:00
OCA-git-bot
dcada82203 account_payment_order 16.0.1.2.3 2023-09-04 07:15:07 +00:00
OCA-git-bot
06a921d162 account_payment_order 16.0.1.2.2 2023-08-21 11:44:05 +00:00
OCA-git-bot
bc801f2aa4 account_payment_order 16.0.1.2.1 2023-07-24 16:56:46 +00:00
OCA-git-bot
3774d00598 account_payment_order 16.0.1.2.0 2023-07-10 11:31:56 +00:00
OCA-git-bot
51f4d533da account_payment_order 16.0.1.1.1 2023-05-12 17:55:16 +00:00
OCA-git-bot
725fffcd0f account_payment_order 16.0.1.1.0 2023-05-03 13:38:58 +00:00
OCA-git-bot
fd5fd14450 account_payment_order 16.0.1.0.2 2023-04-18 08:47:21 +00:00
OCA-git-bot
4d89ed96c9 account_payment_order 16.0.1.0.1 2023-04-12 11:43:51 +00:00
Wolfgang Pichler
0c98de15fa [MIG] account_payment_order: Migration to 16.0 2023-03-04 20:54:01 +01:00
Pedro M. Baeza
05c6c0111f [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
2023-03-04 19:44:00 +01:00
Danny W. Adair
60a7abac56 Add pre_init_hook to add computed column
Add partner_bank_id column to avoid MemoryError on an existing Odoo
instance with lots of data.

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-03-04 19:44:00 +01:00
Antony Herrera
610cd5e4f7 [FIX] account_payment_order: Error in Batch Payments when deleting a Batch Content line 2023-03-04 19:44:00 +01:00
manu
8dd5a31124 [IMP]account_payment_order: Add activities to account.payment.order model 2023-03-04 19:44:00 +01:00
Adrien Peiffer
38c56c5c61 [FIX] Restore payment order number in account move line label. 2023-03-04 19:44:00 +01:00
Alexis de Lattre
b0b48a204d [FIX] account_payment_order: fix action returned by create_account_payment_line()
create_account_payment_line() is supposed to returned a form view for a
single payment order and a tree view for multiple payment orders. Before
this fix, it would return a tree view if you were payment more than 1
invoices while generating a single payment order, because the list
result_payorder_ids would contain several time the same ID.
2023-03-04 19:44:00 +01:00
David Ramia
72554d709a [FIX] account_payment_order: Fix tests
Some tests need to be run on post-install
The bank_journal.inbound_payment_order_only field is true only if all inbound_payment_method_ids are payment_order_only True. For this we must include the "SEPA Direct Debit for customers" in test
2023-03-04 19:44:00 +01:00
Pedro M. Baeza
617ccccac8 [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.
2023-03-04 19:44:00 +01:00
Enric Tobella
7aa0dab42c [IMP] account_payment_order: Promote to Mature 2023-03-04 19:44:00 +01:00
Marçal Isern
ad9f376b29 [MIG] account_payment_order: Migration to 15.0 2023-03-04 19:44:00 +01:00
Alexis de Lattre
dc8dd37f0e [IMP] account_payment_order: computation of sepa + remove done state + UI adjustments
- Improve computation of sepa on account.payment.order: check IBAN is in SEPA zone
  Update move line generation to get transfer account from bank journal
  Update payment mode configuration accordingly (3 fields removed)
  Several improvements in payment order tree and form view
- 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.
- add optional="hide" on payment mode in invoice tree view
- FIX crash when communication=null on payment line
- payment_mode_id readonly when state != draft
2023-03-04 19:44:00 +01:00
João Marques
c7239bbc22 [FIX] account_payment_order: Fix multi-company issues in tests
Use base `account` tests from Odoo to avoid issues with the environment.
2023-03-04 19:44:00 +01:00
AmmarOfficewalaSerpentCS
a597822f2c [IMP] account_payment_order: Add hook method for finding previous payment orders + Pass single move in a get_account_payment_domain mehtod to find move in a method. 2023-03-04 19:43:51 +01:00
manu
d49f95cb95 [IMP]account_payment_order: payment date when adding transaction line 2023-03-04 19:43:51 +01:00
João Marques
5bf4b9bda5 [FIX] account_payment_order: Change security group category + Make post move field invisible in payment modes + fix account move views
- Change security group category
  Before this change, the group was creating a new section in each user's settings called "Other" with a field called "Other Extra Rights" that could select "Accounting / Payments" as an option
  This places it in the correct location
  TT29182
- Make post move field invisible in payment modes
  When the generate_moves option is not selected, the post_move option should not be available
  TT29182
- fix account move views
  Current spec was causing weird display in account move view, both for customer invoices and vendor bills
  Changing the placement and adding back the label fixes the issue
  TT29027
2023-03-04 19:42:52 +01:00