Compare commits

..

1 Commits

Author SHA1 Message Date
clementmbr
3f06231c22 [FIX] Remove hard-coded width on product's title 2020-10-20 21:16:37 -03:00
2 changed files with 1 additions and 6 deletions

View File

@@ -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="//p[@t-field='o.origin']" position="replace"> <xpath expr="//div[@name='origin']/p" position="replace">
<p class="m-0" t-field="o.sale_dates"/> <p class="m-0" t-field="o.sale_dates"/>
</xpath> </xpath>
</template> </template>

View File

@@ -16,11 +16,6 @@
<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>