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

10 years ago[MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value...
Martin Trigaux [Wed, 23 Apr 2014 10:18:47 +0000 (12:18 +0200)]
[MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value is not modified when computing the writeoff_amount.

Using the remaining amount for writeoff does not make sense as the amount is already in credit or debit lines.
This issue could be observed in the payment wizard where the execution of _compute_writeoff_amount (through onchange) would be a negative value at the first execution.

bzr revid: mat@openerp.com-20140423101847-s0efihzqe7jcdcps

10 years ago[MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcod...
Martin Trigaux [Wed, 23 Apr 2014 10:03:24 +0000 (12:03 +0200)]
[MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcoding a warehouse as it's possible te user do not have access to it (e.g. multicompany), courtesy of Romain Deheele(Camptocamp)

bzr revid: mat@openerp.com-20140423100324-6stypg5uapnl1s5f

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140423065826-x7fmgc85ckhi9s8u
bzr revid: launchpad_translations_on_behalf_of_openerp-20140423070300-k249yxs2ghd1vaof

10 years ago[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recomp...
Ravi Gohil (OpenERP) [Wed, 23 Apr 2014 07:01:39 +0000 (12:31 +0530)]
[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)

bzr revid: rgo@tinyerp.com-20140423070139-ielwafap3zcupglx

10 years ago[FIX] web: abitility to do exact id matching with child_of operator for searchs on...
Denis Ledoux [Tue, 22 Apr 2014 15:09:18 +0000 (17:09 +0200)]
[FIX] web: abitility to do exact id matching with child_of operator for searchs on many2one fields

bzr revid: dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g

10 years ago[FIX] base: in partner search view, use operator=child_of instead of filter_domain...
Denis Ledoux [Tue, 22 Apr 2014 15:07:36 +0000 (17:07 +0200)]
[FIX] base: in partner search view, use operator=child_of instead of filter_domain with a child_of domain

operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name

bzr revid: dle@openerp.com-20140422150736-o2t3eank6yqttlel

10 years ago[FIX] *: in search views, use operator=child_of instead of filter_domain with a child...
Denis Ledoux [Tue, 22 Apr 2014 15:07:10 +0000 (17:07 +0200)]
[FIX] *: in search views, use operator=child_of instead of filter_domain with a child_of domain

operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name

bzr revid: dle@openerp.com-20140422150710-mr9x3vyq0wcg31l5

10 years ago[MERGE] [FIX] stock: when duplicating a stock.move, remove serial number and tracking...
Martin Trigaux [Tue, 22 Apr 2014 14:03:37 +0000 (16:03 +0200)]
[MERGE] [FIX] stock: when duplicating a stock.move, remove serial number and tracking information in every cases instead of specific to duplication of invocies, courtesy of Guewen Baconnier

bzr revid: mat@openerp.com-20140422140337-ymq7x133eicy6rpa

10 years ago[FIX] account: avoid tax on name search to execute request with empty journal (if...
Martin Trigaux [Tue, 22 Apr 2014 13:50:12 +0000 (15:50 +0200)]
[FIX] account: avoid tax on name search to execute request with empty journal (if context == {'journal_id': False}) (opw 606875)

bzr revid: mat@openerp.com-20140422135012-6faelx7cf0p8cvab

10 years ago[FIX] note: typo in manifest
Denis Ledoux [Tue, 22 Apr 2014 13:05:06 +0000 (15:05 +0200)]
[FIX] note: typo in manifest

bzr revid: dle@openerp.com-20140422130506-934g9o433kdhmwnp

10 years ago[FIX] account: Advance search on 'Tax' from journal items leads to traceback if we...
Ravi Gohil (OpenERP) [Tue, 22 Apr 2014 11:11:15 +0000 (16:41 +0530)]
[FIX] account: Advance search on 'Tax' from journal items leads to traceback if we do not select any journal. (Maintenance Case: 606875)

bzr revid: rgo@tinyerp.com-20140422111115-17e6juruftp3oj2r

10 years ago[FIX] sale: move demo data from sale to sale_stock
Martin Trigaux [Tue, 22 Apr 2014 10:50:39 +0000 (12:50 +0200)]
[FIX] sale: move demo data from sale to sale_stock

A better fix would be to create a sale_procurement module (sale_stock has sale, procurement and stock as dependecies) but a bit overkill for simple demo data

bzr revid: mat@openerp.com-20140422105039-vqvxejd123cmtc0s

10 years ago[MERGE] [FIX] account unreconciliation and voucher cancelation (opw 605498)
Martin Trigaux [Tue, 22 Apr 2014 10:45:45 +0000 (12:45 +0200)]
[MERGE] [FIX] account unreconciliation and voucher cancelation (opw 605498)

When canceling a voucher or unreconciling move lines, make sure the linked invoice is still correct and has valid payment lines (if cancel one of two payments, should have the other one left).
Forward-port from 6.0 addons revision:5094

Oh, by the way, revision 10000 !

bzr revid: mat@openerp.com-20140422104545-900yfw8gckse1iay

10 years ago[MERGE][FIX] stock: typos in inventory analysis wizard - opw 606933
Denis Ledoux [Tue, 22 Apr 2014 10:28:16 +0000 (12:28 +0200)]
[MERGE][FIX] stock: typos in inventory analysis wizard - opw 606933

bzr revid: dle@openerp.com-20140422102816-zw6mqlmr3lt0xwp5

10 years ago[FIX] account_voucher & account_move_line: while we have partial payment and we cance...
Amit Dodiya [Tue, 22 Apr 2014 10:11:28 +0000 (15:41 +0530)]
[FIX] account_voucher & account_move_line: while we have partial payment and we cancel one payment it also unlink the reconcile/partial reconcile tag from other payment entries also

bzr revid: ado@tinyerp.com-20140422101128-ugudle2s7ysc6n1p

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 22 Apr 2014 08:24:59 +0000 (08:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063533-z6kswp5wkioh5jlv
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055842-traoy17xi60ufook
bzr revid: launchpad_translations_on_behalf_of_openerp-20140421050815-44ydlitvsaj3xdd9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422082459-bfjqgpt2bpgll64p

10 years ago[FIX] convert: use _all_columns instead of _columns as it contain fields from inherit...
Martin Trigaux [Tue, 22 Apr 2014 07:56:01 +0000 (09:56 +0200)]
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.

bzr revid: mat@openerp.com-20140422075601-s382vj4c4ren882i

10 years ago[FIX] en_US typos - opw 606933
Anael Closson [Tue, 22 Apr 2014 07:38:26 +0000 (09:38 +0200)]
[FIX] en_US typos - opw 606933

bzr revid: acl@openerp.com-20140422073826-0w9ne38ub8nh7p4v

10 years ago[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recomp...
Ravi Gohil (OpenERP) [Mon, 21 Apr 2014 11:23:39 +0000 (16:53 +0530)]
[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)

bzr revid: rgo@tinyerp.com-20140421112339-36q7ifaplea40r56

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 20 Apr 2014 05:58:23 +0000 (05:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072138-5fv3mmbsqnlcpk4b
bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063447-v94cfwvpby4h6d0v
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055823-r61ad07jgr3110pw

10 years ago[FIX] convert: use _all_columns instead of _columns as it contain fields from inherit...
Martin Trigaux [Fri, 18 Apr 2014 16:45:52 +0000 (18:45 +0200)]
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.

bzr revid: mat@openerp.com-20140418164552-2mlprexkdlqlui2h

10 years ago[FIX] mail: correct missing comma in domain on mail.mail
Martin Trigaux [Fri, 18 Apr 2014 14:05:08 +0000 (16:05 +0200)]
[FIX] mail: correct missing comma in domain on mail.mail

bzr revid: mat@openerp.com-20140418140508-y0fnxsbgda0gp6t4

10 years ago[FIX] FieldMany2One: avoid error when saving changes in popup from a related fields...
Martin Trigaux [Fri, 18 Apr 2014 09:20:33 +0000 (11:20 +0200)]
[FIX] FieldMany2One: avoid error when saving changes in popup from a related fields (opw 606601)

bzr revid: mat@openerp.com-20140418092033-mvqng3thuy61kfoq

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 18 Apr 2014 07:21:54 +0000 (07:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072154-969nr7hzpppvd0mw

10 years agoFix group by access error on stock.picking.in/out in multi company by ensuring the...
Yannick Vaucher [Thu, 17 Apr 2014 16:49:53 +0000 (18:49 +0200)]
Fix group by access error on stock.picking.in/out in multi company by ensuring the good ir rules are applied, this is done by calling read_group using stock.picking intead of stock.picking.in/out.

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

bzr revid: yannick.vaucher@camptocamp.com-20140417164953-7bjuggmhktv7mfwx

10 years ago[REVERT] web: 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr, break the...
Denis Ledoux [Thu, 17 Apr 2014 16:09:19 +0000 (18:09 +0200)]
[REVERT] web: 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr, break the kanban drag and drop, which is far more important than the show more button wrongly displayed in ie.

bzr revid: dle@openerp.com-20140417160919-ftwk0jtci9dwuu7h

10 years ago[FIX] account_analytics_plan: for bank statement move, the analytic distribution...
Denis Ledoux [Thu, 17 Apr 2014 13:26:16 +0000 (15:26 +0200)]
[FIX] account_analytics_plan: for bank statement move, the analytic distribution must not be written on the counterpart move line

bzr revid: dle@openerp.com-20140417132616-w71ctwn0w653yn0v

10 years ago[FIX] note: folded by default was not considered
Denis Ledoux [Thu, 17 Apr 2014 11:04:35 +0000 (13:04 +0200)]
[FIX] note: folded by default was not considered

bzr revid: dle@openerp.com-20140417110435-u8uwwcf5ji1b54ao

10 years ago[FIX] web: double click on save button was trying to save the data two times if there...
Denis Ledoux [Thu, 17 Apr 2014 10:12:17 +0000 (12:12 +0200)]
[FIX] web: double click on save button was trying to save the data two times if there is some latency, event target should be used instead of delegate target

bzr revid: dle@openerp.com-20140417101217-3fwnm76qne6f1vwk

10 years ago[FIX] web: double click on save button was trying to save the data two times if there...
Denis Ledoux [Thu, 17 Apr 2014 10:10:00 +0000 (12:10 +0200)]
[FIX] web: double click on save button was trying to save the data two times if there is some latency

bzr revid: dle@openerp.com-20140417101000-6gtyxntkm5d7zcoy

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140417065316-5cle12k1npy96t4m

10 years ago[FIX] crm_helpdesk: when creating a new helpdesk category
Thibault Delavallée [Wed, 16 Apr 2014 13:08:04 +0000 (15:08 +0200)]
[FIX] crm_helpdesk: when creating a new helpdesk category
it was not possible to re-use the category due to a missing object_id.

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

bzr revid: tde@openerp.com-20140416130804-xfgi8dr5703mr49o

10 years ago[FIX] crm_todo: usability fix: the lead was not present
Thibault Delavallée [Wed, 16 Apr 2014 13:03:56 +0000 (15:03 +0200)]
[FIX] crm_todo: usability fix: the lead was not present
in the task form view, but in the tree view, it is now present in both view when coming from 'my tasks' in crm menu.

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

bzr revid: tde@openerp.com-20140416130356-i3a5pqcib8smdx47

10 years ago[FIX] base: search groups by full name not working with operators 'in' nor with opera...
Denis Ledoux [Wed, 16 Apr 2014 11:22:39 +0000 (13:22 +0200)]
[FIX] base: search groups by full name not working with operators 'in' nor with operand boolean

bzr revid: dle@openerp.com-20140416112239-vl20z3xzgp61vygu

10 years ago[FIX]Fixed the issue of reference field throws traceback that view is undefined,...
Mohammed Shekha [Wed, 16 Apr 2014 08:38:57 +0000 (14:08 +0530)]
[FIX]Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.web.form.FormWidget and hence DefaultFieldmanager will nto having view attribute, instead of calling self.view.do_onchange, trigger changed_value which is going to do the same job.

bzr revid: msh@tinyerp.com-20140416083857-sug0k4a28nkvgg27

10 years ago[FIX] account_anglo_saxon: avoid incorrect conversion while creating invoice in diffe...
Martin Trigaux [Wed, 16 Apr 2014 08:29:15 +0000 (10:29 +0200)]
[FIX] account_anglo_saxon: avoid incorrect conversion while creating invoice in different currency than the one of the company (opw 606408).

Without this patch the generated entries would use incorrect currencies. The expected result from move_line_get are prices in the currency of the invoice.

bzr revid: mat@openerp.com-20140416082915-555nhsvi8l0mmyxi

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140416070627-eneildfcgmfpyjxy

10 years ago[FIX] mail: mail: convert attachments to binary as it is the expected format of messa...
Martin Trigaux [Tue, 15 Apr 2014 16:29:11 +0000 (18:29 +0200)]
[FIX] mail: mail: convert attachments to binary as it is the expected format of message_post opw 604205

The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415162911-fe3306wn9w258ii7

10 years ago[FIX] mail: convert attachments to binary as it is the expected format of message_pos...
Martin Trigaux [Tue, 15 Apr 2014 16:14:41 +0000 (18:14 +0200)]
[FIX] mail: convert attachments to binary as it is the expected format of message_post opw 604205

The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415161441-q6pfueetvv0namgw

10 years ago[FIX] stock: before creating chained pickings, regroup moves by chained auto packing
Denis Ledoux [Tue, 15 Apr 2014 16:03:31 +0000 (18:03 +0200)]
[FIX] stock: before creating chained pickings, regroup moves by chained auto packing

Before, all moves issued from a same purchase order were put in the same chained picking, and, therefore, the moves were all treated with the same behavior (manually, automaticaly, ...)

bzr revid: dle@openerp.com-20140415160331-kzgib87qabvpc86p

10 years ago[FIX] web_kanban: show more button of kanban view behind the kanban cards on (ie9)
Denis Ledoux [Tue, 15 Apr 2014 13:07:32 +0000 (15:07 +0200)]
[FIX] web_kanban: show more button of kanban view behind the kanban cards on (ie9)

bzr revid: dle@openerp.com-20140415130732-bud8xb3pzgxw2imr

10 years ago[MERGE][FIX] account: while refuding the invoice with payment term journal items...
Denis Ledoux [Tue, 15 Apr 2014 10:07:02 +0000 (12:07 +0200)]
[MERGE][FIX] account: while refuding the invoice with payment term journal items are created wrongly with write-off account

bzr revid: dle@openerp.com-20140415100702-s13cuejf89gtlnhc