Odoo Help

Welcome!

This community 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.

0

How to make blank space in qweb report?

By
HappyOdoo
on 10/21/15, 4:20 AM 1,655 views

how to make blank space in qweb report between two words?



4

Anil R. Kesariya

--Anil R. Kesariya--
4321
| 6 5 8
Gandhinagar, India
--Anil R. Kesariya--
ERP Consultant

Key Skill
-
Technical & Functional Expert
Anil R. Kesariya
On 10/21/15, 5:04 AM

Hi Happy,

The space between words works well, if you have statement with more than one word.

For additional blank space before or after your statement or word you can use.


<![CDATA[&nbsp;]]>

Rgds,

Anil.

2

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
996
| 5 3 6
Rajkot, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 10/21/15, 6:51 AM

Dear Happy, 

You can use below code for blank sapce in qweb.

&#160;

Thanks & Regards

Ankit H Gandhi.

1

Yenthe

--Yenthe--
6706
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 10/21/15, 4:49 AM

Hi Happy,

You should be able to use spaces between words. If it doesn't work you can use CDATA to convert spaces though. Use the following code:

<![CDATA[&nbsp;]]>

This will convert the usual &nbsp; to a space which is preserved by XML.

Yenthe

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/21/15, 4:20 AM
Seen: 1655 times
Last updated: 4/8/16, 3:13 PM