Commit Graph
63868 Commits
Author SHA1 Message Date
Xavier Morel 628ed49fff [FIX] correctly return deferreds from all action type handlers
bzr revid: xmo@openerp.com-20121128152524-xrh6zqty0huqb732
2012-11-28 16:25:24 +01:00
Xavier Morel 48b0d70fc2 [FIX] context evaluation in kanban resequencing
bzr revid: xmo@openerp.com-20121128151044-i58uwcdem2cgyyrv
2012-11-28 16:10:44 +01:00
Xavier Morel 89d9cd5910 [FIX] use py.js 0.7 API
bzr revid: xmo@openerp.com-20121128110542-nplg9o3e5jpxmqic
2012-11-28 12:05:42 +01:00
Xavier Morel 5aa800ef42 [IMP] simplify action handlers: no need to eval_domains_and_contexts as do_action will evaluate them if and when needed
bzr revid: xmo@openerp.com-20121127154121-rsr4hxgmwmdrpdt7
2012-11-27 16:41:21 +01:00
Xavier Morel 6d27327d14 [FIX] parsing of long integers, as some openerp domains output them
bzr revid: xmo@openerp.com-20121127154037-fiu6vsfdvix3zlmz
2012-11-27 16:40:37 +01:00
Xavier Morel cc4d5a79ec [FIX] group_by using old code
bzr revid: xmo@openerp.com-20121127143917-pk4un6zi1v96niyr
2012-11-27 15:39:17 +01:00
Xavier Morel 908c986ce8 [FIX] onchange for client-side evaluation: use regular method calls
bzr revid: xmo@openerp.com-20121127133435-ss3g97sm43mrtbla
2012-11-27 14:34:35 +01:00
Xavier Morel f243fd7c46 [FIX] disable sorting (column-click) in an editable listview being edited
To do so, extract sort handling to its own method (bound using the
events hash) and override-and-disable in editable.

bzr revid: xmo@openerp.com-20121126161343-r5pymdtkiltij9cu
2012-11-26 17:13:43 +01:00
Xavier Morel 4a5cb1ebc4 [REM] EVALPOCALYPSE PART 2: no more python-side eval
trigger an error if a nonliteral context is pushed to the server (through a new object_hook)

bzr revid: xmo@openerp.com-20121126140525-ni2x5m56upss610b
2012-11-26 15:05:25 +01:00
Xavier Morel eb9a1c7d55 [REM] EVALPOCALYPSE PART ONE
bzr revid: xmo@openerp.com-20121126105450-0f6xowd3dhj4jmbl
2012-11-26 11:54:50 +01:00
Xavier Morel 5939aeb9d0 [FIX] gantt view using searchview endpoints (wtf?)
bzr revid: xmo@openerp.com-20121126104655-hhdkqs7sekgrt4pf
2012-11-26 11:46:55 +01:00
Xavier Morel 720f3faf93 [IMP] stop using custom /web/searchview endpoints in search view
bzr revid: xmo@openerp.com-20121126093818-omxaj3qljolgq8qj
2012-11-26 10:38:18 +01:00
Xavier Morel 929a656619 [IMP] allow eval'ing a single context or domain
bzr revid: xmo@openerp.com-20121126084229-wgpjszmquhibbrpf
2012-11-26 09:42:29 +01:00
Xavier Morel aab69ae7a9 [TEST] for crazy
bzr revid: xmo@openerp.com-20121126084159-lbgfa56vafg4bxc4
2012-11-26 09:41:59 +01:00
Xavier Morel 7de2a2c965 [FIX] small typo
bzr revid: xmo@openerp.com-20121126075327-m3ljltvbhrwm8cbm
2012-11-26 08:53:27 +01:00
Xavier Morel 65db450c81 [IMP] update py.js to 0.7
bzr revid: xmo@openerp.com-20121126073002-deta3rdrwmzao6fy
2012-11-26 08:30:02 +01:00
Xavier Morel 2c7f30a047 [REM] session reload dependency on db
bzr revid: xmo@openerp.com-20121123120500-k7fhwoocu0zbiali
2012-11-23 13:05:00 +01:00
Xavier Morel 6b2b2d889c [IMP] move nonliteral domains and contexts to JS test case
bzr revid: xmo@openerp.com-20121123114923-t4047w6jztria91x
2012-11-23 12:49:23 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
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