Commit Graph

68610 Commits

Author SHA1 Message Date
Vo Minh Thu f808357a06 [FIX] py2exe: keep the code unoptimized (i.e. no -Ox).
This is necessary to keep assert statements throwing AssertException,
which are tested by our test suite, which is integrated to the server.

bzr revid: vmt@openerp.com-20130308133839-mxwfnchbarbjb7g9
2013-03-08 14:38:39 +01:00
Thibault Delavallée e866c2c523 [FIX] mail: fixed custom placeholder on Chatter widget that was not a link.
bzr revid: tde@openerp.com-20130308133659-y80bmguoic64l8no
2013-03-08 14:36:59 +01:00
Antony Lesuisse cc1c33420c [FIX] crm_lead search show group by creation_date
bzr revid: al@openerp.com-20130308123430-osftdtmtoj8uwndh
2013-03-08 13:34:30 +01:00
Stephane Wirtel 089214b0f2 [FIX] point_of_sale: add the missing call to the workflow service
bzr revid: stw@openerp.com-20130308110449-feobq8yoc6kg3efy
2013-03-08 12:04:49 +01:00
niv-openerp 3f40cad548 [FIX] problem when o2m and readonly fields, now readonly fields are saved in buffered dataset too
bzr revid: nicolas.vanhoren@openerp.com-20130308104336-u2gslznv24h8n88l
2013-03-08 11:43:36 +01:00
niv-openerp 2328040c3a added readonly fields to buffered dataset cache
bzr revid: nicolas.vanhoren@openerp.com-20130308104050-uqt5qi2n9dmcd2hb
2013-03-08 11:40:50 +01:00
Olivier Dony 87a26bde3b [FIX] base: invalid address in demo data causes failure in Google Maps lookup
Apprently on 2013-03-08 Google Maps stopped
returning a location in Belgium for this invalid
street name.

We consider Google Maps as a commodity so it
is ok to have the crm_partner_assign tests
fail in case our lookup mechanism does
not work anymore.

bzr revid: odo@openerp.com-20130308094115-frjp99xi296oosxl
2013-03-08 10:41:15 +01:00
Xavier Morel 522a639035 [FIX] replace uncommon month names of the ar_SY datejs localization file by more standard ones, courtesy of Ahmad Khayyat
The server only supports the ar_SY variant of arabic, so this is the
one and only locale arabic speakers can currently select. According to
Ahmad Khayyat:

> The [ar-SY datejs localization] uses uncommon month names, which are
> hard to recognize.  The more common month names should be used
> instead.

This could be reverted if more arabic locales are made available in
the server, in order to limit deviations from the upstream package.

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

bzr revid: xmo@openerp.com-20130308080020-6q370e2kmrk2xk2w
2013-03-08 09:00:20 +01:00
Launchpad Translations on behalf of openerp cc87ba5db7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308052354-6aerviht20qnfh26
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060553-lujyj3qxhqljssu0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060749-69tgopwkctb0v5ei
2013-03-08 06:07:49 +00:00
Olivier Dony 527ef066dd [REVERT] tools.translate: undo rev 4874 refactoring and renaming `trans_parse_view`, was meant for trunk
rev 4874 = rev-id xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4

bzr revid: odo@openerp.com-20130307164558-alvl7hcov2uhqxbw
2013-03-07 17:45:58 +01:00
Xavier Morel 65e7ad2aa4 [FIX] oops, previous revision now mandates valid contexts in filter group tests
bzr revid: xmo@openerp.com-20130307141102-86tb7axyh3x4rgk9
2013-03-07 15:11:02 +01:00
Quentin (OpenERP) c33742417d [FIX] crm: when creating a new crm.case.categ from the lead form view, link it to the right object
bzr revid: qdp-launchpad@openerp.com-20130307103349-tn3w1kj0wipxaekm
2013-03-07 11:33:49 +01:00
Chris Biersbach 09714dc7b1 [MERGE] share: replace expression.normalize (which no onger exists) by expression.normalize_domain
bzr revid: cbi@openerp.com-20130307131411-qnpwpkny0lyqci60
2013-03-07 14:14:11 +01:00
Christophe Simonis ab2dd715de [FIX] module loading: allow addons path entries to have substring of others.
i.e. having ./addons/ and ./addons2/ is now possible

bzr revid: chm@openerp.com-20130307131104-ju2n7zm7yvced68h
2013-03-07 14:11:04 +01:00
Chris Biersbach 7a7186a913 [FIX] Share: The share wizard code still used expression.normalize, which does no longer exist. expression.normalize_domain is now correctly used instead.
bzr revid: cbi@openerp.com-20130307130442-penzwh2unq0vvfih
2013-03-07 14:04:42 +01:00
Xavier Morel 617c03a19c [FIX] broken inference of groupby groups in search view filters
Before the valpocalypse, filter contexts were "literal" (parsed
objects) when reaching the search view, and `.attrs.context.group_by`
would return the right thing (namely the group_by attribute of the
context object).

After the valpocalypse, contexts & domains on view fields (and
filters) are not evaluated on the Python side anymore and reach view
objects as strings, the access chain above thus always returns a falsy
value (undefined) as strings don't have a .group_by.

