Hi friends,
I want to create a new customer "Umar".
If i create it from a many2one(dropdown menu) can i add a phone number to him(to res_partner) at the same time i click on Create "Umar"..
Thankzz
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi friends,
I want to create a new customer "Umar".
If i create it from a many2one(dropdown menu) can i add a phone number to him(to res_partner) at the same time i click on Create "Umar"..
Thankzz
AFAIK it is not designed like that. You can click on Create "Umar" and after the Customer created, you can click on the box + arrow icon at the left of the field to enter more information.
Spoke too soon. Apparently there are ways to pop up the edit form when you click the "Create Umar" or "Create and Edit...". The idea is to make the name_create method fail. Specifically for res.partner, there is one context that will always fail the name_create, i.e. force_email. If you add {'force_email': 1} into the Customer fields' context, it will pop up the creation form and you can add additional details directly.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się