Skip to content

Commit

Permalink
[MIG] purchase_exception: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yankinmax committed Jan 21, 2025
1 parent 18f0d1d commit 27ba6ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion purchase_exception/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Purchase Exception",
"summary": "Custom exceptions on purchase order",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Generic Modules/Purchase",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
Expand Down
2 changes: 0 additions & 2 deletions purchase_exception/data/purchase_exception_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<field name="user_id" ref="base.user_root" />
<field name="interval_number">20</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="active" eval="False" />
</record>
<record id="po_excep_no_email" model="exception.rule">
Expand Down
6 changes: 3 additions & 3 deletions purchase_exception/views/purchase_view.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<odoo>
<record id="action_purchase_test_tree" model="ir.actions.act_window">
<record id="action_purchase_test_list" model="ir.actions.act_window">
<field name="name">Purchase Exception Rules</field>
<field name="res_model">exception.rule</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="base_exception.view_exception_rule_tree" />
<field name="view_id" ref="base_exception.view_exception_rule_list" />
<field
name="domain"
>[('model', 'in', ['purchase.order', 'purchase.order.line'])]</field>
Expand All @@ -13,7 +13,7 @@
>{'active_test': False, 'default_model' : 'purchase.order'}</field>
</record>
<menuitem
action="action_purchase_test_tree"
action="action_purchase_test_list"
id="menu_purchase_test"
parent="purchase.menu_purchase_config"
/>
Expand Down

0 comments on commit 27ba6ad

Please sign in to comment.