parent
e50798e544
commit
c168d4dc13
2
plan.py
2
plan.py
|
@ -214,7 +214,7 @@ class Plan(ModelSQL, ModelView):
|
|||
if product_lines:
|
||||
key = 'task_product_lines_will_be_removed.%d' % product_lines[0].id
|
||||
if Warning.check(key):
|
||||
raise UserWarning('remove_product_lines',
|
||||
raise UserWarning(key,
|
||||
gettext('product_cost_plan.product_lines_will_be_removed'))
|
||||
ProductLine.delete(product_lines)
|
||||
|
||||
|
|
Loading…
Reference in New Issue