[IMP] : black, isort, prettier

This commit is contained in:
Kitti U
2021-04-19 15:52:18 +07:00
parent 9ad505d702
commit 9350f93e62
7 changed files with 25 additions and 15 deletions

View File

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

View File

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

View File

@@ -6,7 +6,7 @@
"summary": "Internal request for stock",
"version": "13.0.1.3.1",
"license": "LGPL-3",
"website": "https://github.com/stock-logistics-warehouse",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"category": "Warehouse Management",
"depends": ["stock"],

View File

@@ -113,7 +113,9 @@ class StockRequest(models.Model):
help="Quantity cancelled",
)
picking_count = fields.Integer(
string="Delivery Orders", compute="_compute_picking_ids", readonly=True,
string="Delivery Orders",
compute="_compute_picking_ids",
readonly=True,
)
allocation_ids = fields.One2many(
comodel_name="stock.request.allocation",

View File

@@ -57,7 +57,8 @@ class StockRequestAllocation(models.Model):
"in the default UoM of the product",
)
open_product_qty = fields.Float(
"Open Quantity", compute="_compute_open_product_qty",
"Open Quantity",
compute="_compute_open_product_qty",
)
@api.depends(