Skip to content

Commit

Permalink
[FIX] l10n_uy_edi_stock: Re print PDF button
Browse files Browse the repository at this point in the history
Should be visible when the invoice is has been process by DGI/Uruware
  • Loading branch information
zaoral committed Oct 7, 2024
1 parent 80098dd commit 84af0ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_uy_edi_stock/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": """Uruguay - E-Remitos""",
'version': "16.0.1.1.0",
'version': "16.0.1.2.0",
'category': 'Accounting/Localizations/EDI',
'sequence': 12,
'author': 'Adhoc',
Expand Down
2 changes: 1 addition & 1 deletion l10n_uy_edi_stock/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<button name="action_l10n_uy_get_dgi_state" type="object" string="(UY) Consult DGI State" class="oe_link" colspan="2" attrs="{'invisible': [('l10n_uy_cfe_state', '!=', 'received')]}" icon="fa-refresh"/>
<button name="action_l10n_uy_get_pdf" type="object" string="(UY) Print Legal PDF" class="oe_link" colspan="2" attrs="{
'invisible': [('l10n_uy_cfe_state', 'not in', ['received'])]}" icon="fa-print"/>
'invisible': [('l10n_uy_cfe_state', 'not in', ['received', 'accepted', 'rejected'])]}" icon="fa-print"/>

</xpath>

Expand Down

0 comments on commit 84af0ba

Please sign in to comment.