销售订单行的交货截止日期改为客户交期

This commit is contained in:
yuxianghui
2025-06-18 17:00:16 +08:00
parent 84846fb3da
commit 790dd3dd05
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ class ResaleOrderLine(models.Model):
manual_quotation = fields.Boolean('人工编程', default=False) manual_quotation = fields.Boolean('人工编程', default=False)
model_url = fields.Char('模型文件地址') model_url = fields.Char('模型文件地址')
model_id = fields.Char('模型ID') model_id = fields.Char('模型ID')
delivery_end_date = fields.Date('货截止日') delivery_end_date = fields.Date('客户交期')
@api.depends('embryo_redundancy_id') @api.depends('embryo_redundancy_id')
def _compute_is_incoming_material(self): def _compute_is_incoming_material(self):

View File

@@ -141,7 +141,7 @@
<attribute name="optional">hide</attribute> <attribute name="optional">hide</attribute>
</xpath> </xpath>
<xpath expr="//field[@name='order_line']/tree/field[@name='remark']" position="before"> <xpath expr="//field[@name='order_line']/tree/field[@name='remark']" position="before">
<field name="delivery_end_date" optional="hide"/> <field name="delivery_end_date" optional="show"/>
</xpath> </xpath>
<field name="user_id" position="attributes"> <field name="user_id" position="attributes">