[FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time - opw 607970
[FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time (opw 607970)
[FIX] stock: clean previous commit
[FIX] purchase: Do not allow to delete a purchase order line which is validated

This restriction behavior copied from the sale.order model
Moreover, the purchase.order lines state were not set to cancel when the purchase order was cancelled.
This is now the case, this behavior is also coped from the sale.order model
When the purchase order is reset to draft, we also reset the order lines state to draft
[FIX] replace .bzrignore by .gitignore, as we are now working with git
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"
[FIX] base: security, group settings is authorized to alter ir.config_parameter
[FIX] base: security, do not override basic ir_config_paramter ACL
[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.
[FIX]modal close function in kanban and edi
Merge pull request #300 from odoo-dev/saas-4-modal-kanban-fix-csn

[FIX]modal close function in kanban and edi
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/`.
[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.
[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)
[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.
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)
[FIX] event_sale: stored seats_max field

seats_max is a stored field in event, and should remain stored when overrided in event_sale
[FIX] website_sale: change template for product and variant selector (type color)
Wrong variable name. The write() method should accept both int/long and tuple/list
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. e7a0b1bb9095048914e11eb1915c20d336f74c08