credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #03339
[Bug 912189] Re: [6.1]function field can't have a function field in invalidation function
** Summary changed:
- function field can't have a function field in invalidation function
+ [6.1]function field can't have a function field in invalidation function
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/912189
Title:
[6.1]function field can't have a function field in invalidation
function
Status in OpenERP Server:
New
Bug description:
In stock_picking, I added a new function field : delivery_date.
'delivery_date': fields.function(_get_delivery_date, string='Delivery Date', type="datetime",
store= {
'delivery.carrier':(_get_picking_from_delivery, ['delivery_lead_time'], 10),
'stock.picking':(lambda self, cr, uid, ids, c=None: ids, ['carrier_id','max_date'], 10),
}
This field has to be update when max_date changes.
But max_date is a function field as well.
When the field max_date is updated, the new function field is not updated.
Best regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/912189/+subscriptions
References