mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 15:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
89c6e82fe7
commit
1b82c20a58
572 changed files with 43570 additions and 53303 deletions
|
|
@ -24,3 +24,9 @@ class ResPartner(models.Model):
|
|||
def _formatting_address_fields(self):
|
||||
"""Returns the list of address fields usable to format addresses."""
|
||||
return super()._formatting_address_fields() + ['l10n_pe_district_name']
|
||||
|
||||
def _get_frontend_writable_fields(self):
|
||||
frontend_writable_fields = super()._get_frontend_writable_fields()
|
||||
frontend_writable_fields.update({'city_id', 'l10n_pe_district'})
|
||||
|
||||
return frontend_writable_fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue