Xavier Morel
a9da2abd9f
[FIX] double-load on successful login
...
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).
Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.
Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).
bzr revid: xmo@openerp.com-20111003090709-ree0luomezw1wzup
2011-10-03 11:07:09 +02:00
niv-openerp
ea79880c3c
[imp] disable buttons in form views during the execution of its action
...
bzr revid: nicolas.vanhoren@openerp.com-20110930161506-bbffc4gjdt43pbvn
2011-09-30 18:15:06 +02:00
niv-openerp
c3d08fa5dd
[fix] problem with o2m displaying clickable button in unsaved record
...
bzr revid: nicolas.vanhoren@openerp.com-20110930154612-d2q5z3fy1ouih1fm
2011-09-30 17:46:12 +02:00
Xavier Morel
d4d2b1b5b8
[FIX] don't break when @colors end with a semicolon
...
bzr revid: xmo@openerp.com-20110930132941-mw8byod4xanb8dat
2011-09-30 15:29:41 +02:00
Xavier Morel
6bb8d8ea85
[ADD] readonly & movable form view
...
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
2011-09-30 10:12:47 +02:00
niv-openerp
58ece9f856
[fix] error message when login invalid broken
...
bzr revid: nicolas.vanhoren@openerp.com-20110929151322-zcymbsemo962ky0j
2011-09-29 17:13:22 +02:00
niv-openerp
5c2d8e4cdc
[fix] problem in database when creating a new database
...
bzr revid: nicolas.vanhoren@openerp.com-20110929145751-4oh0b9uqll8wx3zj
2011-09-29 16:57:51 +02:00
Xavier Morel
ba86faac47
[IMP] shave ~190ms off of *big* listview rendering speed
...
make conversion of internal Records to form-shape faster by iterating over the attributes object directly instead of using _.each
bzr revid: xmo@openerp.com-20110929145031-q7mqf43gza94ekj6
2011-09-29 16:50:31 +02:00
Xavier Morel
3cde15fe01
[ADD] evaluator proof of concept: colors in list rows
...
bzr revid: xmo@openerp.com-20110929144036-7u2w6pf6lwkvzck0
2011-09-29 16:40:36 +02:00
Xavier Morel
d793d6c1ae
[ADD] atom context keys (uid and current_date) to evaluation context of row colors
...
bzr revid: xmo@openerp.com-20110929142410-1f9btd6f3ws0srpj
2011-09-29 16:24:10 +02:00
Xavier Morel
d32d0c5637
[IMP] update py.parse to 0.2
...
bzr revid: xmo@openerp.com-20110929135449-ssommvnyof6auy29
2011-09-29 15:54:49 +02:00
Xavier Morel
c6e77707ee
[FIX] match first form header only so that we get the header for current form not sub-forms
...
bzr revid: xmo@openerp.com-20110929090205-0vn4dt4qixao5us1
2011-09-29 11:02:05 +02:00
Xavier Morel
ccd607aae5
[IMP] cleanup and simplify graph view implementation, update underscore.string
...
bzr revid: xmo@openerp.com-20110929075550-o58x8sxa165sky1r
2011-09-29 09:55:50 +02:00
niv-openerp
62a8080818
[fix] problem with context keys not passed correctly in some cases, here the invoice created from a sale order
...
bzr revid: nicolas.vanhoren@openerp.com-20110928164428-07tzfmcip03xspjq
2011-09-28 18:44:28 +02:00
niv-openerp
e43790f7f2
[imp] refactoring to improve the way the components are destroyed
...
bzr revid: nicolas.vanhoren@openerp.com-20110928151613-8suxvi1rzn9t40gd
2011-09-28 17:16:13 +02:00
niv-openerp
b41131cdc6
[fix] problem with al making refactorings like a baraki de kermesse
...
bzr revid: nicolas.vanhoren@openerp.com-20110928123746-xudpsdgx353s2fnz
2011-09-28 14:37:46 +02:00
niv-openerp
3400e13621
[fix] problem in o2m, not restoring correctly the status of some o2m which caused problem in chart of account wizard
...
bzr revid: nicolas.vanhoren@openerp.com-20110928115537-8fa3lls2e04b3fau
2011-09-28 13:55:37 +02:00
Antony Lesuisse
0ecd9811b3
[MERGE] login nivified
...
bzr revid: al@openerp.com-20110928094122-qvlqcxya0ba3u7p7
2011-09-28 11:41:22 +02:00
Fabien Meghazi
ad8a70c763
[FIX] Context of actions loaded by buttons were not properly evaluated
...
bzr revid: fme@openerp.com-20110928093553-571zsugcocpkk1hm
2011-09-28 11:35:53 +02:00
Christophe Simonis
a578747e53
[FIX] wrap Login template
...
bzr revid: chs@openerp.com-20110928091958-3pbgyvug309bfmb1
2011-09-28 11:19:58 +02:00
Christophe Simonis
b223c0a650
merge upstream
...
bzr revid: chs@openerp.com-20110928085150-nkupuglnbrrzixyy
2011-09-28 10:51:50 +02:00
Christophe Simonis
e4c2cfb4ba
[FIX] nivification of Login Widget
...
bzr revid: chs@openerp.com-20110927155347-dcqeg7hlyaq5djis
2011-09-27 17:53:47 +02:00
Antony Lesuisse
5dfc14d359
[IMP] web_preload js part
...
bzr revid: al@openerp.com-20110927111402-teb8bpavj4atghle
2011-09-27 13:14:02 +02:00
Christophe Simonis
567cd953ca
[IMP] nivification of Login widget
...
bzr revid: chs@openerp.com-20110927093232-j6rdzec2k1u6g2h1
2011-09-27 11:32:32 +02:00
Christophe Simonis
1d2d17a365
[MERGE] merge upstream + code adaptation to revid:al@openerp.com-20110927001435-vttw23epyru5gm0b
...
bzr revid: chs@openerp.com-20110927085435-pipko7w752conp3a
2011-09-27 10:54:35 +02:00
Xavier Morel
56c026fbc4
[UP] underscore.string to version 1.1.6
...
bzr revid: xmo@openerp.com-20110926162529-n0ok06nmh0yowoms
2011-09-26 18:25:29 +02:00
niv-openerp
78cdb8d1ab
[fix] problem in o2m form view with read only fields, now saves result of default_get
...
bzr revid: nicolas.vanhoren@openerp.com-20110926160057-zss7934ji5hhtq44
2011-09-26 18:00:57 +02:00
niv-openerp
02549a9c0e
[imp] refactoring of form view to allow recursize save for o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20110926123929-35bespquay2qxmfe
2011-09-26 14:39:29 +02:00
Christophe Simonis
4261f1ad11
merge upstream
...
bzr revid: chs@openerp.com-20110926112623-q68d3tebr80qt6l9
2011-09-26 13:26:23 +02:00
Xavier Morel
47094e8adb
[ADD] import
...
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
2011-09-26 12:14:40 +02:00
Xavier Morel
7fd9078fed
[ADD] basic auto-matching of imported file columns to model fields
...
todo: if exact equality with field name and field string fail, a levenshtein distance test
with the field string would be pretty cool (mostly for importing stuff)
bzr revid: xmo@openerp.com-20110926100744-1mcucy3njp9fd3r5
2011-09-26 12:07:44 +02:00
Xavier Morel
60207baf44
[FIX] prevent setting a field name which does not exist in the list
...
bzr revid: xmo@openerp.com-20110926093024-et5kvpvvq1vm811h
2011-09-26 11:30:24 +02:00
Xavier Morel
c94872fc02
[ADD] basic colors support to listview via py.parse
...
bzr revid: xmo@openerp.com-20110925180407-n0asxrrjeb1oo5a4
2011-09-25 20:04:07 +02:00
Antony Lesuisse
bf06ac9e85
[FIX] remove debugging crap
...
bzr revid: al@openerp.com-20110923163803-b4bjtzzkat0qpyot
2011-09-23 18:38:03 +02:00
Xavier Morel
6fb2e928ac
[FIX] moved a self around so import window did not close correctly
...
bzr revid: xmo@openerp.com-20110923130943-293wxucafwjloxwh
2011-09-23 15:09:43 +02:00
Xavier Morel
fc83119e60
[IMP] fixup field names since we only ever export xmlids anymore
...
might have to change that, or something
bzr revid: xmo@openerp.com-20110923124634-sk9ka293ugc159gu
2011-09-23 14:46:34 +02:00
Xavier Morel
25c38ca653
[IMP] move more import logic to javascript
...
bzr revid: xmo@openerp.com-20110923122202-hnp6o1ybwgugive4
2011-09-23 14:22:02 +02:00
Xavier Morel
633c27ab79
[REM] selector on an element which does not exist
...
bzr revid: xmo@openerp.com-20110923110605-vw82lm018q6b2grt
2011-09-23 13:06:05 +02:00
Xavier Morel
f42cacc5c1
[IMP] handle lines to skip in import preview
...
bzr revid: xmo@openerp.com-20110923095609-ogxc6q3wnd0tez8v
2011-09-23 11:56:09 +02:00
Xavier Morel
8d0a65ec94
[IMP] handle switch indicating whether the CSV file being imported has headers
...
bzr revid: xmo@openerp.com-20110923094500-0jn0tb3fgix9j8wg
2011-09-23 11:45:00 +02:00
Xavier Morel
a7a71dea83
[IMP] split import check result in two different templates, wait before everything's ready to setup autocompletes and check required fields & al
...
bzr revid: xmo@openerp.com-20110923092346-007j09xf5wfzq9zo
2011-09-23 11:23:46 +02:00
Xavier Morel
99cd8a01a3
[REM] most of the fields-manipulation crapola of Import.detect_data, have headers be a simple list(str)
...
bzr revid: xmo@openerp.com-20110923085924-4gq1g660mcmb8bus
2011-09-23 10:59:24 +02:00
Xavier Morel
baf367d0e1
[IMP] move fetching of fields for import to javascript. Also extraction of required fields
...
bzr revid: xmo@openerp.com-20110923083341-xa3sg2t053zonlsm
2011-09-23 10:33:41 +02:00
Xavier Morel
6bd754060e
[REM] table of no use whatsoever
...
bzr revid: xmo@openerp.com-20110922155751-rkch0vpmhpolihxa
2011-09-22 17:57:51 +02:00
Xavier Morel
5b7ecef331
[IMP] add @for to import options labels, some help on skip
...
bzr revid: xmo@openerp.com-20110922153026-742c7cc76zv9f2t6
2011-09-22 17:30:26 +02:00
Xavier Morel
6a931ae104
[ADD] checkbox for the user to specify that his file does *not* have column headers
...
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
2011-09-22 17:27:04 +02:00
Xavier Morel
2187a3e3dd
[IMP] extract duplicate fields discovery routine to its own method, to make the validation process clearer
...
bzr revid: xmo@openerp.com-20110922121327-zqenx9bisr8pe4kd
2011-09-22 14:13:27 +02:00
Xavier Morel
c3a0d98e13
[FIX] don't declare the file is importable when there are duplicate columns selected
...
bzr revid: xmo@openerp.com-20110922120810-2fcmntd4w6yh9zvy
2011-09-22 14:08:10 +02:00
Xavier Morel
a250e39ad3
[FIX] required fields check, maybe
...
bzr revid: xmo@openerp.com-20110922120328-h9eh9gl6wf28xbzd
2011-09-22 14:03:28 +02:00
Xavier Morel
0b8cfc4c26
[IMP] attempt to slighly improve duplicate field match handling in import
...
bzr revid: xmo@openerp.com-20110922105948-oms4h0t4uyl0qnm6
2011-09-22 12:59:48 +02:00