changes
This commit is contained in:
@@ -21,6 +21,21 @@
|
||||
<field name="x_fc_receiving_count" widget="statinfo" string="Receiving"/>
|
||||
</button>
|
||||
</xpath>
|
||||
|
||||
<!-- Receive Parts header action — appears after SO confirmation
|
||||
while at least one receiving record is still open, and
|
||||
disappears once every receiving record is closed. Reuses
|
||||
the existing action_view_receiving method so a single
|
||||
receiving opens directly while multiples land on the list. -->
|
||||
<xpath expr="//header" position="inside">
|
||||
<field name="x_fc_show_receive_parts_btn" invisible="1"/>
|
||||
<button name="action_view_receiving"
|
||||
string="Receive Parts" type="object"
|
||||
class="btn o_fp_receive_parts_btn"
|
||||
icon="fa-archive"
|
||||
invisible="not x_fc_show_receive_parts_btn"
|
||||
help="Open the receiving record(s) for this order. Hidden automatically once all receiving records are closed."/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user