Commit Graph
106440 Commits
Author SHA1 Message Date
Nicolas Martinelli 0350ab81b8 [FIX] web: prevent double-click on statusbar
When double-clicking on the statusbar widget, two calls to write are
performed. This can cause unwanted behavior, and when the `write` method
takes a lot of time to process, it's not possible to prevent it
server-side.

Courtesy of @gurneyalex and @aab-odoo

Closes #13135
opw-686025
2016-08-16 13:06:03 +02:00
Ankit Joshi 533b8d2288 [IMP] account: add pivot view for journal items 2016-08-16 11:01:35 +02:00
Ankit Joshi b215ead6db [IMP] account: change 'Partner Reference' label to 'Reference'
In Journal Item View.
2016-08-16 11:01:34 +02:00
Raphael Collet 38e7a1318a [REM] most uses of self.pool 2016-08-16 09:55:46 +02:00
Raphael Collet ffdafd3f8a [REM] most uses of _model (useless in most cases) 2016-08-16 09:55:46 +02:00
Odoo Translation Bot 71594f5958 [I18N] Update translation terms from Transifex 2016-08-14 03:04:34 +02:00
Odoo Translation Bot 842bf793f5 [I18N] Update translation terms from Transifex 2016-08-14 00:38:20 +02:00
qsm-odoo 7fd1f5ac48 [FIX] web_tour: properly filter on visible elements
When checking the DOM for tour step trigger, the ":visible" jQuery
filter was used to get the visible elements. The problem is that this
filter does not care about the visibility css property. So, for jQuery,
a display:block and visibility:hidden element is visible.

This was an issue as kanban ghosts or settings panels in odoo are
hidden thanks to the visibility property instead of display.
2016-08-12 16:09:57 +02:00
qsm-odoo de0d9fd666 [FIX] web_editor: visibility of customize snippet option button
Commit 57c09e8a8e was supposed to fix the problem but only made it
worse in some cases. Since the new option parenting system, the
customize button visibility should not be determined on creation as
parent and own options are appended on snippet focus. Also, removing
the dropdown header if it was alone was a bad idea as this is it which
contains the information of options and all the options have not
necessarily a <li/> tag in the dropdown.

For example, the many2one option has no <li/> in the dropdown and is
the only option of the field snippet. So with the previous commit, the
dropdown header was removed as there is no <li/> in the dropdown other
than this header. So as the header was removed, on snippet focus, there
was no way to determine the many2one option exists, so its on_focus
method was not called.

Now, the dropdown-header is always kept. The visibility of customize
button is determine on snippet focus.
2016-08-12 16:09:57 +02:00
Denis Vermylen (dve) 856f2e87e6 [IMP] hr_attendance: improve presence indicator
Employee presence indicator in kanban view could previously be confused with
other status indicators from other models that indicated that it was ready for
next stage (green dot).
improved by using fa-user symbol instead of dot.
2016-08-12 14:30:22 +02:00
Damien Bouvy 332adff573 [FIX] base: set current company as default for currency rates
When manually creating/importing a currency rate, there is no default
on the company_id field.

This is quite unfortunate, as rates are filtered by company then by
date, which means that a rate without company will never be taken
into account despite being newer. This filter makes sense for multi
company setups, but for mono-company setups this is quite annoying.

This commit adds a default on the company_id and adds a view for
the base_currency_rate model to only display the company field in
multi company settings.
2016-08-12 14:27:31 +02:00
Jérome Maes f368c0184d [FIX] hr_contract: employee contract is the last one, and not the first
Migration to new API mistake, due to 095d0174fd
2016-08-12 14:00:09 +02:00
dut-odoo 93f60ff0ef [IMP] delivery,website_sale_delivery: improve delivery methods publishing information
- Remove duplicate search view from delivery module.
- Add website_published in tree and search view of delivery.so that
  we can check at a glance which carrier is available in frontend.
2016-08-12 13:47:47 +02:00
Foram Shah a78bc40c8f [FIX] calendar: resolve traceback on add followers and channels
Overriding default_get without re-decorating it leads to issue.
Oversight from rev 6bc14c9142
2016-08-12 12:07:01 +02:00
Christophe Simonis d7b7b07f9e [FIX] mail: avoid errors in /longpolling/poll requests
When a request fail due to a database concurrency error, the request is
replayed. However, the `mail` overwrite of /longpolling/poll requests
modified its arguments inplace, which lead to a sanity check to failed
in case of retry.

