Commit Graph
274 Commits
Author SHA1 Message Date
Cédric Krier a61799cdc3 Pin setuptools version in tox env
We use the command test from setuptools which has been removed in version
72.0.0.

Closes #13510

--HG--
branch : 6.0
2024-09-13 16:37:56 +02:00
Cédric Krier 4da191fd3c Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 6.0
2024-03-04 00:52:20 +01:00
Cédric Krier 944afc59ff Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)

--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
Cédric Krier c6bff14a76 Increase version number
--HG--
branch : 6.0
2023-02-05 22:01:16 +01:00
Cédric Krier 5ed886a6dc Prepare release proteus-6.0.8
--HG--
branch : 6.0
2023-02-05 22:01:05 +01:00
Cédric Krier 13a945343b Pass wizard config when converting action in proteus
(grafted from 32a257d1e64f9e8ad90ee23fe6b11b0e9c4ed901)

--HG--
branch : 6.0
2023-01-17 14:40:43 +01:00
Cédric Krier 01238f5a3c Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-18 21:27:59 +01:00
Cédric Krier 7c275d29fb Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-17 17:14:49 +01:00
Cédric Krier 453da54092 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 14:48:52 +01:00
Cédric Krier 0f2160625d Increase version number
--HG--
branch : 6.0
2022-11-17 18:51:16 +01:00
Cédric Krier 816abe1fd8 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
(grafted from 393ef20df4b30ead8ef189e99cf03976abe0be08)

--HG--
branch : 6.0
2022-11-05 09:51:17 +01:00
Cédric Krier 4cab4ac7ac Increase version number
--HG--
branch : 6.0
2022-04-15 21:28:00 +02:00
Cédric Krier d7c6eebeec Manage None as value of PYSON In
issue11280
review393771002
(grafted from bf883a4cc971cbb9c4654e3685aa54af56ab2548)

--HG--
branch : 6.0
2022-03-06 18:01:59 +01:00
Cédric Krier 805bb47d1e Use first the dotted name variable in the PYSON context
issue11279
review382041002
(grafted from 4ff32309fe0f5a4ea71e0dd68726069190b42394)

--HG--
branch : 6.0
2022-03-06 13:48:44 +01:00
Cédric Krier 380a1c3dc7 Increase version number
--HG--
branch : 6.0
2022-03-01 19:23:27 +01:00
Cédric Krier 28b6124cf5 Protect against XML vulnerabilities
issue11219
issue11244
(grafted from f801a89c84e7df1e3ae00b0f91d500ed7d36a7a9)

--HG--
branch : 6.0
2022-03-01 19:07:56 +01:00
Cédric Krier 3f44e7e3de Increase version number
--HG--
branch : 6.0
2022-01-15 16:17:52 +01:00
Cédric Krier 6474dc3860 Support execute Report without models nor data
issue11111
review385691002
(grafted from c338576b9eaec39123fff8d34f96f268a75c9bd3)

--HG--
branch : 6.0
2022-01-03 22:37:15 +01:00
Cédric Krier c60daa02b2 Increase version number
--HG--
branch : 6.0
2021-10-02 00:24:43 +02:00
Cédric Krier 39ce374ba8 Use biginteger for integer overflowing XML-RPC integer dumper
issue10732
review363891002
(grafted from 9bc0e2be24313cc4fa215c049438b81d85c78234)

--HG--
branch : 6.0
2021-09-19 00:04:57 +02:00
Cédric Krier c299238f82 Increase version number
--HG--
branch : 6.0
2021-07-01 21:41:12 +02:00
Cédric Krier 5d2dce2b0a Support action with integer res_id
issue10472
review340891002
(grafted from 313d87ed896aa12656864ebda27902e50d5e06bf)

