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?
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 ...
6
t-field-option is not working.
I have tried
<span t-field="o.date_invoice" t-field-options='{"format": "MM/dd/yyyy"}'/>
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) ...
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...
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...
1
Solved
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 ...
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...!
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...
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...
1
© 2022 - 2024 — McMap. All rights reserved.