Commit Graph
77 Commits
Author SHA1 Message Date
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Cédric Krier 62b079225f Remove $ before series in formatted document URL without base URL 2024-09-03 17:55:42 +02:00
Cédric Krier 9cec77a88c Add payment amount cache to account move line
Closes #13407
2024-07-22 12:12:07 +02:00
Cédric Krier 60c719d830 Use sub-query clause to filter accounts when searching amount to pay
As the number of accounts should be much smaller than the number of lines, it
is more efficient to use a sub-query than joins.

#13407
2024-07-19 18:06:49 +02:00
Cédric Krier 9f02f354db Add index on payment for join in searcher of amount to pay
#13407
2024-07-19 18:04:50 +02:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier 04ce1a0456 Add option to create direct debit based on balance
Closes #13084
2024-03-08 18:45:37 +01:00
Cédric Krier 935299cd64 Always require a party for reception of direct debit 2024-03-08 18:26:32 +01:00
Cédric Krier d1c62a0727 Add searcher for payment currency of account move line 2024-03-08 18:23:26 +01:00
Cédric Krier 2eeb55a107 Create payment only for the first matching party reception of direct debit
Closes #13086
2024-03-08 18:22:37 +01:00
Cédric Krier 5823bce6cf Add tools to apply types to SQLite select queries 2024-07-04 08:45:19 +02:00
Cédric Krier 29cf9e102a Allow payment with amount equals to 0
This is needed for integration with some services for which a payment fully
refund is updated with an amount of 0.

Closes #13351
2024-06-21 14:39:25 +02:00
Cédric Krier ed5f91a480 Forbid payment of zero amount
Closes #13031
2024-05-05 10:06:07 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier 80b61a9f63 Store model on ir.rule.group 2024-02-25 13:45:21 +01:00
Cédric Krier 5448a91bf7 Store model on ir.model.button 2024-04-06 10:48:45 +02:00
Cédric Krier 9193a425d1 Store model name on ir.model.access 2024-04-06 14:10:01 +02:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 166b47f3b1 Set receivable payment menu on same level as payable menu 2024-01-13 18:59:37 +01:00
Cédric Krier 7981f19cc8 Support second currency on statement line
Closes #12673
2023-10-30 17:37:54 +01:00
Cédric Krier c67a5fd5e1 Use only debit and credit sign to compute payment kind of move line
Closes #12932
2024-01-13 18:53:13 +01:00
Cédric Krier 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier 40b8cf0eca Support linkcheck ignore per module documentation
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier 816dd6f549 Do not union empty dict as payments when creating moves without statements
Closes #12689
2023-10-30 23:45:52 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier d9307d006e Hide payment buttons for line reconciled and of payment kind
It is not allowed to make a draft payment for a line that is reconciled.

Closes #12681
2023-10-28 10:52:41 +02:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 993586497f Do not test active clause of dunning being in a set
The clause may contain unhashable types.

Closes #12590
2023-10-21 14:29:59 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier a82578054c Do not allow user to create or delete payment group
The payment groups are only created by the processing of payments.
2023-09-04 16:30:47 +02:00
Cédric Krier 655eafe328 Display optional company on lines to pay list 2023-10-02 12:05:42 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier a28213e137 Warn when submitting, approving or proceeding payment with reconciled line 2023-09-11 12:47:13 +02:00
Cédric Krier 42c9ffb209 Warn when cancelling, grouping, rescheduling or delegating move line with payment 2023-09-08 20:52:32 +02:00
Cédric Krier e9db5f0234 Update documentation of account_payment 2023-08-05 15:41:00 +02:00
Cédric Krier 4e8dc3c54e Prepend payment group with Payment
This displays a more meaningful tab name in the client.
2023-08-04 23:52:47 +02:00
Cédric Krier a8a39fd36d Replace tree open on group by a link and relate on the form 2023-08-04 23:51:48 +02:00
Cédric Krier 15baadf36e Remove fail an succeed button from payment list
Since the state is always updated by statement, those buttons are less useful
on a list view.
2023-08-04 21:24:49 +02:00
Cédric Krier 7433569b5b Mark Payment as succeeded or failed when imported in statement
The state of the payment is modified by statement even if there is no
clearing.
2023-08-04 19:44:55 +02:00
Cédric Krier 70ebb98abb Replace payment wizard confirmation by button
A button is easier for the user to discover than a keyword action.
There is a small risk that user does not group the processing of payments but
it existed also wizard the keyword action and it is compensated largely by the
benefit of discoverability.
2023-08-04 18:29:30 +02:00
Cédric Krier ca06d3ddb8 Create different menu entries for receivable and payable payments 2023-08-04 17:38:37 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00