In OpenERP 7.0,Under Reporting Tab,We have several reporting options for various modules.Now My requirement is in my custom module,I want to show Point Of Sale/Sale Details menuitem to particular user without changing access right.So how to inherit that menuitem in my custom module?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
14143
Lượt xem
For my requirement, I had to change the parent menu for Location
from Configuration to Inventory Control at Warehouse section
<menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations" parent="menu_stock_configuration" sequence="5"/>
TO
<menuitem action="stock.action_location_form" id="stock.menu_action_location_form" groups="stock.group_locations,stock.group_stock_user" parent="stock.menu_stock_inventory_control" sequence="5"/>
I used the second xml code in my custom module to change menu requirements.
I hope this is useful for manipulating menu items from other modules by CUSTOM modules
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký