1.采购订单Tree列表新增审核状态
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import logging
|
||||
from odoo.modules import get_resource_path
|
||||
from odoo import fields, models, api
|
||||
from quatotion import readSql, feature_recognize, auto_quatotion
|
||||
# from quatotion import readSql, feature_recognize, auto_quatotion
|
||||
|
||||
__author__ = 'jinling.yang'
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -4,9 +4,9 @@ import hashlib
|
||||
import os
|
||||
import json
|
||||
from datetime import datetime
|
||||
import requests
|
||||
from OCC.Extend.DataExchange import read_step_file
|
||||
from OCC.Extend.DataExchange import write_stl_file
|
||||
# import requests
|
||||
# from OCC.Extend.DataExchange import read_step_file
|
||||
# from OCC.Extend.DataExchange import write_stl_file
|
||||
from odoo import models, fields, api
|
||||
from odoo.modules import get_resource_path
|
||||
from odoo.exceptions import ValidationError, UserError
|
||||
|
||||
@@ -103,7 +103,8 @@ class RePurchaseOrder(models.Model):
|
||||
|
||||
def button_confirm(self):
|
||||
self.check_status = 'pending'
|
||||
return super().button_confirm()
|
||||
res = super().button_confirm()
|
||||
return res
|
||||
|
||||
|
||||
class ResPartnerToSale(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user