Commit Graph

90583 Commits

Author SHA1 Message Date
Martin Trigaux 768b3592c2 [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).
2014-08-21 14:30:10 +02:00
Josse Colpaert 3b8e6a43cf Merge pull request #1888 from odoo-dev/8.0-wmsnsewiz-jco
Merge from nse back-end partial picking wizard
2014-08-21 13:33:00 +02:00
Raphael Collet dce5228da7 [FIX] fields: add missing option 'sanitize' on Html fields 2014-08-21 13:27:30 +02:00
Frederic van der Essen 2fd16b5552 [IMP] point_of_sale: add missing functionality necessary for the loyalty module 2014-08-21 12:19:04 +02:00
Géry Debongnie a54aac38f6 [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
2014-08-21 11:48:37 +02:00
fka-odoo 20a99ae129 [IMP] account_budget: added date filter in print budget report
Fixes #1743, opw 611307
2014-08-21 11:45:38 +02:00
Josse Colpaert f4e7105eb6 [IMP] Usability improvements by clarifying texts 2014-08-21 11:37:40 +02:00
Richard Mathot b26cd8ad6d [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.
2014-08-21 11:20:09 +02:00
Denis Ledoux 99ce17cfca [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.
2014-08-21 11:20:09 +02:00
qdc 8307a5f6ed [IMP] Graph views: show always measure + filters record measures in context 2014-08-21 11:09:49 +02:00
Olivier LAURENT ac9954d210 * [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
2014-08-21 11:07:00 +02:00
Thibault Delavallée 4c6dcd7fcb [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.
2014-08-21 11:03:15 +02:00
Thibault Delavallée 43fe825870 [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. 2014-08-21 11:03:15 +02:00
Thibault Delavallée 4e32b9f6f3 [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.
2014-08-21 11:03:15 +02:00
Fabien Pinckaers 9dc9169f33 [IMP] readable code 2014-08-21 11:02:18 +02:00
Fabien Pinckaers 9c175fe730 [FIX] difference POS / Cash 2014-08-21 10:54:38 +02:00
Fabien Pinckaers 98bc5adc6e [FIX] recursion 2014-08-21 10:43:49 +02:00
Fabien Pinckaers d14297ac53 [FIX] better responsibilities on objects POS 2014-08-21 10:38:21 +02:00
Frederic van der Essen 0829afadd2 [FIX] point_of_sale: continuation of the session closing fix 2014-08-20 23:08:20 +02:00
Frederic van der Essen 62a8e5b457 [FIX] point_of_sale: partial fix for unclosable sessions 2014-08-20 22:24:21 +02:00
Christophe Simonis 5dff035878 [MERGE] forward port of branch saas-5 up to 39bee35 2014-08-20 20:33:17 +02:00
Christophe Simonis 1d85c667f7 [FIX] point_of_sale: correct SyntaxError 2014-08-20 20:24:09 +02:00
Fabien Pinckaers fee5701359 Merge branch '8.0' of github.com:odoo/odoo into 8.0 2014-08-20 19:38:59 +02:00
Fabien Pinckaers 76a84ce2bf [FIX] partner of order 2014-08-20 19:38:41 +02:00
Christophe Matthieu c48a7141e6 Merge pull request #1890 from odoo-dev/8.0-fixes-website-video-chm
[FIX] website: firefox video and layout; clean_for_save; link
2014-08-20 18:59:58 +02:00
Josse Colpaert 3891892d9f Merge from nse back-end partial picking wizard 2014-08-20 18:28:57 +02:00
Christophe Simonis 39bee35e25 [FIX] base: correct view branding tests after c013210 2014-08-20 18:23:12 +02:00
Christophe Simonis c3131317d7 [MERGE] forward port of branch saas-4 up to ddef2dd 2014-08-20 17:57:22 +02:00
Christophe Matthieu c3d2540477 [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 2014-08-20 17:54:10 +02:00
Christophe Matthieu 37c4bd96c1 [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. 2014-08-20 17:54:10 +02:00
Christophe Matthieu 3630c0fc14 [FIX] tour: display username in log for point of sale module 2014-08-20 17:54:10 +02:00
Christophe Matthieu d12974eee3 [FIX] website.snippet: can't edit website with firefox; remove firefox attr for media video is edit mode 2014-08-20 17:54:10 +02:00
Christophe Simonis ddef2dd10a [MERGE] forward port of branch saas-3 up to 8f13e83 2014-08-20 17:51:20 +02:00
xmo-odoo b8b947ffa4 [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.
2014-08-21 03:51:20 +12:00
Christophe Simonis 8f13e8320e [MERGE] forward port of branch 7.0 up to d0a0b7d 2014-08-20 17:45:05 +02:00
Christophe Simonis f32c88f932 [FIX] web: correct /web/proxy/load to set correct base_url 2014-08-20 17:33:27 +02:00
Fabien Meghazi c0132100ce [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
2014-08-20 17:16:29 +02:00
Denis Ledoux 3cc9a844db [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
2014-08-20 16:14:09 +02:00
Thibault Delavallée 24347d235c [FIX] crm_partner_assign: allow employees to read the res_partner_activation model, fixing some access rights issues with the partner form view 2014-08-20 15:39:20 +02:00
Thibault Delavallée 3b0622bd3f [FIX] mass_mailing: do not display templates void options menu when there are no option to display 2014-08-20 15:39:20 +02:00
Cedric Snauwaert 6e201cdcdb [ADD] stock: add new report for package that only show package barcode 2014-08-20 15:33:08 +02:00
Antony Lesuisse d421f9a365 [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.
2014-08-20 15:13:46 +02:00
Guewen Baconnier d0a0b7d91d [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
2014-08-20 15:13:36 +02:00
Thibault Delavallée 6c5cde609e [FIX] res_partner: fixed display of simplified partner form view (image and fields display was messy) 2014-08-20 14:39:52 +02:00
Thibault Delavallée 9d50b47033 [FIX] share: fixed crash when using the share wizard, linked to the new api. 2014-08-20 14:10:20 +02:00
Thibault Delavallée a76de4595e [FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote 2014-08-20 14:10:20 +02:00
Denis Ledoux 0fce350cf4 [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
2014-08-20 14:08:25 +02:00
Fabien Pinckaers 3ab268cf63 Merge branch '8.0' of github.com:odoo/odoo into 8.0 2014-08-20 12:21:58 +02:00
Fabien Pinckaers a6de99990d [FIX] missing row CSS 2014-08-20 12:21:38 +02:00
Géry Debongnie 53a5c6d241 [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.
2014-08-20 11:55:15 +02:00