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
Cédric Krier
300abc0a38
Add reversed operators to PYSON expressions
...
issue4856
2016-07-19 07:44:59 +07:00
Cédric Krier
7b86173a99
Increase version number
2016-05-02 15:37:39 +02:00
Cédric Krier
a14b5a39fe
Prepare release 4.0.0
2016-05-02 15:36:44 +02:00
Nicolas Évrard
a0f4d5df62
Correctly get action_id when instanciating a Wizard
...
In case a Wizard is instanciated with an action (eg. when being called from a
StateAction from another wizard) the data structure received is a dictionary
and not an instance of Action.
issue5465
review25031002
2016-04-12 08:23:13 +02:00
Nicolas Évrard
758adbe6be
Run actions in wizard even if a view is specified
...
issue5468
review17221002
2016-04-09 14:20:23 +02:00
Nicolas Évrard
938b5d82a4
Follow PEP-0249 for Transaction
...
issue4949
review23751002
2016-03-03 22:06:27 +01:00
Cédric Krier
75fe2908f9
Add missing __ne__
...
changeset 153863383394 replaced __cmp__ by __eq__ and __hash__ but it should
also add __ne__.
issue5347
review23851002
2016-02-24 21:18:38 +01:00
Cédric Krier
f08250089c
Add Python3 support
...
issue3211
review24761002
2016-02-19 23:16:43 +01:00
Cédric Krier
96e72e29c5
Don't dump bytes as base64 in xmlrpc if bytes is str
...
issue5113
review18781002
2015-11-15 11:17:38 -03:00
Cédric Krier
9bae83ed95
Increase version number
2015-11-02 15:49:14 +01:00
Cédric Krier
0e054b2395
Prepare release 3.8.0
2015-11-02 15:48:24 +01:00
Jean Cavallo
732c0d5090
Properly handle recursive One2Many values in on_change
...
_on_change_set assumes that One2Many fields add or create
operations will have a list of ids as parameters, when they
can be dictionaries.
issue4985
review18611002
2015-10-13 22:39:45 +02:00
Cédric Krier
c023c3870a
Use group to test delete instead of user
...
Since changeset 5b4de22d72ea of trytond, user can no more be deleted.
2015-10-10 18:12:16 +02:00
Nicolas Évrard
feca6e696a
Add StateAction support to Wizard
...
review22271002
issue4825
2015-07-09 12:32:32 +02:00
Cédric Krier
3c567795cc
Fix unittest when runs from setuptools
2015-06-01 23:48:09 +02:00
Cédric Krier
811fa68d1e
Add test for README and docstring
...
issue4779
review7181002
2015-06-01 22:52:59 +02:00
Cédric Krier
ecc0dd5fbe
Return correct exit code when running tests
2015-06-01 22:52:30 +02:00
Cédric Krier
2e05ff62c5
Rename ir.module.module* into ir.module*
...
issue4764
2015-05-28 23:47:12 +02:00
Cédric Krier
f431f81252
Increase version number
2015-04-20 15:11:21 +02:00
Cédric Krier
d8e62f1819
Prepare release 3.6.0
2015-04-20 15:11:02 +02:00
Cédric Krier
01067e9a59
Manage bytes and bytearray for Binary field
...
issue4637
review15291002
2015-03-16 19:29:15 +01:00
Cédric Krier
56c5e14a55
Manage instance button
...
issue4397
review7001002
2015-03-16 12:57:54 +01:00
Cédric Krier
f164ae4a60
Add XML-RPC support for timedelta
...
issue4026
review15091002
2015-03-15 16:22:19 +01:00
Cédric Krier
01ba344609
Missing migration to list of names used in grouped on_change
...
The loop on fields still use the old name parameter instead of the list of
names. The issue is hidden by the loop before which uses also a variable named
name. So the tests are changed to use set operators.
issue4550
review7031002
2015-03-15 16:14:20 +01:00
Cédric Krier
37137e08ea
Fix removing record from xxx2many
...
- Don't register as deleted unsaved record
- Register as deleted record removed via on_change
issue4628
review9091002
2015-03-15 16:13:12 +01:00
Cédric Krier
b59c9ba80c
Add noeval to PYSONDecoder
...
issue1616
2015-03-10 23:51:02 +01:00
Cédric Krier
d5e4a193d6
Add __repr__ to PYSON
...
issue4607
2015-03-10 23:44:12 +01:00
Guillem Barba
b865d48947
Allow to provide ssl_context to set_xmlrpc()
...
issue4592
review6951002
2015-03-07 09:32:23 +01:00
Cédric Krier
1731525415
Use the grouped on_change method
...
instead of calling on_change_* for each field
issue4550
review10901002
2015-02-14 18:31:57 +01:00