mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[14.0][ADD] account_sequence_option
This commit is contained in:
13
account_sequence_option/models/sequence_option.py
Normal file
13
account_sequence_option/models/sequence_option.py
Normal 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