mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-27 01:12:06 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -5,17 +5,12 @@
|
|||
<field name="model">stock.picking</field>
|
||||
<field name="inherit_id" ref="stock.view_picking_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='button_validate'][hasclass('o_btn_validate')]" position="before">
|
||||
<field name="display_action_record_components" invisible="1"/>
|
||||
<button name="action_record_components" class="oe_highlight" attrs="{'invisible': [('display_action_record_components', '!=', 'mandatory')]}" string="Record components" type="object" data-hotkey="shift+x"/>
|
||||
<button name="action_record_components" attrs="{'invisible': [('display_action_record_components', '!=', 'facultative')]}" string="Record components" type="object" data-hotkey="shift+x"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='move_ids_without_package']//tree//button[@name='action_show_details']" position="after">
|
||||
<field name="show_subcontracting_details_visible" invisible="1"/>
|
||||
<button name="action_show_subcontract_details" string="Register components for subcontracted product" type="object" icon="fa-sitemap"
|
||||
width="0.1" attrs="{'invisible': [('show_subcontracting_details_visible', '=', False)]}"/>
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<field invisible="True" name="show_subcontracting_details_visible"/>
|
||||
<button name="action_show_subcontract_details" string="Subcontracting Productions"
|
||||
type="object" class="oe_stat_button" icon="fa-sitemap"
|
||||
invisible="not show_subcontracting_details_visible"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue