Files
odoo_source/addons/base_address_extended/__manifest__.py
T
Goffin Simon 825dcb242b [FIX] base_address_extended: Wrong street format
Steps to reproduce the bug:

- Create a german contact C with street1 = 'Istanbulstraße 22-26'
- Install base_address_extended
- Go to C and edit it

Bug:

'Istanbulstraße' was  displayed in the number of the street

PS: A post init hook is needed otherwise the default street_format
'%(street_number)s/%(street_number2)s %(street_name)s' was always used.

opw:2320385

closes odoo/odoo#58905

X-original-commit: a97d981b9dd96b0066e09d763eff10a6ca70819c
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-09-30 16:40:59 +00:00

25 lines
769 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Extended Addresses',
'summary': 'Add extra fields on addresses',
'sequence': '19',
'category': 'Hidden',
'complexity': 'easy',
'description': """
Extended Addresses Management
=============================
This module holds all extra fields one may need to manage accurately addresses.
For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
""",
'data': [
'views/base_address_extended.xml',
'data/base_address_extended_data.xml',
],
'depends': ['base'],
'post_init_hook': '_update_street_format',
}