How can I change default time (now it is from 8AM to 9AM) withint the leave request menu?
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ờ
file location:
/usr/share/pyshared/openerp/addons/web_calendar/static/src/js/calendar.js
Code:
slow_create: function(event_id, event_obj) { var self = this; if (this.current_mode() === 'month') { event_obj['start_date'].addHours(8); if (event_obj._length === 1) { event_obj['end_date'] = new Date(event_obj['start_date']); event_obj['end_date'].addHours(1); } else { event_obj['end_date'].addHours(-4); } } [....]
I change:
event_obj['start_date'].addHours(8)
With:
event_obj['start_date'].addHours(7)
Now the default value is 7AM
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ý