Commit Graph
489 Commits
Author SHA1 Message Date
Denis Ledoux 94920b43c9 [FIX] *: typo Important Messages -> Unread Messages
While this is important to read the replies
you get in the threads you follow, `Unread messages`
is more accurate to describe what these filters
displays.

opw-666739
2016-01-14 10:48:37 +01:00
Christophe Simonis 3d1f1d6c28 [FIX] hr: Only show Employee's tags to HR Users
Keep the same behavior as 8.0
2015-12-03 20:08:54 +01:00
Christophe Simonis 56a442e205 [MERGE] forward port of branch saas-6 up to dade7e3 2015-11-25 13:26:02 +01:00
Denis Ledoux 238b2027b0 [FIX] hr: retrocompatibility for last_login in employee kanban
This revision is related to 67e07d55ee
We reset back a `li` element with `id="last_login"`,
for views inheriting from this kanban view on this field.
2015-11-10 13:32:01 +01:00
Denis Ledoux 67e07d55ee [FIX] hr: last login hour on employee kanban.
Setting a value for the `date` field on a partner of
an employee leaded to a crash in the employees
kanban view.

This last login field on the employee kanban
had as goal to display the last connection hour
of each employee, if the last
login happened within the current day.

Since 7.0, the last login date field  on `res.users`
has been renamed from `date` to `login_date`,
and became a date instead of a datetime.

Nevertheless, the `last_login` related field
on `hr.employee` remained on the field `date`,
which is set on the `res.partner` model,
but is not used as a connection date field. The
related should have been updated to use
`res.users`.`login_date`, probably, but it
wasn't the case.

From saas-6, the `date` field is no longer available
on the `res.partner` form.

We can therefore safely assume that this feature
is no longer used nor needed, as:
 - It should display the last hour of connection within a day
 - but it uses the wrong date field
 - and it uses a field type for which the hour is not stored (date).
 - even by updating the related to use `login_date`,
   it would still be a field where the hour is not stored.

opw-654313
2015-11-10 11:12:15 +01:00
Richard Mathot 711878c18c [FIX] hr,l10n_in_hr_payroll: ACL errors for users who are not HR Officer/Manager
These menus were visible to all employees, but the reports use
hr.salary.rule.category that is only available to HR Officers/Managers.

As these reports are not meant to be available for employees anyway, we
hide them.

(this bug has been spotted by the nightly crawler that clicks on every
menu as demo user)
2015-10-08 08:46:03 +02:00
Yannick Tivisse 152325e7b1 [IMP] Still placeholders, labels are back
fp request
2015-09-04 10:28:44 +02:00
Yannick Tivisse c9f497e046 [IMP] Replace labels by placeholders in some form titles
Impacted modules : event, gamification, hr, hr_equipment, hr_timesheet_sheet
                   mass_mailing, product, survey
