See image for better idea.
<span t-field="o.amount_total"/>
Image is not display here so I have putted shareable link.
see link: https://drive.google.com/file/d/0B763E4hoUk59QjI0S0pqMG5CakE/view?usp=sharing
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
See image for better idea.
<span t-field="o.amount_total"/>
Image is not display here so I have putted shareable link.
see link: https://drive.google.com/file/d/0B763E4hoUk59QjI0S0pqMG5CakE/view?usp=sharing
Hello Jaydeep bhai...
I have done same thing in sale order report with monetary field.
<span t-field="doc.amount_total" t-field-options="{"widget": "False"}"/>
Hope this will help you...
Try this,
<span t-esc="float(o.amount_total)"/>
Hello CatsandDogs, Is it possible through ?
<span t-field="o.amount_total"/>
I think, is not possible way to achieve that
Try, this one
In .py
_columns = { 'amount' : fields.float("amount", digits_compute=dp.get_precision('Account')) 'company_id': fields.many2one('res.company', 'Company', required=True), 'company_currency_id': fields.related('company_id','currency_id',type="many2one", relation="res.currency",string="Company Currency",readonly=True,store=True), }
In .xml,<field name="company_currency_id" invisible="1"/><field name="amount" widget="monetary" options="{'currency_field': 'company_currency_id'}"/>
thanks
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
янв. 24
|
2586 | |||
|
1
июн. 23
|
5299 | |||
|
1
апр. 22
|
10342 | |||
|
1
нояб. 21
|
6962 | |||
|
2
мар. 24
|
12229 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.