-
-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] stock_request_tier_validation: Migration to 15.0
- Loading branch information
Showing
7 changed files
with
30 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 25 additions & 30 deletions
55
stock_request_tier_validation/data/stock_request_tier_definition.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!-- Copyright 2019 ForgeFlow S.L. | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="stock_request_default_tier_definition" model="tier.definition"> | ||
<field name="name">Manager review</field> | ||
<field name="model_id" ref="model_stock_request" /> | ||
<field name="definition_type">domain</field> | ||
<field name="definition_domain" /> | ||
<field name="review_type">group</field> | ||
<field | ||
name="reviewer_group_id" | ||
ref='stock_request.group_stock_request_manager' | ||
/> | ||
<field name="active">False</field> | ||
</record> | ||
<record | ||
id="stock_request_order_default_tier_definition" | ||
model="tier.definition" | ||
> | ||
<field name="name">Manager review</field> | ||
<field name="model_id" ref="model_stock_request_order" /> | ||
<field name="definition_type">domain</field> | ||
<field name="definition_domain" /> | ||
<field name="review_type">group</field> | ||
<field | ||
name="reviewer_group_id" | ||
ref='stock_request.group_stock_request_manager' | ||
/> | ||
<field name="active">False</field> | ||
</record> | ||
</data> | ||
<odoo noupdate="1"> | ||
<record id="stock_request_default_tier_definition" model="tier.definition"> | ||
<field name="name">Manager review</field> | ||
<field name="model_id" ref="model_stock_request" /> | ||
<field name="definition_type">domain</field> | ||
<field name="definition_domain" /> | ||
<field name="review_type">group</field> | ||
<field | ||
name="reviewer_group_id" | ||
ref='stock_request.group_stock_request_manager' | ||
/> | ||
<field name="active">False</field> | ||
</record> | ||
<record id="stock_request_order_default_tier_definition" model="tier.definition"> | ||
<field name="name">Manager review</field> | ||
<field name="model_id" ref="model_stock_request_order" /> | ||
<field name="definition_type">domain</field> | ||
<field name="definition_domain" /> | ||
<field name="review_type">group</field> | ||
<field | ||
name="reviewer_group_id" | ||
ref='stock_request.group_stock_request_manager' | ||
/> | ||
<field name="active">False</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters