Hello there,
I'm trying to understand a custom module for a customer.
What is this kind of "store" in this field declaration?
Usually, the store parameter takes the value False or True...
How do you name it? How to get info about this?
'to_invoice_hours': fields.function(_to_invoice_hours_get, string='Hours To Invoice',
store = {
'project.task': (lambda self, cr, uid, ids, c={}: ids, ['timesheet_ids'], 10),
'account.analytic.line': (_get_task, ['task_id', 'unit_amount'], 10), })
Thanks for your comments.