odoo/odoo.git
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 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] 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] 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 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 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

10 years ago[FIX] document_page: Menu for document page can only be created by superuser. (Mainte...
Ravi Gohil (OpenERP) [Wed, 7 May 2014 13:32:22 +0000 (19:02 +0530)]
[FIX] document_page: Menu for document page can only be created by superuser. (Maintenance Case: 607160)

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

bzr revid: rgo@tinyerp.com-20140507133222-qql3j1ttqk33une5

10 years ago[FIX] warning: make blocking warning actually doing something (opw 607380)
Martin Trigaux [Wed, 7 May 2014 11:39:40 +0000 (13:39 +0200)]
[FIX] warning: make blocking warning actually doing something (opw 607380)

Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way to forbid creating a record that uses this partner/product but it is not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507113940-d8iynfl1lcskht63

10 years ago[FIX] warning: make blocking warning actually doing something (opw 607380)
Martin Trigaux [Wed, 7 May 2014 10:25:50 +0000 (12:25 +0200)]
[FIX] warning: make blocking warning actually doing something (opw 607380)

Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9

10 years ago[FIX] auth_oauth: missing field body in formview
Denis Ledoux [Wed, 7 May 2014 10:24:14 +0000 (12:24 +0200)]
[FIX] auth_oauth: missing field body in formview

The body is the field used to actually display the 'log in with ...'
As not shown in the view, when adding a new provider, this field was empty and therefore wasnt visible on the login form...

bzr revid: dle@openerp.com-20140507102414-vz7ur7zvh4ptuk2e

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 6 May 2014 07:27:15 +0000 (07:27 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072715-4m7kz3factf743c9

10 years ago[FIX] Modifying default value for other than char/string/selection fields from 'Setti...
Ravi Gohil (OpenERP) [Tue, 6 May 2014 06:28:00 +0000 (11:58 +0530)]
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)

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

bzr revid: rgo@tinyerp.com-20140506062800-231wt7bk7sbzet6y

10 years ago[FIX] Modifying default value for other than char/string/selection fields from 'Setti...
Ravi Gohil (OpenERP) [Tue, 6 May 2014 05:57:25 +0000 (11:27 +0530)]
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)

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

bzr revid: rgo@tinyerp.com-20140506055725-ryorjswf236plhlc

10 years ago[FIX] Modifying default value for other than char/string/selection fields from 'Setti...
Ravi Gohil (OpenERP) [Tue, 6 May 2014 05:40:55 +0000 (11:10 +0530)]
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)

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

bzr revid: rgo@tinyerp.com-20140506054055-xse0aywu6p3hl138

10 years ago[FIX] Modifying default value for other than char/string/selection fields from 'Setti...
Ravi Gohil (OpenERP) [Mon, 5 May 2014 11:51:21 +0000 (17:21 +0530)]
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)

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

bzr revid: rgo@tinyerp.com-20140505115121-lwz1crjjoxyqfgax

