mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update grn contract
This commit is contained in:
@@ -4,6 +4,7 @@ from . import res_partner
|
||||
from . import res_currency
|
||||
from . import product_category
|
||||
from . import stock_location
|
||||
from . import account_tax_group
|
||||
|
||||
|
||||
|
||||
|
||||
9
app_base_chinese/models/account_tax_group.py
Normal file
9
app_base_chinese/models/account_tax_group.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, _, tools
|
||||
|
||||
class AccountTaxGroup(models.Model):
|
||||
_inherit = 'account.tax.group'
|
||||
|
||||
active = fields.Boolean(default=True, help="Set active to false to hide the tax without removing it.")
|
||||
|
||||
@@ -9,6 +9,7 @@ class ResPartner(models.Model):
|
||||
|
||||
name = fields.Char(index=True, translate=True)
|
||||
short_name = fields.Char('Short Name') # 简称
|
||||
fax = fields.Char('Fax') # 简称
|
||||
|
||||
# 增加地址显示中的手机号与电话号码
|
||||
# 选项 show_address 开启则增加显示手机与电话号
|
||||
|
||||
Reference in New Issue
Block a user