Skip to content

Commit

Permalink
[MIG] account_menu_invoice_refund: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoBM committed Feb 10, 2023
1 parent 38a63a6 commit a8f65ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion account_menu_invoice_refund/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Account Menu - Invoice & Refund",
"version": "13.0.1.0.0",
"version": "16.0.1.0.0",
"summary": "New invoice menu that combine invoices and refunds",
"category": "Accounting & Finance",
"author": "Ecosoft, " "Odoo Community Association (OCA)",
Expand Down
10 changes: 6 additions & 4 deletions account_menu_invoice_refund/views/account_invoice_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
<field name="res_model">account.move</field>
<field name="view_mode">tree,form</field>
<field eval="False" name="view_id" />
<field name="domain">[('type', 'in', ('out_invoice', 'out_refund'))]</field>
<field name="context">{'type':'out_invoice', 'journal_type': 'sale'}</field>
<field
name="domain"
>[('move_type', 'in', ('out_invoice', 'out_refund'))]</field>
<field name="context">{'default_move_type':'out_invoice'}</field>
<field name="search_view_id" ref="account.view_account_invoice_filter" />
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Expand Down Expand Up @@ -43,8 +45,8 @@
<field name="res_model">account.move</field>
<field name="view_mode">tree,form</field>
<field eval="False" name="view_id" />
<field name="domain">[('type', 'in', ('in_invoice', 'in_refund'))]</field>
<field name="context">{'type':'in_invoice', 'journal_type': 'purchase'}</field>
<field name="domain">[('move_type', 'in', ('in_invoice', 'in_refund'))]</field>
<field name="context">{'default_move_type':'in_invoice'}</field>
<field name="search_view_id" ref="account.view_account_invoice_filter" />
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Expand Down

0 comments on commit a8f65ba

Please sign in to comment.