def report(self, amount, days_ago): return _stock_report( self.sp._id, self.products[0]._id, amount, days_ago )
def report(self, amount, days_ago): return _stock_report( self.domain.name, self.sp.case_id, self.products[0]._id, amount, days_ago )
def report(self, amount, days_ago): return _stock_report( self.domain, self.sp.case_id, self.products[0]._id, amount, days_ago )