[IMP] Add the corresponding content type document instead the default content type
Raise exception when ir_attachment creation fails
yaml: use selected user and not admin for onchange

Fixes: #1885
yaml: use selected user and not admin for defaults
Raise exception, don't reraise it

Allow the traceback to show real origin instead of this line by calling `raise` instead of `raise e`
[FIX]product: add store=dict to field name_template

bzr revid: csn@openerp.com-20130412130856-3g5e67v2r7y6ep5v
[REF]product: remove one extra loop

bzr revid: csn@openerp.com-20130415102121-u74t7zd3zct3q3ts
[IMP] only recompute name_template if product_tmpl_id changes
PEP8
[MERGE] sale_order_dates: several improvements to usability and planned date computing, courtesy of Lionel Sausin (Numerigraphe)

bzr revid: odo@openerp.com-20140306202430-aw45sqw6og8ezcni
[FIX] sale_order_dates: fixes + deduplication of _get_planned_date()/_order_line_move_date() methods on sale.order

bzr revid: odo@openerp.com-20140306225009-f0jk43x5qpovurxi
[IMP] Add search filters in inventory analysis

Add search filters for products available, out of stock, and with negative stock in inventory analysis
improve looping efficiency
[IMP]: requested_date+commitment_date on quotation
[FIX] product: creation of reference uom

Set a default value for factor when creating a new uom.
Could not create a new UoM with type reference (if creates a reference uom, no need to pass a factor).

Change the readonly filter to (type = bigger) to make the field writable for reference uom.
This is needed to force the reset of the factor when switching of type (onchange_type).
As the field was readonly, kept the old value for factor.
Procurement schedulers now catch all exceptions and log them (instead of stopping)
Merge remote-tracking branch 'odoo/7.0' into 7.0
[FIX] project_timesheet: date of created analytic line not in user tz

When the user was in timezone UTC + 1, and added a project.task.work which created an analytic entry line (timsheet activity), if the datetime was set to 11/25 00:00:00, the date on the analytic line was set to 11/24, because this was the truncated stored value(UTC Time), which was 11/24 23:00:00
[FIX] account: prevent invoice line duplication on partner duplication

If a company contact (a partner with a company set as parent) had invoices, and the company of this contact was duplicated, all the invoices lines were duplicated,  on the original invoice moreover (new lines were added on existing invoices)
Merge remote-tracking branch 'odoo/7.0' into 7.0