summaryrefslogtreecommitdiff
path: root/addons/hr_attendance/views
AgeCommit message (Collapse)Author
2021-02-01[FIX] hr_attendance: user can see other users attendancesnie
Steps: - As admin, go to Settings > Users & Companies > Users - Edit Mark Demo (demo) - In Human Resources > Attendances, select Manual Attendance or blank - As demo, go to My Profile - Click the smart button showing the hours worked for the last month - Remove all filters Bug: The demo user, who hasn't the rights to see the other employees attendances, can see them. Explanation: Every user must have the right to read attendances in order to see their own attendances. Not giving the users the read rights in the security record rule prevents the record rule from being applied when reading attendances. This makes the read access rights the only rule and allows everyone to see the attendances of the others. This commit also fixes the default selected employee when going to the attendances tree view on these paths: - User - Employee - User > Employee In fact, sometime, `active_id` is the ÌD of the user and not of the employee. This leads to incorrect results since another employee's attendances are shown. Finally, this commit prevents users from creating attendances from other apps since only attendance officers and above can have access to the creation form within the Attendances app. opw:2440117 closes odoo/odoo#65330 X-original-commit: b3247c81200200590d669b76a58d06e6adf66d69 Signed-off-by: backspac <backspac@users.noreply.github.com>
2020-11-02[FIX] *: fix image parsing error on saving res configIEL
WHAT: apply 93a7695f65baf00d1f82481d6a2a97e6c11940a8 for all res.config.settings menus WHY: the same reason as in 93a7695f65baf00d1f82481d6a2a97e6c11940a8: When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content it may lead to image dissapearing or "Incorrect padding" error HOW: find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'.*\)\}/\1, 'bin_size': False}/" git checkout -- addons/base_setup/views/res_config_settings_views.xml --- PR for General Settings: https://github.com/odoo/odoo/pull/47297 opw-2346644 closes odoo/odoo#61212 X-original-commit: 7c55efa88b72bd1f3f0f32f7f738e2fda5aa4abd Related: odoo/enterprise#14545 Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
2020-08-18[IMP] *: set sample="1" on reporting view archsBarad Mahendra
The purpose of this commit is to enable sample data on various graph and pivot views. Task ID: 2319606 closes odoo/odoo#55917 Related: odoo/enterprise#12415 Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
2020-05-17[IMP] hr_attendance: display hours with float_time widgetSwapnesh Shah
`float_time` widget is supprted in pivot since dbaa345cec27d1a99556af6305e22e17e9760bb6 closes odoo/odoo#51367 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-12[IMP] *: add action helper messagesBarad Mahendra
The purpose of this commit is to add many action helper messages. TaskID: 2311486
2020-08-12[IMP] *: set sample="1" on various graph archsBarad Mahendra
The purpose of this commit is to enable sample data in various graph views. TaskID: 2311486
2020-08-05[IMP] hr,hr_attendance,hr_contract,hr_holidays,hr_presence: update employees ↵Kevin Baptiste
presence icons Make the employee presence icons more descriptive. Allow to quickly filter the Presence Reports based on the user status. closes odoo/odoo#54527 Taskid: 2246447 Related: odoo/upgrade#1488 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-04[IMP] hr_attendance: Remove duplicate Kiosk mode menushs-odoo
Currently, there are two Kiosk mode menu in the attendance app when we open the app we can see Two kiosk mode menu one in main menu add second is a sub-menu of the manager menu. purpose of this task to remove the Kiosk mode menu which is a submenu of manager because attedance manager will always have employee officer right which will enable the kiosk menu of employee on attendance. closes odoo/odoo#54412 Taskid: 2296263 Closes: #54412 Related: odoo/upgrade#1475 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-03[FIX] hr_attendance: Kiosk modejbm-odoo
After #56a8c9e4311d24c33b7ad08b8230e4be345a85b8 we check access rights in function fields_view_get, so a user with only 'Kiosk Attendance' right can't see public employee profile. After this commit: In attendance application, we always show public employee profile as it not usefull to show more information in this application. closes odoo/odoo#55341 Taskid: 2298803 X-original-commit: 1fbb8f1ebcb805317b93e0b4ea363aaec8e3e36e Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-06-30[FIX] hr_attendance: All internal can modifiy hr.attendanceGoffin Simon
Steps to reproduce: - Let's consider a user U with no access to hr.attendance - Let's consider that U has made some check in and check out - Log with U - Go to your profile and on Last month Bug: U can modifiy manually his attendances. opw:2279682 closes odoo/odoo#53878 X-original-commit: 53a4a95270622f3aa08136470fb627d51ed4b365 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-06-22[IMP] *: enable sample data in several viewsJérémy Hennecart
This commit sets attribute sample="1" in a bunch of list and kanban views, to enable the new sample data feature when views are empty. Task 2232801 X-original-commit: 5471309b35619f307242c2704c7681ba63d2be42
2020-05-29[FIX] hr_attendance: Display Check In / Check Out menu firstsimon
Purpose ======= As the first displayed menuitem is the kiosk mode (if enabled) We can't easily navigate through the menuitems. Specification ============= Set the check in / check out menu first (as default). closes odoo/odoo#52148 Taskid: 2237996 X-original-commit: f74042ae3934d014f57a3de1edd54bd1834312af Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-05-18[IMP] various: Clean the kanban view designKrupal Oza
PURPOSE ========================= The goal of this task is to set up some kind of guidelines to make kanban views consistent. It is fine having different kanban views, but if a UI element is shared among several kanban views, it should behave/look the same so the user knows what to expect. Kanban views can be split into two types: ==> 'documents' kanbans, such as res.partner, crm.lead, etc. - those records are created/edited often, numerous - 'opening' the card means accessing the record ==> 'dashboard' kanbans,such as stock.picking.type,account.journal, etc. - those records are not created/edited often, there are much less numerous - usually presented as dashboard, where 'opening' the card means accessing a set of related 'documents' (clicking on a account.journal to access account.move, or stock.picking.type to access stock.picking) - configuration of the 'card record' is done through a dropdown to access configuration Here are some guidelines for consistency. Bear in mind that those are not rules, but guidelines for consistency that we'd like to keep in mind when designing. ==> 'documents' kanbans - the record is accessed through global click - the user avatar is at the bottom right - the activity widget is at the bottom left (in last position if there are other elements) ==> 'dashboard' kanbans - the record is accessed through a 'Configuration' option in the card dropdown - there is no global click, and therefore no focus shadow - the dropdown icon (o_kanban_manage_toggle_button) is always visible, with icon fa-ellipsis-v - the listview counterpart should be presented as a dedicated configuration menu, and shouldn't be in the 'dashboard action' - links in the body of the card are structured as follows: link with <count>+label, then any additional aggregated metrics (not link) to the right example https://drive.google.com/file/d/1ZP6HDHTtC7cQ6rDWgqLoPs6U8JCeNVkW/view?usp=sharing ==> global guidelines - the title font color is #212529, with 500 weight - the subtitle font color is #666666, with 400 weight - the font size is 1.083rem - text overflow is handled through linebreak, not ellipsis - numerical values are aligned to the right - the kanban state widget is at the bottom right SPECIFICATION ================= AS per guidelines Improved follwing kanban/dashbaord view - hr_job - hr_department - hr_work_entry - hr_appraisal - fleet_vehicle - product_template - sale_subscription_template - crm_team - res_partner - event - stock_picking_type - mrp_eco_type - maintenance_team - quality_alert_team - account_journal Added the department menu on employee with default kanban view Added sequence in hr_work_entry list view TaskID: 2206372 Related Enterprise PR: https://github.com/odoo/enterprise/pull/10341 Closes: #50536
2020-05-03[FIX] hr_attendance: remove unnecessary view modesSwapnesh Shah
Commit 6d11097a9b802a01473701bb9ce0ce647faf7fdf added view mode `tree,activity` in this action which is not necessary for Attendance Kiosk mode. (and also not working when selecting an employee from `tree` view) With this commit, we remove extra view modes which are not required/working for this action. closes odoo/odoo#50528 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-07[IMP] *: adapt qunit suite bundle inheritanceJulien Mougenot
Since the test assets bundle name has been changed and its structure is different, the inheriting assets need to be updated. Task 2002399
2020-02-12[FIX] *: domains should not have as many binary operator as there are termsXavier Morel
* modify client-side domain normalisation to error if the domain is invalid (not enough terms / segments for the number of operators) * add better error reporting to attrs / modifiers parsing * add a few layered error augmentation to provide clearer context e.g. "error: invalid domain <thing>" is helpful but "error while parsing modifiers for field foo: modifier invisible: invalid domain <thing>" is much more helpful * rework _evalModifiers to deduplicate it in order to more easily implement this contextual augmentation * test that improper domains are properly found improper * fix a bunch of incorrect attrs domains * also removed an apparently undefined (& unused) "options" argument to a _applyModifiers call closes odoo/odoo#44642 Related: odoo/enterprise#8175 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-01-08[IMP] hr_attendance: bring back "Create" button for managersKevin Baptiste
closes odoo/odoo#42928 Taskid: 2153158 X-original-commit: 0e634ece8436a957358ead06ef129a0580240026 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-09[IMP] *: set name element on main containers in configuration viewsYenthe666
This will improve the extendibility of view inheritance closes odoo/odoo#41398 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-18[IMP] hr_attendance: Introduce Kiosk users groupjbm-odoo
It's the unique group needed for a kiosk attendance. Avoid to give to much rigths. id=2088561 closes odoo/odoo#38954 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-09-19[IMP] *: remove image_64 and clean viewsSébastien Theys
There are too many image sizes. Since they are stored resized this takes time to generate when saving a new image, it's more rows on the attachment table, more files on the disk, ... 64px is close enough to 128px that it can be removed without a big impact on download size. It will even reduce download and number of requests when both images are displayed because now only one has to be downloaded and then benefit from cache. The difference between the two is typically around 1.5kB which is negligible these days, especially when the request overhead is around 0.5kB already, not even taking into account other factors such as latency. If a 64px image must absolutely be returned, it is still possible to pass the size parameters to the image route. But the current guideline is to handle resizing in the views when necessary. Views ===== - remove width and height attributes when existing CSS rules are overriding them (eg. `.oe_kanban_avatar` in the right context) - add CSS rules instead of width and height attributes when possible - use `object-fit: cover;` where width and height are forced to avoid distortion of non-square images - for products, use `object-fit: contain;` instead, keep ratio but without crop - add new CSS rules where the expected size was max 64px*64px before due to the image size itself - remove `img-fluid` where using size classes to avoid conflicting rules task-2060865 closes odoo/odoo#36147 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2019-08-16[IMP] various: improve searchviews UXlbs-odoo
Improve searchviews UX in all the modules TaskID: 2029731 closes odoo/odoo#35700 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-13[IMP] hr: improve employee profile usability (back2basics)Kevin Baptiste
Improve the usability of the employees profile / "My Profile" TaskID: 2048672 closes odoo/odoo#35587 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-09[IMP] hr, hr_attendance: badge creation and few usability improvementSapan Zaveri
hr: -rename btn 'generate badge ID' to 'generate' -When the badge ID is set, replace the button Generate by "Print Badge" hr_attendance: -Rename menu 'Manage Attendances' to "Manager" -Add a column "Work Hours" to attendee tree view -Add a <br> after "Welcome to" -add class text-muted on "or" -remove class "text-muted" on "scan your badge -Rename the primary btn into "Identify Manually" Task-2040884 Closes: #35473 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
2019-08-02[IMP] *: rename image fieldsSébastien Theys
image_original => image_1920 (now resized to 1920) image_big => image_1024 image_large => image_256 image_medium => image_128 image_small => image_64 image replaced by image_1920 (when writing) or by image_1024 (when displaying what was previously the big size) + add new intermediate format: image_512 PR: #34925
2019-07-23[IMP] hr_attendance: drop redundant attributeNaglis Jonaitis
This appears to be leftover from a C/P from the line above, however `type="html"` does not make much sense on `<p>` element. closes odoo/odoo#35124 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-01[IMP] various: Clean stat buttons across all modules.Prakash Prajapati
Purpose ======= Make them consistent. Make sure context is correctly set. Prevent creation when necessary. Specification ============= See https://www.odoo.com/web#id=2024467&action=333&active_id=1251&model=project.task&view_type=form&menu_id=4720 for the detailed list of all the requested improvements. TaskID: 2024467 closes odoo/odoo#34561 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-18[IMP] hr: Review the UX for 'My Profile' viewKevin Baptiste
1/ web: adapt formatDate to handle NaN values DashboardRenderer might return NaN for `Date` or `DateTime` fields if their original value is null or incorrect. 2/ hr: add job_title in demo data 3/ hr_recruitment: link employee in the chatter for new recruits 4/ hr: remove employee documents in the model 5/ hr_attendance: improve resiliency of relative_time 6/ hr: display manager on res_users 7/ hr: change Address Book to Employee Directory TaskID: 2009111 closes odoo/odoo#34180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-17[IMP] hr_*: Improve employee presence stateLucas Lefèvre
Purpose ======= There are currently multiple ways to determine if an employee is presence or absent: - login state (user status on chat) - checkin/checkout from the Attendance app - leave - hr_presence (email, ip) Those states are displayed in several different places and can be inconsitent. e.g. Logged in -> green in the chat Not checked in -> red on the employee kanban view. The multiple ways to determine employee presence described above should be aggregated together to have a better consistency. Specification ============= There are 3 presence states (previously defined in module `hr_presence`), namely `present`, `absent`, `to_define`. They are now defined as soon as `hr` module is installed. The state computation can have several behaviors according to which apps are installed: 1. `hr` is installed Check employee presence based on login by default (only for employees with a user). Kanban state (private and public): should be green when logged in, red when logged out and orange when the user is away. Private employee form: Display a stat button "Connected" on the form view when the user is logged in or "Last Activity xx/xx/xxx" otherwise. 2. `hr_attendance` is installed: when the user is logged out, the state is determined from the checked in/out state. But when the user is logged in, consider the user as present (even if he checked out). Kanban state: green for checked in, red for checked out Private form view: attendance stat button. 3. `hr_holidays` is installed: Has the highest priority if the employee is on leave. Kanban state: red if employee is on leave. Private form view: stat button "Absent Until xx/xx/xxxx" if employee is on leave. 4. `hr_presence` is installed: Two additionnal presence checking option: emails sent and IP address connected. Once a user sent an email or the IP address was connected, he is considered present for the entire day. There should be at most one stat button on the employee form view, with the relevent information. Task id: 2024482 closes odoo/odoo#34933 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-15[IMP] various: Make some small tree views editableRomainLibert
Purpose ======= Some formviews are useless since there are so few relevant fields https://nimb.ws/1EdMV7 For instance, to create a new lost reason the user is forced to: 1. Hit create 2. Type in the name of the record 3. Hit save 4. Go back to the treeview While he could simply type them away in an editable treeview. The goal of this task is to allow for creation/edition of records in such models directly from the treeview. Specification ============= Modify tree views from a given list of models for which the treeview has to be made editable bottom. If not specified otherwise, the content treeview should stay the same. If a field is readonly/required/etc. in the formview, it should be in the editable treeview as well. Relabeling has to be done of the field itself, not in the view. TaskID: 2026126 closes odoo/odoo#34577 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-12[IMP] all: Remove active stat button on all viewsYannick Tivisse
Purpose ======= While cleaning the stat buttons across all modules, we decided to move the (un)archiving from stat button to actions in the 'Action' dropdown. Specification ============= Remove the 'active' stat buttons in all views
2019-07-10[IMP] hr(_*), website_hr: replace actions menu by stat buttonHiral Bhavsar
* attendance, contract, fleet, holidays, maintenance, presence, timesheet. For the model 'hr.employee', replace the actions menu 'Archive/Restore' by the stat button. That's why adapted changes regarding xpath. Also rename the actions menu 'Time Off' by 'Time off'. Linked to task 1984526 Related to PR #33720
2019-06-26[IMP] hr_attendance: Display checked in hours todayLucas Lefèvre
Purpose ====== When an empoyee wants to check out, he does not know the number of hours he worked today. Specification ========== In the check out view, display how many hours the employee was checked in today. closes odoo/odoo#33974 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-06-18[MERGE] forward port branch saas-12.4 up to 618ea1ab675Christophe Simonis
2019-06-17[IMP] *: remove 'view_type' on window actions.Hiral Bhavsar
The old tree views don't really exist anymore, this odd pseudo-flag to dispatch between "list" and "tree" tree views has no reason to remain. Task 1937686 closes odoo/odoo#31243 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-06-11[MERGE] forward port branch 12.0 up to 7ef4ba03c4fChristophe Simonis
2019-06-07[FIX] hr_attendance: kanban view in fullscreenNicolas Martinelli
- Goto App Attendance > Manage Attendances > Kiosk Mode - Select Employee (redirect to Kanban view) - Refresh the browser The page reloads and Kiosk Mode is left (Menu is visible, Dashboard can be accessed). Since the action is only used in 'Kiosk Mode', we can set it as fullscreen. opw-2006789 closes odoo/odoo#33969 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-02-14[IMP] hr_*: introduce the employee profileLucas Lefèvre
General Purpose =============== We want an 'Employee profile' gathering every data about an employee. The main form view is modified to become this employee profile. A user can also see his own profile through the Preferences menu. The new profile replaces the current Preferences view if the hr module is installed and the current user is linked to an employee. A user should be able to see and edit his own profile. *Problem*: Many fields on hr.employee are protected by groups="hr.group_hr_user". Therefore, a regular user cannot see or edit those fields. This protection must be bypassed to allow read/write access to the regular user's own data. A similar mechanism already exists for res.users (for Preferences) The better (least worst) solution found is to reuse this mechanism by adding related fields on res.users. Pros: - Don't change security access on hr.employee - Don't implement yet another custom security layer, risking to add new security breaches - A lot of fields are added by other modules on hr.employee. It would have required to integrate them with the custom security layer. - Fields added by other modules on the user's preferences view (normal view, not the profile) are automatically included in the employee's profile view. - Allow the hr.employee form view to be different than the user profile accessible through the Preferences menu. E.g. add custom buttons only relevant to the logged in user such as "Request a leave". Cons: - Each field from hr.employee that you want to appear on its profile must be added as a related field on res.users - Those related fields must be added to user's preferences view (duplicate views) - They also must be added to SELF_[READABLE | WRITABLE]_FIELDS Note: When the front-end loads the views it gets the list of available fields for the user (according to its access rights). Later, when the front-end wants to populate the view with data, it only asks to read those available fields. However, in this case, we want the user to be able to read/write its own data, even if they are protected by groups (groups are kept on the related fields on res.users). The front-end need to be made aware of those fields by sending all field definitions. hr_attendance ============= This commit integrate attendance in the new employee profile. It also adds a stat button to this employee profile showing the number of hours worked last month. Remove the boolean computed field 'manual_attendance'. This field is just a shortcut to add/remove the employee's user in the "Manual Attendance" group. The checkbox is confusing on the employee's form and this should be done through the normal group management screens. hr_presence =========== Display the presence status on the employee kanban template. The status is a colored chip which can be green (present), orange (to define) or red (absent). Currently, the presence status is only computed when accessing the report view. As this commits displays it on the employee kanban, it should be updated more frequently. The state should not be updated every time the kanban view is loaded since the computation is a bit heavy. Instead: add a cron to update status every 15 minutes. -> The status is accurate on the report view (status is still updated when loading the view) -> The status in accurate at 15 minutes on the kanban view [ADD] hr_attendance_presence ============================ Bridge module between hr_attendance and hr_presence. This commit integrates hr_presence module in the employee profile and adds the presence status on the employee kanban view. But hr_attendance adds at the same place a similar status icon for checkin/checkout. This bridge module makes the status from hr_presence invisible as hr_attendance should be the main presence control mechanism. Also, this commit adds the ability (through a new setting option) for hr_presence to take into account checkin/checkout to determine the presence status. l10n_be_hr_payroll ================== integration with employee profile
2018-12-07[IMP] point_of_sale: Connect with Employee on PoSpha-odoo
========= PURPOSE ========= {Any employee can work on a PoS session, even if he has no user. This decreases the cost of PoS App.} We are not competitive enough on the PoS Market because customers have to pay one user per cashier while they expect to pay one user per cash station. =============== SPECIFICATIONS =============== pos.config - Add a checkbox : "Login with Employees" - If set to TRUE, an "Allowed Employees" many2many appear - If employees many2many is empty, all employees can log on this PoS - If set to FALSE, can only log in with the currently logged user hr.employee - The barcode and pin fields were be moved to the hr.employee - Set a barcode (not pin) by default at the creation of any employee - No Employees module with PoS > dependency to hr Open the PoS if "Log in with Employees" = FALSE - Same behaviour than now, when I open the PoS, I'm logged in with the current user and can start working at once. The only difference is that it is not possible to switch users anymore. - The button to close the session is visible Open he PoS if "Log in with Employees" = TRUE - When I open the PoS, the first screen I see is the login screen. (a) I choose my employee and enter my pin code (if there is pin code on my employee, otherwise not required) (I can only see employees that have access to that PoS) (b) I scan my barcode (c) I scan my rfid card (future development) - When I click on the employee name, I can log in with another employee - If the employee is linked to a user that has the pos user/manager access right, I can see the button the close the session. Otherwise I cannot close the session (and thus cannot access backend). - Add field employee on all records created by PoS (and replace the field user by that one) (on pos.orders) Lock Screen - Improve the PoS Interface - Add a new feature to allow to "lock" the session. When a session has been locked, the user/employee has to re-log-in to access the PoS - When I try to re-log-in, by default suggest the last employee logged in in the login screen Migration Plan a migration strategy > barcode and pin is now on the employee and not on the user anymore closes odoo/odoo#28567
2018-10-19[IMP] hr_*: Search on department and on children departmentslul-odoo
Purpose ======= Currently when searching on a department (on the employee view for example) we only retrieve employees from the specific department. It should return all the employees from the department and also from its children departments, like for partners or companies. Specification ============= Adapt all the search view where a department field is used by specifying a 'child_of' operator.
2018-10-02[IMP] hr_{attendance,recruitment,holidays,expense,contract}: add activity ↵Thibault Delavallée
view on main actions Purpose is to extend the use of the newly-introduced activity view allowing to see at a glance activities to perform on a given model. It eases daily job of people working with activities. Updated * employee main menu actions; * leave and allocation request main menu actions; * applicant main menu actions; * expense and expense report main menu actions; * contract main menu action; * attendance employee main action; Following @est-odoo advice the Next Activities menu entry in hr_recruitment is removed as there are already a lot of ways of managing activities: using the systray, using activity view present on most actions, ... This commit is linked to task ID 1889413.
2018-09-19[IMP] hr and dependencies: improve filtersHiral Bhavsar
Specifications: improve search filters and groupby, reorder filters, update some labels. This commit is related to task #1881274 and PR #26938 .
2018-09-10[MERGE] forward port branch saas-11.4 up to 1199451606cChristophe Simonis
2018-09-10Revert "[IMP] *: Define groups on res.users models"Yannick Tivisse
This reverts commit 99f497b390e680629dce3a7e2e282ada74ee9884.
2018-08-13[REF] hr_attendance: replace user's availability iconsri-odoo
2018-07-27[REF] *: BS4, 'pull-left/right' -> 'float-left/right'qsm-odoo
2018-07-27[REF] *: BS4, adapt col-related classesqsm-odoo
col-lg-* -> col-xl-* col-md-* -> col-lg-* col-sm-* -> col-md-* col-xs-* -> col-* col-lg-offset-* -> offset-xl-* col-md-offset-* -> offset-lg-* col-sm-offset-* -> offset-md-* col-xs-offset-* -> offset-* col-lg-pull-* -> order-xl-1 col-md-pull-* -> order-lg-1 col-sm-pull-* -> order-md-1 col-xs-pull-* -> order-1 col-lg-push-* -> order-xl-2 col-md-push-* -> order-lg-2 col-sm-push-* -> order-md-2 col-xs-push-* -> order-2
2018-07-06[IMP] *: adaptation of search viewsGéry Debongnie
It is now possible to easily filter data using periods of time (e.g. Creation Date: This Week). This adds greater flexibility to the search view and has made some old filters become useless. In this commit, we alter the search views in order to profit of the new framework possibilities.
2018-06-22[IMP] Improve compatibility with screen readers (accessibility) (#24574)kujiu
Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable. This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader. * [IMP] Labels must have a for attribute. Improve accessibility. * [IMP] Better error message when trying to read a missing cached value * [FIX] Add some aria-label and title attributes for screen readers. * [FIX] Template name is not included in the error message in case of SyntaxError in QWeb * [FIX] Improve the Tour failed at step error message to be more explicit. * [IMP] Add aria-labels * [FIX] Add missing aria-label on failing test * [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all. * [IMP] Color names on kanban views and many2many tags * [IMP] Add some checks on views for accessibility. * [IMP] Add `alt` attribute on `img` tags. * [IMP] Add aria-label and title on non-described icons * [IMP] Add button role to widgets with btn class * [IMP] Translate aria and formatted attributes. * [IMP] Remove wrong aria-labelledby * [IMP] Add menu role on dropdowns * [IMP] Buttons must be focusable * [IMP] Add aria attributes on progress bars * [IMP] Improve accessibility of basic widgets * [IMP] Change main layout to more semantic tags * [IMP] Add menuitem role when missing * [IMP] Remove wrong role='presentation' * [IMP] Improve accessibility of tab panels * [IMP] Add aria-invalid on invalid fields * [IMP] Add aria-sort on ordered columns * [IMP] Add role on alerts * [IMP] Use dialog role, header, main and footer tags for modals * [IMP] Add labels on o_status * [IMP] Improve accessibility of kanban view with feeds and articles * [IMP] Add alerts in case of new messages * [IMP] Add widget, navigation or img role to aria-labelled items