21 lines
706 B
Python
21 lines
706 B
Python
|
# Copyright 2012-2021 Akretion France (http://www.akretion.com/)
|
||
|
# @author: Benoît GUILLOT <benoit.guillot@akretion.com>
|
||
|
# @author: Chafique DELLI <chafique.delli@akretion.com>
|
||
|
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||
|
# @author: Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
|
||
|
# Copyright 2018-2021 Tecnativa - Pedro M. Baeza
|
||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||
|
|
||
|
from odoo import fields, models
|
||
|
|
||
|
|
||
|
class AccountMoveLine(models.Model):
|
||
|
_inherit = "account.move.line"
|
||
|
|
||
|
check_deposit_id = fields.Many2one(
|
||
|
comodel_name="account.check.deposit",
|
||
|
string="Check Deposit",
|
||
|
copy=False,
|
||
|
check_company=True,
|
||
|
)
|