x
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
2
Vastaukset
3772
Näkymät
x
as far as i know, there isn't any widget called one2many_list in Odoo.
There is onyl widget="one2many"
Hi,
The widget=”one2many_list” is used when we want to view a field as one2many.
In python file
account_ids = fields.One2many('account.fiscal.position.account', 'position_id', string='Account Mapping')
In XML
<field name="account_ids" widget="one2many_list">
<tree string="Values">
<field name="name"/>
</tree>
</field>
Regards
But where is the widget "one2many_list" defined??
I can't find any definition in the code and the browser console tells me "Missing widget"
@Klaus-Dieter Gundermann: Highlighted Ibrahim Boudmir's comment to become an answer. one2many_list just isn't a thing hence you get that error.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
tammik. 24
|
1576 | ||
|
3
elok. 25
|
2677 | ||
|
1
toukok. 25
|
2678 | ||
|
1
huhtik. 25
|
3672 | ||
|
1
huhtik. 25
|
4522 |
I was not able to post a piece of xml code in this Forum.
I do not think this is a good way to support developers.
Hi,
Hope this reference will help you.