[MIG] stock_usability_akretion to v18

This commit is contained in:
Alexis de Lattre
2024-12-30 12:18:32 +01:00
parent 37fb616524
commit b9d313fa8c
24 changed files with 145 additions and 231 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 Akretion France (http://www.akretion.com/)
Copyright 2022-2024 Akretion France (https://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
@@ -9,14 +9,14 @@
<record id="stock.action_production_lot_form" model="ir.actions.act_window">
<!-- remove from context 'search_default_group_by_product': 1-->
<field name="context">{'display_complete': True, 'default_company_id': allowed_company_ids[0]}</field>
<!-- remove from context 'search_default_group_by_location': 1-->
<field name="context">{'display_complete': True}</field>
</record>
<record id="stock_move_line_from_lot_action" model="ir.actions.act_window">
<field name="name">Product Moves</field>
<field name="res_model">stock.move.line</field>
<field name="view_mode">tree,kanban,pivot,form</field>
<field name="view_mode">list,kanban,pivot,form</field>
<field name="domain">[('lot_id', '=', active_id)]</field>
<field name="context">{'search_default_done': 1, 'create': 0}</field>
</record>