修复sf同步问题

This commit is contained in:
gqh
2022-10-11 16:01:36 +08:00
parent 6d2292e1d0
commit aebd4d3f32
6 changed files with 206 additions and 168 deletions

View File

@@ -3,6 +3,7 @@
import logging
from odoo import api, fields, models
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
@@ -38,7 +39,7 @@ class ResConfigSettings(models.TransientModel):
_logger.info("同步资源库刀具")
# self.env['mrs.processing.order'].sync_all_processing_order()
return _logger.info("同步资源库成功")
@api.model
def get_values(self):