Cédric Krier
d5e92b91d9
Recursively set values on record for xxx2Many fields
...
The values for wizard may be a list of dictionaries for xxx2many fields.
Closes #14055
2025-07-11 23:14:50 +02:00
Cédric Krier
ae5b18eba0
Increase version number
2025-04-28 16:40:56 +02:00
Cédric Krier
04487b81d4
Prepare release 7.6.0
2025-04-28 16:12:25 +02:00
Cédric Krier
1e151a15a2
Remove support for Python 3.8
2025-04-06 12:11:03 +02:00
Cédric Krier
6d8b42c687
Add support for Python 3.13
2025-04-06 12:10:20 +02:00
Cédric Krier
5041a85ef6
Update on_* field of trigger in tests
...
Since bc7e074fc4d9 the fields of trigger has been suffixed with an '_'.
2025-04-07 00:30:35 +02:00
Nicolas Évrard
cbdad75620
Remove old-style of super() calls
2025-04-04 00:45:18 +02:00
Nicolas Évrard
1e5fa01e63
Add launch_action helper function
2025-03-07 19:06:04 +01:00
Nicolas Évrard
1f414b20e5
Refactor _convert_action to use keyword-only arguments
2025-03-20 11:37:51 +01:00
Udo Spallek
b245323c30
Fix typo in alt text of documentation logo
...
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier
709bebe701
Use base URL as logo link and include homepage in TOC
...
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Cédric Krier
91f80aa529
Always send id for the on_change calls
...
Since cc277611c254 we rely on the id to decide if the instance is a new
instance from the server-side or from the client-side.
Closes #13769
2024-12-21 14:14:52 +01:00
Cédric Krier
b6fd7fdf8a
Do not instantiate record with default for the form of the wizard view
...
The default values are already set using the defaults of the wizard view.
Closes #13723
2024-12-01 23:48:17 +01:00
Cédric Krier
ab3fecb282
Increase version number
2024-11-04 18:51:20 +01:00
Cédric Krier
dc470fe1f4
Prepare release 7.4.0
2024-11-04 18:23:40 +01: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
11ef2ba54c
Replace deprecated datetime.utcnow usage
...
Closes #12647
2024-06-15 11:01:41 +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
5e10e9df21
Add skip warning on trytond configuration
...
Closes #12954
2024-01-22 10:03:16 +01:00
Cédric Krier
db1f9fcd4a
Update proteus tests to use model field of model access as string
2024-04-07 12:17:36 +02:00
Cédric Krier
88ac130d2f
Remove readthedocs
2024-02-18 18:35:54 +01:00
Cédric Krier
821be7e6dc
Return test suite when loading proteus README
2023-12-31 16:59:39 +01:00
Cédric Krier
92c9467b9c
Always include changed field when calling on_change_with
...
Since d142b33fa3ab the on_change_with relies on _changed_value.
So in order to correctly detect if a xxx2Many field has some record removed,
we need to have the value of the client.
Closes #12837
2023-12-15 19:10:38 +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
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
fe66322ab1
Use on_change_result for on_change call
...
The ModelView.on_change method returns directly the changed values instead of
a list with the changed values.
2023-08-16 09:37:26 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +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
041a3fb9b2
Support PYSON comparison of timedelta
...
Closes #10727
2023-06-15 17:06:13 +02:00
Cédric Krier
d7aaac6740
Support encoding timedelta into PYSON TimeDelta
...
Closes #10727
2023-06-15 13:57:15 +02:00
Cédric Krier
6092ca035c
Group call to on_change_with for later fields
...
Closes #12218
2023-04-14 17:04:01 +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
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
79768b4890
Manage RPCReturnException in proteus
...
35ed4aa50b16 introduced this new exception so proteus execute the returned
action when configured with trytond.
2023-02-02 18:09:52 +01:00
Cédric Krier
68753ff402
Run action from button with proteus
2023-01-17 14:39:18 +01:00
Cédric Krier
ea481922c9
Pass wizard config when converting action in proteus
2023-01-17 14:40:43 +01:00
Cédric Krier
dd222215eb
Lock table on transaction start
...
When trying to lock a table, we check if it was locked at the start of the
transaction otherwise we raise a TransactionError so the all transaction is
restarted over with the table added to the table to lock.
This ensures when a table is locked that we always read the last committed
values.
Closes #10870
2022-12-26 15:05:56 +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
Cédric Krier
5f8b891f62
Increase verbosity of tox
2022-12-28 00:26:31 +01:00
Cédric Krier
98cbb23f58
Improve setup.py
...
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier
c35e1ad98d
Use modulo on minor version to set latest series for documentation
2022-12-20 12:43:56 +01:00
Cédric Krier
5d3e4a39f2
Prepare migration to monorepo
2022-12-16 23:16:08 +01:00
Cédric Krier
7bafb47416
Prepare migration to monorepo
2022-12-16 14:49:00 +01:00
Cédric Krier
afd411fd78
Do not expand boolean PYSON when using __and__ and __or__
...
It is not expected that the left operand is modified by such operations.
issue11836
review418551003
2022-11-05 09:51:17 +01:00