Files
account-financial-tools/account_cost_center/models/account_move_line.py
2020-05-11 08:27:14 +02:00

15 lines
355 B
Python

# Copyright 2015-2019 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
cost_center_id = fields.Many2one(
'account.cost.center',
index=True,
string='Cost Center'
)