Odoo Help
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.
How to filter a tree view (model A) by a new create filter belong to model B ?
I have created a new field (many2one, named x_BU, related to account.analytic.account) named "Business Unit" in model account.invoice.line. I show my new field in view account.invoice.form. So, for every client bill accounting line (it doesn't work for supplyers but it's another problem) I can tag an analytic account AND a Business unit (whose I find back in analytic accountdue to the relation many2one) without use analytic distribution.
Then, in model account.move.line i create a new field one2many related to my previous field x_BU to be able to filter my accounting lines by Business Unit in view accounting move line.
But the problem is that : in view account move line, I find my filter Busniess Unit in Advanced filter, but I doesn't filter my accounting lines.
Could you tell me what I'm doing wrong ?or What's it's not possible to do ?
Tkank you if you can Help me;
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 2/23/16, 4:06 AM |
Seen: 768 times |
Last updated: 2/23/16, 4:09 AM |