mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP]stock_change_qty_reason: black, isort, prettier
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
../../../../stock_change_qty_reason
|
||||||
6
setup/stock_change_qty_reason/setup.py
Normal file
6
setup/stock_change_qty_reason/setup.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
||||||
@@ -40,8 +40,7 @@ class TestStockQuantityChangeReason(SavepointCase):
|
|||||||
return self.preset_reason_id.create({"name": name, "description": description})
|
return self.preset_reason_id.create({"name": name, "description": description})
|
||||||
|
|
||||||
def test_inventory_adjustment_onchange_reason_preset_reason(self):
|
def test_inventory_adjustment_onchange_reason_preset_reason(self):
|
||||||
""" Check that adding a reason or a preset reason explode to lines
|
"""Check that adding a reason or a preset reason explode to lines"""
|
||||||
"""
|
|
||||||
product2 = self._create_product("product_product_2")
|
product2 = self._create_product("product_product_2")
|
||||||
self._product_change_qty(product2, 50)
|
self._product_change_qty(product2, 50)
|
||||||
inventory = self.env["stock.inventory"].create(
|
inventory = self.env["stock.inventory"].create(
|
||||||
|
|||||||
Reference in New Issue
Block a user