Commit Graph
103913 Commits
Author SHA1 Message Date
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
qdp-odoo a59703e652 [FIX] account: on opening of bank statement reconciliation widget, don't make automatic reconciliation if we have only one open invoice but also an unreconciled payment line (blue line) with the same amount 2016-06-16 14:30:20 +02:00
qdp-odoo 26dfe8944d [FIX] account: in bank statement reconciliation widget, searching on a given amount now also return blue lines with that amount (previously it was only looking on payable/receivable lines) 2016-06-16 14:26:46 +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
Aaron Bohy d632679a72 [FIX] web: allow overriding webclient rendering context 2016-06-16 13:48:18 +02:00
Jainik Patel f7df2f500f [IMP] crm: No create on crm.activity.report
Purpose:
Goto 'Contacts' menu, select any Partner and click on 'Activities' state
button. The activities are read-only.

'Activities' is not created manually, so why 'Create' and 'Import' button
in Activities tree view?

'Create' and 'Import' buttons are not useful in 'Activities' view.
2016-06-16 13:14:56 +02:00
Olivier Dony a324b22d1e [FIX] mass_mailing: avoid breaking template layouts by stripping classes/data-attributes/style
Rev. c9e38cae9f made the html sanitizer
stricter, and it will not badly break any attempt at composing
a good-looking mail template.
It will also strip all data-* attributes due to the default
`strict` mode, so any theme/snippets used in the template
will be dropped/crippled after saving.

mass-mailing templates are strictly meant for composing
outbound messages, and never displayed directly in users' Inbox
or published on the website. So there does not seem to be any
strict necessity to sanitize them.
2016-06-16 12:47:45 +02:00
Denis Ledoux 9114d36414 [FIX] account: statement_id write on multiple journal items
Before this revision, this was not possible to write
`statment_id` on multiple journal items at a time,
as the condition:
`if 'statement_id' in vals and self.payment_id:`

required `self` to contains only one record
2016-06-16 12:22:42 +02:00
Nicolas Lempereur 50136a1404 [FIX] base: typo for default currency rate 1.0
Since 7eab8e26 rewrite in saas-10, the rate gotten when no
res.currency.rate was present would be 0 which is not wanted and source
of issues. It should still be 1.0 as previously.

opw-681019
opw-681020
opw-681021
2016-06-16 12:14:59 +02:00
Aaron Bohy 022cdaaabb [FIX] web: nocontent_helper style
Correctly hide the 'create' part of the helper if the user can't create
Ensure that a's and span's are inline
2016-06-16 12:03:01 +02:00
Denis Ledoux ae74ebb5ce [FIX] purchase: related_usage must be readonly
The `related_usage` field of `purchase.order`
is a related field to the location `usage` field,
which is defined in order to display/hide
some other field in the PO according to the location usage

This is purely a technical field, which is set only
to change the form view according to the location
usage.

This is not expected to change the location usage
through this field, this field must therefore
be set to readonly.

A change on the location usage could happen because
of the `onchange_picking_type_id`:
If the user changed the picking type, and then the location,
the usage returned by the `onchange_picking_type_id` was
applied on the location, and this must not have happened.

In addition, since `related_usage` is a related to the location
usage, it should be changed as well when the location is changed.
(in the new api, this is no longer required, the related field
is updated automatically).

This revision therefore adds an onchange on the location as well,
to handle this.

opw-676428
2016-06-16 11:32:10 +02:00
Goffin Simon 87b46450ec [FIX] account_extra_reports: date format in Partner Ledger
The dates in the Partner Ledger have to be in the date format language
used by the user.

opw:678575
2016-06-16 11:31:06 +02:00
Denis Ledoux fad2dc8ac4 [FIX] account: statement line reconciliation cancel
On the cancelation of a bank statement line
reconciled with journal items created
by the registering a payment, in addition to unbind
the move with the statement line, the statement must be
unbind from the move, and the payment must be reset
to posted.

opw-680128
2016-06-16 10:27:23 +02:00
Nicolas Martinelli ef5dbac529 [FIX] sale: SO name
In v8, the field "Order Reference" was part of the "Import-Compatible
Export" fields. This is not the case anymore in v9 since the field is
always read-only.

The fix uses the same logic than v8: dedine the field as non-readonly
for state "Draft" in the model, but always set it to readonly in the
view.

opw-676095
2016-06-16 09:30:33 +02:00
Stephane Le Cornec ff95ea976d [CLA] Microcom.ca CCLA: Microcom Informatique Inc., Montreal
Closes #12398
2016-06-15 20:24:32 +02:00
Jeremy Kersten 72d03e8fce [FIX] website_portal: check optional field 2016-06-15 17:45:24 +02:00
Nicolas Martinelli 0d19ee989d [FIX] barcodes: manage several barcode widgets
In some cases, several barcode widgets can be found on the same page.
This is for example the case of the stock picking: there is a widget on
the `stock.picking` model (main view) itself, and a widget on the
`stock.pack.operation` model (modal view).