Fix FilterGroup to correctly parse filter's @context before trying to
see if it has a group_by.

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

bzr revid: xmo@openerp.com-20130307124222-1ypzfopbktxmad4z
2013-03-07 13:42:22 +01:00
Olivier Dony 1e5a3aa787 [I18N] *: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307121934-jfwfl1q0jtvswe0c
2013-03-07 13:19:34 +01:00
Launchpad Translations on behalf of openerp c65d36bb65 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054408-wu5arb2r3o3o5gmz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054431-sed0lo6klnisoyo7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054434-qdlzkcum9yy9mkaw
2013-03-07 05:44:34 +00:00
niv-openerp 527e17033c [FIX] typo in previous commit
bzr revid: nicolas.vanhoren@openerp.com-20130306162436-nuitgum452gz6bq9
2013-03-06 17:24:36 +01:00
Quentin (OpenERP) 1a8fce0ffb [FIX] stock: print the delivery slip in the customer language
bzr revid: qdp-launchpad@openerp.com-20130306153619-twvcrfik7m77vxcs
2013-03-06 16:36:19 +01:00
Quentin (OpenERP) d97916a063 [IMP] expression.py: added a clue to debug fuzzy tracebacks related to domain badly written
bzr revid: qdp-launchpad@openerp.com-20130306152328-qdlil19diks4mvkt
2013-03-06 16:23:28 +01:00
Cedric Snauwaert d383666364 [FIX]l10n_fr_hr_payroll: fix a few errors in report
bzr revid: csn@openerp.com-20130306152216-061prm1hkt77iidk
2013-03-06 16:22:16 +01:00
niv-openerp 13ec67e478 [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode
lp bug: https://launchpad.net/bugs/1149640 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130306151306-1qwv04bvw50z81z9
2013-03-06 16:13:06 +01:00
Thibault Delavallée d1c7b2bf3c [MERGE] [REV] mail: reverted commit 8802. Reason: opt-out will be used only for marketing campaigns; notification_email_send for emails.
bzr revid: tde@openerp.com-20130306151007-8vru0w6tsjukbesn
2013-03-06 16:10:07 +01:00
Quentin (OpenERP) c659912b1e [MERGE] fix of bad partner chosen for accounting entries when doing stock valuation (imply a small refactoring of the function that moves on the partner instead of being of the invoice)
bzr revid: qdp-launchpad@openerp.com-20130306150142-oyjyn3s7scfc31yw
2013-03-06 16:01:42 +01:00
Xavier Morel 32d90f6014 [FIX] cleanup m2o field events when reloading m2o fields
The big issue was the hooking on the closest ui-dialog's scroll event:
if an m2o in a dialog (e.g. wizard-type situations) toggled state from
editable to readonly (workflow action of some sort), the event hook
would remain, and call .$input.autocomplete("widget") which would blow
up because the autocompletion widget hasn't been re-initialized.

Take care to fully unbind all events during the reload process to
avoid this issue (and potentially other such as duplicate bindings and
the like).

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

bzr revid: xmo@openerp.com-20130306145527-sssv7ocfvqxgv896
2013-03-06 15:55:27 +01:00
Olivier Dony 13092cfab4 [I18N] web_*: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307121731-m5nj8g59fbisfjhz
2013-03-07 13:17:31 +01:00
Vo Minh Thu 4a77c6a0c5 [FIX] timezone: under windows os.environ["TZ"] was not affecting the server,
now it does (probably because we make sure to first set the environment
*then* import the time module. Works fine under Windows XP.

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

bzr revid: vmt@openerp.com-20130307121637-47fac72clykizlnj
2013-03-07 13:16:37 +01:00
Olivier Dony 9bb7ff3413 [I18N] base: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307120259-oiywqqlxwfpn2uc6
2013-03-07 13:02:59 +01:00
Thibault Delavallée dde50031e7 [MERGE] [FIX] Chatter: typo (send -> sent) + removed an extra space in 'Send a message'.
bzr revid: tde@openerp.com-20130307100117-j6cxt2cz54hht7c7
2013-03-07 11:01:17 +01:00
Thibault Delavallée 39afdcc40d [MERGE] [FIX] Backward-compatibility fix for rev 8783.
Missing methods declarations are back
Fixed partner_ids management in message_post to support some 2many commands

bzr revid: tde@openerp.com-20130307100038-eo4ayiopsk0s0dvv
2013-03-07 11:00:38 +01:00
Quentin (OpenERP) 419420012a [MERGE] display the lunch application menu for administrator
bzr revid: qdp-launchpad@openerp.com-20130307095322-b9oun8sqg5usv0hp
2013-03-07 10:53:22 +01:00
Thibault Delavallée 5e59420989 [FIX] mail_thread: fixed a list that should be a set. This has nothing to do with the previous commit. Seriously.
bzr revid: tde@openerp.com-20130307093414-wcdakf017sskj35l
2013-03-07 10:34:14 +01:00
Thibault Delavallée 000042ac68 [FIX] mail_thread: fixed set that should not be a set.
bzr revid: tde@openerp.com-20130307093115-9jmflmnf420iiz21
2013-03-07 10:31:15 +01:00
Quentin (OpenERP) 1bed52ec67 [FIX] account, duplicate of account.tax: better fix for problem fixed in revision 8807.
fixed the duplicate of tax (wasn't working because of a unique constraint on name field). The previous fix was working only for taxes that doesn't have any child. The reason is that copy() is never called for one2many fields, only copy_data() is called (and give the same results for other fields)

bzr revid: qdp-launchpad@openerp.com-20130307090408-cxb1qcfz4n9ksrg5
2013-03-07 10:04:08 +01:00
Chris Biersbach ae410ff044 [MERGE] OPW 587184: Document: Graceful handling of the case when pdftotext is not installed and an index needs to be generated.
bzr revid: cbi@openerp.com-20130307090434-2anmh0mh0dbz38q0
2013-03-07 10:04:34 +01:00
Chris Biersbach 2a8d7548f7 [FIX] Document: Does no longer generate an error when trying to send a quotation by email when pdftotext is not available. This case is handled more gracefully (a warning in the log). Also changes the default return when generating the index using antiword to be more consistent.
lp bug: https://launchpad.net/bugs/1094423 fixed

bzr revid: cbi@openerp.com-20130307085505-v9vwo788ios8244u
2013-03-07 09:55:05 +01:00
Cedric Snauwaert 26f0b6bfac [FIX]lunch: in order to see lunch menu, put root user as lunch manager by default even if no demo data
bzr revid: csn@openerp.com-20130307084226-o02po2v301x5vgbe
2013-03-07 09:42:26 +01:00
Thibault Delavallée 4d4935d551 [REM] removed duplicate method.
bzr revid: tde@openerp.com-20130307080616-63nuzq15jg0ijkr6
2013-03-07 09:06:16 +01:00
Thibault Delavallée a7003b68ab [FIX] Chatter: typo (send -> sent) + removed an extra space in 'Send a message'
bzr revid: tde@openerp.com-20130307075809-krc3j6ca3460qac2
2013-03-07 08:58:09 +01:00
Thibault Delavallée 7791850f91 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130307075248-pi3qo3kszr3af7cs
2013-03-07 08:52:48 +01:00
Thibault Delavallée e57ffc4836 [FIX] mail: added wrapper for message_Create_patners_from_emails in mail_thread and res_users; cleaned message_post signature to match the pre-merge signature. Also fixed a wrong argument name in message_post_user_api.
bzr revid: tde@openerp.com-20130307075216-kk0m304405ohm7ua
2013-03-07 08:52:16 +01:00
Quentin (OpenERP) 98c5322de9 [MERGE] point_of_sale: accounting entries generation failed if a tax was defined with no account for tax collected.
bzr revid: qdp-launchpad@openerp.com-20130307075210-wf3kht28leu76tek
2013-03-07 08:52:10 +01:00
Quentin (OpenERP) 30ea400bd1 [FIX] project: when writing on several projects, don't erase the name of all projects with the last one's name! stupid me.
bzr revid: qdp-launchpad@openerp.com-20130307075131-1cuhwonymijqueq8
2013-03-07 08:51:31 +01:00
Quentin (OpenERP) 4b361d4036 [MERGE] account_asset: don't restrit to delete an asset if it has unposted depreciation lines (on delete cascade + restrict if it exists some...)
bzr revid: qdp-launchpad@openerp.com-20130307074950-2zq4wy7sa1uswbfr
2013-03-07 08:49:50 +01:00
Quentin (OpenERP) e2576590e3 [MERGE] point_of_sale: acconting entries generation failed if a tax was defined with no account for tax collected.
this hack is pretty stupid, don't mention it. We need to refactor the whole function, the sooner the better. At least it's not worst than before as we were already using 'line' without being sure it was defined (and now, with the assert, we are)

bzr revid: qdp-launchpad@openerp.com-20130306174616-rb5sr2a6wv8nef3v
2013-03-06 18:46:16 +01:00
Quentin (OpenERP) 96267bdfce [FIX] project: when writing on several projects, don't erase the name of all projects with the last one's name! stupid me.
bzr revid: qdp-launchpad@openerp.com-20130306172856-35dmxn7efydr5xyf
2013-03-06 18:28:56 +01:00
Quentin (OpenERP) 3631571040 [MERGE] account_asset: don't restrit to delete an asset if it has unposted depreciation lines (on delete cascade + restrict if it exists some account.move.line)
bzr revid: qdp-launchpad@openerp.com-20130306170538-kqxquf6kzkndgxgy
2013-03-06 18:05:38 +01:00
Thibault Delavallée 445c1aa412 [FIX] mail: added wrapper because of changes introduced in the API recently.
bzr revid: tde@openerp.com-20130306162811-t4505m08nep2jlz4
2013-03-06 17:28:11 +01:00
Cedric Snauwaert 7577488134 [FIX]point of sale: when creating account_move_line, was passing a false parameter instead of a correct account id
bzr revid: csn@openerp.com-20130306155548-pdeli8m5ao3126aw
2013-03-06 16:55:48 +01:00