This question has been flagged
2 Replies
4571 Views

Im trying to remove the time from Date Confirmed so that it prints without time.But on changing the variable from Datetime to Date it gives me this error Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon! . Please help

Avatar
Discard
Best Answer

You should not do that in Python and try to change some of the very basic structure. Do adjust your QWeb report instead.

Avatar
Discard

+1, you should do these changes in XML with an xpath on the report :)

Best Answer

Hi,

You might be trying to do this change from the user interface, that is why you are getting this message. Field properties is not allowed to change from the user interface, it is only allowed to change it using the code, which you can do by editing the original code or by making a custom module. The second one is preferred.


Thanks

Avatar
Discard