21 lines
687 B
Python
21 lines
687 B
Python
# Copyright 2018 Onestein (<https://www.onestein.eu>)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = 'res.company'
|
|
|
|
default_spread_revenue_account_id = fields.Many2one(
|
|
'account.account', string='Revenue Spread Account')
|
|
|
|
default_spread_expense_account_id = fields.Many2one(
|
|
'account.account', string='Expense Spread Account')
|
|
|
|
default_spread_revenue_journal_id = fields.Many2one(
|
|
'account.journal', string='Revenue Spread Journal')
|
|
|
|
default_spread_expense_journal_id = fields.Many2one(
|
|
'account.journal', string='Expense Spread Journal')
|