Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
10117 Vizualizări

Hi,

In `res_partner_view.xml`, there's the `company_type` widget like this:

```<field name="company_type" widget="radio"

class="oe_edit_only"

on_change="on_change_company_type(company_type)"

options="{'horizontal': true}"/>```

I'll like to render this widget within Qweb template. How can I go about this?

I Appreciate you response.

Imagine profil
Abandonează
Cel mai bun răspuns

use t-field-options

<span t-field="pack.template_id.image_medium" t-field-options='{"widget": "image", "class": "img-rounded"}'/>

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mar. 21
10706
0
mar. 21
3725
5
sept. 20
4921
0
oct. 20
7163
5
sept. 20
5009