Commit Graph
313 Commits
Author SHA1 Message Date
Cédric Krier ac8f4f2889 Increase version number
--HG--
branch : 7.0
2025-12-17 19:28:59 +01:00
Cédric Krier 3ce634f93a Prepare release proteus-7.0.3
--HG--
branch : 7.0
2025-12-17 19:28:51 +01:00
Nicolas Évrard b500e30a5b Allow to use empty ModelList in Wizard
We might want to execute the wizard on a specific model even without selecting
some of its records

Closes #14291
(grafted from 93ccf0b37bb2fcf18a44ef13e37b6029487b9f62)

--HG--
branch : 7.0
2025-10-16 16:07:52 +02:00
Cédric Krier eaaf18fe81 Increase version number
--HG--
branch : 7.0
2025-09-03 20:32:53 +02:00
Cédric Krier 7dda313dba Prepare release proteus-7.0.2
--HG--
branch : 7.0
2025-09-03 20:32:45 +02:00
Cédric Krier 98569ef71c Recursively set values on record for xxx2Many fields
The values for wizard may be a list of dictionaries for xxx2many fields.

Closes #14055
(grafted from d86fc16613d824588b6532d3220ad48986f39f44)

--HG--
branch : 7.0
2025-07-11 23:14:50 +02: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 bd8df19acf Increase version number
--HG--
branch : 7.0
2024-01-01 13:05:44 +01:00
Cédric Krier 37c5f3d516 Prepare release proteus-7.0.1
--HG--
branch : 7.0
2024-01-01 13:05:34 +01:00
Cédric Krier cab2cddf72 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
(grafted from ae091a6bacbcaba5d327c6573b3859ab0d59e070)

--HG--
branch : 7.0
2023-12-15 19:10:38 +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 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
Cédric Krier 7e04038e64 Increase version number 2022-10-31 16:38:33 +01:00
Cédric Krier 4b1ac48a3e Prepare release 6.6.0 [skip ci] 2022-10-31 16:38:22 +01:00
Cédric Krier 76be70da2c Add straight values to wizard state view
issue11703
review431591006
2022-10-01 14:45:59 +02:00
Cédric Krier 47bce6b45a Add option to remove leading and trailing white spaces from char
issue7914
review340511008
2022-09-19 21:25:55 +02:00
Cédric Krier ae8c03d174 Remove same types restriction on PYSON If
issue11644
review419661003
2022-09-08 13:17:54 +02:00
Cédric Krier 337eb7169e Ensure ModelList contains only unique records
issue11230
review435351003
2022-07-16 23:59:09 +02:00
Cédric Krier f69c14b5a2 Increase version number 2022-05-02 16:26:35 +02:00
Cédric Krier 28f410c3fa Prepare release 6.4.0 [skip ci] 2022-05-02 16:26:17 +02:00
Cédric Krier 5e787c965b Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:20 +02:00
Cédric Krier 53cf977535 Add notification message
issue11065
review367951004
2022-04-11 23:41:21 +02:00
Cédric Krier 1bbd55d543 Manage None as value of PYSON In
issue11280
review393771002
2022-03-06 18:01:59 +01:00
Cédric Krier a57b45f25c Use first the dotted name variable in the PYSON context
issue11279
review382041002
2022-03-06 13:48:44 +01:00
Cédric Krier ed08542d13 Allow PYSON Expression as key for PYSON In with dict object
issue11278
review382031002
2022-03-06 13:46:49 +01:00
Cédric Krier 6814c3a367 Protect against XML vulnerabilities
issue11219
issue11244
2022-03-01 19:07:56 +01:00