Commit Graph
777 Commits
Author SHA1 Message Date
Cédric Krier 4dcb4214fd Search party also by contact mechanisms
issue7106
review35911002
2018-02-19 19:17:39 +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
Cédric Krier b9833a6f09 Remove MySQL backend
issue7017
2018-01-24 20:14:33 +01:00
Cédric Krier 47d0bfbdab Improve dependency links
issue7049
2018-01-21 19:58:02 +01:00
Cédric Krier 584e4f4484 Add name to contact mechanism
issue6847
review36681002
2017-11-21 20:45:29 +01:00
Cédric Krier 1d3584acb7 Improve distinction of address record name
Add building name, first street line and country code on address rec_name.
Also use party full_name instead of rec_name as it is used to format the
address.

issue6926
review41671002
2017-11-15 00:31:05 +01:00
Cédric Krier c82b86d6aa Increase version number 2017-10-30 14:59:24 +01:00
Cédric Krier 65b8eb1f99 Added tag 4.6.0 for changeset fda7cdb5c76a 2017-10-30 14:59:07 +01:00
Cédric Krier b05eb293a0 Prepare release 4.6.0 2017-10-30 14:59:06 +01:00
Cédric Krier c4038e7da1 Update translations 2017-10-28 16:49:46 +02:00
Cédric Krier 4d1408ae74 Remove support of Python 3.3 and add Python 3.6
issue6843
review41611002
2017-10-23 23:54:04 +02:00
Cédric Krier 6579a852ec Use Flat OpenDocument
issue6545
review35031002
2017-08-31 22:53:02 +02:00
Cédric Krier a576b5c066 Update to drone 0.8
issue6030
2017-08-18 18:18:20 +02:00
Cédric Krier 05d36b82b6 Fix typo in python-stdnum extra
issue6618
2017-08-10 12:28:17 +02:00
Cédric Krier b807d59724 Move party lang migration from Party.__register__ to PartyLang.__register__
The query can not work if the table PartyLang is not yet created.

issue6552
review35151002
2017-07-26 23:27:07 +02:00
Cédric Krier 94907cc6fc Replace VAT extra by VIES and VIES-ALT as python-stdnum
issue6618
review35111002
2017-07-12 19:59:23 +02:00
Cédric Krier aeeef86012 Validate phone numbers
In addition to parsing the number, we can also validate it with the
phonenumbers library.

issue6567
review42411002
2017-06-24 11:03:09 +02:00
Cédric Krier 943ff95c89 Format all written contact mechanism
issue6555
review34181002
2017-06-13 09:41:54 +02:00
Cédric Krier b634a9817c Increase version number 2017-05-01 19:59:49 +02:00
Cédric Krier 22f68d5ba1 Added tag 4.4.0 for changeset 588211e03ea6 2017-05-01 19:58:54 +02:00
Cédric Krier c6c2767a7f Prepare release 4.4.0 2017-05-01 19:58:53 +02:00
Cédric Krier 54ba1534a1 Update translations 2017-04-29 18:58:50 +02:00
Sergi Almacellas Abellana d1645b44e3 Add test for full_address with country and subdivision
issue6412
review38281002
2017-04-06 12:24:57 +02:00
Sergi Almacellas Abellana 44ef1c7eb8 Return blank code for countries without code on full_address
Also don't try to split subdivision code if it has no separator.

issue6412
review38281002
2017-04-06 12:24:31 +02:00
Cédric Krier 57c22a788a Remove Property fields
issue2349
review23361002
2017-04-01 00:31:21 +02:00
Cédric Krier 09f9c192cb Use static selection for identifier type
This makes the selection translatable.

issue6374
review35301002
2017-03-21 10:42:59 +01:00
Cédric Krier 0ab856f728 Add help text
issue6309
review26201002
2017-03-16 18:32:07 +01:00
Nicolas Évrard 3b13813e05 Set the right license in the classifiers
review9191003
2017-02-13 16:35:57 +01:00
Mark Shane Hayden 74d06300a4 Bypass phone number validation for non-phone contact mechanisms
issue6225
review29171002
2017-02-03 13:00:35 +01:00
Cédric Krier 6cac1da75a Use coalesce to concatenate streets column in migration
If any of the streets column is null, the result of concat will be null.
So we must coalesce it with empty string.

issue6168
review29141002
2017-01-10 12:52:28 +01:00
Cédric Krier c8e8003131 Add validation of address format
The substitutions "district" and "district_code" have no counterpart in the
address model and are thus replaced with the semantic equivalents "subdivision"
and "subdivision_code".

issue6111
review29831002
2016-12-29 13:42:24 +01:00
Cédric Krier 351c71bb31 Use negative col attribute
issue2090
review33661002
2016-12-21 23:19:33 +01:00
Cédric Krier 5a71447423 Increase version number 2016-11-28 16:19:22 +01:00
Cédric Krier c0b0c62f40 Added tag 4.2.0 for changeset 6a47823c238a 2016-11-28 16:18:32 +01:00
Cédric Krier a92cc51eb6 Prepare release 4.2.0 2016-11-28 16:18:30 +01:00
Cédric Krier cade537de2 Update translations 2016-11-25 23:53:14 +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
Cédric Krier 7d4ef33559 Rename VAT Code into Tax Identifier
This is a more generic name which match better with the actual usage.

issue6000
review32741003
2016-10-31 17:30:23 +01:00
Cédric Krier d5494f7559 Add sequence order on Identifier
This will allow to rely on the order to select an identifier.
Also it adds a type_string to use it in report.

issue5998
review26861002
2016-10-31 17:28:25 +01:00
Cédric Krier eb516e59ac Update link to Easy Install
issue5963
2016-10-30 19:53:35 +01:00
Cédric Krier d4f5cf85ab Create default properties under noupdate data tag
The default properties should be modifiable by the user.

issue5957
review26821002
2016-10-25 23:20:48 +02:00
Xavier Codinas a027082cf1 Add fax and phone URL
issue3428
review29661002
2016-10-24 09:56:07 +02:00
Sergi Almacellas Abellana 1773b0312c Add the sequence field in address form
issue5923
review32691002
2016-10-20 23:43:47 +02: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 e8fb68ac1e Merge Spanish's into Spanish (Latin American) 2016-10-08 12:35:11 +02:00
Cédric Krier 41ab8e990e Use empty dictionary for default addresses
The client will anyway call default_get to get the default values but it will
do it only for the fields present in the view. This will prevent the client to
fetch the definition of the fields that were not in the view.

issue5919
review28851002
2016-10-05 22:46:20 +02:00
Cédric Krier 4b5975801c Add dependency_links to setup 2016-10-02 15:57:32 +02:00
Cédric Krier 3cd9694f5f Add Replace Party wizard
issue5820
review26581003
2016-10-02 15:18:38 +02:00
Sergi Almacellas Abellana 12294c209f Remove sequence field from contact_mechanism
Forgotten in changeset 77aa1e77d06b
2016-09-13 14:20:44 +02:00