Skip to content

Commit

Permalink
[FIX] location barcode for compatibility with barcodes_generator_loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Clément Mombereau committed Nov 15, 2024
1 parent 9acf58b commit 9c3a10c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shopfloor/views/stock_location.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
<field name="inherit_id" ref="stock.view_location_form" />
<field name="arch" type="xml">
<!-- show barcode because it's handy -->
<xpath expr="//field[@name='location_id']/.." position="after">
<label for="barcode" />
<field name="barcode" />
<xpath expr="//group[@name='additional_info']" position="after">
<group name="barcode" string="Barcode">
<field name="barcode" />
</group>
</xpath>
<xpath expr="//group[@name='additional_info']/.." position="inside">
<group string="Shopfloor">
Expand Down

0 comments on commit 9c3a10c

Please sign in to comment.