控制cnc只能看到cnc产线;增加必填标识
This commit is contained in:
@@ -42,6 +42,8 @@ const filedRequiredList = {
|
|||||||
// 制造大模块
|
// 制造大模块
|
||||||
'production_line_id': { multiple: false, noLabel: false },
|
'production_line_id': { multiple: false, noLabel: false },
|
||||||
'date_approve': { multiple: false, noLabel: false },
|
'date_approve': { multiple: false, noLabel: false },
|
||||||
|
'date_planned_start': { multiple: false, noLabel: false },
|
||||||
|
'date_planned_finished': { multiple: false, noLabel: false },
|
||||||
}
|
}
|
||||||
patch(FormStatusIndicator.prototype, 'jikimo_frontend.FormStatusIndicator', {
|
patch(FormStatusIndicator.prototype, 'jikimo_frontend.FormStatusIndicator', {
|
||||||
// 你可以重写或者添加一些方法和属性
|
// 你可以重写或者添加一些方法和属性
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
<field name="order_deadline"/>
|
<field name="order_deadline"/>
|
||||||
<!-- <field name="process_time"/> -->
|
<!-- <field name="process_time"/> -->
|
||||||
<field name="schedule_setting"/>
|
<field name="schedule_setting"/>
|
||||||
<field name="production_line_id"/>
|
<field name="production_line_id" domain="[('name', 'ilike', 'CNC')]"/>
|
||||||
|
|
||||||
|
|
||||||
<!-- Chatter -->
|
<!-- Chatter -->
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form>
|
<form>
|
||||||
<group>
|
<group>
|
||||||
<field name="production_line_id"/>
|
<field name="production_line_id" domain="[('name', 'ilike', 'CNC')]"/>
|
||||||
</group>
|
</group>
|
||||||
<footer>
|
<footer>
|
||||||
<button string="确认排程" name="action_plan_all" type="object" class="btn-primary"/>
|
<button string="确认排程" name="action_plan_all" type="object" class="btn-primary"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user