qweb Questions

6

I want to output a odoo 8 datetime field in the localization format but without time. I extended the t-field with the option hide_time. Is there a simpler built-in solution?
Almeria asked 14/11, 2014 at 9:28

4

Solved

I want to print labels from odoo. For that I created a custom paper format and finding a way to link it to my label report. My label report is a pdf report. (When I create the report I can view it ...
Madrigalist asked 23/4, 2015 at 6:21

6

t-field-option is not working. I have tried <span t-field="o.date_invoice" t-field-options='{"format": "MM/dd/yyyy"}'/>
Personate asked 15/12, 2016 at 14:25

1

I'm trying to create form which would simplify adding of the products which are not yet registered to nomenclatures for my small shop. For this I've created module with following form: <t t-ext...
Babel asked 29/8, 2016 at 20:6

2

How can you display the page count outside the footer? Hey, I'm building a report for a customer. All is fine except that he wants to display the page number on the page (near the address field) ...
Wallflower asked 28/9, 2015 at 15:22

2

I am defining my own report.paperformat. I am trying differnet configurations for margin_top and header_space but I can not manage to undersand what does each parameter. When a given value is use...
Liner asked 19/1, 2018 at 17:35

8

I'm making reports using qWeb in Odoo 8. Those generated PDF files are saved with a "default" name. I would like to set a specific name to every generated file (not after file was saved, but in "ge...
Joannjoanna asked 27/5, 2015 at 14:28

1

Solved

i have costume model that add some fields to invoice report , but i need to move up tax table up.do i need to delete rows. is it done by doing something like this? <xpath expr="//div[@class='r...
Maghutte asked 11/7, 2017 at 18:13

2

Solved

I'm creating a new report on Odoo 9 which uses css styles in order to position text over a background image. The image is in background and occupies the full A4 page without any margins. In html, ...
Camillecamilo asked 1/6, 2017 at 13:18

3

Solved

I would like to make a loop to print elements an exact amount of times. Something like this: <t t-for="o.label_qty" > ... </t> Where o.label_qty is an integer number. But I can use ...
Haft asked 17/7, 2015 at 12:25

2

Solved

I want to get and display current login user name in qweb report in odoo. Can someone please tell me, how can i do it or give me some example code. I'll be very thankful...!
Borowski asked 19/8, 2016 at 4:49

4

Solved

Is there a way to print key and value from a python dictionary in loop Qweb? For example, if I have a fuction that return a dictionary: def get_informations(self): mydico={'myfirstkey':1,'mysecon...
Selima asked 6/12, 2015 at 20:39

1

Solved

I work with odoo 9. In the system exists render_value method for each type of field: /odoo/addons/web/static/src/js/views/form_widgets.js /odoo/addons/web/static/src/js/views/form_relational_widg...
Perspicacity asked 5/1, 2016 at 7:19

3

Solved

The date in my Sales Order is currently showing as: Fecha: 21/11/2014 16:59:15 I want to show something like this: Fecha: Surco, 21 de Noviembre del 2014 I tried using t-esc with strftime bu...
Agle asked 21/11, 2014 at 22:56
1

© 2022 - 2024 — McMap. All rights reserved.