mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_orderpoint_generator: black, isort, prettier
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
../../../../stock_orderpoint_generator
|
||||||
6
setup/stock_orderpoint_generator/setup.py
Normal file
6
setup/stock_orderpoint_generator/setup.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
||||||
@@ -285,7 +285,8 @@ class TestOrderpointGenerator(SavepointCase):
|
|||||||
|
|
||||||
def wizard_over_products(self, product, template):
|
def wizard_over_products(self, product, template):
|
||||||
return self.wizard_model.with_context(
|
return self.wizard_model.with_context(
|
||||||
active_model=product._name, active_ids=product.ids,
|
active_model=product._name,
|
||||||
|
active_ids=product.ids,
|
||||||
).create({"orderpoint_template_id": [(6, 0, template.ids)]})
|
).create({"orderpoint_template_id": [(6, 0, template.ids)]})
|
||||||
|
|
||||||
def test_product_orderpoint(self):
|
def test_product_orderpoint(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user