Commit Graph
107816 Commits
Author SHA1 Message Date
Odoo Translation Bot 0606247a8b [I18N] Update translation terms from Transifex 2016-08-07 03:07:40 +02:00
Odoo Translation Bot 8a3a620404 [I18N] Update translation terms from Transifex 2016-08-07 00:38:49 +02:00
Simon Lejeune d6683c4c80 [FIX] report: get_action: name the action
This is useful now that we show the report in the action manager thanks
to the report client action. Also remove the duplication of the context
key.
2016-08-05 17:04:32 +02:00
Thibault Delavallée 59753d51b3 [FIX] point_of_sale: fix digits_compute attribute changed to digits in new API 2016-08-05 17:00:50 +02:00
Martin Trigaux d56b03465f [I18N] Update translation terms from Transifex
Last one before dropping a few non-active languages
2016-08-05 16:12:06 +02:00
Thibault Delavallée 1eac2bbec1 [MERGE] website_quote: migration to new API 2016-08-05 15:28:21 +02:00
Denis Vermylen (dve) f39628ae49 [IMP] website_quote: perform some code cleaning
* Remove dead code
* Clean variable assignation to a record set and use a dedicated variable to
  hold the result instead of setting a property on records
2016-08-05 15:25:26 +02:00
Denis Vermylen (dve) 232eea36ab [MIG] website_quote: migrate to new api 2016-08-05 15:25:26 +02:00
Denis Vermylen (dve) 1fe106ef7a [MOV] website_quote: reorganize addon and split models according to guidelines 2016-08-05 15:25:26 +02:00
Thibault Delavallée 4c8a5b164a [FIX][REF] website_quote: remove broken call to an old onchange
website_quote still calls sale_order_line.product_id_change() in old API,
giving arguments that are not supported anymore. It does not crash because
'reasons'. However the new onchange does not return values since v9. The
call is therefore not necessary anymore and the computation has been adapted
accordingly.
2016-08-05 15:24:36 +02:00
qsm-odoo def300996c [FIX] web_editor: adapt the forgotten rendering of updated contact fields
The frontend allow the rendering of fields thanks to converters and
their value_to_html and record_to_html methods. These methods were
changed with https://github.com/odoo/odoo/commit/3407fb70e4a5b16174234d10d97710572b6f808c#diff-d5a9a5d91bd3171e30e7facd628bdf5cL411.

The problem is that the web_editor also contains code which relies on
these methods and it was not adapted.
2016-08-05 15:13:54 +02:00
qsm-odoo 57c09e8a8e [FIX] web_editor: properly handle many2one fields
The many2one fields and their search bar were not working anymore since
the loss of some functionnalities with commit b309f3ab54.

* The dropdown which regroups a snippet options list is hidden if it
does not contain any option. This was not the case anymore because it
now always contains a dropdown title. This is fixed by simply removing
this title if it is alone in the dropdown.

* Snippet options attached to an element whose parent is not editable
cannot be moved/deleted/duplicated as it is supposed to remain where
it is. This is often the case for many2one fields and the feature was
simply lost in the refactoring.
2016-08-05 15:13:54 +02:00
Yannick Tivisse ca530e7a40 [MERGE] purchase: Migrate to new API 2016-08-05 14:18:35 +02:00
Denis Vermylen (dve) bd3f501c84 [FIX] purchase: correct singleton error
Write in models/account_invoice.py didn't handle multiple records.
Now fixed.
2016-08-05 14:04:38 +02:00
Denis Vermylen (dve) 5146add3b7 [REF] purchase: remove unnecessary code 2016-08-05 14:04:38 +02:00
Denis Vermylen (dve) ba3d3582bc [MIG] purchase: Migrate to new API 2016-08-05 14:04:37 +02:00
Fabien Meghazi 0a3cd5b0a7 [IMP] force attachment storage for some binary fields 2016-08-05 13:45:51 +02:00
Denis Vermylen (dve) 197c410557 [MOV] purchase/data: add purchase_sequence to data 2016-08-05 12:52:49 +02:00
Denis Vermylen (dve) 05b265de9a [MOV] purchase: move and rename files according to guidelines 2016-08-05 12:52:49 +02:00
Jeremy Kersten 7f6c669530 [FIX] website: /website/info use website.info xmlid
When a user try to create a new page info, he is redirected
to the /page/info because the xmlid already exists...

The problem is that this view need to be rendered via the
controller /website/info which gives some extra values (version, ...)

The fix for v8 is to redirect /page/info to /website/info.

In V9, the behavior is changed and one page info-1 will be created.
But this fix is also required for direct access to /page/info.

To do in master: maybe use another xml_id that this basic name 'info'?

