零件图号零件名称

This commit is contained in:
liaodanlong
2024-12-20 14:59:26 +08:00
parent c0db279414
commit 091b9940ef

View File

@@ -10,7 +10,6 @@ from odoo.tools import OrderedSet
# _get_surface_technics_purchase_ids
class PurchaseOrder(models.Model):
_inherit = 'purchase.order'
def button_confirm(self):
super().button_confirm()
workorders = self.env['mrp.workorder'].search([('purchase_id', '=', self.id)])