How can I put a text(number to letters) across the entire width of the page, before amount_untaxed,
Use this cpde but it does not come out correctly. It should be glued to the left horizontally. It would be the description of the total invoice.
example:
Amount in letters. :
TWO HUNDRED FIFTY.
Thanks,
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="add_text_amount_to_invoice_form" model="ir.ui.view">
<field name="name">add.text.amount.to.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='amount_untaxed']" position="before">
<field name="text_amount"/>
</xpath>
</field>
</record>
</odoo>