Any help please..?
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
12353
Visualizzazioni
1. Define your form view with the specific fields that you want to show.
2. Then return a form view in your model, like this:
@api.model
def my_action(self):
try:
form_view_id = self.env.ref("my_module.my_form_view_external_id").id
except Exception as e:
form_view_id = False
return {
'type': 'ir.actions.act_window',
'name': 'My Action Name',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'my.model',
'views': [(form_view_id, 'form')],
'target': 'current',
}
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à | |
---|---|---|---|---|
|
0
dic 24
|
1314 | ||
Import Data From Another Model
Risolto
|
|
1
mar 24
|
2356 | |
|
0
gen 23
|
3038 | ||
|
2
set 20
|
4010 | ||
|
6
set 20
|
29442 |