Xavier Morel [Thu, 5 Jun 2014 10:05:24 +0000 (12:05 +0200)]
[IMP] guard for None enum, remove 1 level of indent
Xavier Morel [Thu, 5 Jun 2014 10:03:16 +0000 (12:03 +0200)]
[IMP] use Sized for iterable size and remove support for count
Xavier Morel [Thu, 5 Jun 2014 10:01:44 +0000 (12:01 +0200)]
[IMP] use enumerate instead of explicit index thing
Xavier Morel [Thu, 5 Jun 2014 10:01:04 +0000 (12:01 +0200)]
[FIX] _even/_odd were reversed, also some reformatting thing
Xavier Morel [Thu, 5 Jun 2014 09:46:56 +0000 (11:46 +0200)]
[IMP] mandate a variable name in foreach
Christophe Simonis [Wed, 4 Jun 2014 17:25:40 +0000 (19:25 +0200)]
[MERGE] forward port of branch saas-5 up to 651e5ac
Christophe Simonis [Wed, 4 Jun 2014 17:22:31 +0000 (19:22 +0200)]
Merge pull request #344 from odoo-dev/saas-5-fix-mrp.bom-wrong-bom_find-check-chm
[FIX] mrp.bom: wrong check for bom_find.
If the user defined a bom line type phantom to a product without bom the check is wrong to display the error message.
Thibault Delavallée [Wed, 4 Jun 2014 16:54:20 +0000 (18:54 +0200)]
[FIX] mass_mailing: fixed computation of mailing domain when having more than 1 mailing list added in the recipients. A bit longer, but less buggy.
Christophe Matthieu [Wed, 4 Jun 2014 16:44:02 +0000 (18:44 +0200)]
[FIX] mrp.bom: wrong check for bom_find. If the user defined a bom line type phantom to a product without bom the check is wrong to display the error message.
Thibault Delavallée [Wed, 4 Jun 2014 16:20:55 +0000 (18:20 +0200)]
[FIX] mass_mailing: mailing form view: better display of action buttons, avoiding having several 'red action buttons' at the same time.
Martin Trigaux [Wed, 4 Jun 2014 13:53:28 +0000 (15:53 +0200)]
[MERGE] l10n_es: Complete refactoring of l10n_es, courtesy of @pedrobaeza
See also:
- https://code.launchpad.net/~pedro.baeza/openobject-addons/7.0-l10n_es-refactorized/+merge/196809
- http://serviciosbaeza.com/blog/43-refactorizacion-de-l10n-es-para-openerp-v7
Denis Ledoux [Wed, 4 Jun 2014 09:25:51 +0000 (11:25 +0200)]
[FIX] website_sale: backport commit
3cc4785ba6d27475323a606fef9466286024ad0e of master
This fix aimed saas-5, not master.
original Commit message:
display accessory field in form view and display the good accessory product inside ecommerce
This is related to previous rev
86055fb8cd5f86d9b4416d9d9a1a736e1c06aba9
Denis Ledoux [Wed, 4 Jun 2014 08:44:56 +0000 (10:44 +0200)]
[FIX] website_sale: accessory_product_ids are product.product, not product.template
This many2many field should actually have product.template as relation
But, in a stable release, we cannot alter the database
Therefore, when displaying accessory products in the card, it display the product_tmpl_id of the product.product, not itself
This relation should be changed in trunk
+ Actually displaying this field in the backend
antonylesuisse [Tue, 3 Jun 2014 23:33:59 +0000 (01:33 +0200)]
Merge pull request #333 from odoo-dev/master-improve-scaffold-deploy-fme
Change scaffolding's controller template
Fabien Meghazi [Tue, 3 Jun 2014 23:27:59 +0000 (01:27 +0200)]
Change scaffolding's controller template
Fabien Meghazi [Tue, 3 Jun 2014 23:00:59 +0000 (01:00 +0200)]
Merge pull request #332 from odoo-dev/master-improve-scaffold-deploy-fme
Improve `odoo scaffold` and fix `odoo deploy`
Fabien Meghazi [Tue, 3 Jun 2014 22:48:08 +0000 (00:48 +0200)]
Do not check SSL certificate by default
(requested by al)
Fabien Meghazi [Tue, 3 Jun 2014 22:45:28 +0000 (00:45 +0200)]
Fix error on url scheme for odoo deploy
Fabien Meghazi [Tue, 3 Jun 2014 22:41:37 +0000 (00:41 +0200)]
Add __init__.py when createing module. Also add templates.xml in
manifest
Antony Lesuisse [Tue, 3 Jun 2014 22:46:46 +0000 (00:46 +0200)]
[FIX] website_crm_partner_assign infinite crawling
Richard Mathot [Tue, 3 Jun 2014 20:14:02 +0000 (22:14 +0200)]
[FIX] website_crm_partner_assign: buggy url
Richard Mathot [Tue, 3 Jun 2014 19:53:51 +0000 (21:53 +0200)]
Revert "[FIX] website_crm_partner_assign infinite crawling"
This reverts commit
267cc630276be2fde2ee1ebb1aa7a5b7c282532e.
Christophe Simonis [Tue, 3 Jun 2014 19:45:21 +0000 (21:45 +0200)]
[FIX] product: correct SyntaxError made by kdiff3 (once again) during previous forward port
Antony Lesuisse [Tue, 3 Jun 2014 19:06:00 +0000 (21:06 +0200)]
[FIX] website_crm_partner_assign infinite crawling
disable url query fragment
Christophe Simonis [Tue, 3 Jun 2014 18:02:00 +0000 (20:02 +0200)]
[MERGE] forward port of branch saas-5 up to b1c0bc0
Antony Lesuisse [Tue, 3 Jun 2014 17:56:43 +0000 (19:56 +0200)]
[MERGE] mail.thread as an AbstractModel
Christophe Simonis [Tue, 3 Jun 2014 17:45:19 +0000 (19:45 +0200)]
[MERGE] forward port of branch saas-4 up to 65f68c1
Antony Lesuisse [Tue, 3 Jun 2014 17:44:20 +0000 (19:44 +0200)]
[MERGE] odoo command: scaffold, start, deploy
Christophe Simonis [Tue, 3 Jun 2014 17:14:22 +0000 (19:14 +0200)]
[MERGE] forward port of branch saas-3 up to 7dd6954
Christophe Simonis [Tue, 3 Jun 2014 17:11:44 +0000 (19:11 +0200)]
[MERGE] forward port of branch 7.0 up to 0c4bc1c
Christophe Matthieu [Tue, 3 Jun 2014 16:07:43 +0000 (18:07 +0200)]
Merge pull request #320 from odoo-dev/saas-5-website_sale-product-layout-chm
[FIX] website_sale: change template for product and variant selector (type color)
Christophe Simonis [Tue, 3 Jun 2014 15:48:08 +0000 (17:48 +0200)]
[FIX] routing_map: correct subclasses detection.
Subclass detection didn't include the class itself if all it's subclasses
were invalid. As we create a new regrouping subclass, that was always the
case after a registry reloading, causing subclassed controllers to not be
taken in account.
[IMP] routing_map: clean code a little bit
Raphael Collet [Tue, 3 Jun 2014 15:29:49 +0000 (17:29 +0200)]
[FIX] website_mail: model 'mail.thread' must be abstract
Martin Trigaux [Tue, 3 Jun 2014 14:56:07 +0000 (16:56 +0200)]
[FIX] sale: keep customer reference in grouped invoice (opw 606523)
Denis Ledoux [Tue, 3 Jun 2014 15:12:07 +0000 (17:12 +0200)]
[FIX] delivery: allow to add delivery method in quotation if quotation in quotation sent stage
opw-607920
Christophe Matthieu [Tue, 3 Jun 2014 14:58:26 +0000 (16:58 +0200)]
[IMP] product: set at false one product variant of ipad
Martin Trigaux [Tue, 3 Jun 2014 14:48:40 +0000 (16:48 +0200)]
Merge pull request #322 from guewen/product-write-fix
[FIX] product: write() should accept both int/long and tuple/list
Richard Mathot [Tue, 3 Jun 2014 14:34:30 +0000 (16:34 +0200)]
[FIX][IMP] Make partner maps work properly
[FIX] website*: unfuck buggy controllers
[IMP] website*: display GoogleMap in a human-usable interface
[IMP] website_google_map: large module cleaning
- There is now only one controller, data is sent once for all!
- Map is now fully resizable in its hosting template
- HTML/CSS cleaning
- JavaScript is now human-readable ;-)
Denis Ledoux [Tue, 3 Jun 2014 14:28:06 +0000 (16:28 +0200)]
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev.
e7a0b1bb9095048914e11eb1915c20d336f74c08
Guewen Baconnier [Tue, 3 Jun 2014 14:13:54 +0000 (16:13 +0200)]
Wrong variable name. The write() method should accept both int/long and tuple/list
Pedro Manuel Baeza [Tue, 3 Jun 2014 14:02:21 +0000 (16:02 +0200)]
[IMP] l10n_es: Complete refactorisation of l10n_es, removing duplicities of the three current charts using charts inheritance. Details of the work done in this blog post (in spanish):
http://serviciosbaeza.com/blog/43-refactorizacion-de-l10n-es-para-openerp-v7
Christophe Matthieu [Tue, 3 Jun 2014 13:38:11 +0000 (15:38 +0200)]
[FIX] website_sale: change template for product and variant selector (type color)
Thibault Delavallée [Tue, 3 Jun 2014 13:21:29 +0000 (15:21 +0200)]
[FIX] mass_mailing: newsletter snippet:
- fixed subscription, was always subscribing to the last created list;
- slightly improved the snippet display, now displaying a 'thanks' when subscribed instead of just making everything disabled;
- removed unnecessary JS line
Denis Ledoux [Tue, 3 Jun 2014 13:03:13 +0000 (15:03 +0200)]
[FIX] product: product_variant group does not exist anymore
Therefore, the pricelist item view must show the field product_tmpl_id in any case
Martin Trigaux [Tue, 3 Jun 2014 12:25:18 +0000 (14:25 +0200)]
Merge pull request #292 from guewen/product-missing-report-dependency
[FIX] product: add module 'report' module in its dependencies
The product pricelist report model inherit from report.abstract_report but report was not present in dependencies.
Guewen Baconnier [Tue, 3 Jun 2014 12:19:51 +0000 (14:19 +0200)]
[FIX] product: fix _set_price_extra method
avoid crash is context is None
create call does not have ids parameter
Christophe Matthieu [Tue, 3 Jun 2014 11:18:31 +0000 (13:18 +0200)]
Merge pull request #310 from odoo-dev/master-product-move-packaging-field-chm
[IMP] product: move product packaging field from product.product to product.template
Christophe Matthieu [Tue, 3 Jun 2014 11:16:27 +0000 (13:16 +0200)]
Merge pull request #298 from odoo-dev/saas-5-fixes-product-chm
[FIX] product
Context in _set_standard_price and many2one in product.packaging;
Set required at false for product template field when creating a product product;
Remove wrong field on product.template. TODO: move packaging field form product.product to product.template
Denis Ledoux [Tue, 3 Jun 2014 10:21:34 +0000 (12:21 +0200)]
[FIX] event_sale: stored seats_max field
seats_max is a stored field in event, and should remain stored when overrided in event_sale
Thibault Delavallée [Tue, 3 Jun 2014 10:03:42 +0000 (12:03 +0200)]
Merge pull request #288 from odoo-dev/saas-4-mass_mailing_fixes-tde
[FIX] mass_mailing: fixes
- backport (+ cleaning) of
eb22d202e48068a82ddcfa3878dbe0cbb845cc9c (saas-5): mail_thread: routing: instead of exclusive routing heuristics, use each case as a fallback of the previous.
- better fix for
dd36a0e5093df90bd92667d26f529a3a79fe0397 (saas-5): mail_thread: routing: fixed replies always choosen even when replying to emails with a specified reply_to (using ref_match in the algorithm)
- backport of
d6a2ae642b1a48ce6cb227c3cde2deca847a0a33 (saas-5): avoid evaluating a False / None domain
- fixed keeping the original message for routing, only when choosing to reply in the original thread (notification=True)
- mail_thread: routing: fixed replies always chosen even when replying to emails with a specified reply_to (using ref_match in the algorithm)
Christophe Matthieu [Tue, 3 Jun 2014 09:53:41 +0000 (11:53 +0200)]
[IMP] product: move product packaging field from product.product to product.template
Christophe Matthieu [Tue, 3 Jun 2014 09:15:17 +0000 (11:15 +0200)]
[FIX] product: remove wrong field on product.template. TODO: move packaging field form product.product to product.template
Christophe Matthieu [Tue, 3 Jun 2014 09:13:50 +0000 (11:13 +0200)]
[FIX] product: set required at false for product template field when creating a product product.
Thibault Delavallée [Tue, 3 Jun 2014 08:56:05 +0000 (10:56 +0200)]
[FIX] website_mail: fixed template choice and body duplication in the email designer that was buddy; added some css to the page to make it more look like an email designer; also added a demo data for a template for mass mailing contacts in mass_mailing module.
Martin Trigaux [Tue, 3 Jun 2014 08:48:26 +0000 (10:48 +0200)]
[FIX] gamification: do not group on agregated field for sum
The read_group behaviour has changed and read_group no longer sum on the field you are grouping.
Instead agregate on the field we want to sum and use no groupby.
For future version, grouping on a user such as what is done in batch mode is a better way to process.
Martin Trigaux [Tue, 3 Jun 2014 08:37:31 +0000 (10:37 +0200)]
Merge pull request #266 from neps1192/master
l10n_tr: Turkish lira iso code has changed from TRL to TRY in 2005, use the new one in the chart of account
Martin Trigaux [Tue, 3 Jun 2014 08:20:55 +0000 (10:20 +0200)]
[FIX] read_group: do not change the return format of the read group in case of no groupby_fields and keep the same return format as with groupby fields (a list of dict)
Thibault Delavallée [Tue, 3 Jun 2014 06:55:00 +0000 (08:55 +0200)]
[FIX] sales_team, crm: fixed sales_team form view: alias data was not displayed due to wrongly done inheritance + fixed a typo hidden in the view
Richard Mathot [Tue, 3 Jun 2014 06:14:07 +0000 (08:14 +0200)]
Merge pull request #299 from odoo-dev/master-footer-mess-rim
[IMP] website: move automatic footer to independent view
Antony Lesuisse [Mon, 2 Jun 2014 23:00:23 +0000 (01:00 +0200)]
scaffold fix, add a sample page and snippet
Olivier Dony [Mon, 2 Jun 2014 17:47:03 +0000 (19:47 +0200)]
[FIX] procurement: restore fixes for background procurement from rev.9b6f5dc, accidentally reverted by v8 WMS branch
Probably forgotten during a sync with master, as the
fixes belong to a different file now.
This is the second part of the fix in previous commit.
Olivier Dony [Mon, 2 Jun 2014 16:57:26 +0000 (18:57 +0200)]
[FIX] procurement: restore fix for background procurement from 9b6f5dc, accidentally reverted by WMS branch for v8
Probably forgotten during a sync with master, as the
fix belongs to a different file now.
Denis Ledoux [Mon, 2 Jun 2014 16:47:41 +0000 (18:47 +0200)]
[FIX] auth_oauth: missing res_users.py diff from rev
33bfec21743c9200f491bd0ddcc6d368cd948f85
Most probably due to github migration
+ fix: directly redirect to login redirect paramas, instead of redirecting on the complete web/login + redirect url
OstapYakovenko [Mon, 2 Jun 2014 16:37:52 +0000 (18:37 +0200)]
[FIX] hr_timesheet_sheet: fix typo in field name
Martin Trigaux [Mon, 2 Jun 2014 16:00:25 +0000 (18:00 +0200)]
[FIX] calendar: avoid double popup, opw 606297
Some browsers (e.g. chrome) trigger onEmptyClick as well as
onBeforeLightbox during drag&drop which calls two slow_create
calls (and two popups). Workaround to kill the second one.
Martin Trigaux [Mon, 2 Jun 2014 16:10:36 +0000 (18:10 +0200)]
Merge pull request #286 from jbq/bugfix
[FIX] mail: detection of MIME type
When parsing the mail headers, the content-type may has a 'type' attribute for Multipart/Related objects (rfc2387).
Previous check would match on attached files of type text instead of real `content-type: text/`.
Martin Trigaux [Mon, 2 Jun 2014 16:05:25 +0000 (18:05 +0200)]
Merge pull request #301 from rvalyi/fleet-typo-fix
[FIX] fixed typo in fleet brands with Land Rover
Raphaël Valyi [Mon, 2 Jun 2014 15:18:45 +0000 (12:18 -0300)]
[FIX] fixed typo in fleet brands with Land Rover
Cédric Snauwaert [Mon, 2 Jun 2014 15:15:08 +0000 (17:15 +0200)]
Merge pull request #300 from odoo-dev/saas-4-modal-kanban-fix-csn
[FIX]modal close function in kanban and edi
Richard Mathot [Mon, 2 Jun 2014 15:01:44 +0000 (17:01 +0200)]
[FIX] stupid typo
Richard Mathot [Mon, 2 Jun 2014 14:56:36 +0000 (16:56 +0200)]
[FIX] website*: make custom footer independant of main layout
Cedric Snauwaert [Mon, 2 Jun 2014 14:41:58 +0000 (16:41 +0200)]
[FIX]modal close function in kanban and edi
Christophe Matthieu [Mon, 2 Jun 2014 13:48:24 +0000 (15:48 +0200)]
[FIX] product: check if context is none in _set_standard_price before check context keys
Christophe Simonis [Mon, 2 Jun 2014 13:38:02 +0000 (15:38 +0200)]
[FIX] http: change the way the routing map is build
Instead of only taking direct subclasses of controllers, take the lowest controller in the hierarchy
Allowing subclassing controllers
Christophe Simonis [Mon, 2 Jun 2014 13:17:58 +0000 (15:17 +0200)]
[FIX] auth_oauth: controller need to inherit from auth_signup controller
Martin Trigaux [Mon, 2 Jun 2014 13:15:53 +0000 (15:15 +0200)]
[IMP] gamification: remove deprecated method
Guewen Baconnier [Mon, 2 Jun 2014 12:58:28 +0000 (14:58 +0200)]
The 'product' module must list the 'report' module in its dependencies
because it refers to the 'report.abstract_report' module
Fixes #290
Antony Lesuisse [Mon, 2 Jun 2014 12:20:40 +0000 (14:20 +0200)]
[IMP] odoo.py git options
Christophe Simonis [Mon, 2 Jun 2014 12:02:10 +0000 (14:02 +0200)]
Merge pull request #287 from odoo-dev/saas-5-fix-website_sale-accessory-chm
[FIX] website_sale: display accessory field in form view and display the good accessory product inside ecommerce
Thibault Delavallée [Mon, 2 Jun 2014 11:52:27 +0000 (13:52 +0200)]
[FIX] mass_mailing: fixes:
- fixed keeping the original message for routing, only when choosing to reply in the
original thread (notification=True)
- auto delete sent emails explicitely
- mail_thread: routing: fixed replies always choosen even when replying to emails
with a specified reply_to (using ref_match in the algorithm)
- mail_thread: routing: instead of exclusive routing heuristics, use each case
as a fallback of the previous.
Denis Ledoux [Mon, 2 Jun 2014 11:00:36 +0000 (13:00 +0200)]
[FIX] base: security, do not override basic ir_config_paramter ACL
Denis Ledoux [Mon, 2 Jun 2014 10:57:57 +0000 (12:57 +0200)]
[FIX] base: security, group settings is authorized to alter ir.config_parameter
Christophe Matthieu [Mon, 2 Jun 2014 10:11:54 +0000 (12:11 +0200)]
[FIX] website_sale: display accessory field in form view and display the good accessory product inside ecommerce
Richard Mathot [Mon, 2 Jun 2014 10:11:18 +0000 (12:11 +0200)]
[FIX] website_blog: use new custom footer
Christophe Matthieu [Mon, 2 Jun 2014 10:11:04 +0000 (12:11 +0200)]
[FIX] website_sale: tour about customize don't check last step
Richard Mathot [Mon, 2 Jun 2014 10:10:56 +0000 (12:10 +0200)]
[FIX] website: remove standard footer from the DOM instead of hiding it
Denis Ledoux [Mon, 2 Jun 2014 10:02:11 +0000 (12:02 +0200)]
[FIX] calendar: replace end_type = final_date by end_date, the actual right selection
Jean-Baptiste Quenot [Wed, 28 May 2014 13:45:29 +0000 (15:45 +0200)]
Fix detection of MIME type in message_parse()
Be careful, content-type may contain tricky content like in the
following example so test the MIME type with startswith()
Content-Type: multipart/related;
boundary="_004_3f1e4da175f349248b8d43cdeb9866f1AMSPR06MB343eurprd06pro_";
type="text/html"
Denis Ledoux [Sun, 1 Jun 2014 23:37:45 +0000 (01:37 +0200)]
[FIX] mail: mail routing, allow more fallback cases
Specifically, allow mail to fallback in aliases if the post in the document res_model/res_id wasnt succesful
Denis Ledoux [Sun, 1 Jun 2014 20:10:54 +0000 (22:10 +0200)]
[FIX] mail: commited pudb ... its late and it has been a while since the last time : ).
Denis Ledoux [Sun, 1 Jun 2014 20:08:56 +0000 (22:08 +0200)]
[FIX] mass_mailing: on mass mailing sending, set same_thread for message composer
same_thread boolean field of mail.compose.message model define wether or not replies should be posted in the thread or not
On composer creation, this boolean should be passed according to the reply_to_mode of the mass_mailing
Otherwise, all replies would be posted in the thread, and the reply_to will be ignored (if same_thread id True, reply_to is poped from the mails values, mail/wizard/mail_compose_message.py:284)
Denis Ledoux [Sun, 1 Jun 2014 19:45:26 +0000 (21:45 +0200)]
[FIX] mass_mailing: avoid to eval an undefined domain
Denis Ledoux [Sun, 1 Jun 2014 19:27:55 +0000 (21:27 +0200)]
[FIX] mail: do not link email to a model/res_id if this model doesn't support new message
Denis Ledoux [Sun, 1 Jun 2014 18:20:21 +0000 (20:20 +0200)]
[FIX] website_sale: missing openerp.tools import
Christophe Simonis [Sun, 1 Jun 2014 12:35:54 +0000 (14:35 +0200)]
[MERGE] forward port of branch saas-5 up to revid c19bb8c
Christophe Simonis [Sun, 1 Jun 2014 12:30:15 +0000 (14:30 +0200)]
[FIX] website: correct "/" redirect to first menu
Christophe Simonis [Sun, 1 Jun 2014 09:21:35 +0000 (11:21 +0200)]
[MERGE] forward port of branch saas-5 up to revid 587084f
Christophe Simonis [Sun, 1 Jun 2014 09:19:03 +0000 (11:19 +0200)]
[MERGE] forward port of branch saas-4 up to revid c319dc4
Christophe Simonis [Sun, 1 Jun 2014 09:17:09 +0000 (11:17 +0200)]
[FIX] mail: view_mode "list" does not exists, it's "tree"
Christophe Simonis [Sun, 1 Jun 2014 08:56:39 +0000 (10:56 +0200)]
[MERGE] forward port of branch saas-3 up to revid faace84