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.
10 lines
323 B
Python
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.') |