update grn contract

This commit is contained in:
ivan deng
2020-03-20 00:03:20 +08:00
parent a59da8d818
commit 5d49aaa999
3 changed files with 11 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ from . import res_partner
from . import res_currency from . import res_currency
from . import product_category from . import product_category
from . import stock_location from . import stock_location
from . import account_tax_group

View 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.")

View File

@@ -9,6 +9,7 @@ class ResPartner(models.Model):
name = fields.Char(index=True, translate=True) name = fields.Char(index=True, translate=True)
short_name = fields.Char('Short Name') # 简称 short_name = fields.Char('Short Name') # 简称
fax = fields.Char('Fax') # 简称
# 增加地址显示中的手机号与电话号码 # 增加地址显示中的手机号与电话号码
# 选项 show_address 开启则增加显示手机与电话号 # 选项 show_address 开启则增加显示手机与电话号