Repository
OCA/l10n-netherlands · module folder · Try on Runboat
Module version
2.0.0
Category
Localization
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-netherlands
Last tracking update
2026-08-07 07:32:02
Authors
Odoo Community Association (OCA), Therp BV
Maintainers
Odoo Community Association (OCA), Therp BV
Committers
Weblate, Ronald Portier (Therp BV), OCA-git-bot, oca-ci, Jan Verbeek
Odoo dependencies
OCA/l10n-netherlands:
odoo/odoo:
Python dependencies
pyPostcode
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model
    Clear the postcode provider cache when the API key is created.
  • get_provider_obj(self)
    @api.model@ormcache(skiparg=2)
    get Api to interface with Dutch postcode provider.
  • write(self, vals)
    @api.multi
    Clear the postcode provider cache when the API key is modified.

New fields (0)

No new fields.

Public methods (2)
  • get_country_state(self, country, state_name)
    Lookup state within a country.
  • on_change_zip_street_number(self)
    @api.onchange('zip', 'street_number', 'country_id')
    Autocomplete dutch addresses if postalcode and streetnumber are filled. NB. postal_code is named 'zip' in Odoo, but is this a reserved keyword in Python.

Loading…

Loading…

Loading…

Loading…

Loading…