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
Thibault Delavallée [Thu, 21 Aug 2014 08:32:29 +0000 (10:32 +0200)]
[FIX] ir_actions: server action: when creating or writing value on a record
through a server action, try to correctly set the value to write on a given
fields according to its type. For example many2one fields should receive an
int, not a unique containing the id of the new value.
Thibault Delavallée [Thu, 21 Aug 2014 08:02:39 +0000 (10:02 +0200)]
[FIX] ir_actions: server action: check the validity of write_expresison only if defined. Also check for the related model only if set in the onchange.
Thibault Delavallée [Wed, 20 Aug 2014 14:29:56 +0000 (16:29 +0200)]
[FIX] web: fixed css of hidden input file: a hidden element could interfere with other elements
in the dom, leading to some fields not being accessible.
Fabien Pinckaers [Thu, 21 Aug 2014 09:02:18 +0000 (11:02 +0200)]
[IMP] readable code
Fabien Pinckaers [Thu, 21 Aug 2014 08:54:38 +0000 (10:54 +0200)]
[FIX] difference POS / Cash
Fabien Pinckaers [Thu, 21 Aug 2014 08:43:49 +0000 (10:43 +0200)]
[FIX] recursion
Fabien Pinckaers [Thu, 21 Aug 2014 08:38:21 +0000 (10:38 +0200)]
[FIX] better responsibilities on objects POS
Frederic van der Essen [Wed, 20 Aug 2014 21:08:20 +0000 (23:08 +0200)]
[FIX] point_of_sale: continuation of the session closing fix
Frederic van der Essen [Wed, 20 Aug 2014 20:24:21 +0000 (22:24 +0200)]
[FIX] point_of_sale: partial fix for unclosable sessions
Christophe Simonis [Wed, 20 Aug 2014 18:33:17 +0000 (20:33 +0200)]
[MERGE] forward port of branch saas-5 up to 39bee35
Christophe Simonis [Wed, 20 Aug 2014 18:24:09 +0000 (20:24 +0200)]
[FIX] point_of_sale: correct SyntaxError
Fabien Pinckaers [Wed, 20 Aug 2014 17:38:59 +0000 (19:38 +0200)]
Merge branch '8.0' of github.com:odoo/odoo into 8.0
Fabien Pinckaers [Wed, 20 Aug 2014 17:38:41 +0000 (19:38 +0200)]
[FIX] partner of order
Christophe Matthieu [Wed, 20 Aug 2014 16:59:58 +0000 (18:59 +0200)]
Merge pull request #1890 from odoo-dev/8.0-fixes-website-video-chm
[FIX] website: firefox video and layout; clean_for_save; link
Josse Colpaert [Wed, 20 Aug 2014 16:28:57 +0000 (18:28 +0200)]
Merge from nse back-end partial picking wizard
Christophe Simonis [Wed, 20 Aug 2014 16:23:12 +0000 (18:23 +0200)]
[FIX] base: correct view branding tests after c013210
Christophe Simonis [Wed, 20 Aug 2014 15:57:22 +0000 (17:57 +0200)]
[MERGE] forward port of branch saas-4 up to ddef2dd
Christophe Matthieu [Tue, 19 Aug 2014 16:26:12 +0000 (18:26 +0200)]
[FIX] website.editor: must display link information in linkdialox box. Remove /page/ and /page/website. from the needle to search page and apply real url as filter after the search
Christophe Matthieu [Tue, 19 Aug 2014 15:00:19 +0000 (17:00 +0200)]
[FIX] website.snippet: before the save of the view clean_for_save is called. The option marginAndResize (called by twitter) try to bind events on the overlay but the builder don't load the overlay (for time perf). The fix set a default jquery empty div to avoid the error.
Christophe Matthieu [Tue, 19 Aug 2014 14:20:26 +0000 (16:20 +0200)]
[FIX] tour: display username in log for point of sale module
Christophe Matthieu [Tue, 19 Aug 2014 14:19:53 +0000 (16:19 +0200)]
[FIX] website.snippet: can't edit website with firefox; remove firefox attr for media video is edit mode
Christophe Simonis [Wed, 20 Aug 2014 15:51:20 +0000 (17:51 +0200)]
[MERGE] forward port of branch saas-3 up to 8f13e83
xmo-odoo [Wed, 20 Aug 2014 15:51:20 +0000 (03:51 +1200)]
[IMP] catch & warn about any TTFontFile exception
It turns out TTFontFile can throw not only TTFError (generic) and KeyError, but also ValueError (unknown cmap) and maybe others.
Just catch Exception, warn that the font couldn't be loaded and report why.
Christophe Simonis [Wed, 20 Aug 2014 15:45:05 +0000 (17:45 +0200)]
[MERGE] forward port of branch 7.0 up to d0a0b7d
Christophe Simonis [Wed, 20 Aug 2014 15:33:27 +0000 (17:33 +0200)]
[FIX] web: correct /web/proxy/load to set correct base_url
Fabien Meghazi [Wed, 20 Aug 2014 15:16:29 +0000 (17:16 +0200)]
[FIX] website translation bug
Sometimes a node can't be translated using the website Translate
mode. The translation is added to the Application term list but
the id of the view is not correct.
This happen when a translatable node is a children of a inherited
node whose branding could not be kept. data-oe-source-id was left
over because it was not registered in MOVABLE_BRANDING
Denis Ledoux [Wed, 20 Aug 2014 14:12:25 +0000 (16:12 +0200)]
[FIX] website_forum: portal user are allowed to delete forum post
If a portal user has engouh karma, this is possible for him, at least graphically, to delete forum posts, even if is not the author of it.
So, he should be allowed to delete forum posts in the ACL
Thibault Delavallée [Wed, 20 Aug 2014 13:38:31 +0000 (15:38 +0200)]
[FIX] crm_partner_assign: allow employees to read the res_partner_activation model, fixing some access rights issues with the partner form view
Thibault Delavallée [Wed, 20 Aug 2014 13:37:23 +0000 (15:37 +0200)]
[FIX] mass_mailing: do not display templates void options menu when there are no option to display
Cedric Snauwaert [Wed, 20 Aug 2014 13:30:56 +0000 (15:30 +0200)]
[ADD] stock: add new report for package that only show package barcode
Antony Lesuisse [Wed, 20 Aug 2014 13:07:56 +0000 (15:07 +0200)]
[IMP] point_of_sale: track session logins
the pos session now keeps track of the session logins, and that number is
included in in the order reference. This prevents orders generated in parallely
created sessions from having the same reference, and also helps reduce fraud.
Guewen Baconnier [Wed, 9 Jul 2014 11:56:24 +0000 (13:56 +0200)]
[FIX] purchase: skip move if not linked to a purchase order
When this situation happens. the 'cost' is None and the web interface cannot handle this value, provoking a JS error. Thus, prefer to fallback on the standard way to get the cost: based on the current standard price of the product.
Fixes #1032
Thibault Delavallée [Wed, 20 Aug 2014 12:39:52 +0000 (14:39 +0200)]
[FIX] res_partner: fixed display of simplified partner form view (image and fields display was messy)
Thibault Delavallée [Wed, 20 Aug 2014 10:51:01 +0000 (12:51 +0200)]
[FIX] share: fixed crash when using the share wizard, linked to the new api.
Thibault Delavallée [Wed, 20 Aug 2014 10:01:50 +0000 (12:01 +0200)]
[FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote
Denis Ledoux [Wed, 20 Aug 2014 12:07:43 +0000 (14:07 +0200)]
[FIX] fields: *2many related fields should not be read as superuser
one2many and many2many fields depends on the security rules.
For instance, on products, with the taxes_id many2many fields, you only see the taxes of your own company, thanks to the multi company security rule
With related *2many fields, if you browse it with superuser, you will have all records of the one2many fields, even those you are not allowed to see, as superuser ignores security rules.
For instance, taxes_id of product.product is a related of taxes_id of product_template (through the inherits on product.template), and you should see the same taxes on the product template and on the product product (variant). This is not the case if the fields is read using the superuser
Fabien Pinckaers [Wed, 20 Aug 2014 10:21:58 +0000 (12:21 +0200)]
Merge branch '8.0' of github.com:odoo/odoo into 8.0
Fabien Pinckaers [Wed, 20 Aug 2014 10:21:38 +0000 (12:21 +0200)]
[FIX] missing row CSS
Géry Debongnie [Wed, 20 Aug 2014 08:54:30 +0000 (10:54 +0200)]
[FIX] correct domain for autocomplete in many2one
The domain was using '=', which is correct when selecting a specific
element in autocompletion, but not when searching for all elements
matching a string.
Richard Mathot [Wed, 20 Aug 2014 09:11:20 +0000 (11:11 +0200)]
[FIX] project,project_issue: display order
Task/issues shuld be sorted on descending priority
Hardik Ansodariya [Tue, 12 Aug 2014 10:19:15 +0000 (15:49 +0530)]
[IMP] product: filter and group by category_id on product.template
Was removed (for unknown reason) during refactoring of product and template (opw 611699)
Fabien Pinckaers [Wed, 20 Aug 2014 08:31:25 +0000 (10:31 +0200)]
[FIX] bad link
Martin Ambroz [Wed, 20 Aug 2014 04:42:19 +0000 (08:42 +0400)]
[FIX] base: python 2.6 incompatibility for dictionary comprehension
Christophe Simonis [Tue, 19 Aug 2014 18:04:26 +0000 (20:04 +0200)]
[FIX] models: onchange return all subfields in cache when no subfields presents
Frederic van der Essen [Tue, 19 Aug 2014 16:02:17 +0000 (18:02 +0200)]
[FIX] point_of_sale: updated the tooltip for the to weight option to make it clearer that it is to be used with the hardware scale integration
Denis Ledoux [Tue, 19 Aug 2014 15:56:45 +0000 (17:56 +0200)]
[FIX] project_issue: project issue user must be able to read resource calendar
In order to be able to read the days_since_creation field
Frederic van der Essen [Tue, 19 Aug 2014 15:55:46 +0000 (17:55 +0200)]
[FIX] point_of_sale: prevent changing the customer after printing the receipt
Sandy Carter [Mon, 11 Aug 2014 17:21:29 +0000 (13:21 -0400)]
[IMP] auth_oauth: set default 'zocial' css_class
The buttons for new providers needs at least the zocial css class to be seen as button. As the field css_class is not in the default form view, add it by default.
Fabien Pinckaers [Tue, 19 Aug 2014 15:41:21 +0000 (17:41 +0200)]
[FIX] HTML row
Daniel Dico [Sat, 16 Aug 2014 04:59:27 +0000 (00:59 -0400)]
[FIX] account_anglo_saxon: variable 'standard_price' referenced before assignment
Due to forward-port, the variable standard_price was reintroduced instead of valuation_price_unit
Move the change of currency after the fifo/lifo computation.
Fixes #1801
Frederic van der Essen [Tue, 19 Aug 2014 14:43:05 +0000 (16:43 +0200)]
[FIX] point_of_sale: the receipt would not print correctly on first try
Christophe Simonis [Tue, 19 Aug 2014 15:13:10 +0000 (17:13 +0200)]
[FIX] base: show "application" in view view
Christophe Simonis [Tue, 19 Aug 2014 14:43:23 +0000 (16:43 +0200)]
[FIX] website: correct unslugify of routes
Fabien Pinckaers [Tue, 19 Aug 2014 14:33:25 +0000 (16:33 +0200)]
[FIX] HTML Questions
Fabien Pinckaers [Tue, 19 Aug 2014 14:30:55 +0000 (16:30 +0200)]
[FIX] HTML Questions
Christophe Simonis [Tue, 19 Aug 2014 13:35:25 +0000 (15:35 +0200)]
[FIX] mail: tell orm to rename column "read" to "is_read"
Sébastien BEAU [Sat, 16 Aug 2014 23:44:12 +0000 (01:44 +0200)]
[FIX] web: ignored readonly attribute on image widget
Fabien Pinckaers [Tue, 19 Aug 2014 11:09:33 +0000 (13:09 +0200)]
Merge pull request #1800 from blaggacao/8.0-l10n_co
8.0-l10n_co