Commit Graph

63849 Commits

Author SHA1 Message Date
Xavier Morel 49bd834725 [IMP] deferred init style
bzr revid: xmo@openerp.com-20121123101822-inox7gkxvd0gtqbp
2012-11-23 11:18:22 +01:00
Xavier Morel 7c09e23de7 [ADD] todo notes
bzr revid: xmo@openerp.com-20121123101658-xoynynruwnuzyrv3
2012-11-23 11:16:58 +01:00
Xavier Morel 242a5da5a9 [REM] stray logging
bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y
2012-11-23 10:58:24 +01:00
Xavier Morel 328537a7ba [ADD] arithmetics between date and timedelta
bzr revid: xmo@openerp.com-20121123095206-dtvoiignb7xnzsl0
2012-11-23 10:52:06 +01:00
Xavier Morel 815b908759 [ADD] partial but sufficient (I think) implementation of datetime.timedelta
bzr revid: xmo@openerp.com-20121123075938-oazwt4bn2l639r3a
2012-11-23 08:59:38 +01:00
Xavier Morel 9105afcd68 [FIX] put evaluation context in evaluation context
so you can access the context while you're accessing the context

bzr revid: xmo@openerp.com-20121122124130-t8j6sggtnl4f0b8r
2012-11-22 13:41:30 +01:00
Xavier Morel 3909d1ff02 [ADD] a bunch of eval domain and context tests
bzr revid: xmo@openerp.com-20121122111628-4khivcp97xoy121i
2012-11-22 12:16:28 +01:00
Xavier Morel 04398646fb [CHG] temporarily disable eval-domain-and-context interception
bzr revid: xmo@openerp.com-20121122111608-hckowmw71b8any9f
2012-11-22 12:16:08 +01:00
Xavier Morel 5a9f78302f [MERGE] from trunk
when creating the instance, set instance.session.uid to 42 so the evaluator has something to chew on when it tries to create the evaluation context

