[MIG] purchase_stock_usability to v16

This commit is contained in:
Alexis de Lattre
2022-10-27 22:04:17 +02:00
parent 367cb1af93
commit 71ebe2adea
3 changed files with 7 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
# Copyright (C) 2014-2021 Akretion (http://www.akretion.com) # Copyright 2014-2022 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com> # @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': 'Purchase Stock Usability', 'name': 'Purchase Stock Usability',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Purchases', 'category': 'Purchases',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Usability improvements on purchase_stock module', 'summary': 'Usability improvements on purchase_stock module',
@@ -14,7 +14,7 @@ Purchase Stock Usability
Several usability improvements on the official purchase_stock module: Several usability improvements on the official purchase_stock module:
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module. This module has been written by Alexis de Lattre from Akretion France.
""", """,
'author': 'Akretion', 'author': 'Akretion',
'website': 'http://www.akretion.com', 'website': 'http://www.akretion.com',
@@ -25,5 +25,5 @@ Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for
'data': [ 'data': [
'views/stock_picking.xml', 'views/stock_picking.xml',
], ],
'installable': False, 'installable': True,
} }

View File

@@ -1,4 +1,4 @@
# Copyright 2015-2021 Akretion France (http://www.akretion.com) # Copyright 2015-2022 Akretion France (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com> # @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2017-2021 Akretion (http://www.akretion.com/) Copyright 2017-2022 Akretion (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com> @author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
--> -->
@@ -14,7 +14,7 @@
<field name="inherit_id" ref="stock.view_picking_form"/> <field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="origin" position="after"> <field name="origin" position="after">
<field name="purchase_id" attrs="{'invisible': [('picking_type_code', '!=', 'incoming')]}"/> <field name="purchase_id" attrs="{'invisible': [('purchase_id', '=', False)]}"/>
</field> </field>
</field> </field>
</record> </record>