Commit Graph

70927 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp f39b8bb436 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
2014-01-16 06:06:51 +00:00
Denis Ledoux 3a6b6dd6df [FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input
on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case.
The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving.

bzr revid: dle@openerp.com-20140115165114-nqa2ynszgocrnt52
2014-01-15 17:51:14 +01:00
Martin Trigaux 1066a1ca2c [MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs
bzr revid: mat@openerp.com-20140115145049-bj80tsytb8fcrsiw
2014-01-15 15:50:49 +01:00
Martin Trigaux 83babf4f21 [IMP] sale,purchase order: order the field based on date_order instead of name (opw 602879)
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115144030-04xlhaf3b4sviq92
2014-01-15 15:40:30 +01:00
Cecile Tonglet f00e6711f5 [FIX] Fix the missing border-bottom of the notebook in dialogs
bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
2014-01-15 15:26:08 +01:00
Martin Trigaux 2aa8a38447 [IMP] sale,purchase order: order the field based on date_order instead of name
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115140527-pztwh3kl6y9y7jbe
2014-01-15 15:05:27 +01:00
Olivier Dony 1c129e4ca0 [FIX] ir.translation: search view should use the stored `src` colum, the `source` function is meant for edition only
bzr revid: odo@openerp.com-20140115121021-978u00gkshuabvtf
2014-01-15 13:10:21 +01:00
Denis Ledoux 6109102e91 [FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Thibault Delavallée 4d73f955a9 [FIX] mail: mail_thread: fixed a bug in subscription, new followers
could overwrite the subscription of previous followers.

This has already been fixed in saas-2 branch at revision 9079 (revid
tde@openerp.com-20140109131748-hgtflp40pmjhlhu2). But the fix is also
valid for the 7.0 stable branch.

bzr revid: tde@openerp.com-20140115115825-fniobvz33sssvrwd
2014-01-15 12:58:25 +01:00
Martin Trigaux 2170efe270 [MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Olivier Dony b7fe8e1f8a [FIX] portal: use email_split method to avoid blocking valid emails, rather than obsolete email_re
lp bug: https://launchpad.net/bugs/1199386 fixed

bzr revid: odo@openerp.com-20140115093120-r2u2bmms9y847b93
2014-01-15 10:31:20 +01:00
Martin Trigaux 3a95bbaf63 [FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on the name value instead of full tuple
bzr revid: mat@openerp.com-20140115085748-029ntjqc71huep25
2014-01-15 09:57:48 +01:00
Launchpad Translations on behalf of openerp 5334330d9d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062126-ypg4xp33rspusnts
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062205-ov2axame3z00jkii
2014-01-15 06:22:05 +00:00
Denis Ledoux 3fdd1e649f [FIX] base: print workflow now displays the transition where the workflow instance is stuck
bzr revid: dle@openerp.com-20140114170529-wg1c3q8492whr19d
2014-01-14 18:05:29 +01:00
Denis Ledoux 8a729c10fa [FIX] purchase: fix workflow for orders based on incoming shipments
Purchase orders Based on incoming shipments never ended in done stage

bzr revid: dle@openerp.com-20140114164804-zhfy9lb308554kp1
2014-01-14 17:48:04 +01:00
Olivier Dony 7a819ca8d0 [FIX] tools.email_split: improve email extraction using stdlib + extra tests
The original code was having issues telling apart
names containing emails from the actual email.
This patch is inspired by Etienne Hirt's patch
on bug 1165531 for OpenERP 6.1.
This will also help solve bug 1199386, if we can
centralize all email parsing through this helper.

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114154426-usu6intv5139egd3
2014-01-14 16:44:26 +01:00
Martin Trigaux 3f4c637674 [IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)
bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
2014-01-14 15:57:20 +01:00
Olivier Dony a7cb9b762d [FIX] email_template: fix invalid uses of tools.email_split
This is necessary to have the tests pass after
the corresponding server patch in server 7.0
at revision 5198 revision-id: odo@openerp.com-20140114120344-r58wndgybqusnnq7

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114134627-6j83f4s6pvnj4uma
2014-01-14 14:46:27 +01:00
Xavier ALT 7960f9fc59 [FIX] web: list view: fix wrong css for fields.reference in editable tree view
bzr revid: xal@openerp.com-20140114115947-gkh09tb2vxsjyksk
2014-01-14 12:59:47 +01:00
Xavier ALT 9a84e25342 [FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works
bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum
2014-01-14 11:04:39 +01:00
Olivier Dony cc5d5bb2bf [FIX] account: restore cross-account reconciliation check, disabled by mistake in v6.1
Both the FY closing change and the removal of the
check occurred in v6.1 at revision 6529
revid:qdp-launchpad@openerp.com-20120209170333-8xu7r21hencjwu73.

Also removed code specific to fiscal year closing
in the regular reconciliation operation, as the
FY closing is now using a dedication reconciliation
algorithm.

This is a forward-port of the corresponding patch in v6.1,
at revno 7295 rev-id: odo@openerp.com-20140110154023-12rqfeuwx5fqpdau.

bzr revid: odo@openerp.com-20140110161519-qsocx6xgqsmbe6dt
2014-01-10 17:15:19 +01:00
Launchpad Translations on behalf of openerp 2a5a05f49d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140114064936-uengc20ppbqnn5ut
2014-01-14 06:49:36 +00:00
Martin Trigaux cc553cc507 [FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter
bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w
2014-01-13 18:23:47 +01:00
Denis Ledoux fb7aefa5c3 [FIX] hr_timesheet_invoice: on_change_partner_id, do nothing if partner_id is False
bzr revid: dle@openerp.com-20140113165647-152dy1wqgc7m8cc8
2014-01-13 17:56:47 +01:00
Martin Trigaux 892f1d5fe5 [MERGE] [FIX] account: fixed amount in foreign currency for opening entries
When generating fiscal year opening entries, if the account uses a different currency, the amount_currency should contains only the entries of the current year and not the previous one. Courtesy of Matthieu Dietrich (camptocamp)

bzr revid: mat@openerp.com-20140113132209-jpva50a714xfxx30
2014-01-13 14:22:09 +01:00
Launchpad Translations on behalf of openerp c2794d0e85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062610-ld24q55cbxo6di5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054746-j34qg10ipyb6kj8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055853-5oqpffj3szw1yrpl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062637-m0t50cu2cr5d6yw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054824-hm7ylgrauivbj7h2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055913-wo2i3sd1rnblragc
2014-01-13 05:59:13 +00:00
Denis Ledoux fba491fb21 [FIX] decimal_precision: signal workers to restart their registry when decimal precision change.
bzr revid: dle@openerp.com-20140110173823-lfekux2jxrj5v9gn
2014-01-10 18:38:23 +01:00
Martin Trigaux fd9d8b9ff3 [FIX] mrp: move _prepare_order_line_procurement to module sale_mrp as mrp module does not depends from sale
bzr revid: mat@openerp.com-20140110153133-qozwrixyrwxjr44n
2014-01-10 16:31:33 +01:00
Martin Trigaux 08e0003177 [FIX] account_voucher: in fields_view_get overwrite, also add the 'default_supplier/customer' properity in context.
With this the 'create and edit' menu will initiate the partner as a supplier.

bzr revid: mat@openerp.com-20140110134845-hvbob1mii4ofqjay
2014-01-10 14:48:45 +01:00
Martin Trigaux b65cbbb0e5 [FIX] stock: when receiving an incoming shipment, the default quantity should be prefilled.
This fixes the issue when the picking was first confirmed and received later, stock.move have the state as confirmed (Waiting Availibility)

bzr revid: mat@openerp.com-20140110130056-gjmssgxrqgr5y67y
2014-01-10 14:00:56 +01:00
Christophe Simonis 7dd16a558e [FIX] decimal_precision: signal workers to restart their registry when decimal precision change.
bzr revid: chs@openerp.com-20140110125433-soimmrpz2icvob60
2014-01-10 13:54:33 +01:00
Launchpad Translations on behalf of openerp 3ed5b49e7a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140110053216-23qk0vpm4hr5g1ig
2014-01-10 05:32:16 +00:00
Martin Trigaux 3fb75a44c8 [FIX] orm: add missing context (without the lang attribute to avoid setting translated values) in write call.
bzr revid: mat@openerp.com-20140109153601-13wo9gj5cz6ho3nm
2014-01-09 16:36:01 +01:00
Martin Trigaux c5eee5bf66 [MERGE] [FIX] base_calendar: allow ordering on calendar.event objects.
The ordering is done during the generation of recurrent ids. If no ordering is done, fallback on self._order.
Based on code from Erik Heeren.

bzr revid: mat@openerp.com-20140109140616-uuc0b8pgpkgryfav
2014-01-09 15:06:16 +01:00
Martin Trigaux e7aaaa34e2 [FIX] base_calendar: back to same behaviour as previously, when setting a recurrent event the first is not taken into account
bzr revid: mat@openerp.com-20140109130910-8ohh6kqt5m76jb7q
2014-01-09 14:09:10 +01:00
Martin Trigaux 72ad1a0c08 [IMP] base_calendar: get_recurrent_ids is the wrapper and should be remove in trunk (to have only private method
bzr revid: mat@openerp.com-20140109112023-ya2cogqnyiv6hsht
2014-01-09 12:20:23 +01:00
Martin Trigaux 76d4ec6a37 [IMP] base_calendar: create wrap method _get_recurrent_ids to avoid changing the API
bzr revid: mat@openerp.com-20140109110907-vhtxdna7y3w1vh36
2014-01-09 12:09:07 +01:00
Thibault Delavallée 3f2d24d1b7 [FIX] mail: Chatter widget: the RecordThread widget, that is
used to display the Chatter on documents, should use the
domain defined on the field. Indeed this domain is used when
computing the 'read more' expandable domains.
Before this fix it was not taken into account, leading to
messages being fetched without respecting the domain
defined on the field.

bzr revid: tde@openerp.com-20140109110709-iz2jxryg5xqjedo4
2014-01-09 12:07:09 +01:00
Martin Trigaux 3b23bf6f8c [FIX] base_calendar: allow to sort crm.meeting in search calls with recurrent events, based on code from Erik Heeren
lp bug: https://launchpad.net/bugs/1023322 fixed

bzr revid: mat@openerp.com-20140109103708-xw35n9q5u6z6pfby
2014-01-09 11:37:08 +01:00
Thibault Delavallée 4998d09808 [FIX] mail: Chatter widget: keep void list of ids when fetching messages;
only specific false ids should be replaced by a domain.

bzr revid: tde@openerp.com-20140109100137-7yy9em3klefz77ij
2014-01-09 11:01:37 +01:00
Launchpad Translations on behalf of openerp ad17716632 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140109053828-gmi203xa8tx1nnnp
2014-01-09 05:38:28 +00:00
Quentin (OpenERP) fee10ac1fd [FIX] account_voucher: default value for float field is 0.0, not False. (That doesn't change the behavior but makes things more clear)
bzr revid: qdp-launchpad@openerp.com-20140108160719-9i8xhrat49cn9l5e
2014-01-08 17:07:19 +01:00
Quentin (OpenERP) 81ac1302f6 [FIX] account: amount in secondary currency shouldn't be recomputed if 0 is given as value
bzr revid: qdp-launchpad@openerp.com-20140108160444-v2noeye7ftl32jgi
2014-01-08 17:04:44 +01:00
Christophe Simonis 7f8b6542f0 [FIX] expression: allow exclusion of records with translated fields
lp bug: https://launchpad.net/bugs/1071710 fixed

bzr revid: chs@openerp.com-20140108152722-7f0dpsuv1skxbqub
2014-01-08 16:27:22 +01:00
Martin Trigaux 13063d5713 [IMP] osv: display full traceback in terminal (not client side) when a check fails instead of minimal error
bzr revid: mat@openerp.com-20140108140554-oey9bje52ndqe0e3
2014-01-08 15:05:54 +01:00
Martin Trigaux 0b7ecf8a21 [FIX] mrp: move _prepare_order_line_procurement to model sale.order instead of procurement.oder. This will add the lost property_ids that was removed at rev 9622.
bzr revid: mat@openerp.com-20140108114639-jc40rfbrbi1s37e3
2014-01-08 12:46:39 +01:00
Denis Ledoux e00c236693 [FIX] web: redirect with hash always use html redirect
# Most IE and Safari versions decided not to preserve location.hash upon
# redirect. And even if IE10 pretends to support it, it still fails
# inexplicably in case of multiple redirects (and we do have some).
# See extensive test page at http://greenbytes.de/tech/tc/httpredirects/

bzr revid: dle@openerp.com-20140108105307-8dzzkxvtesb5d813
2014-01-08 11:53:07 +01:00
Launchpad Translations on behalf of openerp dc7821ab8f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108053808-kp6y8v47dolfbvup
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054028-juvi5k3459lfg0ov
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054034-xfyjwtdxhq3abo8c
2014-01-08 05:40:34 +00:00
Christophe Simonis ee53f9da60 [FIX] ir.actions.server: remove stupid restriction on model names
bzr revid: chs@openerp.com-20140107172010-3sqo5yqrxz9523hy
2014-01-07 18:20:10 +01:00
Martin Trigaux aefcacf1f3 [IMP] crm: use %s pattern for variables in translations instead of {}, updated pot file
bzr revid: mat@openerp.com-20140107165840-pxc0rd5ezdnmzip7
2014-01-07 17:58:40 +01:00