Commit Graph
282 Commits
Author SHA1 Message Date
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
Cédric Krier 05651288cc Use simplified parser for get_eval_fields
Instead of using the PYSONEncoder we can just iterate over the basic JSON types
and use the pyson method to retrieve nested PYSON instances.

issue11164
2022-02-22 18:04:31 +01:00
Cédric Krier da298af7e6 Support execute Report without models nor data
issue11111
review385691002
2022-01-03 22:37:15 +01:00
Cédric Krier 8676b6b309 Follow isort formatting
issue10928
2021-12-11 17:58:45 +01:00
Cédric Krier 43772d4969 Increase version number 2021-11-01 16:58:25 +01:00
Cédric Krier 2783e53c68 Prepare release 6.2.0 [skip ci] 2021-11-01 16:58:15 +01:00
Cédric Krier ec9fda6903 Support session with XML-RPC
issue7783
review350521003
2021-09-23 23:16:31 +02:00
Cédric Krier e0473ccd3a Remove no longer needed Decimal to float conversion on read
The XML-RPC protocol makes the distinction between float and Decimal.

issue10735
review352711002
2021-09-23 23:09:16 +02:00
Cédric Krier 452a4d83a4 Use bigdecimal tag for XML-RPC
issue10734
review355491002
2021-09-23 10:22:01 +02:00
Cédric Krier e61e871eac Use biginteger for integer overflowing XML-RPC integer dumper
issue10732
review363891002
2021-09-19 00:04:57 +02:00
Cédric Krier 2db2c0c32f Fill wizard actions even with empty list
issue10600
review342751002
2021-08-06 09:49:34 +02:00
Cédric Krier 3d8274c67d Support action with integer res_id
issue10472
review340891002
2021-06-06 09:37:01 +02:00
Cédric Krier 4300e38e20 Remove unnecessary path in TRYTOND_DATABASE_URI for test 2021-05-05 16:01:35 +02:00
Cédric Krier fb7469b18d Increase version number 2021-05-03 15:32:43 +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