Fixes #13121
2016-08-12 10:45:43 +02:00
Jainik Patel 1afdbd6d89 [IMP] sale: remove stages from leads
- Remove the the group by 'Stage' on the lead search view.
- Remove the kanban view for the leads.
- Remove Stage column from the lead list view.

They get to use stages as soon as they are opportunities.
2016-08-12 10:35:39 +02:00
keyur gajjar 21fd4e8fa8 [IMP] sale_stock: display decimals in package warning
Decimals were not taken into account in package warning message
while creating so line if the packaging has quantites in decimals.
2016-08-12 10:08:11 +02:00
Nicolas Lempereur ae34fd50c8 Revert "[IMP] project: tour mini improvement"
This reverts commit 45a13cac80.

The commit failed the tour test since there is invisible
".o_kanban_ghost" cards after the last. Since the created new
project is already sorted in the right location, we don't know
if it will be the first or the last.

But if it is the first, we know we will see the help tip.
2016-08-12 08:38:45 +02:00
Fabien Pinckaers 0d91ed8676 [IMP] typo: importation --> import (importation is not an english word) 2016-08-11 18:31:45 -07:00
Fabien Pinckaers 5ee5e427b7 [FIX] project: typo is setup --> is set up 2016-08-11 18:23:34 -07:00
Fabien Pinckaers 45a13cac80 [IMP] project: tour mini improvement 2016-08-11 18:20:50 -07:00
Fabien Pinckaers 52a0cdacce [IMP] typo: collegues --> coworkers (colleagues would have been good but coworkers is more american) 2016-08-11 18:03:24 -07:00
Raphael Collet 9c2c54f85a [MIG] base: remove all old-API method definitions 2016-08-11 21:25:04 +02:00
Fabien Pinckaers 45ac84cb0e [IMP] mail: improving chatter CSS, font was too small, icon not perfectly aligned 2016-08-11 11:31:39 -07:00
Fabien Pinckaers 7379f703c0 [IMP] web_settings_dashboard: minor sentence improvement 2016-08-11 10:39:48 -07:00
Stefano Rigano d1663f06e7 [IMP] doc: define a layout for 'category index' pages
These pages were indexed by google but did not have any layout defined.
2016-08-11 16:26:49 +02:00
Christophe Simonis 13a6b7052b [FIX] test_pylint: not all versions of pylint have a __version__ attribute 2016-08-11 16:23:03 +02:00
Simon Lejeune 4015e5a929 [IMP] all: clean usage of unsafe_eval
* document every legit usage of an unsafe eval by using it
  under the name `unsafe_eval`
* add a test that will run the check w0123 of pylint that
  will report and fail for every use of `eval`
2016-08-11 15:38:03 +02:00
Raphael Collet bf668b64c1 [IMP] all: clean usage of safe_eval
Specifically: do not import `safe_eval` as `eval`, keep it explicit instead.
2016-08-11 15:36:56 +02:00
Nicolas Lempereur 1924fb4bb9 [FIX] account: don't use abs price in invoice report
The field price_subtotal_signed on an invoice line contains the line
subtotal:

- untouched if the invoice is of in_refund or out_invoice type,
- negated if the invoice is of in_invoice or out_refund type

At one point in time (not found), commit 649b289f using absolute value
of price_subtotal was introduced because price_subtotal_signed sometimes
had the wrong sign.

But this is source of an issue since it is possible to have an invoice with
two lines such as : 100€ and -20€, the report would then display 120, whilst
80 should have appeared.

This commit remove the use of absolute value, and if some old report data
(pre saas-6 migration with wrong migration script) are reported wrong
for an instance, it should be corrected manually.