This commit fix issue #8022
2016-08-05 12:05:24 +02:00
qsm-odoo a8ee18e172 [FIX] web_editor: make save/discard btns visible when too many options
The editor bar is sometimes filled with too many options, and these
hide the save and discard buttons on small screens. To solve the
problem, the description option (which take a lot of space) has now
a max-width and the save and discard buttons are always on top.
2016-08-05 11:55:00 +02:00
Yannick Tivisse 64b48d705d [MERGE] account_asset: Migrate to new API 2016-08-05 11:09:26 +02:00
Thibault Delavallée 5a859b8d38 [FIX][IMP] account_asset: method_time / prorata thingy
- on account.asset.asset form view, field method_time, in 'Depreciation Information'
  page: use radio widget instead (without it, you couldn't change the field)

- on account.asset.category form view: prorata field hidden when required, and set
  to false when method_time is on 'Ending Date'. (It was previously possible for
  the prorata to be true while the method_time was 'Ending Date', which is invalid)
2016-08-05 11:05:35 +02:00
Denis Vermylen (dve) 62a1c97d37 [MIG] account_asset: Migrate to new API 2016-08-05 11:05:35 +02:00
Thibault Delavallée d43cdd696c [SPL] account_asset: split files according to modelsé 2016-08-05 11:04:02 +02:00
Denis Vermylen (dve) 0b2127c25f [MOV] account_asset: reorganise module directory 2016-08-05 11:04:01 +02:00
Thibault Delavallée c3be4c4010 [FIX] account_asset: remove duplicate method whose code is less effective 2016-08-05 10:35:24 +02:00
Thibault Delavallée afcd0e1a58 [FIX] account_asset: missing at 2016-08-05 10:35:24 +02:00
Thibault Delavallée 1cdbb47ccd [FIX] account_asset: effectively set default value 2016-08-05 10:35:24 +02:00
Yannick Tivisse 415a52047e [MERGE] gamification, hr_gamification, gamification_sale_crm: Migrate to new API 2016-08-05 10:20:59 +02:00
Yannick Tivisse 807b343de1 [MOV] gamification_sale_crm: Restructured the module files as per new guidelines. 2016-08-05 10:18:02 +02:00
Jainik Patel 99e717733b [MIG] hr_gamification: Migrated to new api. 2016-08-05 10:18:02 +02:00
Jainik Patel 740b42ed5b [MIG] hr_gamification: Restructured the module files as per new guidelines. 2016-08-05 10:18:02 +02:00
Xavier Morel 13e2fda203 [REM] website_forum: commented challenges 2016-08-05 10:18:02 +02:00
Xavier Morel c736465dab [MIG] gamification: compute_code data and evaluation 2016-08-05 10:18:02 +02:00
Xavier Morel 0c649644db [MIG] gamification: Migrate to new API
Includes compatibility-change to website_forum: a selection(callable)
converted to a Selection(list) since that can easily be extended in the
new API.
2016-08-05 10:18:02 +02:00
Xavier Morel c7a818caee [REM] gamification: res_users extensions
Apparently leftover from when features got removed from the client.
2016-08-05 10:18:02 +02:00
Nicolas Martinelli 72479ccaec [FIX] account: get_bar_graph_datas
A traceback can occur since we build labels for 6 periods but we get
data for 7 periods.

This reverts commit 48fa0a5f6c and fix the
unreachable condition.
2016-08-05 09:52:38 +02:00
Nicolas Martinelli 82794c8662 [FIX] purchase: vendor currency
When defined, the vendor currency should be the default on vendor bills.

Fixes #13017
Closes #13016
opw-685016
2016-08-05 09:26:19 +02:00
Jérome Maes 1bb74b7588 [FIX] calendar: use on list instead of ... 2016-08-05 08:43:46 +02:00
Fabien Pinckaers d3098aa946 [IMP] website_sale: typo in tip 2016-08-04 16:55:39 -07:00
Fabien Pinckaers d73eb2c555 [IMP] website_blog: improved tour 2016-08-04 16:10:13 -07:00
Fabien Pinckaers 44f755579f [IMP] website: tout wording, small improvements 2016-08-04 11:06:30 -07:00
Fabien Pinckaers 7aeb3dfebd [IMP] website: UX detail: divider in content menu 2016-08-04 10:53:25 -07:00
Christophe Simonis 038d18c2a1 [FIX] crm: drop (sql) view before recreating it 2016-08-04 19:47:05 +02:00
Christophe Simonis 43ba593477 [FIX] hr_maintenance: keep field owner_user_id stored 2016-08-04 17:39:18 +02:00
Christophe Simonis ea50285989 [FIX] maintenance: correct message subtype to bound a valid model 2016-08-04 17:38:11 +02:00
qsm-odoo 3363facfe4 [IMP] website_quote: use affix to block the sidebar when scrolling
Sometimes, the sidebar on quotation previews can overflow the footer
if the window height is too small. To prevent that, the position of
the sidebar is blocked before overflowing, thanks to affix.
2016-08-04 17:33:11 +02:00
Josse Colpaert 93056a61b8 [IMP] mrp: Workcenter losses statbutton should use default filters instead of domain as this way it is possible also to change the productivity times if someone would like to correct them afterwards 2016-08-04 16:59:51 +02:00
Josse Colpaert 41e7a278e8 [FIX] mrp: buttons on production order
When you start a production order, it is a bit
weird to see buttons as check availability and
produce, when there are no stock moves yet.
2016-08-04 16:59:51 +02:00