diff options
| author | amoyaux <arm@odoo.com> | 2017-09-06 11:26:09 +0200 |
|---|---|---|
| committer | amoyaux <arm@odoo.com> | 2017-09-08 17:08:07 +0200 |
| commit | f50d73237399ddfc9ec48ac55ebc32754ecf52bb (patch) | |
| tree | f91fc64c79edc9ee3bd44a46bad289da2d765322 /addons/stock/models/procurement.py | |
| parent | c914df5a369eb49e4e72a698c0811200b5825f22 (diff) | |
[IMP] stock, purchase: improve usererror messages.
This commit add some steps in description in order to
correct the mistake.
Diffstat (limited to 'addons/stock/models/procurement.py')
| -rw-r--r-- | addons/stock/models/procurement.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/models/procurement.py b/addons/stock/models/procurement.py index 57f969d8542..bcc9dcbd2c8 100644 --- a/addons/stock/models/procurement.py +++ b/addons/stock/models/procurement.py @@ -183,7 +183,7 @@ class ProcurementGroup(models.Model): rule = self._get_rule(product_id, location_id, values) if not rule: - raise UserError(_('No procurement rule found.')) + raise UserError(_('No procurement rule found. Please verify the configuration of your routes')) getattr(rule, '_run_%s' % rule.action)(product_id, product_qty, product_uom, location_id, name, origin, values) return True |
