我更改了一个视图的名称,然后odoo拒绝启动并给出错误:
‘'MissingError',’您要访问的文档之一已被删除,请刷新后重试。
我有这样一行代码: record model = "ir.ui.view“id = "project_view”
并将其更改为: record model = "ir.ui.view“id = "project_viewa”
在再次更改后,我仍然得到相同的错误(在多次重新启动之后)。
刷新odoo到底是什么意思?
谢谢。
我试图注册付款,但收到了这样的错误:
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: name - name]
在服务器日志中呈现这样记录:
2017-12-22 17:03
我已经定义了这些领域:
'date_beg': fields.selection([(num, str(num)) for num in range(1900, (datetime.now().year)+1 )], 'Año inicial'),
'date_end': fields.selection([(num, str(num)) for num in range(1900, (datetime.now().year)+1 )], 'Año final'),
它们在我的表中生成整数变量:
ID date
我想继承Odoo11模块的"hr.holiday“日历视图,然后将公共假日插入到日历中。
目前,我的公共假日模型如下:
class PublicHoliday(models.Model):
_name = 'hr.public.holiday'
_description = 'Public Holidays'
name = fields.Char(string='Holiday Name', compute="_compute_name", required=True)
year = fi