Commit Graph
271 Commits
Author SHA1 Message Date
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
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
Cédric Krier 891527bc47 Increase version number 2018-04-23 17:14:40 +02:00
Cédric Krier f9290cd6bd Prepare release 4.8.0 2018-04-23 17:14:29 +02:00
Cédric Krier cb32b001c3 Use the context for the ModelList when instantiate record to be appended
Since changeset 9ed64cecb732, we ensure that the context of the instance is
the same as the context of the ModelList.

issue7384
review50301002
2018-04-23 14:00:39 +02:00
Cédric Krier 8c3d73de2b Support Decimal in PYSONEncoder
issue7291
review44971002
2018-04-17 17:59:53 +02:00
Cédric Krier c38afbc1ea Disable active test when searching user
issue7329
review37231002
2018-04-09 10:48:21 +02:00
Cédric Krier 1d23e73e59 Always use the context and config of the instance
issue7144
review38101002
2018-03-30 18:10:25 +02:00
Nicolas Évrard 1a01c967c3 Add support for search_* attributes on ModelList
issue6081
review25981002
2018-03-21 18:03:14 +01:00
Cédric Krier 8f6f421e52 Use method name instead of instance when calling is_instance_method
issue7053
2018-01-16 01:10:21 +01:00
Cédric Krier 878283f5e6 Use is_instance_method tool compatible with Python3
issue7053
review37921002
2018-01-15 23:04:10 +01:00
Cédric Krier 58d9db7fe4 Fix style of import order 2018-01-12 13:54:35 +01:00
Cédric Krier ecb2d2b8e3 Increase version number 2017-10-30 14:47:33 +01:00
Cédric Krier 0458fd9d54 Prepare release 4.6.0 2017-10-30 14:47:14 +01:00
Maxime Richez 928c7d2efe Add method set_sequence on ModelList
This method register the current order into sequence field.

issue6133
review43501002
2017-10-02 16:18:15 +02:00
Cédric Krier 789b8483b7 Update removed/updated sets when adding record to ModelList
issue6784
review38771002
2017-10-02 16:10:08 +02:00
Cédric Krier d0174021f7 Move import on top of the file 2017-09-30 00:22:52 +02:00
Cédric Krier b0ae6355ee Add __int__ to Model
issue6661
review35191002
2017-08-02 19:33:13 +02:00
Cédric Krier d3475c0190 Allow to use keyword arguments with trytond configuration
issue6647
review41451002
2017-07-20 19:34:34 +02:00
Cédric Krier e8ebc0d686 Increase version number 2017-05-01 19:24:16 +02:00
Cédric Krier 422eace638 Prepare release 4.4.0 2017-05-01 19:23:07 +02:00
Cédric Krier 70ad14017d Remove explicit Cache management
The Cache is now managed by the Transaction.

issue6216
review33031002
2017-02-02 12:05:10 +01:00
Cédric Krier 322dda7223 Increase version number 2016-11-28 16:01:54 +01:00
Cédric Krier 1c387cda13 Prepare release 4.2.0 2016-11-28 16:00:47 +01:00
Cédric Krier f20aebef57 Remove support for simplejson
On Python 3, simplejson has a different behaviour than the stdlib json,
especially for dumping bytes.

issue6010
review28991002
2016-11-05 19:56:13 +01:00
Cédric Krier 8fc47f5de0 Rename en_US into en in tests
issue5443
2016-10-20 11:40:26 +02:00
DanielH c9e5f3d41c Do not call _stringify
xmlrpc.client._stringify is only available on Python2 and it is a private
method. trytond already does not call it.

issue5942
review29621002
2016-10-15 20:57:25 +02:00
Cédric Krier 32dc1b7bad Allow to instantiate Model with xxx2many as list of dictionary
The method _on_change_set could try to instantiate such record.

issue5367
review29401003
2016-08-04 23:49:27 +02:00
Cédric Krier ddb36d6f05 Fill default Report data
issue5730
review29411002
2016-07-29 10:40:39 +02:00
Cédric Krier 6e4443245e Call on_change also when value is a list of ids
issue5727
review30341003
2016-07-23 21:25:35 +02:00
Cédric Krier a686741e67 Allow None in Greater/Less PYSON
issue5711
review32311002
2016-07-19 07:45:18 +07:00