[14.0][MIG] stock_cycle_count: black, isort, prettier

This commit is contained in:
Mateu Griful
2021-09-09 15:27:58 +02:00
parent e6b09ba1dc
commit fb03c2dd3a
3 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1 @@
../../../../stock_cycle_count

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@@ -77,9 +77,9 @@ class StockWarehouse(models.Model):
}
def action_compute_cycle_count_rules(self):
""" Apply the rule in all the sublocations of a given warehouse(s) and
"""Apply the rule in all the sublocations of a given warehouse(s) and
returns a list with required dates for the cycle count of each
location """
location"""
for rec in self:
proposed_cycle_counts = []
rules = rec._cycle_count_rules_to_compute()