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.
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
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