Commit Graph
304 Commits
Author SHA1 Message Date
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 96865bc6a4 Added tag 3.8.0 for changeset 1e741a18e2a1 2015-11-02 15:48:33 +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
Cédric Krier 30d8e79aaf Fix COPYRIGHT statement and include copy of GPLv3
issue5014
review16651002
2015-10-10 17:45:21 +02:00
Nicolas Évrard feca6e696a Add StateAction support to Wizard
review22271002
issue4825
2015-07-09 12:32:32 +02:00
Cédric Krier 5c39097341 Tests require party module to test README 2015-06-01 23:53:18 +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 e785bde713 Added tag 3.6.0 for changeset 2a2503ebd258 2015-04-20 15:11:03 +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 61d4e06b8b Add support for PyPy
issue4408
review11081002
2015-03-15 15:53:37 +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
Cédric Krier 8026958cf1 Improve type checking in PYSON
- convert long type to int
- convert str and unicode to basestring
- use isinstance when possible

issue4405
2015-02-14 18:05:50 +01:00
Cédric Krier f6c3573e0c Add Len to PYSON
issue3692
2015-02-14 18:04:50 +01:00
Cédric Krier 342654663e Don't store TRYTOND_CONFIG in default method argument
The current design prevents to import proteus
before setting correctly the environ.

review13911002
2015-02-10 00:10:35 +01:00
Cédric Krier f353094a12 Add support for fields.TimeDelta
issue4026
review14821002
2015-02-09 23:00:07 +01:00
Cédric Krier 18cac63d24 Skip test_model_graph if pydot is not installed
As pydot doesn't always install correctly, we don't want the test to fail
because of it.
2015-01-18 22:58:52 +01:00
Cédric Krier 73fe5bd102 Install pydot from drone
The report test requires pydot.
2015-01-18 22:36:52 +01:00
Cédric Krier 282456c77c Add tox and drone
issue4431
review9981002
2015-01-18 22:25:43 +01:00
Cédric Krier 249947c848 Reload models at the end of wizard
issue4418
review6751002
2014-12-20 19:20:07 +01:00
Cédric Krier 8fbd80ac08 Add unittest for repr of TrytondConfig
issue4395
review14761002
2014-12-16 22:15:45 +01:00
Cédric Krier 9a6fa73bfe Fix __repr__ of config
- Wrong argument number for TrytondConfig
- Use repr for argument

issue4395
review14761002
2014-12-16 22:15:10 +01:00
Cédric Krier fe974fed5f Remove language from set_trytond
This parameter is no more used.

issue4403
review11701002
2014-12-16 22:11:48 +01:00
Cédric Krier 5ecf5185f7 DictDescriptor must return a copy of the dictionary
Dictionary are mutable so to prevent modification of the internal value of the
Dict field, a copy of the value must be returned.

issue4389
review5841002
2014-12-11 22:28:12 +01:00
Cédric Krier 2f7a8633e1 Fix flake8 errors
review8801002
2014-12-03 16:05:10 +01:00
Jean CAVALLO 68f4d19ed3 Fix condition in _on_change_set method
If _on_change_set is called with a None value for a XXX2Many field, the test
designed to check for creations / updates raises an Exception because of
missing parenthesis.

issue4284
review10591002
2014-10-23 18:10:55 +02:00
Cédric Krier d71d529a96 Remove password on set_trytond
issue4264
review9781002
2014-10-23 21:06:28 +02:00
Cédric Krier fa4708c3e9 Manage some methods as class and instance method
issue4242
review9771002
2014-10-23 20:19:55 +02:00
Cédric Krier 8379c01819 Increase version number 2014-10-20 15:25:47 +02:00
Cédric Krier 0a33907ba6 Added tag 3.4.0 for changeset 61013c4482fc 2014-10-20 15:25:24 +02:00
Cédric Krier 635fff6f72 Prepare release 3.4.0 2014-10-20 15:25:23 +02:00
Cédric Krier 267016e2ed Use TRYTOND_CONFIG environ as default config_file
To follow the same behavior as trytond.

issue4233
review11541002
2014-10-10 09:57:56 +02:00
Cédric Krier 25e44acbaa Better wording as proteus doesn't create database anymore 2014-09-30 10:56:05 +02:00
Cédric Krier ff29a83517 Use ProteusTestCase for the new TestReport 2014-09-04 22:41:36 +02:00