Skip to content

Commit

Permalink
[FIX] Remove unnecessary replace and included priority in view to avo…
Browse files Browse the repository at this point in the history
…id inherit errors.
  • Loading branch information
mbcosta committed May 28, 2021
1 parent 5f53f6e commit 854a329
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions l10n_br_account_payment_order/views/account_payment_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
<record id="l10n_br_account_payment_order_form" model="ir.ui.view">
<field name="name">l10n_br_account.payment.order.form</field>
<field name="model">account.payment.order</field>
<field name="priority">99</field>
<field name="inherit_id" ref="account_payment_order.account_payment_order_form"/>
<field name="arch" type="xml">
<field name="payment_line_ids" position="replace">
<field name="payment_line_ids" context="{'default_payment_type': payment_type}"/>
<field name="payment_line_ids" position="attributes">
<attribute name="context">{'default_payment_type': payment_type}</attribute>
</field>
<div class="oe_title" position="before">
<div class="alert alert-info" role="alert"
Expand Down

0 comments on commit 854a329

Please sign in to comment.