Description of the issue/feature this PR addresses:
firstname, lastname and lastname2 fields should only be required if
contact `type` is `contact`. In partner_firstname module this is done
right with `('type', '=', 'contact')` leave in attrs required domain.
But in partner_second_last_name there is no such leave, so if the
contact is an address, the fields are mandatory too.
Current behavior:
Either firstname, lastname or lastname2 are mandatory when a contact is
not a company.
Desired behavior after PR is merged:
firstname, lastname or lastname2 are mandatory when the contact is of
type `contact`
* [IMP] base_location: Add lat & long to `better.zip`
* Add latitude and longitude columns to `better.zip`
* [IMP] base_location_geonames_import: Add lat/long
* Add support for latitude & longitude to genomes importer
* Tests
* New menu location
* Wizard options fixed
[IMP] base_location_geonames_import
* Speed improvement applying cache for not doing duplicated searches
over states.
* Tests change to SavepointCase, which only passes over setUp one time.
[IMP] base_location_geonames_import: Make tests more efficient
[FIX] base_location_geonames_import: Don't alias Warning
[IMP] base_location_geonames_import: Convert tests to Python + switch imported country
Monaco country is very little and it allows to save some downloaded bytes plus making
a test for entries deletion
[IMP] base_location_geonames_import: Switch author
[FIX] base_location_geonames_import: Fix test
[FIX] base_location_geonames_import: Fix tests
[MIG] Make modules uninstallable
[MIG] Rename manifest files
[FIX] base_location_geonames_import: Test logic changed
For avoiding constant problems with this test, as Monaco data changes a lot,
what we are testing now is the existence of the data, not the exact match of them.
* Added Icon.
* Improve module description and extracted to README.rst.
* Pass country instead of country_id for advance comparisons.
* Allow to transform city name.
* Some code style.
* Do not remove all entries of a country, but only not found.
* Include hooks for transforming some things.
* Include spanish translation.
[FIX] base_location_geonames_import: Use self.env and recordsets