Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
account_sequence_option/models/sequence_option.py
Executable file
13
account_sequence_option/models/sequence_option.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th)
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class IrSequenceOption(models.Model):
|
||||
_inherit = "ir.sequence.option"
|
||||
|
||||
model = fields.Selection(
|
||||
selection_add=[("account.move", "account.move")],
|
||||
ondelete={"account.move": "cascade"},
|
||||
)
|
||||
Reference in New Issue
Block a user