Commit Graph
401 Commits
Author SHA1 Message Date
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
Cédric Krier 80ee74f139 Allow to use dict with non string as keys over XML-RPC
issue8143
review45961002
2019-03-08 23:39:15 +01:00
Cédric Krier 9ee19c1abe Re-add trydevpi to dependency_links
It is needed to install Tryton's dependencies of dependencies.

issue8044
2019-01-26 01:10:48 +01:00
Cédric Krier 448a8adca1 Replace --process-dependency-link by --find-links
issue8044
review51611003
2019-01-25 23:21:38 +01:00
Cédric Krier a191f53afe Use subproject alias and include proteus in readthedocs
issue7836
review45801003
2018-11-17 13:58:53 +01:00
Cédric Krier fc8e140ff7 Increase version number 2018-10-01 12:33:23 +02:00
Cédric Krier 18ce603e1c Added tag 5.0.0 for changeset e86f9d540f29 2018-10-01 12:33:16 +02:00
Cédric Krier 09ce17c65c Prepare release 5.0.0 2018-10-01 12:33:16 +02:00
Cédric Krier a0dbb919f6 Link record added via on_change to the xxx2many group
The new record must be link to the group otherwise it will not trigger
on_change call for the parent.

issue7708
review52491002
2018-09-25 22:16:58 +02:00
Cédric Krier 6687de4dc3 Use the context of the group when record is inside a ModelList
This allows to remove the assertion in ModelList.__check which can be
difficult to ensure when the context is dynamic and change when records are
added.

issue7665
review53361003
2018-09-05 21:15:00 +02:00
Cédric Krier e9b7cb46f0 Remove unused import 2018-08-30 23:53:16 +02:00
Cédric Krier db02f1c7db Add pyson TimeDelta
issue7351
review47651002
2018-08-18 17:19:33 +02:00
Cédric Krier 2c286e5cc2 Add support for Python 3.7
issue7547
2018-07-28 16:44:11 +02:00
Cédric Krier 3872f858bf Add transactional queue and workers
issue7406
review45461002
2018-07-27 09:32:28 +02:00
Cédric Krier 20670bdc7d Implicit conversion to boolean in PYSON statement
issue7528
2018-07-10 16:56:34 +02:00
Cédric Krier fed6345ffc Remove cdecimal dependency
It is no more needed as it is standard under Python3
2018-06-27 11:54:35 +02:00
Cédric Krier c3ca6e4afd Do not compare sequence value against index if it is None
issue7539
review46571002
2018-06-27 11:52:30 +02:00
Cédric Krier 669f7e3d92 Migrate docstring to Python 3
issue7497
2018-06-26 19:48:20 +02:00
Cédric Krier eba847d0ac Remove support for Python 2.7
issue7497
review42231002
2018-06-26 19:13:12 +02:00
Sergi Almacellas Abellana bfacf1c640 Include not modified values when sending wizard form data
issue7527
review60261002
2018-06-21 16:10:02 +02:00