19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:47 +01:00
parent accf5918df
commit 6e65e8c877
688 changed files with 225434 additions and 199401 deletions

View file

@ -0,0 +1,11 @@
from odoo import models
class StockMove(models.Model):
_inherit = 'stock.move'
def _prepare_phantom_move_values(self, bom_line, product_qty, quantity_done):
vals = super()._prepare_phantom_move_values(bom_line, product_qty, quantity_done)
if self.repair_id:
vals['repair_id'] = self.repair_id.id
return vals