Add module sale_mrp_usability (backport of a feature of v14)

This commit is contained in:
Alexis de Lattre
2021-05-27 23:58:03 +02:00
parent dbbd14f58a
commit 25a177eb76
8 changed files with 152 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ logger = logging.getLogger(__name__)
class ProcurementGroup(models.Model):
_inherit = 'procurement.group'
# this field stock_move_ids is native in v14
stock_move_ids = fields.One2many('stock.move', 'group_id', string="Related Stock Moves")
@api.model
def _procure_orderpoint_confirm(
self, use_new_cursor=False, company_id=False):