添加功能
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<field name="allocation_type" optional="hide"/>
|
||||
<field name="is_void" optional="hide"/>
|
||||
<field name="text"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary" groups="yuthon_holiday.group_yuthon_holiday_admin"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
@@ -69,7 +69,7 @@
|
||||
<field name="meal_number" column_invisible="1"/>
|
||||
<field name="is_void" optional="hide"/>
|
||||
<field name="text"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary" groups="yuthon_holiday.group_yuthon_holiday_admin"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
@@ -86,7 +86,7 @@
|
||||
<field name="adjust_date"/>
|
||||
<field name="is_void" optional="hide"/>
|
||||
<field name="text"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary" groups="yuthon_holiday.group_yuthon_holiday_admin"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
@@ -103,6 +103,7 @@
|
||||
<field name="adjust_date"/>
|
||||
<field name="is_void" optional="hide"/>
|
||||
<field name="text"/>
|
||||
<button name="unlink" string="删除" invisible="workflow_record_id" type="object" class="btn-primary" groups="yuthon_holiday.group_yuthon_holiday_admin"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user