制造订单采购申请查询问题

This commit is contained in:
liaodanlong
2025-04-21 14:35:57 +08:00
parent 77478fd173
commit 9f9c08b1f0
3 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ from odoo.exceptions import UserError, ValidationError
from odoo.tools import float_compare, float_round, float_is_zero, format_datetime
class PurchaseRequestLine(models.Model):
_inherit = 'purchase.request'
is_subcontract = fields.Boolean(string='是否外协',default=False)
class PurchaseRequestLine(models.Model):
_inherit = 'purchase.request.line'
is_subcontract = fields.Boolean(string='是否外协')