bzr revid: xmo@openerp.com-20121120101733-b0ire11bbuywfi8u
2012-11-20 11:17:33 +01:00
Antony Lesuisse d9296387f0 [MERGE] db option to enabled monodb (used by signup)
bzr revid: al@openerp.com-20121119170802-gdrh1nrj3vtogfvw
2012-11-19 18:08:02 +01:00
Olivier Dony a670e79f8e [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121119170116-x6fusrmmmkquvgfh
2012-11-19 18:01:16 +01:00
Olivier Dony 1a8acb73b3 [IMP] monodb bootstrap: support @db query string param to force monodb mode
Allows a.o. to let auth_signup URLs works even if multiple DBs
exist

bzr revid: odo@openerp.com-20121119170042-iprc0u159qpf8ll2
2012-11-19 18:00:42 +01:00
Arnaud Pineux d9d127403b [IMP] Lunch demo & security
bzr revid: api@openerp.com-20121119144702-rjuh8yl3uycu7z9o
2012-11-19 15:47:02 +01:00
Xavier Morel ad11004a32 [ADD] refs to server doc, intersphinx doesn't allow linking documents across docs
bzr revid: xmo@openerp.com-20121119143912-z3152u20zxjizzto
2012-11-19 15:39:12 +01:00
Fabien Meghazi 9180d9702b [FIX] Don't leave button@type=submit in IE
bzr revid: fme@openerp.com-20121119143719-1uu4s71jyudfi5u3
2012-11-19 15:37:19 +01:00
Arnaud Pineux a3a26dc755 [IMP] demo data & groups -> refactor
bzr revid: api@openerp.com-20121119142146-33aix5tk6bldizu9
2012-11-19 15:21:46 +01:00
Arnaud Pineux 848679322a [IMP] demo data & groups -> refactor
bzr revid: api@openerp.com-20121119140801-yxj936dhu1eapicl
2012-11-19 15:08:01 +01:00
Arnaud Pineux 43f5434c7b [MERGE]
bzr revid: api@openerp.com-20121119135727-i197peh7zj0sqsax
2012-11-19 14:57:27 +01:00
Arnaud Pineux 4820730cd6 [IMP] demo data & groups
bzr revid: api@openerp.com-20121119135628-krq8rle10si51vkh
2012-11-19 14:56:28 +01:00
Cedric Snauwaert e2da801694 [FIX]crm : Correct bug when user alters the stage of lead/opportunities, new lead/opportunities won't go to draft mode + typo (removed useless spaces)
lp bug: https://launchpad.net/bugs/1071793 fixed

bzr revid: csn@openerp.com-20121119133554-rizbg56et5siuejz
2012-11-19 14:35:54 +01:00
Cedric Snauwaert e298cdfa82 [MERGE]merge with latest addons trunk
bzr revid: csn@openerp.com-20121119125613-211aykfipa9l59q3
2012-11-19 13:56:13 +01:00
Fabien Meghazi 09a2f24398 [FIX] push_state() broken after closing a wizard
bzr revid: fme@openerp.com-20121119111130-7xubnqvvhp3q1jds
2012-11-19 12:11:30 +01:00
Fabien Meghazi b7a5b07b3e [IMP] Update jQuery to version 1.8.3
bzr revid: fme@openerp.com-20121119111110-rjznfpj6fllfbgqj
2012-11-19 12:11:10 +01:00
Raphael Collet 6bbac26ffb [IMP] ir_confir_parameter: add parameter 'force' in method 'init' to reinitialize existing parameters
This is useful when creating a new database from a dump (reinitialize database.uuid, etc.)

bzr revid: rco@openerp.com-20121119110206-la2yaohf7wmi9yx2
2012-11-19 12:02:06 +01:00
Christophe Matthieu 248f81277f [FIX] fields.html: behave as fields.text for empty values: store NULL
bzr revid: chm@openerp.com-20121119104332-bqm81nuik6pqsbf9
2012-11-19 11:43:32 +01:00
Raphael Collet 4dcede9044 [IMP] web: add 'widget: self' in rendering environment of openerp.web.Client
bzr revid: rco@openerp.com-20121119100734-dtprbdm9bypid8bk
2012-11-19 11:07:34 +01:00
Xavier Morel e0ec6783e5 [IMP] listview already checks non-empty ids array for deletion, so check not useful
bzr revid: xmo@openerp.com-20121119084533-6qnktzmh19kfwtoo
2012-11-19 09:45:33 +01:00
Xavier Morel 28cbfd22b7 [FIX] editable listview: do not attempt to delete falsy ids (from the dataset)
During the creation of a new record (in an editable list), the
prospective new record has a ``false`` id. In a non-o2m, the row under
creation can be selected (checkbox) and deleted (More > Delete),
leading to the request to ``DELETE false`` being sent to the ORM…
which said ORM does not wish to entertain.

Before actually performing the delete request (more precisely
forwarding said request to the listview itself), remove all false-ish
ids from the array.

Also, don't send a request to delete nothing.

bzr revid: xmo@openerp.com-20121119084203-0vz4v9myfizxz88u
2012-11-19 09:42:03 +01:00
Launchpad Translations on behalf of openerp 66afff1b52 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121117043708-z0u57016sd0wlp40
bzr revid: launchpad_translations_on_behalf_of_openerp-20121118043740-7rflvcr80m8nk6lf
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043743-wa4nnbhzv39ixzag
2012-11-19 04:37:43 +00:00
Launchpad Translations on behalf of openerp caa54bb76f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043724-mjkn4taco62obn62
2012-11-19 04:37:24 +00:00
Launchpad Translations on behalf of openerp 37209eb5e7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121118044730-4j5223ylkxl9o332
2012-11-18 04:47:30 +00:00
Xavier Morel 86842fe9c8 [FIX] correctly handle case of deleting-an-o2m-line-being-edited
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
Christophe Simonis 4a454397f8 [IMP] auth_oauth: redirect directly to controller; do not make heuristic on arguments
bzr revid: chs@openerp.com-20121116162421-5yahj18n88yykq2k
2012-11-16 17:24:21 +01:00
Christophe Matthieu ea92f73acc [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato
2012-11-16 16:15:06 +01:00
niv-openerp 40c4ed7f54 [FIX] problem in editable list o2m when hitting the enter button rapidly
bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco
2012-11-16 16:12:48 +01:00
Christophe Matthieu 8ccbab8254 [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151115-1u69yio8kb1h8fjd
2012-11-16 16:11:15 +01:00
Christophe Matthieu ae25dc380f [IMP] mail: remove test for attachment with one2many
bzr revid: chm@openerp.com-20121116150850-zpaeci0wbx725pix
2012-11-16 16:08:50 +01:00
Raphael Collet f2bc7b8f4d [IMP] web.http: factor out session path generation
bzr revid: rco@openerp.com-20121116150131-a2ioomezc62kqgrb
2012-11-16 16:01:31 +01:00
Vo Minh Thu 01b9f4c3ed [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4
2012-11-16 15:15:17 +01:00
Vo Minh Thu eafc8fb4d3 [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141502-v1z8w86o0bczgsk3
2012-11-16 15:15:02 +01:00
Antony Lesuisse bcfa7c49cc [IMP] minify cache
bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll
2012-11-16 14:58:22 +01:00
Vo Minh Thu 8c32318152 [IMP] base_status: removed unneeded `date_open` field from call to crm.claim.create().
bzr revid: vmt@openerp.com-20121116135144-talk5y0owm848mj7
2012-11-16 14:51:44 +01:00
Olivier Dony b9525453a9 [FIX] base_gengo: remove sandbox flag, improve inconsistent labels on gengo wizard, cleanup, better error reporting
bzr revid: odo@openerp.com-20121116135021-jxz6u76wqyersykl
2012-11-16 14:50:21 +01:00
Vo Minh Thu 35ec3e6d5b [IMP] test_limits/test_uninstall: added access rules.
bzr revid: vmt@openerp.com-20121116131439-y14dekyogidxymof
2012-11-16 14:14:39 +01:00
Christophe Matthieu 81db3f3997 [IMP] mail: commented test for res_model on attachment because one2many became many2many
bzr revid: chm@openerp.com-20121116130834-hsu7wunja092ayt9
2012-11-16 14:08:34 +01:00
Olivier Dony 4d35f90ff2 [IMP] getting started doc: reformat package installation command, courtesy of Nhomar Hernandez (Vauxoo)
bzr revid: odo@openerp.com-20121116122027-j2xiebnixhurfvic
2012-11-16 13:20:27 +01:00
Xavier Morel 1e2e0c5cb1 [FIX] test cases
* mock(:) callback receives a pair (args, kwargs) not raw params
* list buttons test triggers domain evaluation, which depends on form (why???)

bzr revid: xmo@openerp.com-20121116115544-cdowx66w3m8inqon
2012-11-16 12:55:44 +01:00
Christophe Matthieu 0cec2d9d06 [IMP] mail.compose.message: not filter the context for attachment but overwrite the value with type=binary
bzr revid: chm@openerp.com-20121116114348-2g80ll85rz3ha0o2
2012-11-16 12:43:48 +01:00
Xavier Morel cb182407f0 [FIX] missing comma
bzr revid: xmo@openerp.com-20121116113936-opg1gxan0jat2a4d
2012-11-16 12:39:36 +01:00
Vo Minh Thu 2cd9443b92 [IMP] email_template: dont give mail.mail.create() an unneeded email_recipients field.
bzr revid: vmt@openerp.com-20121116113551-le30lwfmignrxl0e
2012-11-16 12:35:51 +01:00