Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
20
account_check_deposit/models/account_move_line.py
Executable file
20
account_check_deposit/models/account_move_line.py
Executable file
@@ -0,0 +1,20 @@
|
||||
# Copyright 2012-2022 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-2022 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,
|
||||
)
|
||||
Reference in New Issue
Block a user