Skip to content

Commit

Permalink
Merge pull request #1072 from Code-137/fix/eletronic_document
Browse files Browse the repository at this point in the history
[FIX] l10n_br_eletronic_document: #1070
  • Loading branch information
danimaribeiro authored Apr 22, 2021
2 parents 206ee2e + 72489e8 commit 154c6ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_br_eletronic_document/views/account_move.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<field name="total_edocs" /> <span> NFEs</span>
</button>
</div>
<button name="action_invoice_register_payment" position="before">
<button name="action_register_payment" position="before">
<button name="action_create_eletronic_document" type="object" string="Criar nota fiscal" attrs="{'invisible':['|', ('state', '!=', 'posted'), ('l10n_br_edoc_policy', '=', 'directly')]}" class="oe_highlight" groups="base.group_user"/>
</button>
<field name="fiscal_position_id" position="after">
Expand All @@ -20,4 +20,4 @@
</field>
</record>

</odoo>
</odoo>

0 comments on commit 154c6ef

Please sign in to comment.