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
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
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
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
fc8e140ff7
Increase version number
2018-10-01 12:33:23 +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