Price in words includes "solo." How to remove "only"?

Hi, In the sales order there is a field with the price in words, currently the price includes “solo.” at the end of the phrase, do you know how to change “solo.” (example: ciento cinco solo.) to “pesos.” (to get: ciento cinco pesos.) Thanks in advance.

1 Like

I have founded that in english it says after the total in words “only” how could I remove “only”?

Hi and welcome! - I can’t exactly say but a search gave these prospective pointers Search results for 'invoice amount words' - Frappe Forum

To review code this might help
frappe@erpnext:~/frappe-bench$ find . -name ‘*.py’ | xargs grep in_words

see and change money_in_words here https://github.com/frappe/frappe/blob/develop/frappe/utils/data.py

1 Like