Commit Graph
94038 Commits
Author SHA1 Message Date
Denis Ledoux 38aa984f31 [FIX] web: avoid rendering fields on one2many list validation
This rev. reverts 91911159f5

The above rev. was a good idea, except that internal_set_value expects the raw value, while the records attributes can be tuples(for instance, many2one are tuple(id, name) or list of command(one2many, many2many).

set_value must be use here, as all fields (js) override set_value in order to handle their value repr (for instance, many2one fields handle the tuple (id,name).

Besides, avoiding the re-render provides a huge performance improvment, as rerendering fields can lead to xmlrpc calls (for instance, re-rendering a many2one field implies calling the name_get method)

opw-620111
opw-622108
2015-01-09 18:10:38 +01:00
Dhinesh 5bb6f7e0f6 [IMP] account: aged partner balance query
reconcile_id is accessed without reference in query
2015-01-09 16:51:57 +01:00
dka-odoo 4009a74764 [ADD] planner, planner_crm : add the planner engine, and the planner for CRM module. A planner is a tool helping people to set up quickly. For CRM, it helps to define sales strategy, objectives, leads, KPIs and much more ! 2015-01-09 16:40:38 +01:00
kevin wang d023c079ed [FIX] web_graph: format pivot cells with correct precision
fields received by the fields_get call sometimes have a digit
precision.  This commit makes sure that it is used when
formatting the cells to be displayed.
2015-01-09 14:40:53 +01:00
Christophe Matthieu 96ca872ba3 [IMP] website_sale: return the same category browse record for /shop and /shop/product 2015-01-09 14:25:24 +01:00
Christophe Matthieu 010dd5a603 [FIX] website_sale: very slow name_get for product public categories 2015-01-09 14:22:54 +01:00
Denis Ledoux 8d9cfd7321 [FIX] website_sale: retrocompatible patch for a6379e2e67
The view *_acquirer_button being  being in noupdate mode, this is possible that the view isn't updated during the migration
2015-01-09 14:02:17 +01:00
Géry Debongnie 278ff38dbe [FIX] web: usability issue: display form view icon
form view icon should always be displayed in the view manager.  This
is useful in some situations:
* switch to form view from editable list view
* refresh a form view
2015-01-09 13:10:14 +01:00
Alexis de Lattre a9907aac8a [FIX] point_of_sale: do not group move lines with different analytic account
When generating account.move.line from pos.order, orders with different analytic
account should not be groupped in generated lines (possible if inherit
_prepare_analytic_account).
Add the analytic_account_id in the key to avoid this grouping.
Fixes #4602
2015-01-09 12:14:45 +01:00
Fabrice Henrion 8f2f541d5e [IMP] account_voucher: Label consistency between wizard button and form view button 2015-01-09 11:57:40 +01:00
Antony Lesuisse c8f07f2862 [IMP] doc: setup lessc installation details 2015-01-09 11:44:22 +01:00
Damien Bouvy 66644e856c [FIX] ir_attachment: Unlinking and creating attachments shoud be considered as a write to the related resource. Read and write access should be identical to the rights on the related resource. 2015-01-09 11:36:50 +01:00
Jeremy Kersten ad632ec08d [REF] website_customer: remove return line from xml
Prefer to have functionnal code that beautiful code :/
Return line add some spaces in URL.
2015-01-09 10:30:51 +01:00
Jeremy Kersten f8a16f50aa [FIX] website_customer: Fixes for review from commit e5ac65de59
Change xmlid from ir rule
Uses odoo unslug function
Rename CamelCase variable / function
Replace SQL by ORM search
Replace 1 by True for boolean
Improve name for ir model access
Add missing coding
Reindent long line
Reindent xml
Typo singular/plural
2015-01-09 09:55:35 +01:00
Fabien Pinckaers 03920283be [IMP] removing bad label 2015-01-09 06:00:09 +01:00
Antony Lesuisse aeaf7ef914 [FIX] logging: dont use color in windows cmd
windows cmd.exe terminal doesnt display them correctly so escape sequences end
up uselessly wasting some of the precious 80 char wide screen estate.
2015-01-09 01:45:41 +01:00
Antony Lesuisse 5a642a802e [FIX] test phantomjs discard stderr
To avoid phantomjs broken pipe messages on odoo stderr during testing.
2015-01-09 01:21:42 +01:00
Hitesh Trivedi c38bd48532 [REF] company_id fields: replace selection widget by options = {'no_create': True} in all views
Originally, selection widget was used to prevent the creation of new
companies, but now, we have an option for that in m2o widgets.
2015-01-08 18:14:28 +01:00
Wolfgang Taferner 1e5c68f7a6 [FIX] warning: domain was lost in onchange result
Closes #3127
2015-01-08 17:48:01 +01:00
Mohammed Shekha 0d1fba08e5 [FIX] hr_timesheet_sheet: correct highlighting of "today" 2015-01-08 17:41:37 +01:00
Antony Lesuisse 82a37dc14a [IMP] doc: add instruction for less compiler 2015-01-08 16:50:10 +01:00
Thibault Delavallée 6d54b06907 [FIX] shell.py: fixed typo
Courtesy of Daniel Reis
2015-01-08 15:49:22 +01:00
Commandant Custo a2a3cffa29 [IMP] product: Improved tooltip for standard_price
Closes #4561
2015-01-08 15:09:55 +01:00
Christophe Simonis d248ae0669 Revert "[ADD] website_version: website versioning and ab testing"
With more than 100 comments on github[1], this commit is clearly not
production-ready.

This reverts commit c255b5bc34, reversing
changes made to e5ac65de59.

[1] https://github.com/odoo/odoo/commit/c255b5bc3461c803e38057c72c45530235de84dd
2015-01-08 14:49:18 +01:00
Raphael Collet 4fb9c8f0dc [FIX] hr_holidays: fix validation of the number of days
The validation of leaves was broken because it relies on a check on the
remaining days.  The problem is that the latter uses an old-api function field
that is not recomputed yet at the time of the validation.  The fix consists in
using a non-computed field instead.
2015-01-08 14:36:24 +01:00
Denis Ledoux 6c78541978 [FIX] calendar: prevent updating event with a start date greater than the end date
Setting a constraint on an old api style computed field is broken in Odoo 8.0
The constraint is checked with the old value of the computed field, not the new one
So, it was possible to update an event with a start date greater than the stop date
And once done, it was impossible to correct the mistake
2015-01-08 14:19:28 +01:00
Nick Booker c53951e0a5 [FIX] survey: typo, quizz to quiz
Fixes #4549
2015-01-08 13:14:06 +01:00
Jérome Maes abcb165d97 [IMP] website_livechat : make it depend on rating_livechat. It now propose to display livechat channel on website pages, with its ratings and description. 2015-01-08 12:28:22 +01:00
Jérome Maes ade60d54bb [IMP] im_livechat : make the feedback for livechat a standart feature using the rating mixin. Create a dependancy to rating. 2015-01-08 12:28:22 +01:00
aja-odoo c8581af592 [ADD] rating_project, rating_project_issue : using the rating mixin, tasks and issues are rated when their stage changed. A email template is sent to the customer of the object. 2015-01-08 12:28:22 +01:00
Jérome Maes b11e24c726 [ADD] rating : base rating module contains a mixin and the meta model rating with graph and kanban views 2015-01-08 12:28:22 +01:00
Denis Ledoux faf45db0d2 [FIX] calendar: set duration on either stop or start date updated
Not only when both are.
2015-01-08 12:22:13 +01:00
Martin Trigaux dd558c40b8 [FIX] base: translation of terms in inherited view
If a view inherits from another with a different model (typically
product.product view inherits from product.template view), the terms from
the second view were not translated.
Checking on the parent view in case of different model and look up the terms
on this model.
Fixes some of #1755, opw 621512
2015-01-08 12:01:09 +01:00
Martin Trigaux e6df0a21e9 [FIX] purchase_requisition: restrict selection to purchasable products
Fixes #4582
2015-01-08 11:43:28 +01:00
Richard Mathot 7b763176ba [REM] modelines: Gotta catch 'em all 2015-01-08 11:38:58 +01:00
Christophe Matthieu 1c6eec023d [UPD] website: update of summernote lib 2015-01-08 11:01:43 +01:00
Christophe Matthieu e089f296d2 [FIX] website: with firefox the responsive images inside a table are not resize; When entering values in the table , the table size extended evenif the text limit is not reached..will never go to the next line 2015-01-08 11:01:43 +01:00
Christophe Matthieu 7c22b96604 [FIX] summernote lib: When we edit a text in a existing link (with the modal) a link is created into the previous link 2015-01-08 11:01:43 +01:00
Christophe Matthieu fdeff171cd [FIX] website: shadow effect canceled the other effect like circle 2015-01-08 11:01:43 +01:00
Christophe Matthieu d2892b3f3d [FIX] website editor: Enter in ordered list is not properly working every new record takes the value 1 rather then incrementing it 2015-01-08 11:01:42 +01:00
Christophe Matthieu 95d50c2f73 [FIX] website editor: temporary fix because summernote have a wrong bookmark for history 2015-01-08 11:01:42 +01:00
Christophe Matthieu 0b5e1a5ddd [FIX] website editor: Block loose classes and alignment after changing header 2015-01-08 11:01:42 +01:00
Christophe Matthieu d26e5ac091 [FIX] website editor: Some elements display font-size more than range, add default size 2015-01-08 11:01:42 +01:00
Christophe Matthieu f81698c86c [FIX] website editor: When the text is having some effect like Bold, Italic or Underline , or even the color is there , then user wants to give the Style (Header1 , Header2 etc) , the previous effect goes off..it should retain 2015-01-08 11:01:42 +01:00
Christophe Matthieu bb401c3fa0 [FIX] website editor: can't edit the alt and title of an image 2015-01-08 11:01:42 +01:00
Christophe Matthieu 0bfafde80d [FIX] website editor: outdent ul and ol list 2015-01-08 11:01:42 +01:00
Christophe Matthieu ae385c15ce [FIX] website editor: change button potition 2015-01-08 11:01:42 +01:00
Christophe Matthieu c2264aa267 [FIX] website editor: history can't take a snapshot if all editable zone is unactive 2015-01-08 11:01:42 +01:00
Christophe Matthieu ce1583bf83 [FIX] website editor: can't find font ifone or more css files are empty 2015-01-08 11:01:42 +01:00
Christophe Matthieu 255f50d0b9 [FIX] website: layout of the snippet list for large screen 2015-01-08 11:00:14 +01:00