This question has been flagged
2 Replies
7320 Views

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
Discard
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
Discard
Author

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
Discard
Author

https://imgur.com/a/MmQAoAF

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

Thanks