diff options
| author | mreficent <miquel.raich@eficent.com> | 2019-07-22 12:37:16 +0000 |
|---|---|---|
| committer | mreficent <miquel.raich@eficent.com> | 2019-07-22 12:37:16 +0000 |
| commit | a894bb590849a29cae01b81fd1b10b468b2ae751 (patch) | |
| tree | 94e36eee6f7b8e1a33074c352eb31cb4f23cf1a5 | |
| parent | f0455c74356243b3f401d25e9427b364d3f1c114 (diff) | |
[IMP] purchase_requisition: remove dead code from v11
The commit https://github.com/odoo/odoo/commit/d3dc5048e40d1aef693336d10ce582d39ce17337 from v11 should be removed, as in v12 becomes dead code because the commit https://github.com/odoo/odoo/commit/93ae1b1a041b6a36521263ff87ac980e6102551a deleted the _get_exceptions_domain method.
closes odoo/odoo#35256
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
| -rw-r--r-- | addons/purchase_requisition_stock/models/stock.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/addons/purchase_requisition_stock/models/stock.py b/addons/purchase_requisition_stock/models/stock.py index ee9b25b9701..54c9eae7049 100644 --- a/addons/purchase_requisition_stock/models/stock.py +++ b/addons/purchase_requisition_stock/models/stock.py @@ -6,14 +6,6 @@ from collections import defaultdict from odoo import api, fields, models -class ProcurementGroup(models.Model): - _inherit = 'procurement.group' - - @api.model - def _get_exceptions_domain(self): - return super(ProcurementGroup, self)._get_exceptions_domain() + [('requistion_line_ids', '=', False)] - - class StockRule(models.Model): _inherit = 'stock.rule' |
