Reputation: 2358
Is it possible in calendar view in odoo 9 display all item where is status = complete, other item where status (new, in progress) I don't need in calendar.
Upvotes: 1
Views: 237
Reputation: 14721
if you want to show some records in any view : tree,form .... you need to provide the domain in you WindowAction record in the XML fiel:
<record .. model="ir.actions.act_window">
....
...
<!-- this is for testing only if it return all record
then this doesn't work else you domain is wrong -->
<field name="domain">[('id','=','False)]</field>
</record>
Upvotes: 2