summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1/manufacture.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-10-13 16:43:59 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-10-13 16:43:59 +0700
commit3a5b05bee24feaadc8d6b5fe078fd6cf56989ba7 (patch)
tree435617837217f4869c1eb5acb50b625da4331b31 /indoteknik_api/controllers/api_v1/manufacture.py
parent47be053bafe8e212e7c98332666819e65428c4e3 (diff)
parent6029c9e3a0b42a6faef373e6dd2f5bf57cef17a0 (diff)
Fix price and update product response API
Diffstat (limited to 'indoteknik_api/controllers/api_v1/manufacture.py')
-rw-r--r--indoteknik_api/controllers/api_v1/manufacture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/manufacture.py b/indoteknik_api/controllers/api_v1/manufacture.py
index 3cb6ed0f..ba2e3be9 100644
--- a/indoteknik_api/controllers/api_v1/manufacture.py
+++ b/indoteknik_api/controllers/api_v1/manufacture.py
@@ -24,7 +24,7 @@ class Manufacture(controller.Controller):
product_variants = request.env['product.product'].search([('public_categ_ids', '=', int(category_id))])
manufacture_ids = [x.x_manufacture.id for x in product_variants]
else:
- return self.response(code=400, description='data not found')
+ return self.response(code=400, description='page possible value is flash-sale, category')
manufactures = request.env['x_manufactures'].search([('id', 'in', manufacture_ids)])
data = []