Accept Merge Request #1289: (feature/update_production_line -> develop)
Merge Request: 修改计划排程单小时产能取值字段 Created By: @胡嘉莹 Reviewed By: @胡尧 Approved By: @胡尧 Accepted By: @胡嘉莹 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1289?initial=true
This commit is contained in:
@@ -223,7 +223,7 @@ class ResWorkcenter(models.Model):
|
|||||||
|
|
||||||
if plan_ids:
|
if plan_ids:
|
||||||
sum_qty = sum([p.product_qty for p in plan_ids])
|
sum_qty = sum([p.product_qty for p in plan_ids])
|
||||||
if sum_qty >= self.single_machine_capacity:
|
if sum_qty >= self.production_line_hour_capacity:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
'name': "sf_stock",
|
'name': "sf_stock",
|
||||||
|
|
||||||
'summary': """
|
'summary': """
|
||||||
Short (1 phrase/line) summary of the module's purpose, used as
|
处理代发货业务""",
|
||||||
subtitle on modules listing or apps.openerp.com""",
|
|
||||||
|
|
||||||
'description': """
|
'description': """
|
||||||
Long description of module's purpose
|
Long description of module's purpose
|
||||||
|
|||||||
Reference in New Issue
Block a user