Skip to content

Commit

Permalink
[10.0][FIX] stock_cycle_count: use PERCENT
Browse files Browse the repository at this point in the history
  • Loading branch information
LoisRForgeFlow authored Aug 31, 2017
1 parent 8ba2f63 commit c4fa7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_cycle_count/models/stock_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _compute_inventory_accuracy(self):
PERCENT * (theoretical - abs_discrepancy) / theoretical,
0.0)
if not inv.line_ids and inv.state == 'done':
inv.inventory_accuracy = 100.0
inv.inventory_accuracy = PERCENT

cycle_count_id = fields.Many2one(
comodel_name='stock.cycle.count', string='Stock Cycle Count',
Expand Down

0 comments on commit c4fa7c0

Please sign in to comment.