How to make a custom domain such as on my sales order line i want to restrain my final user to the children of my customer?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1) Add a field M20 in the list and form view of my sale order line
2) Place the field customer (order_partner_id) in the sale order line form. If it is not the case, the domain will never work.
3) Make a domain on my field in 1. Pay attention, because studio will only write [["partner_id","=","order_partner_id"]] but it should [["partner_id","=",order_partner_id]]
So in order to change 3 part of the domain, you have to adapt that manually in the sale order line form.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
fev. 23
|
3053 | ||
|
1
set. 21
|
3550 | ||
|
1
fev. 24
|
3177 | ||
|
1
abr. 21
|
8170 | ||
Auto Increment Odoo 17 Studio Fields
Resolvido
|
|
2
out. 24
|
2946 |