Fetching Float field get formatted as currency

Hi there,

I’m experiencing an weird problem; i’ve created a child table on which i fetch values from another document. One of the value is a Float one, but it keep getting displayed as Currency. See pics.

  1. Created a Float custom field (total_qty) in Purchase Invoice:

  1. I’ve created a Child Table like:

When i fetch Purchase Invoice infos from the child table I get:

The float field is shown as currency! :grimacing::thinking:

Any hint?

I have the same issue, reported here: https://github.com/frappe/frappe/issues/5468

Waiting for some insights :wink:

use read only not float.

I have similar issue but without creating a new doctype.

I have a custom field named total_cartons in Sales Order - formatted as float, precision: 0, read only. No currency symbol in form view.

Another Custom field in Delivery Note named total_cartons, formatted as float, precision as 0, read only, options: Sales Order. In Delivery Note it has a currency symbol in form view.

When I remove the “read only” format the currency symbol goes away.

ERPNext: v12.x.x-develop () (develop)
Frappe Framework: v12.x.x-develop () (develop)

I added the same comment to the github issue.