raise ValueError('External ID not found in the system: %s' % xmlid)

raise ValueError('External ID not found in the system: %s' % xmlid)

raise ValueError('External ID not found in the system: %s' % xmlid)

出现这种情况多半是动作放在了视图的前面

odoo视图的加载顺序从上到下,而非全部加载完视图,在执行

因此未能检索到放到动作下面的视图

这一点类似于Python的变量

要使用,必须先定义

而非先试用后定义

相关文章:

  • 2021-05-08
  • 2021-11-18
  • 2021-12-06
  • 2021-11-17
  • 2022-12-23
  • 2021-05-31
  • 2021-08-14
  • 2022-01-23
猜你喜欢
  • 2021-07-06
  • 2021-10-05
  • 2022-01-13
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案