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.
I defined a new tree view for account.invoice, with new fields, with id "tree_account_followup".
I'd like to open the "traditional" (native, original) account.invoice_form when the user clicks on that tree view row.
I wrote this action
<record id="act_unpaid" model="ir.actions.act_window">
<field name="name">Invoice followups</field>
<field name="view_mode">tree, form</field>
<field name="domain">[('state', '=', 'statement'), ('days_unpaid', '>', 0)]</field>
<record id="act_unpaid_tree" model="ir.actions.act_window.view">
<field eval="20" name="sequence"/>
<field name="view_id" ref="tree_account_followup"/>
<field name="act_window_id" ref="act_unpaid"/>
SOLVED: Qweb fails loading the treeview complaining about a domain which is not defined in this action.
the form opens with no values in it
How should I write the window action?
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: 2/3/16, 11:58 AM|
|Seen: 719 times|
|Last updated: 2/4/16, 1:26 AM|