Replace stock_lot to stock_lot_deactivatable depends

This commit is contained in:
Raimon Esteve 2020-12-23 15:30:26 +01:00
parent 04ab47e8a6
commit d4dcb0d249
3 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<!-- This file is part party_comment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<tryton>
<data depends='stock'>
<data depends="stock">
<record model="ir.ui.view" id="party_view_form">
<field name="model">party.party</field>
<field name="inherit" ref="party.party_view_form"/>

View File

@ -1,5 +1,8 @@
<?xml version="1.0"?>
<!-- This file is part party_comment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<tryton>
<data depends="production, stock_lot">
<data depends="production,stock_lot_deactivatable">
<record model="ir.ui.view" id="template_production_view_form">
<field name="model">product.template</field>
<field name="inherit" ref="product.template_view_form"/>

View File

@ -18,6 +18,7 @@
<field name="user" ref="res.user_admin"/>
<field name="group" ref="group_quality_control"/>
</record>
<!-- rules -->
<record model="ir.rule.group" id="rule_group_quality">
<field name="name">User in company</field>