chore: session housekeeping — tank UX, plating menu defaults, WO label
- fusion_plating: tank field labels (Code → Tank Number, Tank → Tank Name) + state-control header buttons (Mark Empty/Filled/In Use/Draining/ Maintenance/Out of Service) with chatter audit logging. - fusion_plating_configurator: Plating app default landing screen = Sale Orders, while keeping menu name as 'Plating'. - fusion_plating_jobs: SO smart-button label 'Plating Jobs' → 'WO'. Already deployed and verified on entech earlier in the session. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,24 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Tank">
|
||||
<header>
|
||||
<button name="action_set_empty" type="object"
|
||||
string="Mark Empty" class="btn-secondary"
|
||||
invisible="state == 'empty'"/>
|
||||
<button name="action_set_filled" type="object"
|
||||
string="Mark Filled" class="btn-primary"
|
||||
invisible="state == 'filled'"/>
|
||||
<button name="action_set_in_use" type="object"
|
||||
string="Mark In Use" class="btn-success"
|
||||
invisible="state == 'in_use'"/>
|
||||
<button name="action_set_draining" type="object"
|
||||
string="Mark Draining" class="btn-warning"
|
||||
invisible="state == 'draining'"/>
|
||||
<button name="action_set_maintenance" type="object"
|
||||
string="Mark for Maintenance" class="btn-warning"
|
||||
invisible="state == 'maintenance'"/>
|
||||
<button name="action_set_out_of_service" type="object"
|
||||
string="Mark Out of Service" class="btn-danger"
|
||||
invisible="state == 'out_of_service'"/>
|
||||
<field name="state" widget="statusbar"
|
||||
statusbar_visible="empty,filled,in_use,draining,maintenance"/>
|
||||
</header>
|
||||
@@ -42,7 +60,7 @@
|
||||
<widget name="web_ribbon" title="Out of Service" bg_color="text-bg-danger"
|
||||
invisible="state != 'out_of_service'"/>
|
||||
<div class="oe_title">
|
||||
<label for="name"/>
|
||||
<label for="name" string="Tank Name"/>
|
||||
<h1><field name="name" placeholder="e.g. EN Plating Tank A1"/></h1>
|
||||
<div class="text-muted">
|
||||
<field name="code" placeholder="T-01"/>
|
||||
|
||||
Reference in New Issue
Block a user