优化代码格式
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# -*-coding:utf-8-*-
|
||||
from . import controllers
|
||||
from . import models
|
||||
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
from . import product_supplierinfo
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,4 +19,4 @@
|
||||
'application': False,
|
||||
'auto_install': False,
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import logging
|
||||
from datetime import datetime
|
||||
from dateutil.relativedelta import relativedelta
|
||||
import os
|
||||
import base64
|
||||
import math
|
||||
from datetime import datetime
|
||||
import requests
|
||||
import os
|
||||
import math
|
||||
from dateutil.relativedelta import relativedelta
|
||||
# import subprocess
|
||||
from odoo import api, fields, models, SUPERUSER_ID, _
|
||||
from odoo.addons.sf_base.commons.common import Common
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
from . import ftp_operate
|
||||
from . import res_config_setting
|
||||
from . import sync_common
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
from . import sale_order
|
||||
from . import quick_easy_order
|
||||
from . import auto_quatotion_common
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ class ReSaleOrder(models.Model):
|
||||
pay_way = fields.Selection([('转账', '转账'), ('微信', '微信'), ('支付宝', '支付宝')], '支付方式')
|
||||
check_status = fields.Selection([('unchecked', '未审核'), ('checked', '已审核')], '审核状态', default='unchecked')
|
||||
|
||||
|
||||
payment_term_id = fields.Many2one(
|
||||
comodel_name='account.payment.term',
|
||||
string="交付条件",
|
||||
@@ -32,6 +31,7 @@ class ReSaleOrder(models.Model):
|
||||
'date_order': now_time,
|
||||
'name': self.env['ir.sequence'].next_by_code('sale.order', sequence_date=now_time),
|
||||
'partner_id': partner.id,
|
||||
'check_status': 'checked',
|
||||
'state': 'draft',
|
||||
'person_of_delivery': delivery_name,
|
||||
'telephone_of_delivery': delivery_telephone,
|
||||
@@ -74,9 +74,3 @@ class ResaleOrderLine(models.Model):
|
||||
_inherit = 'sale.order.line'
|
||||
|
||||
model_glb_file = fields.Binary('模型的glb文件')
|
||||
|
||||
|
||||
class ResCrmTeam(models.Model):
|
||||
_inherit = 'crm.team'
|
||||
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"depends": ['web'],
|
||||
"demo": [],
|
||||
"data": [
|
||||
#'views/views.xml', #这是为了测试的效果,可以删除
|
||||
# 'views/views.xml', #这是为了测试的效果,可以删除
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_qweb': [
|
||||
@@ -21,4 +21,4 @@
|
||||
],
|
||||
},
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user