Raphael Collet [Fri, 29 Aug 2014 06:42:35 +0000 (08:42 +0200)]
[IMP] doc/howtos/backend: small fixes
Jeremy Kersten [Thu, 28 Aug 2014 15:04:01 +0000 (17:04 +0200)]
[FIX] website_forum: fix asset.
Christophe Simonis [Thu, 28 Aug 2014 14:42:17 +0000 (16:42 +0200)]
[MERGE] forward port of branch saas-5 up to 7e117b1
Fabien Meghazi [Thu, 28 Aug 2014 14:05:58 +0000 (16:05 +0200)]
[IMP] pretty urls for /website/image
Christophe Simonis [Thu, 28 Aug 2014 14:21:27 +0000 (16:21 +0200)]
[MERGE] forward port of branch saas-3 up to ada9724
Christophe Simonis [Thu, 28 Aug 2014 14:12:55 +0000 (16:12 +0200)]
[MERGE] forward port of branch 7.0 up to 3509e15
Christophe Simonis [Thu, 28 Aug 2014 13:22:29 +0000 (15:22 +0200)]
[MERGE] last forward port of branch saas-4 up to a65a95f
Géry Debongnie [Thu, 28 Aug 2014 09:49:17 +0000 (11:49 +0200)]
[IMP] adjust web client height with announcement bar
when the user is not registered, the announcement bar messed up the
layout by adding a third scrollbar. This commit fixes the issue by
ajusting the height if necessary. The timeout is necessary to prevent
a scrollbar from appearing when the animation is running.
Géry Debongnie [Thu, 28 Aug 2014 09:28:04 +0000 (11:28 +0200)]
[FIX] css hack to make IE11 work
the stupid left menu was not displayed with IE11. This fix uses a
media query ignored by all (?) browsers but IE11.
Xavier Morel [Tue, 26 Aug 2014 12:59:43 +0000 (14:59 +0200)]
[ADD] views documentation
Xavier Morel [Mon, 25 Aug 2014 11:48:34 +0000 (13:48 +0200)]
[ADD] reinstate form guidelines
Raphael Collet [Thu, 28 Aug 2014 12:44:56 +0000 (14:44 +0200)]
[IMP] doc/howtos/backend: fix calendar view, improve search view, fix copy()
Thibault Delavallée [Thu, 28 Aug 2014 10:41:44 +0000 (12:41 +0200)]
[FIX] [IMP] mail: fixed mail sent to users being redirected to their partner profile
leading to potential issues.
Now the behavior is back to its previous version, posting on the user creates a private
discussion. Fixed management of model variable in message_post to avoid posting messages
on the mail.thread model.
Classic inbox writes on partner, with hr it writes on the employee profile, like previously.
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
Denis Ledoux [Wed, 27 Aug 2014 16:13:53 +0000 (18:13 +0200)]
[FIX] website_blog: controllers blog expects a date, not a datetime
Max Mumford [Wed, 27 Aug 2014 15:13:14 +0000 (17:13 +0200)]
[FIX] stock: missing quantity parameter from get_price_from_picking
Leonardo Donelli [Fri, 27 Jun 2014 15:30:16 +0000 (17:30 +0200)]
[IMP] report_sxw: missing parameter without_company for display_address
Fixes #811
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
Ravi Gohil [Wed, 6 Aug 2014 22:37:09 +0000 (04:07 +0530)]
[FIX] account: avoid date and cache issues
Explicitely refresh invoice browse_record(...) in order to have correct 'date' in account.move.
Use context_today() date instead of time.strftime() for date_invoice. (opw 611210)
Antoine Huvelle [Wed, 27 Aug 2014 12:25:32 +0000 (14:25 +0200)]
[IMP] stock: filter for procurement.type view
Shouldn't allow to select view in the location field. Otherwise you'll end having pickings composed of stock moves using view stock locations.
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.
Nicolas Seinlet [Wed, 27 Aug 2014 09:48:40 +0000 (11:48 +0200)]
[FIX] sale: on create, set taxes if product_id_change called
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
Denis Ledoux [Tue, 26 Aug 2014 16:10:14 +0000 (18:10 +0200)]
[FIX] resource: security, resource not readable by externals
Denis Ledoux [Tue, 26 Aug 2014 15:32:04 +0000 (17:32 +0200)]
[FIX] email_template: security, email_template no rights for externals
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.
Denis Ledoux [Tue, 26 Aug 2014 14:17:24 +0000 (16:17 +0200)]
[FIX] security: disallow read on ir.sequence for externals
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.
Denis Ledoux [Tue, 26 Aug 2014 13:35:47 +0000 (15:35 +0200)]
[FIX] security: remove read access on company critical fields
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.
Denis Ledoux [Tue, 26 Aug 2014 11:31:41 +0000 (13:31 +0200)]
[FIX] security: res.groups should be readable by admins only
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.
Denis Ledoux [Tue, 26 Aug 2014 10:55:48 +0000 (12:55 +0200)]
[FIX] security: externals should be able to read attachements
without having the rights to read ir.config_parameter
Denis Ledoux [Tue, 26 Aug 2014 10:50:04 +0000 (12:50 +0200)]
[FIX] security: ir.config_parameter should not be readable by externals
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
Cedric Snauwaert [Tue, 26 Aug 2014 09:26:28 +0000 (11:26 +0200)]
[FIX] web: fix blur problem in FieldMany2One widget when clicking on autocomplete option inside a wizard
Denis Ledoux [Tue, 26 Aug 2014 08:56:44 +0000 (10:56 +0200)]
Revert "[FIX] web: grid headers should be aligned properly"
This reverts commit
4c335588a1f5d6d1f03e17aa20e37ffe4197447c.
It leads to table widths inconsistencies: The tables take more width then before, and overflow much more than before. This can be seen in "Accounting" > "Journal Entries", in the list of the form view
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
TheCloneMaster [Mon, 25 Aug 2014 07:16:45 +0000 (01:16 -0600)]
[FIX] hw_escpos: Replaced "tab" by space
call to self.open() had a tab instead of spaces
Daniel Dico [Mon, 25 Aug 2014 15:16:35 +0000 (11:16 -0400)]
[FIX] sale_order_line: use order date to compute currency instead of current date
Samus CTO [Mon, 25 Aug 2014 13:24:21 +0000 (15:24 +0200)]
[FIX] Missing part of the revision
5f6fc473
Daniel Dico [Mon, 25 Aug 2014 15:19:43 +0000 (11:19 -0400)]
[FIX] product_visible_discount: use order date to compute currency instead of current date
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
Martin Trigaux [Mon, 25 Aug 2014 14:19:29 +0000 (16:19 +0200)]
[FIX] website_sale: pager in product list
Keep the reference to category and search view in pager.
Update the search template to include form and keep correct reference to the category (as a slug and not a parameter).
Fixes #688
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
Denis Ledoux [Mon, 25 Aug 2014 12:51:03 +0000 (14:51 +0200)]
[FIX] hr_holidays: employees cannot approve their holidays
Nor modify once approved
It wasn't possible for employees to approve their holidays themself, thanks to the GUI, but this was possible through xmlrpc calls, or when altering the html directly in the browser.
Besides, this was also possible to edit the holiday through the same trick once the holiday validated
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
Ravish Murari [Thu, 7 Aug 2014 12:34:42 +0000 (18:04 +0530)]
[FIX] board: Do not offer to create dashboard when there is no action
In case we have no defined action (e.g. redirection by python code), adding a dashboard should not be possible as the rendering based on the action.
This patch hides the 'Add to Dashboard' button in search view (opw 611288)
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
Fekete Mihai [Fri, 22 Aug 2014 13:34:11 +0000 (16:34 +0300)]
[IMP] stock: stock incoterm converted to uppercase
Martin Trigaux [Fri, 22 Aug 2014 13:29:23 +0000 (15:29 +0200)]
[FIX] point_of_sale: generate bank statement with commerical partner
When a pos session is closed & confirmed, the account.move were generated with the commercial partner except for the bank statement which prevented automatic reconciliation.
This patch uses the commercial partner also for bank statement.
Fixes #1558, #1764
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
Martin Trigaux [Fri, 22 Aug 2014 10:49:39 +0000 (12:49 +0200)]
[FIX] fetchmail: do not delete a failing email when using POP
In case of IMAP, the email is simply set as read but in case of POP, the email is deleted. To avoid loosing data (e.g. misconfiguration of server), the email is kept for POP.
Bug lp:1296724, opw 605667
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)
Bhavik Bagdiya [Tue, 19 Aug 2014 05:07:54 +0000 (10:37 +0530)]
[FIX] web: grid headers should be aligned properly
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.