Thibault Delavallée [Thu, 28 Aug 2014 09:29:19 +0000 (11:29 +0200)]
[FIX] website_forum: fixed (un)publish management on the profile. Partners are now also published by default. Better protection of displayed profile: only publis profiles with karma >= 1 are displayed on the forum, to avoid allowing external users to browse the user lists. Some cleaning / improvements in the bio edit form that was a bit buggy.
Thibault Delavallée [Wed, 27 Aug 2014 12:59:03 +0000 (14:59 +0200)]
[FIX] survey: in prepare_result, result_summary variable could be returned without being initialized (error in question.type maybe, but anyway should be more secure)
Jeremy Kersten [Thu, 28 Aug 2014 10:21:47 +0000 (12:21 +0200)]
[IMP] website_*forum,blog,instantclick,...: Move Js in assets
qdp-odoo [Thu, 28 Aug 2014 09:09:48 +0000 (11:09 +0200)]
[FIX] account: several fixes in bank statement reconciliation related to multi-currencies use cases where the statement is a foreign currency but receive a payment in the company currency
Jérome Maes [Tue, 26 Aug 2014 17:04:00 +0000 (19:04 +0200)]
[FIX] bus, im_chat : disabled realtime status notification, replace it with rpc calls and set random retry delay on bus (longpolling)
Jérome Maes [Wed, 27 Aug 2014 08:42:56 +0000 (10:42 +0200)]
[FIX] im_chat : fix the im_search method
Fabien Meghazi [Wed, 27 Aug 2014 14:54:25 +0000 (16:54 +0200)]
[IMP] Increase statics cache from 12 hours to 1 week
Denis Ledoux [Wed, 27 Aug 2014 14:40:19 +0000 (16:40 +0200)]
[FIX] portal_sale: portals are not allowed to see payments
Portal users are not allowed to read account.move.line model
Therefore, in the portal, if you let the payments in the invoice view, the portal user is warned that he is not allowed to see account.move.line
Raphael Collet [Wed, 27 Aug 2014 14:06:30 +0000 (16:06 +0200)]
[IMP] doc/howtos/backend: add section on wizards
Raphaël Valyi [Tue, 26 Aug 2014 22:07:24 +0000 (19:07 -0300)]
[FIX] stock: moves link on product form opening wrong view
Fixes #2008
Fabien Meghazi [Wed, 27 Aug 2014 12:05:09 +0000 (14:05 +0200)]
[FIX] language and model converter redirections should use code=301
Thibault Delavallée [Wed, 27 Aug 2014 10:31:48 +0000 (12:31 +0200)]
[FIX] res_partner: Meetings button on form view was not correctly
filtering displayed meetings according to the selected partner.
Thibault Delavallée [Wed, 27 Aug 2014 09:13:01 +0000 (11:13 +0200)]
[FIX] website_event: pager now takes into account the searches performed
by the user. Otherwise it was resetting the search to all events.
Thibault Delavallée [Wed, 27 Aug 2014 08:57:29 +0000 (10:57 +0200)]
[FIX] website_forum: fixed comment unlink action :
- fixed call to a wrong method
- fixed button display, now based on the standard way of managing karma (popup when
not having the required karma)
- fixed button display karma computation
- some css tweaking for this button
Thibault Delavallée [Wed, 27 Aug 2014 08:16:48 +0000 (10:16 +0200)]
[FIX] Survey: typo (en_US wording)
Raphael Collet [Wed, 27 Aug 2014 08:45:56 +0000 (10:45 +0200)]
[IMP] doc/howtos/backend: improve exercises on relational fields
Fabien Pinckaers [Tue, 26 Aug 2014 19:45:52 +0000 (21:45 +0200)]
[IMP] expl p
Fabien Pinckaers [Tue, 26 Aug 2014 19:40:18 +0000 (21:40 +0200)]
[IMP] Updated website urls on modules and info page
Denis Ledoux [Tue, 26 Aug 2014 16:28:56 +0000 (18:28 +0200)]
[IMP] account: Invoice analysis, filter year by default
For companies having a lot of invoice, not applying the year filter leads to a long reponse time
Raphael Collet [Tue, 26 Aug 2014 15:28:29 +0000 (17:28 +0200)]
[IMP] doc/howtos/backend: improve views, fix workflow
Martin Trigaux [Tue, 26 Aug 2014 12:45:00 +0000 (14:45 +0200)]
[FIX] account: name of bank statement is not required
At the confirmation of a bank statement, the name may not be set (e.g. generated by point of sale). This field is not requred so make a fallack on the statement line (which is required).
Martin Trigaux [Tue, 26 Aug 2014 12:31:42 +0000 (14:31 +0200)]
[FIX] point_of_sale: incorrect sequences for orders
A new ir.sequence is generated at pos.config creation for the orders. However it was not used as the type was not set. The fallback was done on the general sequence.
In addition to the sequences being shared, it was not possible to create a pos.order in multicompany (no sequence found for user company, name was null).
Same issue for the pos.order.line.
This patch generates correctly pos.order and pos.order.line sequences at pos.config creation.
Instead of using the pos.config sequence to generate session number (not what this field was intended to), use the existing sequence for pos.session.
Remove company_id value on default pos.session sequence to make sure it's shared between companies and correctly set the prefix.
Martin Trigaux [Tue, 26 Aug 2014 12:21:59 +0000 (14:21 +0200)]
[IMP] point_of_sale: prevent multicompany configuration issues
If the pos.config is not properly configured for multicompany (e.g. using location belonging to another company), launching a session with this config may fail (access rights).
This prevents to configure an incorrect point of sale in the first place.
Jeremy Kersten [Tue, 26 Aug 2014 13:06:51 +0000 (15:06 +0200)]
[FIX] crm_lead: add utm in the group by from opportunities search view
Thibault Delavallée [Tue, 26 Aug 2014 12:12:11 +0000 (14:12 +0200)]
[FIX] website_forum: second part of the fix introduced at revision
fd5516ade8409bcec2eb60ea9337769a6c3307f6. Wrong commit was added to 8.0, missing code cleaning.
Gaurav Panchal [Tue, 5 Aug 2014 06:41:21 +0000 (12:11 +0530)]
[FIX] website_forum: issue in biography (unnecessary tags added by editor) + menu control (Users / My Profile)
Thibault Delavallée [Tue, 26 Aug 2014 09:49:08 +0000 (11:49 +0200)]
[FIX] website_forum: fixed setting an answer as valid / invalid. The change
in the behavior of browse records due to the new API introduced a wrong
behavior, now fixed.
Frederic van der Essen [Tue, 26 Aug 2014 10:38:35 +0000 (12:38 +0200)]
[FIX] point_of_sale: the order reference used the session sequence number wich was not unique accross sessions on different point_of_sales.
Now we are using the session id which is unique, but is less understandable
Frederic van der Essen [Fri, 22 Aug 2014 10:07:19 +0000 (12:07 +0200)]
[IMP] point_of_sale: automatically update partners data when they are modified
Frederic van der Essen [Thu, 21 Aug 2014 13:36:56 +0000 (15:36 +0200)]
[IMP] web: allow rpc options to be passed to Model.query() calls
qdc [Thu, 21 Aug 2014 10:53:47 +0000 (12:53 +0200)]
[IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files)
Jeremy Kersten [Mon, 25 Aug 2014 10:10:31 +0000 (12:10 +0200)]
[IMP] website: Redirect user in the language of the browser
Fabien Meghazi [Tue, 26 Aug 2014 09:48:21 +0000 (11:48 +0200)]
[IMP] Allow to specify http code for request.redirect()
Josse Colpaert [Tue, 26 Aug 2014 09:48:33 +0000 (11:48 +0200)]
Merge pull request #1992 from odoo-dev/8.0-wmspartialview-jco
8.0 wmspartialview jco
Fabien Pinckaers [Tue, 26 Aug 2014 08:29:18 +0000 (10:29 +0200)]
[FIX] redirect /page/website.xyz --> /page/xyz. Currently 302 but fme will convert to 301
Jeremy Kersten [Tue, 26 Aug 2014 07:45:25 +0000 (09:45 +0200)]
[FIX] website_event: allow everybody to ready event.type. Else a user who is not public, not portal and not event user or event manager cannot read the event.
Raphael Collet [Tue, 26 Aug 2014 06:58:51 +0000 (08:58 +0200)]
[IMP] doc/howtos/backend: usage of odoo.py
Christophe Simonis [Mon, 25 Aug 2014 16:52:50 +0000 (18:52 +0200)]
[FIX] allow `--log-db` to connect to another postgresql server than the one setted in config
Samus CTO [Mon, 25 Aug 2014 13:24:21 +0000 (15:24 +0200)]
[FIX] Missing part of the revision
5f6fc473
Fabien Meghazi [Fri, 22 Aug 2014 06:30:29 +0000 (08:30 +0200)]
[FIX] website.layout hreflangs
- First line is not correct due to url_for() refactoring's leftover
- href's should be full urls with domain name
- Use short language for hreflang if possible
Christophe Matthieu [Mon, 25 Aug 2014 15:37:52 +0000 (17:37 +0200)]
Merge pull request #1970 from odoo-dev/8.0-fix-dont-display-edit-product-many2many-chm
[FIX] product: don't display 'create and edit' option on many2many_tag
Raphael Collet [Mon, 25 Aug 2014 14:32:55 +0000 (16:32 +0200)]
[IMP] doc/howtos/backend: fix condition in workflow
Raphael Collet [Mon, 25 Aug 2014 14:20:35 +0000 (16:20 +0200)]
[IMP] doc/howtos/backend: fix calendar example
Raphael Collet [Mon, 25 Aug 2014 13:32:42 +0000 (15:32 +0200)]
[IMP] doc/howtos/backend: finalize section on translations, and other small fixes
Samus CTO [Mon, 25 Aug 2014 18:41:51 +0000 (20:41 +0200)]
[FIX] model: prevent exporting column ID of non ordinary tables
This makes no sense and can generate errors if you try to purge
ir.model.data of not existing records.
Frederic van der Essen [Mon, 25 Aug 2014 12:31:44 +0000 (14:31 +0200)]
[FIX] point_of_sale: the category list now uses less space when the categories don't have pictures, freeing some screen space on tablets
Christophe Simonis [Mon, 25 Aug 2014 10:12:24 +0000 (12:12 +0200)]
[FIX] mail: do not send email at module installation
Raphael Collet [Mon, 25 Aug 2014 09:30:12 +0000 (11:30 +0200)]
[IMP] doc/howtos/backend: add a small section on how to start the server
Thibault Delavallée [Mon, 25 Aug 2014 08:13:55 +0000 (10:13 +0200)]
Merge pull request #1776 from acsone/8.0-jne-mass_mailing-improvements
[FIX] Mass mailing: fixed statistics computation + summary graph tooltips (using ustr) + values of the mass mailing when creating it from the mail composer wizard. Courtesy of Acsone.
Josse Colpaert [Mon, 25 Aug 2014 08:07:41 +0000 (10:07 +0200)]
[IMP] No propagation when destination move is done/cancel
Josse Colpaert [Mon, 25 Aug 2014 07:23:05 +0000 (09:23 +0200)]
[FIX] Make sure packages are not shown when the setting is not checked
Raphael Collet [Sun, 24 Aug 2014 11:06:51 +0000 (13:06 +0200)]
[IMP] doc/howtos/backend: use scaffolding and adapt text and code accordingly
Raphael Collet [Fri, 22 Aug 2014 15:51:20 +0000 (17:51 +0200)]
[ADD] doc: new documentation, with training tutorials, and new scaffolding
Raphael Collet [Tue, 19 Aug 2014 13:45:18 +0000 (15:45 +0200)]
[IMP] models: move prefetching of records back to method _prefetch_field
The selection of records in cache for prefetching was moved to method
_read_from_database() by xmo at rev
785018cc in order to fix an access right
bug. But this introduced an issue: to explicitly avoid prefetching, you should
use read() instead of browsing records. We revert the change by xmo, without
reintroducing the bug (which apparently was fixed by another way).
Thibault Delavallée [Fri, 22 Aug 2014 12:22:26 +0000 (14:22 +0200)]
[FIX] crm, hr_recruitment, task, issue: fixed default priorities + order based on priority (desc for everyone now)
Christophe Matthieu [Fri, 22 Aug 2014 12:20:14 +0000 (14:20 +0200)]
[FIX] product: don't display 'create and edit' option on many2many_tag to create variant on product_template. The quick create is confusing for users
Christophe Simonis [Fri, 22 Aug 2014 11:53:46 +0000 (13:53 +0200)]
[REVERT] commit 5e5c73e
Branch 8.0 is a **stable** branch. This mean no database schema
changes.
Thibault Delavallée [Fri, 22 Aug 2014 11:36:31 +0000 (13:36 +0200)]
[FIX] [IMP] mail: mail_message: when checking that access rights are not
violated in _search, do it in SQL to speedup the query. Indeed doing it via search and
browsing the results to validate the various rules is quite costly.
Thibault Delavallée [Fri, 22 Aug 2014 10:59:18 +0000 (12:59 +0200)]
[FIX] mail: when checking for possible messages to fetch, perform
a search_count on mail_message when the actual number of messages or their
ids is not necessary, to speedup the computation.
Géry Debongnie [Fri, 22 Aug 2014 10:52:58 +0000 (12:52 +0200)]
[FIX] css fix in graph view
The field selection menu was not positioned correctly when there was
a long list. (was not displayed at the position clicked)
Raphael Collet [Fri, 22 Aug 2014 08:31:04 +0000 (10:31 +0200)]
[FIX] osv/fields.py: enable argument 'obj' in property fields
Fixes #1719
Cedric Snauwaert [Fri, 22 Aug 2014 09:54:15 +0000 (11:54 +0200)]
[REVERT] web: fixed css of hidden input file: could not click on add attachments anymore
This reverts commit
4e32b9f6f32eea0e4a5bb9d83c5c5f45f775f799.
Raphael Collet [Fri, 22 Aug 2014 09:14:08 +0000 (11:14 +0200)]
[FIX] osv/fields.py: fix the fix at rev
43756a24.
Raphael Collet [Fri, 22 Aug 2014 08:56:07 +0000 (10:56 +0200)]
[FIX] osv/fields.py: fix sum in rev 48dfd70
Josse Colpaert [Fri, 22 Aug 2014 08:33:47 +0000 (10:33 +0200)]
Merge pull request #1906 from odoo-dev/8.0-wmsusability-jco
8.0 wmsusability jco: Some usabillity issues and a fundamental issue on the location of extra moves
Raphael Collet [Fri, 22 Aug 2014 08:01:41 +0000 (10:01 +0200)]
[IMP] test_inherit: add test case, redefine Many2one field in inherited model
qdc [Thu, 21 Aug 2014 10:53:47 +0000 (12:53 +0200)]
[IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files)
Bhavik Bagdiya [Wed, 20 Aug 2014 06:17:38 +0000 (11:47 +0530)]
[FIX] calendar: dropdown button misaligned
+ add meaningful placeholder
Raphael Collet [Fri, 22 Aug 2014 07:20:25 +0000 (09:20 +0200)]
[IMP] osv/fields.py: improve code change of rev
eea07e27
Martin Trigaux [Fri, 22 Aug 2014 07:12:14 +0000 (09:12 +0200)]
Forward port of branch saas-5 up to rev
4895281e
Christophe Simonis [Thu, 21 Aug 2014 19:23:22 +0000 (21:23 +0200)]
[FIX] osv/fields.py: correct reading name_get of m2o property
Christophe Simonis [Thu, 21 Aug 2014 19:22:12 +0000 (21:22 +0200)]
[FIX] account: _get_analytic_lines() must work in @mutli beside using only self[0]
(partially revert previous commit)
Christophe Simonis [Thu, 21 Aug 2014 16:54:44 +0000 (18:54 +0200)]
[FIX] account: correct some v8 decorators
Martin Trigaux [Thu, 21 Aug 2014 16:17:35 +0000 (18:17 +0200)]
Forward port of branch saas-4 up to rev 15a3a2a
Martin Trigaux [Thu, 21 Aug 2014 16:14:22 +0000 (18:14 +0200)]
Forward port of branch saas-3 up to 7bcefaf
Josse Colpaert [Thu, 21 Aug 2014 16:09:15 +0000 (18:09 +0200)]
[IMP] Better to have corresponding lates
Martin Trigaux [Thu, 21 Aug 2014 15:57:57 +0000 (17:57 +0200)]
Forward port of branch 7.0 up to 0ab88f5
Josse Colpaert [Thu, 21 Aug 2014 15:40:10 +0000 (17:40 +0200)]
[IMP] Add partner_id and invoice control to picking tree
Josse Colpaert [Thu, 21 Aug 2014 15:31:25 +0000 (17:31 +0200)]
[IMP] Use correct field for showing red lines for late pickings in tree view
Raphael Collet [Thu, 21 Aug 2014 15:29:56 +0000 (17:29 +0200)]
[FIX] fields: in many2one property fields, name_get() the value as superuser
Martin Trigaux [Thu, 21 Aug 2014 13:27:31 +0000 (15:27 +0200)]
[FIX] ir_model: invalidate cache when adding new fields
When a new ir.model.field is created, add the new field in the fields_by_model (cache of custom fields). This is required as the __init__ method would not retrieve the new field if fields_by_model is already set.
Otherwise, the _columns would not contain the new fields and we could not access it without restarting the server (e.g. the installation of a module adds ir.model.fields and use it in the a view.
Josse Colpaert [Wed, 13 Aug 2014 16:45:17 +0000 (18:45 +0200)]
[IMP] Change help message package setting
Josse Colpaert [Tue, 12 Aug 2014 12:41:08 +0000 (14:41 +0200)]
[IMP] Counterpart locations and weights should not be read-only in case of type service, but should simply be invisible as the other fields
Josse Colpaert [Tue, 12 Aug 2014 09:38:06 +0000 (11:38 +0200)]
[IMP] Buttons should not be usable by purchase manager that is no stock user
Josse Colpaert [Tue, 12 Aug 2014 08:42:56 +0000 (10:42 +0200)]
[IMP] Only one incoterms item
Josse Colpaert [Mon, 11 Aug 2014 15:21:21 +0000 (17:21 +0200)]
[IMP] Location of extra moves should be matched
Cedric Snauwaert [Thu, 21 Aug 2014 15:02:15 +0000 (17:02 +0200)]
[FIX] stock: barcode interface, remove left-right key handler
Cedric Snauwaert [Thu, 21 Aug 2014 14:25:04 +0000 (16:25 +0200)]
[FIX] stock: barcode interface update qty without pressing enter
Desai Binjal [Wed, 6 Aug 2014 12:16:46 +0000 (17:46 +0530)]
[FIX] note: small bugs
Martin Trigaux [Thu, 21 Aug 2014 12:30:10 +0000 (14:30 +0200)]
[FIX] base: wrong model change check
Comparing an id and a browse record will always fail so the exception would have always been raised when changing a model (e.g. updating a module with custom fields).
Josse Colpaert [Thu, 21 Aug 2014 11:33:00 +0000 (13:33 +0200)]
Merge pull request #1888 from odoo-dev/8.0-wmsnsewiz-jco
Merge from nse back-end partial picking wizard
Raphael Collet [Thu, 21 Aug 2014 09:40:38 +0000 (11:40 +0200)]
[FIX] fields: add missing option 'sanitize' on Html fields
Frederic van der Essen [Thu, 21 Aug 2014 10:19:04 +0000 (12:19 +0200)]
[IMP] point_of_sale: add missing functionality necessary for the loyalty module
Géry Debongnie [Thu, 21 Aug 2014 09:01:13 +0000 (11:01 +0200)]
[IMP] lazy loading of dashboards
The widget AddToDashboard used to make an ajax call every time the
search view is loaded. This is often useless and can be annoying when
that request is long. With this patch, the request is only done when
the user click on the widget AddToDashboard
fka-odoo [Wed, 6 Aug 2014 12:12:30 +0000 (17:42 +0530)]
[IMP] account_budget: added date filter in print budget report
Fixes #1743, opw 611307
Josse Colpaert [Thu, 21 Aug 2014 09:37:40 +0000 (11:37 +0200)]
[IMP] Usability improvements by clarifying texts
Richard Mathot [Thu, 21 Aug 2014 07:56:56 +0000 (09:56 +0200)]
[IMP] board: do not filter actions anymore
Starting from v8.0, there's only "My Dashboard". We can assume that we
have access rights to all the actions we pin to our proper dashboard, so
we can remove this filtering. Furthermore, this was a large performance
pitfall.
Denis Ledoux [Thu, 21 Aug 2014 09:17:29 +0000 (11:17 +0200)]
[FIX] point_of_sale: report, product_id of line is product_product
product_id column of pos_order_line is a product_product
the left join of l.product_id was done on product_template, instead of product_product
It worked as long as the ids product_product were the same as product_template. Meaning that, if you used variants, this report view was screwed.
qdc [Thu, 21 Aug 2014 07:03:12 +0000 (09:03 +0200)]
[IMP] Graph views: show always measure + filters record measures in context
Olivier LAURENT [Thu, 21 Aug 2014 09:07:00 +0000 (11:07 +0200)]
* [8.0][mass_mailing] some fixes
* [FIX] rename wrong mailing_type field and add missing fields when creating a mass mailing from the composer
* [FIX] coerce tooltip to an unicode string to avoid a json crash when locale produces a non unicode string for strftime(%B)
* [FIX] repair wrong sql statement computing statistics