Odoo Help

1

How to add a default General condition for the invoice and quotation

By
medmars
on 4/27/16, 6:24 AM 239 views

hi please i want to know how to add default sentence in the general condition 
see here what i'm talking about : 

http://imgur.com/05naj40


thanks

0
ibra
On 4/27/16, 9:29 AM

Hi, 

this is done just by adding default text to your field after overriding it of course
Example:  

description = fields.Text( string = "description", default="Your default sentence here")
I guess this is what you want. If not, please specify your need. 

Best regards.

no sorry it didnt work i want to set a default text for the terms and conditions in the invoice the field is named comment in odoo 9 and had a placeholder this the code :

medmars
on 4/28/16, 5:01 AM
medmars
on 4/28/16, 5:02 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/27/16, 6:24 AM
Seen: 239 times
Last updated: 4/28/16, 5:07 AM