2015-09-03 15:45:48 +02:00
Raphael Collet ed95043d7e [IMP] *: add archive/unarchive feature on some models
Add the statbutton, search filter, and enable the kanban column archiving on
models `res.partner`, `crm.lead`, `event.event`, `hr.employee`, `hr.applicant`,
`mail.mass_mailing`, `mail.mass_mailing.list`, `product.product`,
`project.project`, `project.task`, `project.issue`.
2015-09-02 14:29:42 +02:00
qsm-odoo bc11426ab0 [IMP/FIX] *: Kanban dashboard LESS layout
* Fix alignement/layout problems since the reintroduction of
bootstrap grid gutter.
* Fix mobile layout problems.
* Fix various Firefox problems.
* Use odoo variables and simplify LESS.
* Use input type="text" instead of input without type.
2015-09-02 13:22:13 +02:00
Yannick Tivisse da7de41d9f [IMP] hr: Add a no_content message on the act_employee_from_department action 2015-08-31 12:58:43 +02:00
Yannick Tivisse 31b0e5d890 [IMP] hr: Move fields email,phone and tags fields on employee form view 2015-08-31 12:58:43 +02:00
Yannick Tivisse 4be59f81a5 [IMP] Do not display switch view buttons on dashboards. 2015-08-31 09:08:12 +02:00
Thibault Delavallée 681adaba4f [FIX] hr, hr_*: form view clean / fix
HR settings tab of the employee form view was quite ugly. The inherits were causing
a strange layout. It is now fixed. Some items have been relocalized to ease
the readability of the form view.
2015-08-25 17:42:24 +02:00
qsm-odoo 2a3f359ae8 [REF] * : Remove oe_left of oe_title & oe_avatar
LESS rules (enterprise compatibility) :
* .oe_avatar is float:left by default
* .oe_title is placed between oe_avatar/oe_button_box if any
without the need to make it float
2015-08-21 14:31:11 +02:00
Thibault Delavallée 88b8cd0587 [REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
  - using a channel; messages will be displayed on the channel itself
  in a near future commit
  - following with its partner; messages will all be considered as
  needaction, using a new m2m table. People should receive less
  needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
2015-08-21 12:11:56 +02:00
qsm-odoo 916187e0fb [FIX] web_kanban + others: kanban record two columns layout
* Remove use of flex for kanban record layout (text overflow ellipsis
could not work in row wrap flex layout as flex would prefer to wrap its
elements than add an ellipsis inside its content)
* Fix xml templates (double use of o_kanban_image + non-existing class)
2015-08-20 15:26:03 +02:00
qsm-odoo b5621fb21b [FIX] web_kanban, hr, fleet: missing btn-sm
* Kanban quickcreate widgets
* Buttons in kanban records
2015-08-20 15:26:03 +02:00
rap-odoo d86406e8af [IMP] hr: removed employee username from kanban 2015-08-11 09:56:36 +02:00
Nicolas Martinelli 176dc1e524 [FIX] hr: onchange_user does not overwrite name and image
We keep the previous behavior by not overwriting the name and the image if they
already exists.

Related to #7397
2015-08-07 15:07:47 +02:00
Antony Lesuisse 1e90257e58 [IMP] tags: add unique constraints
- remove tags translatability
- add unique constraints
- res.partner.category is kept until we remove the parent_store test.
- hr remove tag parenthood
- hr remove unsed views and menu
2015-08-07 00:51:14 +02:00
Martin Geubelle 00fa979264 [IMP] hr: improve hr_employee kanban view
Mainly fixes for the follow button and move css to less
2015-08-06 11:40:07 +02:00
Aaron Bohy 5ebcc01fda [REF] *: search view: remove deprecated icon from filters 2015-08-04 12:16:16 +02:00
qsm-odoo d792afe836 [FIX] hr: employee form view template
Title fields were not correctly aligned in enterprise version
2015-07-30 11:53:10 +02:00
Joren Van Onder a805e091c6 [MIGR] hr_recruitment: migrate to the new API.
This commit should not contain heavy code cleaning or refactoring.
The code has been translated and maybe slightly improved or
simplified.
2015-07-24 15:50:51 +02:00
bpa-odoo 90ba0d1cb4 [IMP] hr, hr_recruitment: usability improvement
- hr: improve form view with 2 columns and remove requirements.
- hr_recruitment: remove case_default and legend_priority fields, improve dashboard, move recruitment.stage data in demo and improve form and kanban view of hr.applicant.
2015-07-20 11:23:35 +02:00
Thibault Delavallée 4a818d84a5 [REF] mail: mail.thread fields cleaning :
- removed message_summary, a field that computes html containing the number
of unread messages. This field was used only in kanban views. Probably that
in earlier versions of the kanban view this field had a use; however now
we can directly use a counter and use it in the kanban templates.
- message_unread_counter is added, a counter of unread messages computed
in the same time as message_unread. It is now used in kanban views.

Views of several addons have been updated.
2015-07-09 11:13:02 +02:00
Briksisn c643c8bb39 [IMP] hr: automatic fields population
When creating new Employee and linking to the existed user, this fix will
populate not only email address field, but also full name and avatar image.

Closes #7397
2015-07-06 09:49:39 +02:00
Yannick Tivisse 024546919e [IMP] employees form view : Usability improvements
- remove otherid field from the model, and the reports
    - reorganize several fields on the form
    - removed group_multi_department group, departments are always activated,
      as 3 departments are now in the datas
    - departments menuitem is accessible to the hr officers and managers only
    - removed all the configurations in the employee root menu
    - moved payroll country module selection to payroll configuration
    - removed useless fields from the form : attendance state, goals_ids,
      remaining leaves, as they are accessible via stat buttons, kanban views, etc.

Conflicts:
	addons/hr/hr_view.xml
	addons/hr_holidays/hr_holidays_view.xml
2015-06-23 16:08:19 +02:00
Yannick Tivisse 92474cd706 [IMP] hr, hr_attendance, hr_contract, mrp : menuitems modifs 2015-06-23 15:15:06 +02:00
Simon Lejeune 74d1e43a40 [ADD] many addons: add new icons
This commits adds icons for most applications.  They are
necessary for the home menu in the enterprise edition.
2015-06-18 12:58:18 +02:00
qsm-odoo faa14705ed [FIX][IMP] Template changes
Fix many templates + Add some features the enterprise edition will use
2015-06-18 10:57:35 +02:00
Nicolas Lempereur e765875700 [FIX] form_views: fix button box for new design
Now there should be only one button box per page, and the name should be
"button_box".

Conflicts:
	addons/crm/crm_tip_data.xml
	addons/event/event_tip_data.xml
	addons/fleet/fleet_view.xml
	addons/hr/hr_view.xml
	addons/hr_recruitment/hr_recruitment_view.xml
	addons/project/project_tip_data.xml
	addons/purchase/purchase_tip_data.xml
	addons/sale_crm/sale_crm_view.xml
	addons/website_quote/views/website_quotation_backend.xml
	openerp/addons/base/res/res_partner_view.xml

Conflicts:
	addons/account_reports/views/partner_view.xml

Conflicts:
	addons/claim_from_delivery/claim_delivery_view.xml
	addons/stock/stock_view.xml
2015-06-15 16:30:37 +02:00
Géry Debongnie efe9e0241f [IMP] hr: update some templates to new design 2015-06-15 16:30:36 +02:00
Thibault Delavallée b865005fca Revert "[IMP] HR Usability cleaning"
This reverts commit 79c338dcb352be3d40118f998a76e1b7576a35da.
This commit has been done hastily without review. Moreover it
mixes changes related to different stuff.

The commit is then reverted to allow a propre review and cleaning
of the branch.
2015-06-09 12:52:03 +02:00
Yannick Tivisse 4997c18a8e [IMP] HR Usability cleaning 2015-06-09 12:52:03 +02:00
Yannick Tivisse c210cd3e3b [IMP] Reorganize menuitem into coherent block instead of ordering
them alphabetically
Bloc Simple apps
1 Chat
2 Agenda
3 Notes
4 Contacts

Bloc Sales apps
5 Sales
10 Lead Automation
15 Members
20 Point of Sale
25 Purchases

Bloc Operation apps
30 Warehouse
35 Manufacturing

Bloc Accounting app
40 Accouting/Invoicing
45 Payroll

Bloc Project
50 Project
55 Timesheets

Bloc Marketing
60 Mass Mailing
65 Events
70 Surveys

Block HR
75 Employees
80 Recruitment
85 Appraisal
90 Attendances
95 Leaves
100 Expenses
105 Lunch
110 Equipments
115 Fleet

Bloc Website
200 Website
205 Live Chat
210 Versionning
215 Website Admin

Bloc Settings
300 Knowledge (Hidden if not base.group_configuration)
305 Dashboards
310 Modules
500 Settings
2015-05-27 15:24:14 +02:00
Yannick Tivisse e5d47c6af2 [IMP] menuimprovements : typos, misplacement 2015-05-27 15:24:14 +02:00
Yannick Tivisse ecd0f9a637 [IMP] Move all the configuration menus to the related module
add a group menu_configuration in the admin rights
2015-05-27 15:24:13 +02:00
Nicolas Martinelli 6fe928a54b [IMP] many modules: use bootstrap contextual colors in tree views 2015-05-26 11:39:26 +02:00
Martin Geubelle 0aa5bb7ada [ADD] hr, hr_*: new dashboard view for hr departments 2015-05-12 18:00:08 +02:00
Yannick Tivisse 74f3cbc6a6 [IMP] New design : menus reorganization
- Several Modules have been splitted into several apps
  Examples :
      Human Resources : Splitted into Leaves, Recruitment, Expenses, Appraisals, Timesheets, Employees, Payroll
      Marketing : Mass Mailing, Events, ...
      Messaging : Chat, Agenda, Notes, Address Book, ...
- Generally, the related reports have been moved in the apps, as last menu
- Also, configuration menu (no_one group) have been moved into a config root menu
  exception made for the warehouse and lunch modules
- Configuration for typical frontend modules have been moved into the website settings
  Related modules : Ecommerce, blog, slides, forum
- When they are present, menus like 'product' or 'customers' have been moved
  ex : Customers in Sales menu, Product in POS menu
- A lot of sequences and xmlids have been added or modified in this commit
- List of apps :
1  Chat : Inbox, Channels
2  Agenda : Calendar
3  Notes
4  Address Book : The view contact is still laying in the mail module (1 app => 2 icons)
5  eCommerce : Still to define : Config + Orders Analysis + Shipping + incoming Amazon module
6  Sales : Dashboard (Sales Team Kanban), CRM, Sales (note that they are splitted into 2 submenus)
         Assignation, After-Sales (Invoicing and Services), Reports
7  Point of Sale : Dashboard (POS status), Orders, Reports
8  Project : Dashboard (Project Kanban), Search (all tasks, issues), Incoming Forecasts module, Reports
   Project.issue.version feature has been removed completely
9  Members : Dashboard (Members Kanban), Report, Config
10 Timesheets : Time Tracking, Approvals, Reports
11 Purchase : Purchase, Control (Products and Bills)
12 Warehouse : Dashboard (Warehouse Kanban), Operations, Inventory Control, Schedulers, Configuration
13 Manufacturing : Same menu structure
14 Mass Mailing : Mailings, Campaigns, Reports
15 Events : Events, Reports
16 Lead Automation : Campaigns, Reports
17 Surveys : Surveys, Reports
18 Human Resources : Dashboard (Departments Kanban), Employees, Contracts, Engagement (Gamification)
19 Recruitment : Job Positions, Applications, Resumes & Letters, Reports
20 Expenses : Expenses, Approvals, Reports
21 Leaves : My Leaves, Approvals, Reports
22 Appraisals : Appraisals, Interview, Reports --> Will probably be modified by the incoming refactoring
23 Payroll : Current Menu
24 Lunch : My Lunch, Manager, Configuration
25 Accounting : Same menus currently, waiting the new accounting to be merged
26 Fleet : Current menu
27 Sign : Incoming docusign module
28 No root menuitem with this sequence
29 Attendance : Attendance, Reports
   Sign in/out by project feature has been removed completely
30 Link Tracker (group_no_one) : Link Tracker, UTMs
   New view added : URL Shortner, which is the frontend view embedded in backend
31 Versionning : Website domain, Versions, Experiments
32 Slides (group_no_one) : Channels, Categories, Slides, Tags
33 No root menu item with this sequence
34 Livechat : Channels, History, Reports
35 Dashboards : My Boards, Configuration
36 App Store : Local Modules, Apps, Updates
Last Settings : Incoming Dashboard Settings, Sales, ...., Website Settings
General Pattern for all modules' settings :
| Module_name
|-- Settings : General Config view (checkbox screen)
|-- Record setting 1
|-- ...
|-- Record setting n
Example for Sale module
| Sales
|-- Settings : Checkbox screen
|-- Quotations
|---- Quotation Templates
|---- Report Layout Categories
|---- Contract Template
|---- Invoice Type
|-- Contract
|---- Deduplicate Contacts
|-- Delivery
|---- Delivery Methods
|---- Delivery Pricelist
2015-04-24 16:41:08 +02:00
hardik 3c8aafa753 [IMP] hr : employee contact details added to HR kanban view 2015-04-20 10:04:49 +02:00
Jérome Maes a8326cc66c [IMP] ir, hr : deprecate the xml ir_set tag, since it was use only once in hr module. Replace the ir_set with record notation with 'ir.values' as model in hr_holidays module. 2015-04-15 14:56:13 +02:00
Yannick Tivisse a681ac61c4 [IMP] hr,marketing,website_forum,association : add rights to hide the menuitem to simple employees 2015-04-02 10:56:20 +02:00
Yannick Tivisse 9ec5240a1a [IMP] Kanban view, better layout for all the items : messages, tags, ... 2015-03-11 15:45:28 +01:00
Pankaj Joshi 02cc08586b [ADD] fa-icon for website applications dropdown menu 2015-03-09 15:19:28 +01:00
dka-odoo d27910a8f2 [IMP] hr_department: new kanban view for HR Departments.
hr add a simple kanban view that is updated by the various hr modules.
Each module adds statistics and links in the kanban vignette, either
in a to do or to approve column.

The department kanban view can be seen as a small dashboard to have
the main data about the department displayed. Links allow the HR
manager to be redirected towards the various things to do or to
approve in its department.
2015-02-25 11:25:40 +01:00
Christophe Simonis 7f2de62378 [MERGE] forward port of branch 8.0 up to 33a8989 2015-02-11 17:25:33 +01:00
Jeremy Kersten 5a26c2d3ec [FIX] crm,hr,base: disable the quick create for country field
The creation of a country is not something to create at flight !
The impact could be bigger that what people was expected (no accounting configured, ...).

The bad manipulation is more often the responsible, eg 'Belgium ' was creating a new country with a trailing whitespace, while the user didn't see the difference and use both country withtout making the diff.
2015-02-05 14:14:59 +01:00