Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3661 Visualizzazioni

I have some form views similar to `account.voucher.receipt.dialog.form` (`odoo/addons/account_voucher/voucher_payment_receipt_view.xml`).

- Some `field` tags get their default values which were defined in the Model,

- Some `field` tags get their default values from on change methods (defined by `on_change` attributes).

I want to bypass these form views and automate the process, so I need to know beforehand these default field values.

In that way, I only need to add additional field values if needed, then call the `create` method on the model. (I'm using Odoo v8).

How can I achieve that without manual tracing the fields and their corresponding default values/onchange functions?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
gen 25
1142
1
mag 22
3980
0
mag 20
6445
1
ago 19
3910
2
giu 19
2942