销售订单行的交货截止日期改为客户交期
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user