Commit Graph
65 Commits
Author SHA1 Message Date
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
Cédric Krier babedd9246 Prepend payment journal with Payment 2023-08-05 21:59:48 +02:00
Cédric Krier 14bc5d2a6c Use selection widget for journal fields
It is expected to have only a small number of journals.
But also it is uncommon to create of a new journal from a form.
So it provides a better user experience to use a selection widget.
2023-08-06 00:34:16 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier fb265b66ba Display payment buttons at the end of move line to pay of invoice 2023-05-26 18:07:39 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier 74ff1b1b7e Add pay, block and unblock payment buttons to invoice lines to pay
It can be useful for the user to be able to create payment for invoice lines
directly from the invoice form.
2023-05-04 19:51:00 +02:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 9de4a7627e Rename label of payment amount to "Amount to Pay"
This is more explicit for the user because "Payment Amount" sounds like the
total of payments.
2023-03-24 12:28:31 +01:00
Cédric Krier 2ddb835bb1 Show payment amount and payments on account move line form
It is useful to understand how payment amount is computed.
2023-03-24 12:27:09 +01:00