Skip to content

Commit

Permalink
[IMP] product_pricelist_direct_print: Add advanced print button
Browse files Browse the repository at this point in the history
  • Loading branch information
bosd committed Feb 2, 2025
1 parent 00254e6 commit 95e8071
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,21 @@
sequence="200"
groups="product.group_product_pricelist"
/>
<record id="product_pricelist_form_view_inherited" model="ir.ui.view">
<field name="name">product.pricelist.form.view.inherited</field>
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view" />
<field name="arch" type="xml">
<xpath
expr="//button[@name='action_open_pricelist_report']"
position="after"
>
<button
string="Advanced Print"
name="product_pricelist_direct_print.action_product_pricelist_print"
type="action"
/>
</xpath>
</field>
</record>
</odoo>

0 comments on commit 95e8071

Please sign in to comment.