x
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
3427
Visualizzazioni
x
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
gen 24
|
1429 | ||
|
1
mag 25
|
2400 | ||
|
1
apr 25
|
3425 | ||
|
1
apr 25
|
4241 | ||
|
1
apr 25
|
1739 |
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.
as far as i know, there isn't any widget called one2many_list in Odoo.
There is onyl widget="one2many"