Skip to content

Commit

Permalink
[MIG] account_invoice_partial: Migration to 17.0
Browse files Browse the repository at this point in the history
closes #173

Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
rov-adhoc committed Dec 13, 2023
1 parent 8fad14f commit 8a6debc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion account_invoice_partial/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
Account Invoice Partial
=======================

Module that add a button an costumer Invoice opening a wizards to invoce by percentage.
Module that adds a button on the Customer Invoice,
which allows you to select a percentage to be invoiced,
the decimal precision and the rounding method.


Installation
Expand Down
4 changes: 2 additions & 2 deletions account_invoice_partial/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Account Invoice Partial',
'version': "16.0.1.0.0",
'version': "17.0.1.0.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand All @@ -38,7 +38,7 @@
],
'demo': [
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
}
7 changes: 6 additions & 1 deletion account_invoice_partial/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<button name="action_post" position="after">
<button name="%(action_account_invoice_partial_wizard_form)d" states="draft" string="Invoice Percentage" type="action"/>
<button
name="%(action_account_invoice_partial_wizard_form)d"
invisible="state != 'draft' or move_type not in ('out_invoice', 'out_refund')"
string="Invoice Percentage"
type="action"
/>
</button>
</field>
</record>
Expand Down

0 comments on commit 8a6debc

Please sign in to comment.