Japan Partner Zip Address
l10n_jp_partner_zip_address · OCA/l10n-japan
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module introduces a function that automatically retrieves and fills in the Japanese address details for a partner using the zipcloud service, provided that the following conditions are met.
- Country is Japan or no country is set for the partner.
- A valid postcode is entered for the partner.
Note that in order to have the prefecture proposed automatically, you need to have the prefecture records in Japanese (e.g. "福岡県" instead of "Fukuoka"). This can be done by overriding the name of correspoinding res.country.state records, or by installing the l10n_jp_country_state module.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
sanitize_zip(self, zipcode)
Loading…
Loading…
Loading…
Loading…