if self.rule_type == "periodic":
self.rule_description = self.env._(
"Ensures that at least a defined number "
"of counts in a given period will "
"be run."
)
elif self.rule_type == "turnover":
self.rule_description = self.env._(
"Schedules a count every time the total "
"turnover of a location exceeds the "
"threshold. This considers every "
"product going into/out of the location"
)
elif self.rule_type == "accuracy":
self.rule_description = self.env._(
"Schedules a count every time the "
"accuracy of a location goes under a "
"given threshold."
)
elif self.rule_type == "zero":
self.rule_description = self.env._(
"Perform an Inventory Adjustment every "
"time a location in the warehouse runs "
"out of stock in order to confirm it is "
"truly empty."
)
else:
self.rule_description = self.env._("(No description provided.)")
|