[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>
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user