Commit Graph
34893 Commits
Author SHA1 Message Date
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
Xavier Morel 01fd5a7fb6 [FIX] onchange call for data import fields
bzr revid: xmo@openerp.com-20110922095409-xxqb0l3mirralwps
2011-09-22 11:54:09 +02:00
Xavier Morel 099b18ace6 [REM] redundant call to do_check_req_field: it's already called from on_change_check
bzr revid: xmo@openerp.com-20110922094058-yhy6re1l679fg42m
2011-09-22 11:40:58 +02:00
Xavier Morel 51dbb70b8d [FIX] mitigate horrendous performance issues inserting options in Webkit
In some cases, at least with complex-enough views, inserting many
options in a document in a row will get progressively slower.

In import, this issue is hit on trying to import partners: partners
have a humongous number of fields (direct and on their o2m), ~940,
which yields a correspondingly huge number of options in the
selection.

A basic partner export also has quite high a number of columns (~50
without exporting o2m fields), so this list of 940 options is inserted
50 times in a row (literally too, they're all in the same table row)..

While not all that fast, Firefox 5/6 has no significant issue with
this (~18ms/insertion, where an insertion is a full select with all
its options). Webkit browsers (Chrome and Safari) on the other hand
start out fair (~10ms/insertion), but get slower and slower until they
end up at 3~5 *seconds* for each insertion (3s if inserting a
DocumentFragment, 5s if inserting text via innerHTML). This means the
preview table takes up to *two minutes* to display, even the best
cases (pre-generating everything that can be and optimizing everything
I could think of) take 75 *seconds* for the insertions (the
pregeneration of a given select and its options is ~100ms, the base
template rendering is ~20ms).

rendering divs or inputs does not have this issue, I did not manage to
reduce or fix the issue directly so I replaced the options by
jQuery-ui's autocomplete widget. This is not issues-free: when tabbing
through the fields lists, when reaching the edge of the popup the
browser will automatically scroll the field back into view. However,
this is done *after* autocomplete's popup has opened, and as a result
the popup opens in the wrong place (at the popup's edge, instead of
under the now-moved field).

bzr revid: xmo@openerp.com-20110922085812-3u1esk6czraskm01
2011-09-22 10:58:12 +02:00
Xavier Morel b4722d4564 [IMP] build a sequence of buttons to initialize dialog for localization (future), simplify enabling and disabling of import button
bzr revid: xmo@openerp.com-20110921112556-0qv8h9jldlmd799a
2011-09-21 13:25:56 +02:00
Xavier Morel 519eed06a0 [IMP] guard checks as early returns to reduce nesting
bzr revid: xmo@openerp.com-20110921101436-m24gccn4isew8hwo
2011-09-21 12:14:36 +02:00
Xavier Morel 09716cac9f [IMP] style fixes
* White space between tokens
* Remove unused variables

bzr revid: xmo@openerp.com-20110921101320-7hr2nla3km3yhgfj
2011-09-21 12:13:20 +02:00
Xavier Morel db0cb54ec6 [REM] redundant code
bzr revid: xmo@openerp.com-20110921100900-e86bcmyi7fn3whiz
2011-09-21 12:09:00 +02:00
Kunal Chavda (OpenERP) 288b0336cc [MERGE]Merge with trunk upto revision no 1054.
bzr revid: kch@tinyerp.com-20110919052218-lpz4jy6k2bu1inxv
2011-09-19 10:52:18 +05:30
Kunal Chavda (OpenERP) 0e2d998e48 [FIX]Remove unnecessary on_click method and passing parameter.
bzr revid: kch@tinyerp.com-20110916133515-6he9cdw3cjsf24hl
2011-09-16 19:05:15 +05:30
niv-openerp b1d49ca31f [imp] added command line option to define if server should be threaded
bzr revid: nicolas.vanhoren@openerp.com-20110916131844-v621bmklo0lvd517
2011-09-16 15:18:44 +02:00
niv-openerp 21e7164400 [imp] removed logging message that made errors
bzr revid: nicolas.vanhoren@openerp.com-20110916124433-367munzzhjehjzr5
2011-09-16 14:44:33 +02:00
Stephane Wirtel 73f8c52ad2 [FIX] base: res_currency#company_id remove the default value based on the currency of the company
bzr revid: stw@openerp.com-20110915142638-gmpk24otjtrv0jtz
2011-09-15 16:26:38 +02:00
Stephane Wirtel 46d4042fe4 [IMP] base: show the 'field' field in the search view
bzr revid: stw@openerp.com-20110915142438-rk0x1xjn3h4qre2d
2011-09-15 16:24:38 +02:00
Vo Minh Thu 9c470cda34 [MERGE] ir_action: properly handle the False value for a reference field in a onchange method.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916123948-qaoou8rj2rx5l4ou
2011-09-16 14:39:48 +02:00
Vo Minh Thu 20d7d05a60 [IMP] openerp.modules.db: nice critical logging, and nice IOError exception
when the base.sql is not found.

bzr revid: vmt@openerp.com-20110916121315-lklf5nib8u1pztk5
2011-09-16 14:13:15 +02:00
niv-openerp 3db8df9e85 [imp] put back widget documentation, parce que je le vaux bien
bzr revid: nicolas.vanhoren@openerp.com-20110916120053-wbxyl4rjvai9one7
2011-09-16 14:00:53 +02:00
Quentin (OpenERP) 0fc100548f [MERGE] lp:725028
bzr revid: qdp-launchpad@openerp.com-20110916114128-7d5zpp5joe0t9oe0
2011-09-16 13:41:28 +02:00
Quentin (OpenERP) 68905a0562 [FIX] improved fix of lp725028 (Stock picking rate wrongly computed when delivering tasks with project_mrp)
lp bug: https://launchpad.net/bugs/725028 fixed

bzr revid: qdp-launchpad@openerp.com-20110916113832-63sig807dkbgugo2
2011-09-16 13:38:32 +02:00
niv-openerp 47f152d499 [imp] modified wsgi loading according to vmt indications
bzr revid: nicolas.vanhoren@openerp.com-20110916110347-1ep18zoyskz9kysz
2011-09-16 13:03:47 +02:00
Vo Minh Thu 70898d7287 [MERGE] orm: export boolean values as strings, even for False.
lp bug: https://launchpad.net/bugs/831009 fixed

bzr revid: vmt@openerp.com-20110916103726-x7nmconcxem915m1
2011-09-16 12:37:26 +02:00
niv-openerp 08143aaab5 [fix] partially solve problem when restituting session and problem with server (disconnected, database dropped, etc...)
bzr revid: nicolas.vanhoren@openerp.com-20110916102555-myvdxf30fl7jpb3a
2011-09-16 12:25:55 +02:00
Vo Minh Thu caef181733 [FIX] ir_action: avoid returning a None context.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916101432-cj8xd7uefy0k5suz
2011-09-16 12:14:32 +02:00
Quentin (OpenERP) 115607339a [MERGE] lp: 801348
bzr revid: qdp-launchpad@openerp.com-20110916085120-2rxtu8j8rrcejbv4
2011-09-16 10:51:20 +02:00
Quentin (OpenERP) 62112460fe [MERGE] merged a branch that add a contraint on account type's defferal method for accounts payable/receivable, to avoid common configuration mistakes
bzr revid: qdp-launchpad@openerp.com-20110916084024-5ncitdnyjtshln53
2011-09-16 10:40:24 +02:00
Vo Minh Thu 8254ffe9c8 [MERGE] ir_actions: swapped (corrected) signal name with module name, usability enhancement.
lp bug: https://launchpad.net/bugs/819872 fixed

bzr revid: vmt@openerp.com-20110916082907-n73wothbef0wfq2i
2011-09-16 10:29:07 +02:00
Xavier Morel 556a17d5bc [FIX] race condition in RegistryManager
When two requests arrive simultanously for the same uninitialized db,
the first request starts the db initialization, but the second one
immediately gets the partially uninitialized registry (actually just
created, so generally completely uninitialized), leading to an access
error in later code (as soon as a registry object is accessed).

Add a GRML (Global RegistryManager Lock) to ensure the RegistryManager
*never* returns a partially initialized registry.

The current implementation is simple (just lock all RegistryManager
methods before they manipulate registries), but overly broad. This is
an area which might be optimizable if there are perf/responsivity
issues (e.g. each Registry instance could have a lock, and the
RegistryManager would grab the instance's, allowing the inititlization
of registry A not to block registry B from being returned in heavily
concurrent uses).

However this is not an issue in multiprocessing scenarios, which are
being planned for the near future. So for now, being correct is
probably the best idea.

bzr revid: xmo@openerp.com-20110916075227-0zutzlxn2dcd94c4
2011-09-16 09:52:27 +02:00
Olivier Dony 6283e78aaf [I18N] account: fix duped entries in account.pot and fr.po after recent merge
bzr revid: odo@openerp.com-20110916075057-3oy1vn5s9nfc6338
2011-09-16 09:50:57 +02:00
Olivier Dony 09339819e9 [FIX] account: typo in balance sheet report horizontal, during recent merge
bzr revid: odo@openerp.com-20110916074501-cj06n22gw062o2k4
2011-09-16 09:45:01 +02:00
Ujjvala Collins (OpenERP) d809f79881 [IMP] project_mrp: Improved code. Fixed computation problem.
bzr revid: uco@tinyerp.com-20110916073452-qg0k91uzw7jdj1sk
2011-09-16 13:04:52 +05:30
Quentin (OpenERP) b96d080b73 [MERG€] lp:798696
bzr revid: qdp-launchpad@openerp.com-20110916072540-f8j1uhnu04caq45y
2011-09-16 09:25:40 +02:00
Rucha (Open ERP) 3c2b563af0 [FIX]: purchase: Fixed, When creating moves for incomming picking, address_id was not correctly set, so reception analysis was not displaying proper partner information
bzr revid: rpa@tinyerp.com-20110916062025-2g1iw4iprnzv8d1f
2011-09-16 11:50:25 +05:30
Ujjvala Collins (OpenERP) de4a858a25 [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20110916051803-2c4c7i7j2s7bkrr8
2011-09-16 10:48:03 +05:30
Launchpad Translations on behalf of openerp d101d3fbaa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110916043614-dx3d800b9sj5wm7b
2011-09-16 04:36:14 +00:00
Quentin (OpenERP) 9050048ecc [MERGE] lp: 803881. Courtesy to Patrick Amstutz (patrick-amstutz)
bzr revid: qdp-launchpad@openerp.com-20110915173053-d2pcr3198ocneeoe
2011-09-15 19:30:53 +02:00
Olivier Dony 503d37abcd [MERGE] base_synchro: view/menu improvements, courtesy of Quentin Theuret
bzr revid: odo@openerp.com-20110915170504-47herfs0679aal0e
2011-09-15 19:05:04 +02:00
Olivier Dony 87cb3df71e [MERGE] base_synchro: some fixes for synchronization, courtesy of Olivier Ligot (Groupe S)
bzr revid: odo@openerp.com-20110915170222-7fnsrwyld2a8fzrz
2011-09-15 19:02:22 +02:00
Quentin (OpenERP) 9807a4a097 [MERGE] bug-784364-bde
bzr revid: qdp-launchpad@openerp.com-20110915165803-ds10y2ityf9fiia6
2011-09-15 18:58:03 +02:00
Quentin (OpenERP) f0d47c5d30 [MERGE] merged asset enhancement: prorata feature on degressive method
bzr revid: qdp-launchpad@openerp.com-20110915165000-h9kxm198ee8jhexm
2011-09-15 18:50:00 +02:00
Olivier Dony 884d5ad5c0 [MERGE] account: improvements to legal reports (translations, formatting, etc.), courtesy of Bogdan Stanciu
bzr revid: odo@openerp.com-20110915164005-p2xhbec13q162l2v
2011-09-15 18:40:05 +02:00
Quentin (OpenERP) ffd416e00e [MERGE[ hr_payroll: usability enhancement
bzr revid: qdp-launchpad@openerp.com-20110915163050-n2ueot8ee2vb0ljq
2011-09-15 18:30:50 +02:00
Quentin (OpenERP) d4c1e8ad34 [MERGE[ hr_payroll: fix payslip detail report
bzr revid: qdp-launchpad@openerp.com-20110915162818-wupvt4i1n3wwxpxr
2011-09-15 18:28:18 +02:00
Quentin (OpenERP) d7dc402fee [MERGE[ hr_payroll_account: journal_id on payslip run
bzr revid: qdp-launchpad@openerp.com-20110915162603-psjo4r9m6869v2ny
2011-09-15 18:26:03 +02:00
Quentin (OpenERP) c6b54e0e0f [MERGE] payroll small usability enhancement
bzr revid: qdp-launchpad@openerp.com-20110915162209-e40c6guzq40uf3uq
2011-09-15 18:22:09 +02:00
Quentin (OpenERP) 4e10148db9 [MERGE] merged crm-demo-data-apr branch
bzr revid: qdp-launchpad@openerp.com-20110915160818-7ahoap29u8cgnaym
2011-09-15 18:08:18 +02:00