QWeb is the template engine used by the OpenERP/Odoo Web Client. It is an XML-based templating language, similar to Genshi, Thymeleaf or Facelets
Questions tagged [qweb]
572 questions
0
votes
2 answers
odoo / OpenERP V8 - template lost for the QWEB reports
system:
Odoo V8.
Issue:
On The last PDF order i discovered that somehow the template is not applied. (only flat ugly text)
All the fields are here, including footer but the header is not here and there is no style applied nor pictures (as it was by…
0
votes
1 answer
OpenERP - QWeb report
I'm writing a module on Odoo (OpenERP) v.8 to allow timesheet's print.
I'm using QWeb report type, but I can't use the fields that I need to use.
If I call a field from res_company module, it works correctly.

vencizon
- 33
- 1
- 9
-1
votes
2 answers
Error: QWeb2 - template['HrAttendanceMyMainMenu']: No enumerator given to foreach in odoo 14
I wanted to add a additional field (Many2one) on the CHECK-IN-CHECK-OUT screen.
Here's my model:
class HrAttendance(models.Model):
_inherit = "hr.attendance"
work_status = fields.Many2one('work.status', string='Work Status')
Here's my XM…

hardik device
- 29
- 3
-1
votes
1 answer
How to fix gap in margin left and margin right qweb odoo
I want to add hr tag in sale quotation report template, but when I added hr tag, there is a little gap in left and right margin. That is not go to the outline border.I try to set margin left and right to 0 in paperformat. But still gap ,how can I…

Neural
- 376
- 3
- 12
-1
votes
1 answer
How can I display "Out of Stock" on Products on Website automatically when Quantity on Hand is less than Zero?
Hi, I am trying (in Odoo 10), if product quantity on hand is zero than show "Out of Stock" on Website.
Following code is working fine when I am logged in as Admin, but in case of normal website visitor it gives, "500: Internal Server Error"
Any…

Taurus Codes
- 3
- 4
-1
votes
1 answer
I am having trouble creating and updating a dictionary by using the below code
For creating a dict, i used the following code:
But i am getting a none value.Why?
Can anyone help me?Thanks…
-1
votes
1 answer
using axis x,y in qweb odoo check printing
I need a help in Odoo check printing direction, depending on the language direction.
so the 0,0 point change based on language direction.

Eman Seo Khal
- 21
- 1
-1
votes
1 answer
How to center td tags in odoo QWeb
How i can center a value in table , the table contain a column that contain the same value in each raw, i need to print only one value in all the raw and not print the value for each raw.
I try to customize print rapport in odoo sale module.

Programmer LiLi
- 147
- 5
- 27
-1
votes
1 answer
Odoo 10 custom email send module
I created a module which will send email to user and here is my template.xml but i could not make python method. I looked Sale modules email method but it is not working for me. I am stack now. Which way should i follow? Can you help me…

Serdar Eren
- 165
- 2
- 16
-1
votes
1 answer
Odoo 9 qweb inheritance
In opportunity kanban view I want to remove certain element. It is a span in web_kanban template with t-name="Kanban.Group". I followed this thread How to inherit a template with no ID in Odoo? and related documentation.
I put this

Juraj Bezručka
- 512
- 5
- 21
-1
votes
1 answer
How can I send a list of all Open invoices for a partner in an email template?
How can I send a list of all Open invoices for an partner in a email template?
Is there a way to list all the invoices for a partner in a email template?, I need to sent a single message to every customer what I have, how can I do that?, I just sent…

Juan Salcedo
- 1,598
- 1
- 16
- 28
-1
votes
1 answer
Qweb, Blocking the report
I need to block the report at the draft state, In draft state if the user click the print button to generate the pdf it should raise a warning message.
Thanks in advance

Vigneshwaran Thenraj
- 698
- 10
- 31
-2
votes
2 answers
QWeb Report - Add space at the beginning of field
I have the following QWeb PDF report code:
The o.name field is aligned to the left side of the container div. As label_code…

M.E.
- 4,955
- 4
- 49
- 128
-2
votes
1 answer
How to use rowspan in report? | Qweb, Odoo 10
Help me! My code xml file in field ngày giao:
I want to combine it into one row, But I'm having the same problem Plese!! help me!
Unedited Image

Lv Quý
- 1
- 1
-2
votes
2 answers
Html tool like Qweb from Odoo
I've worked like a year with OpenERP now Odoo, and I found the QWeb tool really useful. But now that I'm leaving Odoo I would like to find a tool like QWeb.
That is why I come here, to ask you experienced developers if you know a similar tool like…

ocespedes
- 1,233
- 4
- 14
- 27