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 have create record rule for object 'hr_timesheet_sheet.sheet' Form Timesheet
with domain [('user_id', '=', user.id)]
delete = 1
its success with show only record by user_id the same. but when the user create in form Timesheet there is a warning like this
Field(s) `date_from, date_to` failed against a constraint: You cannot have 2 timesheets that overlap!
Please use the menu 'My Current Timesheet' to avoid this problem.
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: hr_timesheet_sheet.sheet, Operation: read)
but when i non active record rule for that form its successfully saved. anyone can explain why it could happen ? or maybe there is something wrong with the record rule that I create ?
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: 6/23/16, 12:47 AM|
|Seen: 916 times|
|Last updated: 6/23/16, 3:20 AM|