[FIX] stock : Put In Pack button

Main changes:
    Change the style and postion of the Put In Pack Button on the
    stock.picking form view
Before:
    Button is aligned on the left and has the style primary
After:
    Button is aligned on the right and has the style secondary

closes odoo/odoo#140430

Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
This commit is contained in:
Mathias Mathy (MAMA)
2023-10-31 14:40:59 +00:00
parent f949af22ce
commit 64ca8398bb
+1 -1
View File
@@ -341,7 +341,7 @@
</field>
<field name="id" invisible="1"/>
<field name="package_level_ids" context="{'default_location_id': location_id, 'default_location_dest_id': location_dest_id, 'default_company_id': company_id}" invisible="not picking_type_entire_packs or show_operations" readonly="state == 'done'" />
<button class="oe_highlight" name="action_put_in_pack" type="object" string="Put in Pack" invisible="state in ('draft', 'done', 'cancel')" groups="stock.group_tracking_lot" data-hotkey="shift+g"/>
<button class="btn-secondary float-end" name="action_put_in_pack" type="object" string="Put in Pack" invisible="state in ('draft', 'done', 'cancel')" groups="stock.group_tracking_lot" data-hotkey="shift+g"/>
</page>
<page string="Additional Info" name="extra">
<group>