Skip to Content
Menú
This question has been flagged
2 Respostes
8377 Vistes

Image

https://imgur.com/a/AnUdlSk

Hi, I want to get the Object of the User( Patient in this case ).

As here i opened the Patients ->Usman -> Invoices -> Create

The Patient name is auto populated from the context (i think but don't know)

But i wanted to also auto populate other fields from this patient like DOB etc.

How to do it.

Thanks 


Avatar
Descartar
Best Answer

Hi,

please refer

https://www.odoo.com/forum/help-1/question/how-to-pass-values-in-lead-to-sales-through-action-button-118177

https://stackoverflow.com/questions/34926074/odoo-context-field-default-value-for-popup

Thanks !!!  

Aswini @ iWesabe




Avatar
Descartar
Autor

https://imgur.com/a/MmQAoAF

can you please check it and tell me the solution...

Thanks

Best Answer

One of the way is to just create the Related field in Invoice.

Avatar
Descartar
Autor

https://imgur.com/a/MmQAoAF

can you please check it and tell me the solution...

Thanks

Related Posts Respostes Vistes Activitat
2
de set. 21
5104
1
de jul. 19
2679
3
de set. 20
2784
3
de des. 19
2776
1
de nov. 19
4389