Commit Graph

75052 Commits

Author SHA1 Message Date
Denis Ledoux 899166ecac [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9761 revid:dle@openerp.com-20140114164804-zhfy9lb308554kp1
bzr revid: dle@openerp.com-20140114173653-xhh85ubx27uu1306
2014-01-14 18:36:53 +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
Denis Ledoux 1478317986 [FIX] mass_mailing, marketing: menus displayed to employees only (no portal/anonymous). ACL change too.
bzr revid: dle@openerp.com-20140113151018-5xksff08s0vrjh8d
2014-01-13 16:10:18 +01:00
Denis Ledoux 9a93675d2d [FIX] project: projects_ids default value must be an array or none, not a lonely integer
bzr revid: dle@openerp.com-20140113113015-fobrv940bjhw1g7z
2014-01-13 12:30:15 +01:00
Denis Ledoux 74e0fbae83 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9752 revid:dle@openerp.com-20140110173823-lfekux2jxrj5v9gn
bzr revid: dle@openerp.com-20140110160158-ypr2pp63ld6j5g4l
bzr revid: dle@openerp.com-20140110174038-3yogwf6hwk7kpa8w
2014-01-10 18:40:38 +01: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
Christophe Simonis a6b947d84b [FIX] migration: correct the verification of module version against running server
bzr revid: chs@openerp.com-20140110162705-6vy67xbdje507bla
2014-01-10 17:27:05 +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
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
Martin Trigaux b7f393da31 [FIX] mail: do not check access rights for autosubscription after create.
This is required for models using message_follower_ids in their record rules (eg: note.note)

bzr revid: mat@openerp.com-20140110100133-wemcu6ou8avk6rpi
2014-01-10 11:01: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
Thibault Delavallée 01e88881e1 [FIX] mass_mailing: do not create a new mailing wave when already specified on the compose wizard
bzr revid: tde@openerp.com-20140109141856-xrublf8oi5mkutgu
2014-01-09 15:18:56 +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
Thibault Delavallée 3e95a42690 [FIX] mail: fixed auto subscription overriding subscription of other followers
bzr revid: tde@openerp.com-20140109131748-hgtflp40pmjhlhu2
2014-01-09 14:17:48 +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
Denis Ledoux 05aab83eb1 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9743 revid:qdp-launchpad@openerp.com-20140108160719-9i8xhrat49cn9l5e
bzr revid: chs@openerp.com-20140107141524-xzz39a2ym66swr0t
bzr revid: chs@openerp.com-20140107172248-zic9mqg0rigy2czb
bzr revid: chs@openerp.com-20140108160418-ph17jgy5hlejj9hr
bzr revid: dle@openerp.com-20140108171400-8r0fwv3wi36w2im0
2014-01-08 18:14:00 +01: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 b39654c98e [FIX] change user login in portal_project access right tests (was already used in another test)
bzr revid: chs@openerp.com-20140107180248-ystpswxjk3hmy4r4
2014-01-07 19:02:48 +01:00
Christophe Simonis e4259c96d4 [FIX] correct portal_project{,_issue} access right tests (forget during last merge)
bzr revid: chs@openerp.com-20140107173339-2vzl0jvabng2kw41
2014-01-07 18:33:39 +01: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
Olivier Dony cde05c203b [FIX] crm.pot: duplicate msgid in previous commit
bzr revid: odo@openerp.com-20140107165530-l3iqx5c8ibjfifao
2014-01-07 17:55:30 +01:00
Olivier Dony 1bb2fccb9d [FIX] web: avoid crash when the Home client action is called without `action` param
E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.

bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe
2014-01-07 17:11:54 +01:00
Martin Trigaux b2fa77fd31 [MERGE] [FIX] crm: post message for logged/scheduled call in use timezone instead of utc (opw #600751).
Use <time> html element containing UTC time.
Updated POT to contains new translation value

bzr revid: mat@openerp.com-20140107154942-w3xx5914yzej4jb3
2014-01-07 23:49:42 +08:00
Martin Trigaux 56dc173361 [FIX] _auto_init: return a value to _auto_init calls. Backport of trunk revision 8679
bzr revid: mat@openerp.com-20140107145142-zm48pcjvqp42cfjg
2014-01-07 15:51:42 +01:00
Denis Ledoux b62aed69eb [REVERT]rev 9073 dle@openerp.com-20140107105324-xaa21r8fnl0ncg66, revert change in im_common js, it should not have been commited at all.
bzr revid: dle@openerp.com-20140107143908-ci69xk0235m2pxzt
2014-01-07 15:39:08 +01:00