Skip to content

Commit

Permalink
[IMP] reagregamos para que el grupo account.group_account_invoice al …
Browse files Browse the repository at this point in the history
…campo journal_id tambien pueda cambiar el diario de facturacion
  • Loading branch information
maq-adhoc committed Jan 9, 2024
1 parent c598a37 commit 6fa682f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion account_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Account UX',
'version': "16.0.1.4.0",
'version': "16.0.1.5.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand Down
8 changes: 7 additions & 1 deletion account_ux/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@
<button name="%(action_account_change_currency)d" type="action" attrs="{'invisible':[('state','!=','draft')]}" icon="fa-pencil" class="btn-link" title="Change Currency" groups="base.group_multi_currency" />
<field name="other_currency" invisible="1"/>
</xpath>

<!-- agregamos para que el grupo account.group_account_invoice tambien pueda cambiar el diario de facturacion -->
<label for="journal_id" position="attributes">
<attribute name="groups" separator="," add="account.group_account_invoice" />
</label>
<xpath expr="//div[@name='journal_div']" position="attributes">
<attribute name="groups" separator="," add="account.group_account_invoice" />
</xpath>
</field>
</record>

Expand Down

0 comments on commit 6fa682f

Please sign in to comment.