Commit Graph
103377 Commits
Author SHA1 Message Date
Yannick Tivisse 717f9217bb [IMP] hr_expense: bring back the sheets + other new features
NB:
- The option no_delete is not working, a fix will come from chm
- The many2many widget on a sheet creation is not working correctly as
  the called command is a (1, id, values) without a (4, id, _) before.
  A fix will also come from chm, but a disgusting hack has been
  provided for this particular case (to remove after chm fix)
2016-06-17 12:14:57 +02:00
Yannick Tivisse 5aa9bde34a [FIX] mass_mailing: Append unsubscribe url to mail body 2016-06-17 11:23:13 +02:00
Keyur Gajjar 7652b6388a [REM] mass_mailing: removed unused method mass_mailing_statistics_action() from models/mass_mailing.py 2016-06-17 11:23:12 +02:00
Keyur Gajjar bbca135410 [MIG] mass_mailing: code migration to new api
NB: A controller in website_mass_mailing has been migrated too. It's not a real issue
as this module will also be migrated in the days to come
2016-06-17 11:23:12 +02:00
Keyur Gajjar 1467689edf [MOV] mass_mailing: splitted the following files + new api
1. Splitted data/mass_mailing_data.xml to security/mass_mailing_security.xml for res_groups data.
2. Splitted views/mass_mailing_views to
    - views/link_tracker_views.xml
    - views/mass_mailing_stats_views.xml
    - views/mass_mailing_template.xml
2016-06-17 11:23:12 +02:00
Keyur Gajjar 1c1b049898 [MOV] mass_mailing: directory restructuring according to new api 2016-06-17 11:23:12 +02:00
Damien Bouvy 654237b43c [FIX] website_quote: test uses field that doesn't exist
Or at least doesn't exist anymore.
2016-06-17 08:33:07 +02:00
Raphael Collet 1a6e934a55 [MIG] yaml_import: convert to the new API 2016-06-16 16:54:30 +02:00
Raphael Collet c69831379f [MIG] convert: convert to the new API 2016-06-16 16:54:30 +02:00
Raphael Collet 6056a7d1d2 [MERGE] convert BaseModel and expression to the new API 2016-06-16 16:53:22 +02:00
Raphael Collet 7901349779 [FIX] expression: in subsearch, use all remaining fields
For instance, searching on `partner_id.company_id.name` was doing a sub-search
on `company_id` instead of `company_id.name`.
2016-06-16 16:50:49 +02:00
Raphael Collet 8aec98cde8 [MIG] expression: convert to the new API
With code simplification, and turning recursive functions into iterations.
2016-06-16 16:50:48 +02:00
Raphael Collet 4edcba696e [IMP] api: make Environment implement the Mapping API 2016-06-16 16:50:48 +02:00
Raphael Collet 5ba7ce138b [FIX] test_new_api: avoid crappy monkey-patching of res.partner 2016-06-16 16:50:48 +02:00
Raphael Collet 2c6f34d568 [FIX] models: fix implementation of method _check_m2m_recursion
The former algorithm was incorrect: when checking two related nodes together,
it returned as if a cycle was found (even when no cycle was present.) The new
algorithm computes the transitive closure of the relation from the root nodes,
and stops as soon as a cycle is found.
2016-06-16 16:50:47 +02:00
Raphael Collet 5161e25112 [FIX] models: in _write(), the smallest parent_left is 0 instead of 1 2016-06-16 16:50:47 +02:00
Raphael Collet 19561727a7 [MIG] models: convert class BaseModel to the new API 2016-06-16 16:50:47 +02:00
Raphael Collet 4f2f1247a6 [IMP] api: make decorator @returns work when model=None
Specifically, the `upgrade` function simply returns the given value.
2016-06-16 16:50:47 +02:00
Raphael Collet 684df5b2dc [REM] fields: remove support for deprecated properties read and write 2016-06-16 16:50:46 +02:00
Raphael Collet 8da9116f5d [REM] models: remove deprecated method BaseModel.import_data() 2016-06-16 16:50:46 +02:00
Martin Trigaux 43f619ed76 [FIX] payment: correctly trigger the constraints
The third parameter expects a list of field, not some random string.
This made the constraints for the fields tagged with required_if_provider to be
never checked.

Closes #12458
2016-06-16 15:51:50 +02:00
Martin Trigaux 1cd356c6f6 [FIX] payment_sips: missing required value 2016-06-16 15:51:50 +02:00
Mohammed Shekha 58d57f9154 [IMP] website_event_question: Front-end register display improvements
Purpose:
Registration form needs some improvement : When there is lots of question
and answer and sometimes question is too long then view is mashed/weired

Improve the view and show one question and one answer on line, next question
and answer will come on next line,
Also change the common question/answers view, put question answer in
inline and each question/answer should come into next line

Mockup : http://bit.ly/1zpoWju
2016-06-16 15:09:54 +02:00
Aaron Bohy a48f47d470 [MERGE] web_tour, *: onboarding
- Deletion of addon web_tip
- Creation of addon web_tour (a tour being a succession of tips)
- Creation of onboarding tours for several apps:
	- Accounting
	- CRM
	- Discuss
	- HR Expense (first step only)
	- HR Recruitment
	- Project
	- Sale
- Various usability improvements (mainly onboarding-oriented)
2016-06-16 14:59:57 +02:00
Aaron Bohy 99a6f4ac72 [ADD] mail: onboarding tour 2016-06-16 14:59:41 +02:00
Fabien Pinckaers f972b60dc2 [ADD] sale: onboarding tour 2016-06-16 14:59:41 +02:00
Fabien Pinckaers ad0bc9adf2 [ADD] project: onboarding tour
Also:
 - creation of a (archived by default) sample project with tasks, that the
   user can activate to discover the project app.
 - improvement of the simplified form view to create a new project
2016-06-16 14:59:41 +02:00
Fabien Pinckaers 3c319b2b8b [ADD] hr_expense: onboarding tour
first step only, to be continued...
2016-06-16 14:59:41 +02:00
Fabien Pinckaers 3f4c062023 [ADD] hr(_recruitement): onboarding tour
Also some tweaks in views (mainly wording)
2016-06-16 14:59:41 +02:00
Fabien Pinckaers 025dcfcd68 [ADD] crm: onboarding tour
Also add a simplified form view to create opportunities
2016-06-16 14:59:41 +02:00
Fabien Pinckaers b0610837c3 [ADD] account(_accountant): onboarding tour 2016-06-16 14:59:40 +02:00
Aaron Bohy 0980546f41 [IMP] web_tour,website: enable web_tour in the frontend 2016-06-16 14:59:40 +02:00
qsm-odoo d0993c19ad [IMP] web_tour: tip animation
* Improve the JS/LESS so that its content makes the tip grow
with a bubble effect (instead of using a popover).
* Avoid flickering when the mouse leave/enter the tip or move
between the tip and its anchor element.
* Use text-align:left instead of justify
* Set the content width in JS (to a larger width) to be customizable
* Round LESS variable to avoid values like 266.6666666666
* Set opening direction according to viewport:
  - Top and bottom tips open towards the right except if they overflow
    the window on this right
  - Left and right tips open towards the bottom except if they overflow
    the window on this bottom
* Improve the 'Skip these steps' mechanism (which is easier as we don't
  use bootstrap's popover anymore)
2016-06-16 14:59:40 +02:00
Aaron Bohy 38bb6a7f81 [ADD] openerp,web,web_tour: new web_tour addon
Join work with ged
2016-06-16 14:59:40 +02:00
Aaron Bohy 6416c46d85 [REM] *: remove web_tip addon and its data in other addons 2016-06-16 14:59:40 +02:00
Fabien Pinckaers dd9fc5618a [IMP] sale_timesheet: open tasks in Kanban grouped by stage_id
instead of list view, by default.
2016-06-16 14:59:40 +02:00
Adrien Dieudonne 9b69184ffa [REM] project: remove state field on project.project
Also remove unused method _generate_task()
2016-06-16 14:59:40 +02:00
Adrien Dieudonne 9f2852fe8a [IMP] account, purchase: add menus to products in account 2016-06-16 14:59:39 +02:00
Adrien Dieudonne 7c3b056966 [IMP] product, website_sale: remove product from apps 2016-06-16 14:59:39 +02:00
Adrien Dieudonne ff4cffd5a3 [IMP] project: usability improvements
Simplified form view to create new projects
Always use quick create to create tasks
Remove chatter from project form view
Display the 'more' link in project dashboard in gray
2016-06-16 14:59:39 +02:00
Adrien Dieudonne ef83d19b6c [ADD] web_kanban: on_create attribute
Possibility to specify the action to execute when the user clicks on 'Create'
in the kanban view.

If set to magic 'quick_create', it opens the quick create in the first column.
2016-06-16 14:59:39 +02:00
Adrien Dieudonne 939ebba682 [IMP] web_kanban: grouped: set 'Create' btn-default if no column
... and reset it btn-primary when a first column is added
2016-06-16 14:59:39 +02:00
Aaron Bohy c577fccb3f [IMP] web: webclient: listen to scroll event
and propagate events on the main bus
2016-06-16 14:59:39 +02:00
Aaron Bohy e7256058f2 [ADD] web: is_admin key of session_info into page source 2016-06-16 14:59:39 +02:00
Mansi Gandhi 0abd35fbfb [IMP] mail: Notification email template header buttons order
On emails sent from tasks, the button "View Task" should be the main
Call to Action (primary), not New Task (that should be link like unfollow):
2016-06-16 14:09:46 +02:00
Adrien Dieudonne a9b0561106 [FIX] *: use new JS module to read from/write in localStorage
to prevent errors when the localStorage capacity is 0, which is the case e.g.
on private browsing with Safari.
2016-06-16 13:48:18 +02:00
Adrien Dieudonne 8580636bad [ADD] web: js module to communicate with localStorage
Private browsing in Safari doesn't allow to store anything in the localStorage,
and it throws an error when you try to do so. This new JS module is a connector
to the browser's localStorage if it is enabled, and if not, it simply keeps its
own storage in RAM.
2016-06-16 13:48:18 +02:00
Aaron Bohy 6c9567ae3c [IMP] base,web: ir_action: target main to clear breadcrumbs
New value for the selection field 'target' of ir_actions_act_window which
forces the breadcrumbs to be cleared before executing the action.
2016-06-16 13:48:18 +02:00
Aaron Bohy c9fe301cfc [REF] base: ir_actions: remove unused target value 'inlineview' 2016-06-16 13:48:18 +02:00
Aaron Bohy 2e29f388c5 [FIX] calendar,pos,web: show_application should return a deferred
Also remove unused options dict from WebClient (especially action_post_login)
2016-06-16 13:48:18 +02:00