In this case, when the focus is not set directly on the field which
needs to be filled in, both widgets will trigger a `barcode_scanned`
scanned event. This will call the `on_barcode_scanned` Python method
which can lead to errors/warning. For example, the `on_barcode_scanned`
method on the `stock.picking` model raises a warning in case the barcode
scanned does not match any product/package.

The fix is to make sure that the event target is located in the correct
DOM element.

opw-677506
2016-06-15 15:11:41 +02:00
Christophe Simonis 9fe4cf5f72 [MERGE] forward port of branch saas-11 up to dda0d3d
# Conflicts:
#	addons/product_uos/i18n/lo.po
#	addons/sales_team/models/__init__.py
#	addons/website_payment/views/website_payment_templates.xml
#	addons/website_portal_sale/views/templates.xml
#	openerp/addons/base/ir/ir_qweb.py
2016-06-15 13:10:45 +02:00
Christophe Simonis dda0d3d62d [MERGE] forward port of branch saas-10 up to baf494c
# Conflicts:
#	addons/hr_timesheet/project_timesheet.py
#	addons/sale_layout/i18n/es_PE.po
#	addons/sale_layout/i18n/hu.po
#	addons/sale_layout/i18n/lo.po
#	addons/sale_layout/i18n/pl.po
#	addons/sale_service/i18n/es_MX.po
#	addons/sale_service/i18n/es_PE.po
#	addons/sale_service/i18n/lo.po
#	addons/stock/stock.py
#	addons/stock/stock_view.xml
#	addons/warning/i18n/es_PE.po
#	addons/warning/i18n/lo.po
#	addons/warning/i18n/ru.po
#	addons/web/i18n/cs.po
#	addons/web/i18n/ja.po
#	addons/web/i18n/lo.po
#	addons/web/i18n/th.po
2016-06-15 12:59:39 +02:00
Christophe Simonis baf494c67b [MERGE] forward port of branch saas-9 up to 1d81bb0
# Conflicts:
#	addons/account_extra_reports/i18n/ca.po
#	addons/account_extra_reports/i18n/fi.po
#	addons/account_extra_reports/i18n/pl.po
#	addons/account_extra_reports/i18n/te.po
#	addons/account_extra_reports/i18n/zh_CN.po
#	addons/account_full_reconcile/i18n/hu.po
#	addons/account_full_reconcile/i18n/pl.po
#	addons/crm/crm_lead_menu.xml
#	addons/crm_claim/i18n/es_PE.po
#	addons/crm_claim/i18n/hu.po
#	addons/crm_claim/i18n/ja.po
#	addons/crm_claim/i18n/pl.po
#	addons/delivery/views/delivery_view.xml
#	addons/product/product_view.xml
#	addons/project_timesheet/i18n/es_PE.po
#	addons/stock/stock_view.xml
2016-06-15 12:40:59 +02:00
Christophe Simonis 1d81bb06a4 [MERGE] forward port of branch 9.0 up to 972efbc 2016-06-15 12:14:21 +02:00
Stefan Rijnhart 606eab8ef8 [FIX] product: make copy friendlier to overrides
Do not force to use "<name> (copy)" when duplicating

Closes #12397
2016-06-15 12:07:14 +02:00
Abhishek Kumar Singh 972efbc0d1 [FIX] doc: typo in install document
Closes #12402
2016-06-15 11:45:03 +02:00
Abhishek Kumar Singh 24b161d816 [CLA] signature for toanant
From #12402
2016-06-15 11:44:10 +02:00
Goffin Simon b7970130e5 [FIX] account_asset: ordered posted depreciation lines
To recompute the depreciation board the last depreciation date must be
taken.

opw:679212
2016-06-15 11:09:45 +02:00
Géry Debongnie b222094589 [REM] web_analytics
Too many problems for not enough gain...
2016-06-15 10:31:31 +02:00
Martin Trigaux 9eac70db35 [FIX] product: do not display state field
The field was removed from the form view at af9d21b3 during a refactoring but
was forgotten in the tree view.
It makes no sense to display a field that the user can not change.

The same field was already invisible on the product.product tree view since
43977de.

Make it invisible instead of removing it to avoid breaking potential xpaths.

Fixes #12418
2016-06-15 09:53:38 +02:00
Ravi Gohil 46bc624479 [IMP] hr_holidays: a few code improvements
- added encoding to xml files
- replace search_read() with search() for _search_absent_employee()
- fixed setting first date of current month as default value for wizards
- reduce calls to <dict>.get()
2016-06-15 09:47:10 +02:00
Ravi Gohil da1d29ba5b [IMP] hr_holidays: clean tests code
Like xmo-odoo suggests, stop add Model attribute and other
variables on `self` in test cases. It makes the code unclear
and difficult to understand the test case.
2016-06-15 09:47:10 +02:00
Ravi Gohil ec77764e8d [FIX] hr_holidays: fixed potential crash
This was introduced by migration commit 46ccb7036f
2016-06-15 09:47:10 +02:00