Commit Graph
57 Commits
Author SHA1 Message Date
Cédric Krier faf111a86e Increase version number
--HG--
branch : 7.0
2024-08-01 22:07:19 +02:00
Cédric Krier e6c6aed6a5 Prepare release account_payment-7.0.3
--HG--
branch : 7.0
2024-08-01 22:07:06 +02:00
Cédric Krier a84af1b956 Create payment only for the first matching party reception of direct debit
Closes #13086
(grafted from 360c0848e5b5b3762b850b655cfe767ed3905c79)

--HG--
branch : 7.0
2024-03-08 18:22:37 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier dd33a91e28 Increase version number
--HG--
branch : 7.0
2024-02-15 19:38:28 +01:00
Cédric Krier a083db94db Prepare release account_payment-7.0.2
--HG--
branch : 7.0
2024-02-15 19:38:19 +01:00
Cédric Krier 535e207116 Use only debit and credit sign to compute payment kind of move line
Closes #12932
(grafted from c0062500da161ce491c64dcc10201c063d3a16e2)

--HG--
branch : 7.0
2024-01-13 18:53:13 +01:00
Cédric Krier 501d385acc Increase version number
--HG--
branch : 7.0
2023-11-17 19:54:24 +01:00
Cédric Krier 79007f5a4f Prepare release account_payment-7.0.1
--HG--
branch : 7.0
2023-11-17 19:54:15 +01:00
Cédric Krier 5ec598387a Do not union empty dict as payments when creating moves without statements
Closes #12689
(grafted from 558068bf702068e1b25306a9880f40e11b4d0acc)

--HG--
branch : 7.0
2023-10-30 23:45:52 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +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
Adrià Tarroja Caubet d1d32e6e57 Add pending window domain on payment group
Closes #9584
2023-01-19 11:38:37 +01:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier b48e4966d5 Add functions and attribute to handle check access and active records
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00