odoo/odoo.git
9 years ago[FIX] fields.py - avoid dict comprehension inside a dict comprehension
Jeremy Kersten [Wed, 11 Jun 2014 08:30:00 +0000 (10:30 +0200)]
[FIX] fields.py - avoid dict comprehension inside a dict comprehension

9 years agoMerge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh
Martin Trigaux [Tue, 10 Jun 2014 14:02:10 +0000 (16:02 +0200)]
Merge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh

[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)

9 years ago[FIX] account_voucher: better pay invoice wizard
Martin Trigaux [Tue, 10 Jun 2014 10:26:46 +0000 (12:26 +0200)]
[FIX] account_voucher: better pay invoice wizard

If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.

9 years agoMerge pull request #56 from yvaucher/7.0-fix-1319109
Martin Trigaux [Tue, 10 Jun 2014 07:38:48 +0000 (09:38 +0200)]
Merge pull request #56 from yvaucher/7.0-fix-1319109

[FIX] report_webkit: avoid sharing parser instance globally and make it thread safe

9 years ago[FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maint...
Ravi Gohil [Mon, 9 Jun 2014 12:50:02 +0000 (18:20 +0530)]
[FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maintenance Case: 606994)

9 years ago[IMP] add an index on account_move_line(date, id)
Alexandre Fayolle [Fri, 6 Jun 2014 12:47:33 +0000 (14:47 +0200)]
[IMP] add an index on account_move_line(date, id)

fixes https://launchpad.net/bugs/1311004

9 years ago[FIX]Delivery: carrier information not propagated from sale order to pickings (Case...
Somesh Khare(OpenERP) [Wed, 24 Jul 2013 09:07:27 +0000 (14:37 +0530)]
[FIX]Delivery: carrier information not propagated from sale order to pickings (Case: ref 595240)

closes lp:1192115

9 years ago[FIX] delivery: propagate additional fields in chained pickings
Alexandre Fayolle [Fri, 6 Jun 2014 12:18:37 +0000 (14:18 +0200)]
[FIX] delivery: propagate additional fields in chained pickings

closes #367

9 years agoMerge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs
Martin Trigaux [Fri, 6 Jun 2014 11:55:59 +0000 (13:55 +0200)]
Merge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs

[FIX] orm: do not recompute m2o stored function field at read.

9 years agohr_timesheet_sheet: for attendance, set default value for employee_id in the context
Laetitia Gangloff [Fri, 6 Jun 2014 10:55:22 +0000 (12:55 +0200)]
hr_timesheet_sheet: for attendance, set default value for employee_id in the context

9 years ago[FIX] orm: do not recompute m2o stored function field at read.
Christophe Simonis [Fri, 6 Jun 2014 08:53:42 +0000 (10:53 +0200)]
[FIX] orm: do not recompute m2o stored function field at read.

The get() method of m2o function fields is used for 2 different things:
 - call the function defining the m2o
 - get the name_get representation of the value

Until this pathc, only the first case was handled, resulting to a useless
recomputation of the field when reading it.

9 years ago[FIX] orm: do not resize unlimited char fields
Oliver Laurent [Thu, 5 Jun 2014 17:00:14 +0000 (19:00 +0200)]
[FIX] orm: do not resize unlimited char fields

9 years ago[FIX] ir_cron: use the same search criteria as when listing job to excecyte when...
Laurent Mignon [Thu, 5 Jun 2014 16:59:03 +0000 (18:59 +0200)]
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job

Backport of fix made in trunk

9 years ago[IMP] stock: when checking the state of the product, do not recompute the quantity...
Martin Trigaux [Thu, 5 Jun 2014 16:38:19 +0000 (18:38 +0200)]
[IMP] stock: when checking the state of the product, do not recompute the quantity on every move but only the one currently browsing (optiomisation)

9 years ago[FIX] document_page: allow other users than administrator to create menu to a static...
Denis Ledoux [Thu, 5 Jun 2014 13:53:28 +0000 (15:53 +0200)]
[FIX] document_page: allow other users than administrator to create menu to a static page

User should be at least have Configuration settings group to be allowed to create actions. Basic document page users do not have this rights, therefore we temporary give superuser_id to create the action

This is related to rev 133c5033a092845e462b894c0d7739191480c709

9 years ago[FIX] project_timesheet: don't trigger write if there is nothing to write
Holger Brunn [Thu, 5 Jun 2014 13:44:18 +0000 (15:44 +0200)]
[FIX] project_timesheet: don't trigger write if there is nothing to write

Triggering an empty write could break constraint (can not update past timesheet) (opw 606963)

9 years ago[FIX] web: many2many field handle "no_create" option
Christophe Simonis [Thu, 5 Jun 2014 11:46:53 +0000 (13:46 +0200)]
[FIX] web: many2many field handle "no_create" option

9 years agouninstall: avoid errors during uninstall
Martin Trigaux [Thu, 5 Jun 2014 10:52:11 +0000 (12:52 +0200)]
uninstall: avoid errors during uninstall

When uninstalling a module, remove the ir.model.constraint after removing the non-model records and before fields and model definition.
Without this fix, some constraint would be removed too early allowing to have broken relations and data left from removed module.

9 years ago[FIX] point_of_sale: correct call to default value
Martin Trigaux [Wed, 4 Jun 2014 13:19:57 +0000 (15:19 +0200)]
[FIX] point_of_sale: correct call to default value

The default value should be called with a lambda otherwise the payment_date is set to the date the server was started (opw 606715)

9 years ago[FIX] kanban: avoid wrong placement of button on ie9
Martin Trigaux [Wed, 4 Jun 2014 13:06:53 +0000 (15:06 +0200)]
[FIX] kanban: avoid wrong placement of button on ie9

On ie9, the 'read more' button in kanban view was placed in the middle of the window instead of the bottom

9 years ago[FIX] stock: use correct vals in grouped invoice (opw 606535)
Martin Trigaux [Wed, 4 Jun 2014 08:42:43 +0000 (10:42 +0200)]
[FIX] stock: use correct vals in grouped invoice (opw 606535)

When creating a grouped invoice, the invoice_vals value is used to create the invoice line.
The value was not reset for grouped invoice and we reused the values of previous line.

9 years ago[FIX] sale: keep customer reference in grouped invoice (opw 606523)
Martin Trigaux [Tue, 3 Jun 2014 14:56:07 +0000 (16:56 +0200)]
[FIX] sale: keep customer reference in grouped invoice (opw 606523)

9 years ago[FIX] delivery: allow to add delivery method in quotation if quotation in quotation...
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

9 years ago[FIX] display_name is not compute for non-active partner
fka-odoo [Tue, 3 Jun 2014 13:34:07 +0000 (19:04 +0530)]
[FIX] display_name is not compute for non-active partner

9 years ago[FIX] calendar: avoid double popup, opw 606297
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.

9 years agoMerge pull request #286 from jbq/bugfix
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/`.

9 years ago[FIX] base: security, do not override basic ir_config_paramter ACL
Denis Ledoux [Mon, 2 Jun 2014 11:00:36 +0000 (13:00 +0200)]
[FIX] base: security, do not override basic ir_config_paramter ACL

9 years ago[FIX] base: security, group settings is authorized to alter ir.config_parameter
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

9 years agoFix detection of MIME type in message_parse()
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"

10 years ago[FIX] replace .bzrignore by .gitignore, as we are now working with git
Denis Ledoux [Wed, 28 May 2014 16:17:33 +0000 (18:17 +0200)]
[FIX] replace .bzrignore by .gitignore, as we are now working with git

10 years ago[FIX] purchase: Do not allow to delete a purchase order line which is validated
Denis Ledoux [Wed, 28 May 2014 16:00:11 +0000 (18:00 +0200)]
[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

10 years ago[FIX] stock: clean previous commit
Martin Trigaux [Tue, 27 May 2014 15:56:30 +0000 (17:56 +0200)]
[FIX] stock: clean previous commit

10 years ago[FIX] stock: auto_validate move not set to done when multiple parent move set to...
Martin Trigaux [Tue, 27 May 2014 15:47:28 +0000 (17:47 +0200)]
[FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time (opw 607970)

10 years agoMerge pull request #221 from odoo-dev/7.0-o2m-duplication-issue-msh
Martin Trigaux [Tue, 27 May 2014 14:37:10 +0000 (16:37 +0200)]
Merge pull request #221 from odoo-dev/7.0-o2m-duplication-issue-msh

[FIX] Fix o2m record duplication when clicking on a button

The button action will execute a write call, creating the new line.
The reload is necessary to avoid recreating the line when using the save button.

10 years ago[FIX]Refixed the issue of o2m record duplication
Mohammed Shekha [Tue, 27 May 2014 14:05:09 +0000 (19:35 +0530)]
[FIX]Refixed the issue of o2m record duplication

10 years agoMerge pull request #223 from odoo-dev/7.0-ail-form-context-parent-mat
Martin Trigaux [Tue, 27 May 2014 08:32:53 +0000 (10:32 +0200)]
Merge pull request #223 from odoo-dev/7.0-ail-form-context-parent-mat

account: safer access to parent in invoice line form

10 years ago[FIX] account_followup: account_followup_print report, sxw according to rml
Denis Ledoux [Tue, 27 May 2014 08:29:12 +0000 (10:29 +0200)]
[FIX] account_followup: account_followup_print report, sxw according to rml

10 years ago[FIX] account: safer access to parent in invoice line form
Martin Trigaux [Tue, 27 May 2014 08:16:44 +0000 (10:16 +0200)]
[FIX] account: safer access to parent in invoice line form

In the account.invoice.line form, do not assume the parent is defined when
evaluating the context to invoice_line_tax_id as we could come from another
view (e.g.: purchase order line form).
Fixes #206

10 years ago[FIX]Fixe the issue o2m record duplication.
Mohammed Shekha [Tue, 27 May 2014 04:40:06 +0000 (10:10 +0530)]
[FIX]Fixe the issue o2m record duplication.

10 years agoMerge pull request #203 from buke/7.0
Martin Trigaux [Mon, 26 May 2014 15:07:14 +0000 (17:07 +0200)]
Merge pull request #203 from buke/7.0

[FIX] delivery: when computing the weight and volume, use the quantity converted to the product uom instead of the uom of the purchase order.

10 years agoMerge pull request #207 from joshuajan/7.0
Martin Trigaux [Mon, 26 May 2014 12:35:04 +0000 (14:35 +0200)]
Merge pull request #207 from joshuajan/7.0

'invoiced' fields help message is wrong
the purchase order is set as invoiced when every line has a validated invoiced.

10 years ago'invoiced' fields help message is wrong
JoshuaJan [Mon, 26 May 2014 09:55:26 +0000 (17:55 +0800)]
'invoiced' fields help message is wrong

10 years ago[FIX] hr_recruitment: default company set according to department company
Denis Ledoux [Mon, 26 May 2014 09:20:40 +0000 (11:20 +0200)]
[FIX] hr_recruitment: default company set according to department company

10 years agoFixed delivery grid get_price
buke [Mon, 26 May 2014 09:12:38 +0000 (17:12 +0800)]
Fixed delivery grid get_price

It's wrong for cal weight in delivery gird . It's use product.weight * qty.

10 years ago[FIX] purchase: po email template, the currency could be different than the pricelist...
Denis Ledoux [Fri, 23 May 2014 15:13:42 +0000 (17:13 +0200)]
[FIX] purchase: po email template, the currency could be different than the pricelist currency

10 years agoRestore missed images during bzr to git transition
Martin Trigaux [Fri, 23 May 2014 08:11:25 +0000 (10:11 +0200)]
Restore missed images during bzr to git transition

10 years ago[REVERT] b6a7402fdbddfe817fa36292e6f89e8659f9bdea, pagereset seems to be useful in...
Denis Ledoux [Thu, 22 May 2014 14:10:56 +0000 (16:10 +0200)]
[REVERT] b6a7402fdbddfe817fa36292e6f89e8659f9bdea, pagereset seems to be useful in some cases. Need to check deeper

10 years ago[RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older...
Olivier Dony [Thu, 22 May 2014 12:07:15 +0000 (14:07 +0200)]
[RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older binary blobs

10 years agoMerge pull request #55 from yvaucher/7.0-fix-1319095
Martin Trigaux [Thu, 22 May 2014 10:05:05 +0000 (12:05 +0200)]
Merge pull request #55 from yvaucher/7.0-fix-1319095

report_webkit: use safer and non-deprecated methods to handle temporary files

10 years ago[FIX] stock: auto_validate move not set to done when multiple parent move set to...
Anaël Closson [Thu, 22 May 2014 07:26:40 +0000 (09:26 +0200)]
[FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time - opw 607970

10 years agoMerge pull request #14 from savoirfairelinux/7.0-crossovered_unicode_1292245
Martin Trigaux [Wed, 21 May 2014 14:51:34 +0000 (16:51 +0200)]
Merge pull request #14 from savoirfairelinux/7.0-crossovered_unicode_1292245

[FIX] Fix account_budget name unicode error (7.0 lp:1292245)

10 years agoMerge pull request #124 from odoo-dev/7.0-aged-partner-partial-mat
Martin Trigaux [Wed, 21 May 2014 14:16:19 +0000 (16:16 +0200)]
Merge pull request #124 from odoo-dev/7.0-aged-partner-partial-mat

[IMP] account: support for partial reconciliation in aged partner balance

When computing the aged partner balance, the partial reconciliation was not handled correctly. The reconciled amount should be removed from the original remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only display +700 in period 1 instead of two entries

10 years ago[IMP] account: support for partial reconciliation in aged partner balance
Martin Trigaux [Wed, 21 May 2014 13:44:46 +0000 (15:44 +0200)]
[IMP] account: support for partial reconciliation in aged partner balance

When computing the aged partner balance, the partial reconciliation was not
handled correctly. The reconciled amount should be removed from the original
remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only
display +700 in period 1 instead of two entries

10 years ago[FIX]: change correct label and fields in Event Analysis.
Pariket Trivedi [Wed, 21 May 2014 11:04:34 +0000 (16:34 +0530)]
[FIX]: change correct label and fields in Event Analysis.

10 years ago[FIX] report: correct page numbering
Denis Ledoux [Wed, 21 May 2014 09:20:37 +0000 (11:20 +0200)]
[FIX] report: correct page numbering

10 years ago[MERGE] merge bzr addons branch
Christophe Simonis [Tue, 20 May 2014 14:31:43 +0000 (16:31 +0200)]
[MERGE] merge bzr addons branch

10 years ago[MERGE] merge bzr server branch
Christophe Simonis [Tue, 20 May 2014 14:28:48 +0000 (16:28 +0200)]
[MERGE] merge bzr server branch

10 years ago[FIX] sale: in paypal, the encoding of the url should be done with werkzeug instead...
Martin Trigaux [Tue, 20 May 2014 08:16:17 +0000 (10:16 +0200)]
[FIX] sale: in paypal, the encoding of the url should be done with werkzeug instead of urllib for better handeling of unicode (opw 607866)

10 years agoMerge pull request #40 from kirca/mk_lang
Fabien Pinckaers [Tue, 20 May 2014 07:56:55 +0000 (09:56 +0200)]
Merge pull request #40 from kirca/mk_lang

[ADD] Macedonian language

10 years ago[FIX] orm: unlink: when unlinking a record, trigger the computing of
Thibault Delavallée [Mon, 19 May 2014 16:12:41 +0000 (18:12 +0200)]
[FIX] orm: unlink: when unlinking a record, trigger the computing of
function fields for other records in the same model. Previously all function fields in the
current model were not computed for some reason not provided by the history.

We therefore compute effective store_ids on which the various trigerred
function fields will be computed again. Those ids are the ids given
in the store_get storage variable minus the deleted ones.

10 years ago[FIX] point_of_sale: opw-607551, mark the pos order as paid before trying to create...
Denis Ledoux [Mon, 19 May 2014 13:33:39 +0000 (15:33 +0200)]
[FIX] point_of_sale: opw-607551, mark the pos order as paid before trying to create the picking, so in case the picking could not be created for one reason or another, the pos order workflow process continue.

This commit partially reverts rev. 6036 revid:fp@tinyerp.com-20111219220053-tn5gc1lmc13fjpyf, the second part of this commit already has been revert in a previous revision.

10 years ago[FIX] auditrail: fix read rules to record the current state (opw 606956)
Martin Trigaux [Mon, 19 May 2014 13:13:07 +0000 (15:13 +0200)]
[FIX] auditrail: fix read rules to record the current state (opw 606956)

10 years ago[IMP]Improved as per the comment
Dharti Ratani (Open ERP) [Mon, 19 May 2014 12:09:24 +0000 (17:39 +0530)]
[IMP]Improved as per the comment

10 years ago[FIX] marketing_campaign: server actions always return None or False, and the return...
Denis Ledoux [Mon, 19 May 2014 10:30:20 +0000 (12:30 +0200)]
[FIX] marketing_campaign: server actions always return None or False, and the return value of method _process_wi_action should return True whatever what the server action returns

If the server actions returned None instead of False, the next activity was not triggered, while it should

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 19 May 2014 06:20:39 +0000 (06:20 +0000)]
Launchpad automatic translations update.

10 years ago[ADD] Macedonian language
Kiril Vangelovski [Sun, 18 May 2014 20:57:07 +0000 (22:57 +0200)]
[ADD] Macedonian language

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 18 May 2014 05:53:48 +0000 (05:53 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 18 May 2014 05:53:08 +0000 (05:53 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sat, 17 May 2014 07:10:37 +0000 (07:10 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sat, 17 May 2014 07:10:05 +0000 (07:10 +0000)]
Launchpad automatic translations update.

10 years ago[FIX] Add context propagation for m2m list view
Sandy Carter [Fri, 16 May 2014 21:42:20 +0000 (17:42 -0400)]
[FIX] Add context propagation for m2m list view

Fix bug https://bugs.launchpad.net/openerp-web/+bug/1279885 :
    Many2many fields in Tree views will not get translated.
    If you check the context for a name_get of a m2m field, it is passed as
    None.

Add context propagation to m2m fields in list views.
Fix translation issues when viewing a a many2many field in a Tree view.

10 years ago[FIX] Fix account_budget name unicode error
Sandy Carter [Fri, 16 May 2014 20:43:38 +0000 (16:43 -0400)]
[FIX] Fix account_budget name unicode error

Fix bug https://bugs.launchpad.net/openobject-addons/+bug/1292245:
    Invoice budget's warning when crossovered budget lines are not related
    to any account will cause a UnicodeEncodeError if the account has
    unicode-only characters such as é.

Make sure that the budget name is a unicode to avoid UnicodeEncodeError
which happens when budget name contains UTF-8 characters.

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>

10 years ago[FIX] point_of_sale: add product variant in the displayed name (opw 607456)
Martin Trigaux [Fri, 16 May 2014 12:06:17 +0000 (14:06 +0200)]
[FIX] point_of_sale: add product variant in the displayed name (opw 607456)

10 years ago[FIX] auth_oauth: Replace OpenERP.com provider by Odoo.com provider
Denis Ledoux [Fri, 16 May 2014 11:01:34 +0000 (13:01 +0200)]
[FIX] auth_oauth: Replace OpenERP.com provider by Odoo.com provider

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 16 May 2014 06:43:51 +0000 (06:43 +0000)]
Launchpad automatic translations update.

10 years ago[FIX] ir_model_fields: when adding a new custom column to a custom model, set a valid...
Martin Trigaux [Thu, 15 May 2014 14:25:51 +0000 (16:25 +0200)]
[FIX] ir_model_fields: when adding a new custom column to a custom model, set a valid _rec_name to this model (otherwise would require a server restart to reinstanciate the model)

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 15 May 2014 06:10:52 +0000 (06:10 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 15 May 2014 06:10:38 +0000 (06:10 +0000)]
Launchpad automatic translations update.

10 years agoFix incompatibility with Windows using tempfile.
Yannick Vaucher [Wed, 14 May 2014 11:22:42 +0000 (13:22 +0200)]
Fix incompatibility with Windows using tempfile.

10 years ago[MERGE] [FIX] account: when computing a tax with include_base_amount enabled, include...
Martin Trigaux [Wed, 14 May 2014 11:02:01 +0000 (13:02 +0200)]
[MERGE] [FIX] account: when computing a tax with include_base_amount enabled, include the child tax amounts into the sum for the next tax

10 years agofix indentation
Yannick Vaucher [Wed, 14 May 2014 09:50:27 +0000 (11:50 +0200)]
fix indentation

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 14 May 2014 06:20:49 +0000 (06:20 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 14 May 2014 06:20:22 +0000 (06:20 +0000)]
Launchpad automatic translations update.

10 years agoMake report_webkit thread safe by removing parser_instance attribute, as a WebkitPars...
Yannick Vaucher [Tue, 13 May 2014 16:23:48 +0000 (18:23 +0200)]
Make report_webkit thread safe by removing parser_instance attribute, as a WebkitParser instance can be shared by multiple thread and thus we don't want a thread to erase parser_instance of anorther thread.

10 years agoUse NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure...
Yannick Vaucher [Tue, 13 May 2014 15:56:10 +0000 (17:56 +0200)]
Use NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure 2 files created at the exact same time will have a unique name

10 years ago[FIX] sale_stock: when checkign the available quantity, do not include uom as it...
Martin Trigaux [Tue, 13 May 2014 15:02:13 +0000 (17:02 +0200)]
[FIX] sale_stock: when checkign the available quantity, do not include uom as it is already present in the context and will be included in the computation of product_obj.virtual_available (opw 607150)

fixing error message that does not match chosen units when not enough stock

10 years ago[FIX] sale_stock: error message does not match chosen units when not enough stock.
Anael Closson [Tue, 13 May 2014 12:19:45 +0000 (14:19 +0200)]
[FIX] sale_stock: error message does not match chosen units when not enough stock.

10 years ago[FIX] sale_stock: new product uom is done twice in sale order line on change - opw...
Anael Closson [Tue, 13 May 2014 12:00:06 +0000 (14:00 +0200)]
[FIX] sale_stock: new product uom is done twice in sale order line on change - opw 607150
[FIX] sale_stock: comparing stock and sale order line qty is always done with default uom rounding precision

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 13 May 2014 06:28:52 +0000 (06:28 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 13 May 2014 06:28:18 +0000 (06:28 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 12 May 2014 06:38:16 +0000 (06:38 +0000)]
Launchpad automatic translations update.

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 11 May 2014 07:08:41 +0000 (07:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2

10 years ago[FIX] ir_values: try to evaluate the given expression before saving it in pickle...
Martin Trigaux [Fri, 9 May 2014 13:04:12 +0000 (15:04 +0200)]
[FIX] ir_values: try to evaluate the given expression before saving it in pickle form (opw 607398)

The value_unpickled given by xml data is usualy already evaluated but when it is given by the web client, a str is recieved by the method (as the field is a text field). In the later case, we need to evaluate the field before storing to be correctly evaluated as a default value.

bzr revid: mat@openerp.com-20140509130412-ki211x7qdccdnv5w

10 years ago[FIX] analytic: should not set mutable objects in method declaration (python gotcha)
Martin Trigaux [Fri, 9 May 2014 09:33:04 +0000 (11:33 +0200)]
[FIX] analytic: should not set mutable objects in method declaration (python gotcha)

bzr revid: mat@openerp.com-20140509093304-ao8ttky1trgz22ao

10 years ago[FIX] product: when duplicating a product, keep the language in the context
Martin Trigaux [Thu, 8 May 2014 15:32:36 +0000 (17:32 +0200)]
[FIX] product: when duplicating a product, keep the language in the context

At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.

The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product

bzr revid: mat@openerp.com-20140508153236-00gxvxenh8fy03km

10 years ago[FIX] product: when duplicating a product, keep the language in the context
Martin Trigaux [Thu, 8 May 2014 13:49:37 +0000 (15:49 +0200)]
[FIX] product: when duplicating a product, keep the language in the context

At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.

The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product

lp bug: https://launchpad.net/bugs/1159913 fixed

bzr revid: mat@openerp.com-20140508134937-7cbja3vsv311z5j4

10 years ago[FIX] hr_holidays: better display of leave counter (opw 605016)
Martin Trigaux [Thu, 8 May 2014 12:49:46 +0000 (14:49 +0200)]
[FIX] hr_holidays: better display of leave counter (opw 605016)

The number of leave requests left is based on the employee_id key in the context, when displaying the status of an hr.holidays we don't have the information in the name_get of the hr.holidays.status.
The fallback on the number of employees is done with the uid but we can not rely on it as well as the name_get on m2o field is done with superuser_id.

bzr revid: mat@openerp.com-20140508124946-ttyr84iajg9q6l0y

10 years ago[MERGE] [FIX] document_page: allow other users than administrator to create menu...
Martin Trigaux [Thu, 8 May 2014 09:31:29 +0000 (11:31 +0200)]
[MERGE] [FIX] document_page: allow other users than administrator to create menu to a static page

Due to a global rule on ir.values (which is created when creating a ir.ui.menu), we need to execute the action as super user.

bzr revid: mat@openerp.com-20140508093129-tzkqpizpwr7vv0zu

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 8 May 2014 06:32:51 +0000 (06:32 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140508063251-ztdomqygi2izm2o3

10 years ago[FIX] account: when creating partial reconcilation after unreconciliating one invoice...
Martin Trigaux [Wed, 7 May 2014 13:35:52 +0000 (15:35 +0200)]
[FIX] account: when creating partial reconcilation after unreconciliating one invoice, make sure we create this partial reconcilation only if we have at least two lines

bzr revid: mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi