Files
odoo_source/addons/l10n_pe/models/res_partner.py
T
Nhomar Hernández ff74a97450 [IMP] l10n_pe: Refactoring of the Peruvian CoA
And making ready for the future EDI modules.

- Added related account group on the move lines to
show account moves in a way Peru is used to.
As this allows to group by the account group
and to divide the hierarchical structure.
- Completely new CoA structure and tax structure
- Minimal fields for the EDI module later
- Districts and cities as we also need codes for
the EDI.
2019-08-23 14:27:33 +00:00

10 lines
323 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details
from odoo import fields, models
class ResPartner(models.Model):
_inherit = 'res.partner'
l10n_pe_district = fields.Many2one(
'l10n_pe.res.city.district', string='District',
help='Districts are part of a province or city.')