Skip to content

Commit

Permalink
wms_connector_picking_batch: adds field to stock_picking_batch
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzPoize committed May 30, 2024
1 parent 842915d commit c2f6b77
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions wms_connector_picking_batch/views/stock_picking_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>

<record model="ir.ui.view" id="stock_picking_form_view">
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form" />
<record model="ir.ui.view" id="stock_picking_batch_form_view">
<field name="model">stock.picking.batch</field>
<field name="inherit_id" ref="stock_picking_batch.stock_picking_batch_form" />
<field name="arch" type="xml">
<header position="inside">
<field name="is_wms_exportable" invisible="True" />
Expand Down Expand Up @@ -35,23 +35,23 @@
external WMS"
/>
</header>
<field name="date_done" position="before">
<field name="scheduled_date" position="before">
<field name="is_wms_exportable" invisible="1"/>
<field
name="wms_export_date"
attrs="{'invisible': [('is_wms_exportable', '=', False)]}"
/>
</field>
<field name="group_id" position="after">
<field
name="wms_export_attachment_id"
attrs="{'invisible': [('wms_export_attachment_id', '=', False)]}"
/>
<field
name="wms_import_attachment_id"
attrs="{'invisible': [('wms_import_attachment_id', '=', False)]}"
/>
</field>
<!-- <field name="group_id" position="after"> -->
<!-- <field -->
<!-- name="wms_export_attachment_id" -->
<!-- attrs="{'invisible': [('wms_export_attachment_id', '=', False)]}" -->
<!-- /> -->
<!-- <field -->
<!-- name="wms_import_attachment_id" -->
<!-- attrs="{'invisible': [('wms_import_attachment_id', '=', False)]}" -->
<!-- /> -->
<!-- </field> -->
<header position="after">
<div
class="alert alert-danger"
Expand Down

0 comments on commit c2f6b77

Please sign in to comment.