Hi,
I created a view from pgadmin, and now I want to display its as tree type of view. How can I do it?
Do I need to create a class for that view?
for example:
CREATE VIEW AS book.trans .....
on book.py
class BookTrans(models.Model):
_name = "book.trans"
_columns = {
<!-- I put exacts field as view book.trans created from pgadmin ?? -->
}
I tried that and use field model="book.trans" on Odoo view xml code but nothing shown (not showing any error also on the screen)....any thing I missed?
Thank you community
Watch: https://www.youtube.com/watch?v=_KIsGo4sttQ