【活跃】深圳-Jacky(rhl@9.cn) 2021-03-25 22:18:25
今天遇到一个奇怪的问题,扩展res.partner
【活跃】深圳-Jacky(rhl@9.cn) 2021-03-25 22:18:36
class extent_res_partner(models.Model):
_inherit = 'res.partner'
_description = '供应商详情增加是否适用发票校验字段'
validate_with_tender = fields.Boolean('是否校验投标平台数据')
【活跃】深圳-Jacky(rhl@9.cn) 2021-03-25 22:18:47
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
日志
Error to render compiling AST
InternalError: current transaction is aborted, commands ignored until end of transaction block
Template: web.frontend_layout
Path: /t/html/head/script[2]/t
尝试了命令行升级,也是一样的错误。
目前不清楚是什么原因导致的
补充,命令行升级可以解决这个问题。
附加 -u all可以解决一些其他的奇奇怪怪的问题。