Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion purchase_ux/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="model">account.move</field>
<field name="inherit_id" ref="purchase.view_move_form_inherit_purchase"/>
<field name="arch" type="xml">
<field name="invoice_line_ids" position="before">
<field name="invoice_line_ids" position="after">
<button name="add_purchase_line_moves" type="object" string="Add Purchase Lines" attrs="{'invisible': ['|',('state', '!=', 'draft'),('move_type', 'not in', ['in_invoice','in_refund'])]}"/>
<button name="update_prices_with_supplier_cost" string="Update Supplier Prices" type="object" confirm="By accepting they will update (or create prices) for this provider and all products loaded on the invoice. Are you sure you wish to continue?" attrs="{'invisible': [('move_type', 'not in', ['in_invoice','in_refund'])]}"/>
</field>
Expand Down