update 更新 18 版财务相关

This commit is contained in:
Ivan Office
2024-12-13 01:23:46 +08:00
parent f119fd165d
commit 39d4187f7d
19 changed files with 254 additions and 108 deletions

View File

@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from datetime import timedelta, datetime, date
import calendar
from odoo import fields, models, api, _
from odoo.exceptions import ValidationError, UserError, RedirectWarning
from odoo.tools.mail import is_html_empty
from odoo.tools.misc import format_date
from odoo.tools.float_utils import float_round, float_is_zero
from odoo.addons.account.models.account_move import MAX_HASH_VERSION
class ResCompany(models.Model):
_inherit = ['res.company']
coa_delimiter = fields.Char(string='COA Delimiter', readonly=False, default='.',
help='Delimiter after parent account in Chart of Accounts')