10 years ago[MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the referenc...
Martin Trigaux [Mon, 5 May 2014 10:13:13 +0000 (12:13 +0200)]
[MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the reference to other employees (opw 607313)

bzr revid: mat@openerp.com-20140505101313-5y72gs2xpgokhxl1

10 years ago[FIX] mail: change copy call to copy_data to avoid resending email during duplication...
Jacques-Etienne Baudoux [Mon, 5 May 2014 09:43:29 +0000 (11:43 +0200)]
[FIX] mail: change copy call to copy_data to avoid resending email during duplication (opw 607295)

bzr revid: mat@openerp.com-20140505094329-vr7h4c92i43ezob4

10 years ago[MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy...
Olivier Dony [Mon, 5 May 2014 07:51:29 +0000 (09:51 +0200)]
[MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy of Stefan Rijnhart (Therp)

bzr revid: odo@openerp.com-20140505075129-hv4evrdw5v7crtmw

10 years ago[FIX] convert: gracefully ignore missing XML IDs when processing <delete> tags +...
Olivier Dony [Mon, 5 May 2014 07:46:36 +0000 (09:46 +0200)]
[FIX] convert: gracefully ignore missing XML IDs when processing <delete> tags + warn in log

bzr revid: odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 4 May 2014 06:27:21 +0000 (06:27 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070138-uuemdpfseyysxlvs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064550-9r0c2t3tr8dp1hwu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140501063929-ta3t6lhed5dpdz9a
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064608-1zwt52snc5pg5kfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062721-dgb7m6o6ge2btumg

10 years ago[MERGE] [FIX] hr_timesheet_sheet: set default date to now when computing date in...
Martin Trigaux [Wed, 30 Apr 2014 12:14:58 +0000 (14:14 +0200)]
[MERGE] [FIX] hr_timesheet_sheet: set default date to now when computing date in user's timezone, courtesy of Yannick Vaucher (Camptocamp)

eg: the sign-in/sign-out button on the employee do not provide date yet (value defined in _defaults) and it would broke the computation

bzr revid: mat@openerp.com-20140430121458-9h8c8j7fw823qf27

10 years ago[FIX] sign in and sign out were broken in rev 10019 as it doesn't provide a date...
Yannick Vaucher [Wed, 30 Apr 2014 11:37:30 +0000 (13:37 +0200)]
[FIX] sign in and sign out were broken in rev 10019 as it doesn't provide a date to conversion of attendance time to employee timezone

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

bzr revid: yannick.vaucher@camptocamp.com-20140430113730-cn3xw66fbik8p32n

10 years ago[FIX] stock: when delivering a product in average cost, make sure the price_unit...
Martin Trigaux [Wed, 30 Apr 2014 10:28:47 +0000 (12:28 +0200)]
[FIX] stock: when delivering a product in average cost, make sure the price_unit on the stock.move is up to date (opw 607272)

The price mentioned on the stock move from the delivery order is the one at the time of the sale order confirmation. On average price, the price can be different when the delivery is actually done. The price will then be refreshed with the one specified on the product.

bzr revid: mat@openerp.com-20140430102847-o1fzo318rpmq9n1j

10 years ago[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail
Olivier Dony [Wed, 30 Apr 2014 10:25:52 +0000 (12:25 +0200)]
[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail

This would permanently mark the mail as failed while
there is a good chance it will be sent properly next
time it is retried (provided the memory situation
improves or the server/worker has restarted).

bzr revid: odo@openerp.com-20140430102552-qkwv20b20nve64th

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 30 Apr 2014 07:01:50 +0000 (07:01 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070150-8jkf4uv0z6lbfjik

10 years ago[FIX] stock: when delivering a product in average cost, make sure the price_unit...
Martin Trigaux [Tue, 29 Apr 2014 14:53:32 +0000 (16:53 +0200)]
[FIX] stock: when delivering a product in average cost, make sure the price_unit on the stock.move is up to date (opw 607272)

bzr revid: mat@openerp.com-20140429145332-s3c22w47aihdsfub

10 years ago[FIX] stock: recompute the qty_available based on the location instead of using the...
Martin Trigaux [Tue, 29 Apr 2014 12:42:56 +0000 (14:42 +0200)]
[FIX] stock: recompute the qty_available based on the location instead of using the one in the result of the browse (opw 606423)

The qty_available field is a function field that uses the information of the context (eg: location) to compute the value. Using the global browse record would return the same qty_available value for each location (and then produce way too many account.move)

bzr revid: mat@openerp.com-20140429124256-ljph37kijosg5dqb

10 years ago[MERGE] [FIX] mail: make the detection of Content-Type based on filename instead...
Martin Trigaux [Tue, 29 Apr 2014 09:04:46 +0000 (11:04 +0200)]
[MERGE] [FIX] mail: make the detection of Content-Type based on filename instead of only offering 'application/octet-stream'. This allows to have a better detection of the software to use by the browser. opw 606233

bzr revid: mat@openerp.com-20140429090446-6691y6h9vdkbbnuu

10 years ago[FIX] stock: destination location should not be limited to internal as this wizard...
Anaël Closson (openerp) [Tue, 29 Apr 2014 08:31:08 +0000 (18:31 +1000)]
[FIX] stock: destination location should not be limited to internal as this wizard is also used for incoming and outgoing pickings (opw 606213)

bzr revid: mat@openerp.com-20140429083108-njr9ixk1faj8hv3r

10 years ago[IMP] res_group: more explicit constraint error message
Richard Mathot (OpenERP) [Tue, 29 Apr 2014 07:11:25 +0000 (09:11 +0200)]
[IMP] res_group: more explicit constraint error message

bzr revid: rim@openerp.com-20140429071125-avjggwlmlozv7hz5

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 29 Apr 2014 06:41:21 +0000 (06:41 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140429064121-xnusb4mb3r8vgtzh

10 years ago[MERGE] [FIX] hr_timesheet_sheet: make it timezone tolerant and avoid errors when...
Martin Trigaux [Mon, 28 Apr 2014 15:32:16 +0000 (01:32 +1000)]
[MERGE] [FIX] hr_timesheet_sheet: make it timezone tolerant and avoid errors when comparing datetime and dates, courtesy of Yannick Vaucher (Camptocamp)

The attendance date recieved by the server is in UTC while the user sees it in his timezone. This means that an attendance could be in a timesheet (bounded by dates) for a user but not for the server which would not accept a valid attendance.
The fix will make the check in the user's timezone.

Only the date part of the attendance is kept for comparison as the boundaries are dates objects.

bzr revid: mat@openerp.com-20140428153216-4s6r5hu1ov0p0ofm

10 years ago[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehensio...
Olivier Dony [Mon, 28 Apr 2014 15:11:33 +0000 (17:11 +0200)]
[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehension expressions

bzr revid: odo@openerp.com-20140428151133-uz7mphscch35dl6o

10 years ago[UPD] resolve conflicts with main branch and fix bug introduced in rev 10015 lp:1313622
Yannick Vaucher [Mon, 28 Apr 2014 14:20:17 +0000 (16:20 +0200)]
[UPD] resolve conflicts with main branch and fix bug introduced in rev 10015 lp:1313622

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

bzr revid: yannick.vaucher@camptocamp.com-20140428142017-3warx1ai72cfetj1

10 years ago[UPD]
Yannick Vaucher [Mon, 28 Apr 2014 13:55:35 +0000 (15:55 +0200)]
[UPD]

bzr revid: yannick.vaucher@camptocamp.com-20140428135535-o9512996d18cudgq

10 years ago[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if...
Denis Ledoux [Mon, 28 Apr 2014 11:00:42 +0000 (13:00 +0200)]
[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if the string is already unicode

Writing special chars in the field label resulted in a traceback (write only, no problem with creation)

bzr revid: dle@openerp.com-20140428110042-qeaswuwsquy1612h

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 27 Apr 2014 06:18:44 +0000 (06:18 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140427061844-eycgmbqvphlakiz3

10 years ago[FIX] multi_company: set currency of OpenERP US to USD in the demo data
Denis Ledoux [Fri, 25 Apr 2014 13:34:21 +0000 (15:34 +0200)]
[FIX] multi_company: set currency of OpenERP US to USD in the demo data

bzr revid: dle@openerp.com-20140425133421-czisl2dpm5hletts

10 years ago[FIX] product: price computation failed when for pricelists based on Cost price for...
Denis Ledoux [Fri, 25 Apr 2014 12:55:07 +0000 (14:55 +0200)]
[FIX] product: price computation failed when for pricelists based on Cost price for non-employee users

bzr revid: dle@openerp.com-20140425125507-njfyl1r6wn11vqwx

10 years ago[FIX] view: avoid propagation of context while executing an action
Martin Trigaux [Fri, 25 Apr 2014 12:00:02 +0000 (14:00 +0200)]
[FIX] view: avoid propagation of context while executing an action

As the action could lead to unrelated model, keeping the defaults, groupby and ref do not make sense.
Backport of saas-2 revision 3872, 3891, 3892, 3893 and 3905

lp bug: https://launchpad.net/bugs/1101840 fixed
lp bug: https://launchpad.net/bugs/1263888 fixed

bzr revid: mat@openerp.com-20140425120002-g4126s9it705hwj5

10 years ago[MRG] merge with main barnch
Amit Vora [Fri, 25 Apr 2014 11:52:39 +0000 (17:22 +0530)]
[MRG] merge with main barnch

bzr revid: avo@tinyerp.com-20140423054749-ubsch2zyr0e0617l
bzr revid: avo@tinyerp.com-20140425115239-w1j8zg1dp0ibzn0a

10 years agosync with 7.0
Martin Trigaux [Fri, 25 Apr 2014 11:35:55 +0000 (13:35 +0200)]
sync with 7.0

bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo

10 years ago[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet...
Martin Trigaux [Fri, 25 Apr 2014 10:08:56 +0000 (12:08 +0200)]
[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet (opw 592632)

bzr revid: mat@openerp.com-20140425100856-lcpgyjdk4u632bws

10 years ago[FIX] update to latest version saas code with updated underscore lib
Martin Trigaux [Thu, 24 Apr 2014 16:08:33 +0000 (18:08 +0200)]
[FIX] update to latest version saas code with updated underscore lib

bzr revid: mat@openerp.com-20140424160833-p0uf6zzst0pnj3i7

10 years ago[FIX] sale_stock: recreate delivery order generates only the remaining products to...
Denis Ledoux [Thu, 24 Apr 2014 15:51:41 +0000 (17:51 +0200)]
[FIX] sale_stock: recreate delivery order generates only the remaining products to deliver

Like it should do, the feature was broken
Moreover, it resolves a performance issue (do with 100 lines took up to 10 minutes)

bzr revid: dle@openerp.com-20140424155141-qtp5o5nrp0whlk9t

10 years ago[MERGE] [FIX] stock: add product_lot group on Traceability group as some parts of...
Martin Trigaux [Thu, 24 Apr 2014 15:22:06 +0000 (17:22 +0200)]
[MERGE] [FIX] stock: add product_lot group on Traceability group as some parts of this group are restricted to this group and you can have production_lot without tracking_lot, courtesy of Mohammad Alhashash

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

bzr revid: mat@openerp.com-20140424152206-m4dnmee28w3yomsq

10 years ago[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet
Martin Trigaux [Thu, 24 Apr 2014 14:28:29 +0000 (16:28 +0200)]
[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet

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

bzr revid: mat@openerp.com-20140424142829-ramy830hwkghk1jv

10 years ago[FIX]Fixed the issue of no audit logs for an object for which audittrail rule is...
Dharti Ratani (Open ERP) [Thu, 24 Apr 2014 09:54:29 +0000 (15:24 +0530)]
[FIX]Fixed the issue of no audit logs for an object for which audittrail rule is created with Log Read as true

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140424063249-gwnojb5kvlq544nz

10 years ago[FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen...
Martin Trigaux [Wed, 23 Apr 2014 15:06:21 +0000 (17:06 +0200)]
[FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen Baconnier

bzr revid: mat@openerp.com-20140423150621-rjiae83nxh5tqyau

10 years ago[FIX] amount_to_text: make sure accented string is in unicode
Martin Trigaux [Wed, 23 Apr 2014 15:02:15 +0000 (17:02 +0200)]
[FIX] amount_to_text: make sure accented string is in unicode

bzr revid: mat@openerp.com-20140423150215-578nzug1glccvpwy

10 years ago[MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and...
Martin Trigaux [Wed, 23 Apr 2014 13:25:52 +0000 (15:25 +0200)]
[MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and out, courtesy of Yannick Vaucher (Camptocamp)

bzr revid: mat@openerp.com-20140423132552-hpnr2skutqranvsj

10 years ago[FIX] Don't reset an existing but empty mail.catchall.domain
Stefan Rijnhart [Wed, 23 Apr 2014 12:14:11 +0000 (14:14 +0200)]
[FIX] Don't reset an existing but empty mail.catchall.domain

bzr revid: stefan@therp.nl-20140423121411-l3qyijr6fnsexrtn

10 years ago[FIX] hr_timesheet_sheet: allow writing attendance line not according to the date...
Denis Ledoux [Wed, 23 Apr 2014 11:25:54 +0000 (13:25 +0200)]
[FIX] hr_timesheet_sheet: allow writing attendance line not according to the date order, and check that the attendances satisfy the alternance constraint, even for delete operations

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

bzr revid: dle@openerp.com-20140423112554-75bpk5k3viroqbh5