This question has been flagged
3 Replies
5210 Views

Hello world! I'm trying to change the strings ("Based on", "Compare to") of the filter Time Range ("Periodo de tiempo" in spanish) that appears in the section of purchase analysis. I'm trying to do this by using xpath elements but I do not know the name of the view in wich this filter is defined, or do you know another way to do this?

Best regards.

Avatar
Discard

is this Time Ranges filter view not available anymore in odoo version 14 CE?

Best Answer

Hello Paresh! Is there anyway to remove this view from a custom created report?


Avatar
Discard
Author Best Answer

Thank you so much Paresh!!! It really helps me. 

Greetings from Mexico .


Avatar
Discard
Best Answer

Hi Jaime: It is part of the core code and is defined in the base.xml file. You will not be able to change it using the standard xpath based extension mechanism. Here's a link to the location in the base.xml file.

https://github.com/odoo/odoo/blob/12.0/addons/web/static/src/xml/base.xml#L1136

Avatar
Discard