Cédric Krier
6c5f4f9d70
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:48 +02:00
Cédric Krier
611b5b5fd2
Add Erase Party wizard
...
issue7169
review37031002
2018-03-24 00:02:03 +01:00
Cédric Krier
895a0d4344
Add contact_mechanism_get on Party
...
Similar to address_get but for contact mechanisms with types and usage
parameters.
It also adds the method 'usages' to allow other models to retrieve a selection
list ready to use. Each module must inherit it and append the field name to
the _fields parameter.
issue7093
review35901002
2018-02-19 19:14:42 +01:00
Cédric Krier
fa3d7d8be3
Remove search call in address_get
...
For performance, it is better to use addresses attribute which is cached
instead of doing a search request on each call.
issue7092
review36961002
2018-02-11 14:53:15 +01:00
Sergi Almacellas Abellana
d1645b44e3
Add test for full_address with country and subdivision
...
issue6412
review38281002
2017-04-06 12:24:57 +02:00
Mark Shane Hayden
74d06300a4
Bypass phone number validation for non-phone contact mechanisms
...
issue6225
review29171002
2017-02-03 13:00:35 +01:00
Sebastián Marró
8971db3194
Format phone numbers
...
It format for human the value of contact mechanisms and add a compact value
format for search.
issue4329
review26831002
2016-11-01 09:27:28 +01:00
Nicolas Évrard
45cea8c223
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:43 +02:00
Cédric Krier
3cd9694f5f
Add Replace Party wizard
...
issue5820
review26581003
2016-10-02 15:18:38 +02:00
Cédric Krier
a3b40d1007
Improve address design
...
- Remove streetbis from Address
- Add address format per country and language
issue2327
issue5493
review26541002
2016-09-06 09:18:55 +02:00
Cédric Krier
994d876a70
Use converted tests converted by 2to3
...
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.
issue3211
2016-03-11 21:56:47 +01:00
Cédric Krier
a432cdf5fd
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:12:45 +01:00
Luciano Rossi
db31fa2b37
Remove required on Party name
...
issue4436
review24611003
2015-11-17 14:41:16 -03:00
Cédric Krier
fd65a8ee1d
Add check for default model access
...
When group access exists, a default model access should be defined otherwise
all access are given to non group users.
issue4485
review5941002
2015-01-27 18:13:37 +01:00
Nicolas Évrard
0b0a13272a
Report API refactorization
...
review8831002
2015-01-20 18:49:55 +01:00
Nicolas Évrard
2baf27e12b
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:02 +01:00
Cédric Krier
1e0b4b0f3b
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:24 +01:00
Cédric Krier
3ecdb19bb1
Cleanup tests
...
review2491002
2014-01-12 19:59:48 +01:00
Cédric Krier
9b2f525014
Fix flake8
2013-10-05 12:17:04 +02:00
Albert Cervera i Areny
16715fac8f
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Jean Cavallo
4d84501fef
Active Record
2012-09-24 22:10:20 +02:00
Cédric Krier
fa48b6315c
Fix pep8 and pyflakes
2012-04-03 20:07:11 +02:00
Nicolas Évrard
2d356ec4a8
Use relative imports
2011-12-14 17:04:25 +01:00
Cédric Krier
6168bb6aa7
Fix Transaction.start to use keyword argument for context
2011-11-28 14:45:53 +01:00
Nicolas Évrard
ac74a94f76
fix pyflake errors
...
review167003
2011-11-02 16:10:05 +01:00
Nicolas Évrard
0b4bdba7f9
remove trailing spaces
2011-10-28 10:55:08 +02:00
Cédric Krier
99b3466dfb
Add test for depends
2011-08-04 16:57:31 +02:00
Cédric Krier
890e00542a
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:17:52 +02:00
Cédric Krier
a27e65ac3f
Fix test_view for issue1651
2010-08-27 12:18:14 +02:00
Cédric Krier
81d94d127f
Remove trailing space
2010-08-20 08:06:29 +02:00
Cédric Krier
634ff2ca26
Add missing with_statement import
2010-08-20 08:06:17 +02:00
Phillip Heller
8c5fe32a66
Update for new Transaction
2010-08-10 11:59:01 -04:00
Cédric Krier
e35b37ffd3
Add test_suite in setup.py
2010-03-12 17:49:38 +01:00
Cédric Krier
74ab2a4968
New unittest design
2010-03-04 14:10:41 +01:00
Cédric Krier
5a118e4282
Add test views
2009-06-26 16:18:15 +02:00
Cédric Krier
fcacf78437
Fix unittest for new tests module
2009-01-28 12:37:18 +01:00
Cédric Krier
c52a18e5bb
Rename module into party
...
Move country into his own module
Add full_name on party
Add full_address on address
2008-10-22 20:07:32 +02:00
Cédric Krier
784537dd04
Better name for test
2008-07-10 00:01:31 +02:00