release superbar

This commit is contained in:
ivan deng
2019-10-16 19:06:31 +08:00
parent fea80ef7b4
commit ab9827b9d3
522 changed files with 5018 additions and 91 deletions

View File

@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
# Part of Sunpop.cn. See LICENSE file for full copyright and licensing details.
# Created on 2019-04-20
# author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo12在线用户手册长期更新
# http://www.sunpop.cn/documentation/user/12.0/en/index.html
# Odoo12在线开发者手册长期更新
# http://www.sunpop.cn/documentation/12.0/index.html
# Odoo10在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/
# description:
from . import res_partner

View File

@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import base64
import collections
import datetime
import hashlib
import pytz
import threading
import re
from email.utils import formataddr
import requests
from lxml import etree
from werkzeug import urls
from odoo import api, fields, models, tools, SUPERUSER_ID, _
from odoo.modules import get_module_resource
from odoo.osv.expression import get_unaccent_wrapper
from odoo.exceptions import UserError, ValidationError
from odoo.tools import pycompat
class Partner(models.Model):
_inherit = 'res.partner'
customer = fields.Boolean(string='Is a Customer', default=True,
help="Check this box if this contact is a customer. It can be selected in sales orders.")
supplier = fields.Boolean(string='Is a Vendor',
help="Check this box if this contact is a vendor. It can be selected in purchase orders.")