Compare commits
1 Commits
12.0-remov
...
12.0-fix-a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f6acea23d |
@@ -2,7 +2,7 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
|
<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"/>
|
<p class="m-0" t-field="o.sale_dates"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -16,6 +16,11 @@
|
|||||||
<field name="standard_price" class="oe_inline" position="after">
|
<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}"/>
|
<button name="show_product_price_history" class="oe_inline oe_link" type="object" string="Show History" context="{'active_id': active_id}"/>
|
||||||
</field>
|
</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>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user