Compare commits

..

1 Commits

2 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
<odoo>
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//div[@name='origin']/p" position="replace">
<xpath expr="//p[@t-field='o.origin']" position="replace">
<p class="m-0" t-field="o.sale_dates"/>
</xpath>
</template>

View File

@@ -16,6 +16,11 @@
<field name="standard_price" class="oe_inline" position="after">
<button name="show_product_price_history" class="oe_inline oe_link" type="object" string="Show History" context="{'active_id': active_id}"/>
</field>
<!-- Don't make it too big, othesize computers with small resolutions
will see the product name + image under the block of buttons -->
<div class="oe_title" position="attributes">
<attribute name="style">width: 650px;</attribute>
</div>
</field>
</record>