diff --git a/sf_manufacturing/models/mrp_workcenter.py b/sf_manufacturing/models/mrp_workcenter.py index 0a7e1d0e..b5ec7580 100644 --- a/sf_manufacturing/models/mrp_workcenter.py +++ b/sf_manufacturing/models/mrp_workcenter.py @@ -223,7 +223,7 @@ class ResWorkcenter(models.Model): if 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 True diff --git a/sf_stock/__manifest__.py b/sf_stock/__manifest__.py index f22004e5..40f9113b 100644 --- a/sf_stock/__manifest__.py +++ b/sf_stock/__manifest__.py @@ -3,8 +3,7 @@ 'name': "sf_stock", 'summary': """ - Short (1 phrase/line) summary of the module's purpose, used as - subtitle on modules listing or apps.openerp.com""", + 处理代发货业务""", 'description': """ Long description of module's purpose