--HG--
branch : 6.0
2021-06-06 09:37:01 +02:00
Cédric Krier 82605d0a1e Increase version number
--HG--
branch : 6.0
2021-05-15 22:35:43 +02:00
Cédric Krier 41b9676bb8 Increase version number
--HG--
branch : 6.0
2021-05-03 15:32:42 +02:00
Cédric Krier a38b16c827 Prepare release 6.0.0 [skip ci] 2021-05-03 15:32:34 +02:00
Cédric Krier bfbb207cb8 Use README.rst filename to launch doctest
issue9808
review306931002
2020-11-15 19:16:42 +01:00
Cédric Krier a0c7b4e1bf Unify PYSON string format between all clients
issue9723
review328481002
2020-11-15 18:50:47 +01:00
Cédric Krier a253f6fe4a Correctly ignore E402 flake8 error 2020-11-15 18:17:53 +01:00
Cédric Krier 58c469972b Increase version number 2020-11-02 15:39:04 +01:00
Cédric Krier db8a9833d8 Prepare release 5.8.0 [skip ci] 2020-11-02 15:38:54 +01:00
Nicolas Évrard ed2347cec6 PYSON's DateTime defaults to the current time in UTC
issue9698
review329211002
2020-10-22 12:11:09 +02:00
Cédric Krier 67199698a8 Backed out changeset ecafc29b3a13
issue9679
2020-10-12 18:02:56 +02:00
Cédric Krier 20b3161847 Prevent update configuration after modules are imported
Modules can store copies of the configuration for performance reason so we must
prevent to change the configuration after it happens.

issue9679
review318351002
2020-10-12 17:46:39 +02:00
Cédric Krier 982990fe4d Support PYSON comparison of date and datetime
issue4879
review270061002
2020-09-05 22:59:38 +02:00
Cédric Krier 0f5c3199d8 Support database without schema with TRYTOND_DATABASE_URI
If the command line is launch with only the database name, we must consider the
TRYTOND_DATABASE_URI to configure the backend. This way, we unify the module
scripts options with the trytond scripts.

issue9365
review297831002
2020-06-06 14:06:58 +02:00
Cédric Krier 28ad7443b4 Increase version number 2020-05-04 12:02:22 +02:00
Cédric Krier a127a37655 Prepare release 5.6.0 [skip ci] 2020-05-04 12:02:13 +02:00
Cédric Krier 61da793da4 Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier 5a5b61ba3a Use same __str__ as trytond instances
issue9053
review291081002
2020-03-06 23:55:34 +01:00
Cédric Krier 9cdcfdb2d6 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier bfe5731d8c Always read _timestamp
This ensures to always have the value from the last read.

issue8792
review268331002
2019-11-16 12:46:43 +01:00
Cédric Krier c02396e5b9 Increase version number 2019-11-04 12:46:23 +01:00
Cédric Krier 084c711ba3 Prepare release 5.4.0 2019-11-04 12:46:14 +01:00
Cédric Krier 577712e15b Ensure on_change arguments are loaded
As proteus is lazy about field it read, after a save call there is no field
read. But if the next on_change need the value of a field no loaded, it will
send an empty value because Eval accessors do not trigger a read. So to behave
like other client (which load displayed fields), we ensure to load the needed
arguments.

issue8450
review264411005
2019-10-24 19:02:31 +02:00
Cédric Krier e643af7f20 Ensure id is always available in EvalEnvironment
issue8722
review286051002
2019-10-24 19:00:37 +02:00
Cédric Krier 5c31fb469b Allow id equals to zero
issue8680
review277921002
2019-10-01 22:54:31 +02:00
Cédric Krier f8798b9974 Add start value to PYSON Date and DateTime
This enable the customization of the starting point for delta operations.

issue8561
review264041002
2019-09-20 11:36:05 +02:00
Cédric Krier e3838aa078 Add MultiSelection field
issue7851
review249911002
2019-09-20 11:32:55 +02:00
Sergi Almacellas Abellana c2eed0e3a2 Support dot notation on PYSON Eval
issue8528
review287841003
2019-09-19 14:11:37 +02:00
Cédric Krier 83fdf019a8 Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.

issue6573
review254081002
2019-09-07 23:38:20 +02:00