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