102
102
def _get_last_invoice_price_func(states, what):
104
103
def _last_invoice_price(self, cr, uid, ids, name, arg, context):
105
104
return self._product_get_price(cr, uid, ids, False, False, False, context, states, what)
106
105
return _last_invoice_price