i created a price field as float field and added monetary in xml,like below
in py:
lst_price = fields.Float('List Price',related=False,digits=dp.get_precision('Product Price'))
in xml:
<field name="lst_price" style="text-align:right;padding-right:3px !important;width:20% !important;" widget='monetary' options="{'currency_field': 'currency_id'}"/>
so it will show a currency symbol,i aligned the text field to right in the xml line.
but when i click on the form it will go to edit mode and the text will move to left.how to set the text field to right for both view mode and edit mode?
How to align left Odoo fields [float, integer] in tree views: https://goo.gl/Wz5KEW