예제 #1
0
 def report(self, amount, days_ago):
     return _stock_report(
         self.sp._id,
         self.products[0]._id,
         amount,
         days_ago
     )
예제 #2
0
 def report(self, amount, days_ago):
     return _stock_report(
         self.domain.name,
         self.sp.case_id,
         self.products[0]._id,
         amount,
         days_ago
     )
예제 #3
0
 def report(self, amount, days_ago):
     return _stock_report(
         self.domain,
         self.sp.case_id,
         self.products[0]._id,
         amount,
         days_ago
     )