opw-683952
closes #13118
2016-08-11 15:33:40 +02:00
Dhaval Panchal 1ed526057f [IMP] website_quote: hide expiration date on confirmed sale reports 2016-08-11 15:24:40 +02:00
Srushti Patel ac7331c71a [IMP] website_sale : improve suggested products frontend
- "Suggested alternatives" is renamed  by "Suggested Products"
- "Suggested products"  is renamed  by "Suggested Accessories"
- Display all Accessory Products rather than the first 3 ones
2016-08-11 14:56:47 +02:00
Kinjal Mehta d60b85bd22 [IMP] stock_dropshipping: make drop shipping apply on products by default
When drop Shipping is true, the route should be applicable on the products by default.
2016-08-11 14:29:36 +02:00
Mitali Patel 518d04a71e [IMP] website_sale: prevent website categories edition 2016-08-11 14:03:12 +02:00
Martin Trigaux 8b9f1600d0 [IMP] doc: add a warning about POS & HTTPS
The POSBox do not work over HTTPS, the pos must be in HTTP.
See #3156 for details
2016-08-11 12:20:59 +02:00
Raphael Collet 305ff7a31e [MIG] complete migration of special methods like init 2016-08-11 12:09:57 +02:00
Mansi Gandhi 9fb53a5055 [IMP] product: add missing fields in product views
- add missing default_code field in product template list view
- make 'uom_id' field visible in product template list view for uom  group
- add missing group on 'uom_id' field in product variant list view
- correct position of qty_available and virtual_available fields now
  that we display uom_id
2016-08-11 11:01:03 +02:00
Mansi Gandhi a7fb287a7a [IMP] stock: add Quality module option in stock Extra Features 2016-08-11 10:00:37 +02:00
Thibault Delavallée 7286902396 [MIG] hr_timesheet: migrate last little report that was trying to hide from the new API wave 2016-08-11 09:17:58 +02:00
Fabien Pinckaers 0a48884c18 [IMP] mass_mailing: better form view for mass mail 2016-08-10 13:59:52 -07:00
Wolfgang Taferner cba50c30ab [FIX] base: harmonize state code ISO 3166-2 without country prefix
This commit closes #13080
This commit closes #13069
2016-08-10 21:46:34 +02:00
Jeremy Kersten 8cc850f3a5 [IMP] website_blog: refactoring
[IMP] website_blog: display author avatar option
[IMP] website_blog: refactore cover option for blog
[IMP] website_blog: tags are now always displayed and as a label
[IMP] website_blog: side bar cleaning
[IMP] website_blog: new teaser
[IMP] website_blog: replace inline comments by quotes comment
[IMP] website_blog: new grid layout
[WIP] website_blog: read next options
[IMP] website_blog: refactoring sharing links
[IMP] website_blog: Delete cover narrow option
[IMP] website_blog: improvement for sharing links
[IMP] website_blog: blog post list cover is an option
[IMP] website_blog: archives group by year
[IMP] website_blog: if only one blog, no index blog post

Courtesy of @movanoncem
2016-08-10 18:38:28 +02:00
Richard Mathot c335c2dcf9 [REM] website_blog: outdated and unmaintained docs 2016-08-10 17:57:03 +02:00
fwi-odoo 9e28a04881 [REM] website_blog: remove yml test, the case is already tested in the python tests 2016-08-10 17:57:03 +02:00
fwi-odoo 5e7ccc0e96 [MIG] website_blog: migrate xml files 2016-08-10 17:57:03 +02:00
fwi-odoo 86793a7565 [MIG] website_blog: migrate py files 2016-08-10 17:53:49 +02:00
fwi-odoo 3b39e7066a [MOV] website_blog: reorganize files 2016-08-10 17:39:49 +02:00
Mansi Gandhi d7fe9dbc64 [IMP] point_of_sale: use 'available_in_pos' filter for products
Rather than a domain.
2016-08-10 16:40:58 +02:00
Nicolas Martinelli 69e772570b [FIX] purchase: copy PO procurement group
When duplicating a PO, we should not copy the procurement group,
otherwise the stock moves will be linked to the first picking.

opw-685812
2016-08-10 16:20:30 +02:00
Mansi Gandhi 38605ebc7c [IMP] project: improved stages usability
People tend to click on the gear on the stage column and click
the "Edit" button. There, they think they are creating a task.

- Rename the 'Edit' button into 'Edit Stage'.
- Hide mail_template_id and project_ids fields in technical features.
2016-08-10 16:18:50 +02:00