mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update 更新 18 版财务相关
This commit is contained in:
18
app_account_ztree/models/res_company.py
Normal file
18
app_account_ztree/models/res_company.py
Normal 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')
|
||||
Reference in New Issue
Block a user