Purchase invoice remove multiplication of qty x conversion factor

hello,
i want to remove multiplication of qty x conversion factor from purchase invoice…

the only problem is during serial number generation
2 bottles of 5kg only need 2 serial number but it gave us 10 serial number because qty is multiply with conversion factor…

thanks in advance waiting for response

if anyone mind help

You should use bottle uom only for serial no without conversion

"
Can anyone please help? We just need to know where the code for this is? We want the serial number to be generated based on quantity only, not quantity x conversion factor
"
You can search the code for serial_number and so on with this -

frappe@ubuntu:~/frappe-bench$ find . -name '*.py' | xargs grep conversion_factor
1 Like

Thanks Clarkej,

We found the list of files pertaining to this, in the end we went through around 15 files containing this formula
“actual_quantity = quantity * conversion_factor” and remove conversion_factor from it and it worked!

1 Like