Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Can any one tell me how i can get the all ids that existe in the tree view if i click in button that exist in form view.
For more detailles :
I have field (leaves_period) that exist in the model hr.contract, i want if i select one leaves_period for one contract, i have the possibility to affect this period by cliking in button to the all contract that filtred in the tree veiw.
Thanx for your reply,
The domain isn't define in the tree,
for exemple, when i will display contracts, i find the all contracts, if i do somme filtre with search field like select contract of departement X, so in the tree i will have just the contrat with departement X. than i select one contract, i will have the formulaire contract, in this formulaire i want to create a bouton that have a function that will aplay for the all contract that exist (filtred) in the tree view and not just to the contract selected.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/10/16, 6:34 AM|
|Seen: 369 times|
|Last updated: 3/11/16, 6:31 AM|