Commit Graph
420 Commits
Author SHA1 Message Date
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 612e32ac54 Add tag 5.8.0 [skip ci] 2020-11-02 15:38:54 +01:00
Cédric Krier db8a9833d8 Prepare release 5.8.0 [skip ci] 2020-11-02 15:38:54 +01:00
Cédric Krier d396fe215f Remove support for Python 3.5
issue9733
2020-10-24 13:45:13 +02: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 d16696b744 Ignore flake8 E741 2020-10-16 19:19:59 +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
David Harper 6a9226eba0 Do not refer to activated modules as installed
issue9395
review311721004
2020-07-09 10:33:42 +01: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 375f73eba9 Add tag 5.6.0 [skip ci] 2020-05-04 12:02:13 +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
Sergi Almacellas Abellana 852d94b381 Add support for python3.8
issue8866
review274421004
2020-03-19 19:17:37 +01: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 f81b2e3fe9 Correctly activate share extension in drone pipeline
issue8830
2019-12-04 11:09:37 +01:00
Cédric Krier 89071dea28 Replace echo with interpretation of backslash escapes by multiple commands
drone escape the echo option.

issue8830
2019-12-04 09:53:37 +01:00
Cédric Krier 0805260deb Use pooled storage for clone in done
issue8830
review284451002
2019-12-03 22:59:33 +01:00
Cédric Krier ba9e97a34f Append CI build number to package version
This makes them unique and avoid collision with the shared cache.

issue8831
review254651002
2019-11-25 21:55:22 +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 c6aa7408da Added tag 5.4.0 for changeset 03daaf399461 2019-11-04 12:46:14 +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
Cédric Krier 97f1951875 Remove unknown breakpoint call
issue8588
2019-09-02 18:22:43 +02:00
Nicolas Évrard a2dd17ce7e Do not send empty x2Many fields when saving
issue8588
review264091002
2019-08-31 01:40:47 +02:00
Nicolas Évrard b1f15e0538 Backed out changeset e356ca513730 2019-08-31 01:35:20 +02:00
Nicolas Évrard d9d0939869 Do not send empty x2Many fields when saving
issue8588
review264091002
2019-08-31 00:53:20 +02:00
Cédric Krier 98d6d8ff2c Increase version number 2019-05-06 14:46:04 +02:00
Cédric Krier cf84fd8986 Added tag 5.2.0 for changeset f4a0b0e282f3 2019-05-06 14:45:54 +02:00
Cédric Krier 6a85ef5ca8 Prepare release 5.2.0 2019-05-06 14:45:54 +02:00
Cédric Krier 99242ebe01 Always skip id in _get_on_change_values
issue8234
2019-04-08 10:34:48 +02:00
Cédric Krier 50a5126a33 Remove id to on_change calls that are cached
issue8234
review275131002
2019-04-08 10:14:39 +02:00
Cédric Krier d7e2155156 Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:05 +02:00
Cédric Krier b3d69f7000 Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:58 +02:00
Cédric Krier c1aa464b8b Update links in package description
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier b1247201ef Raise NotImplementedError when setting Function field without setter
issue7985
review265101002
2019-03-27 00:28:57 +01:00
Cédric Krier 53afc5ea03 Simplify xmlrpc marshallers for Python3
issue8143
review45961002
2019-03-08 23:40:20 +01:00