← Back to team overview

openerp-india team mailing list archive

[Bug 912189] Re: [6.1]function field can't have a function field in invalidation function

 

[Expired for OpenERP Server because there has been no activity for 60
days.]

** Changed in: openobject-server
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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:
  Expired

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