When i click the print button in quotations, my custom boolean fields show:
True (if the field was checked in sale order line) and nothing if the field was not checked in sale order.
I need change this behavior for example if was checked: "The field was checked" and if not was checked: "he field was not checked".
Thank you.
What is the default value of your boolean field? Can you post the code you use to define it.
models.py: ... need_product_red = fields.Boolean() ... templates.xml: ... ... report_saleorder_document (Here when print (PDF) i need show: a) If the user need product red must show a leyend "Send product red" (this mean that user checked the box) b) If the user do not need product red show a leyend "Do not send product red" (this mean that user do not checked the box) ... ... Actually when i print the quotations i get : True( if the user checked the box) and nothing if the user do not checked the box. I need to validate if the user check the box or not and write a message as the case.