This is my code..bt i didn't get any view in my model..is there any issue with my code..pls help me in this quickly
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- โปรเจกต์
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hi,
Did you added the calender in the view mode of the action of the corresponding menu ? If not add it.
sample,
<record id="action_invoice_tree" model="ir.actions.act_window">
<field name="name">Invoices</field>
<field name="res_model">account.invoice</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form,calendar,graph</field>
<field name="view_id" ref="invoice_tree"/>
<field name="context">{'type':'out_invoice'}</field>
<field name="search_view_id" ref="view_account_invoice_filter"/>
</record>
Nb : didn't checked is there anything wrong in your code.
Thanks
i have already added it in the action page..but no changes in the view..
This is my action page code
<record id="open_booking_info_action" model="ir.actions.act_window">
<field name="name">Booking Info</field>
<field name="res_model">booking.info</field>
<field name="view_type">form</field>
<field name="view_mode">tree,calender,form</field>
</record>
Is that necessary to add these code in action page for calender view<field name="view_id" ref="invoice_tree"/>
<field name="context">{'type':'out_invoice'}</field>
<field name="search_view_id" ref="view_account_invoice_filter"/>
if needs could you please explain the needs of those three fields
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