mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 12:22:03 +02:00
Initial commit: L10N_Europe packages
This commit is contained in:
commit
9803722600
2377 changed files with 380711 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class AccountJournal(models.Model):
|
||||
_inherit = 'account.journal'
|
||||
|
||||
invoice_reference_model = fields.Selection(selection_add=[
|
||||
('no', 'Norway')
|
||||
], ondelete={'no': lambda recs: recs.write({'invoice_reference_model': 'odoo'})})
|
||||
Loading…
Add table
Add a link
Reference in a new issue