你能帮助我了解字段.函数通过这个密码?在
'progress': fields.function(_hours_get, string='Working Time Progress (%)', multi='hours', group_operator="avg", help="If the task has a progress of 99.99% you should close the task if it's finished or reevaluate the time",
store = {
'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours', 'state', 'stage_id'], 10),
'project.task.work': (_get_task, ['hours'], 10),
}),
我需要了解他们。 希望得到回应。 谢谢并致以诚挚的问候
我给你举个简单的例子来理解字段.函数. 在
示例:
\u check_bool函数检查字段“bool”是否为真或假,并对字段“check_bool”执行相同的操作。如果您有问题,我在此为您提供帮助。在
相关问题 更多 >
编程相关推荐