Commit Graph
42307 Commits
Author SHA1 Message Date
niv-openerp 4e14e6145d [imp] setup new gantt view
bzr revid: nicolas.vanhoren@openerp.com-20120118130652-08nnz3rx1gtk2f3v
2012-01-18 14:06:52 +01:00
Vo Minh Thu 110e826252 [MERGE] changes required for the "import hook" commit in the server.
bzr revid: vmt@openerp.com-20120118104708-wqa2fam7qnaw3jdk
2012-01-18 11:47:08 +01:00
Vo Minh Thu 7f6df68536 [MERGE] changes required for the "import hook" commit in the server.
bzr revid: vmt@openerp.com-20120118104635-mn4vca0xw2b9s8w2
2012-01-18 11:46:35 +01:00
Vo Minh Thu 14acff6cc4 [MERGE] use an import hook instead of appending to sys.path.
This replaces sys.path mutation with an import hook. It removes the clash 
between our own 'resource' addons and the standard Python resource module. It
provides a transition between our current practice and a cleaner
'openerp.addons' namespace.

The import hook makes it possible to either 'import openerp.addons.hr' or 
'import hr' in the addons (ie. both paths are set in sys.modules). When trying 
to import an already existing (non-openerp) Python module (e.g. resource), it
will indeed load the Python module and print a warning (to invite you to use
openerp.addons.resource if this is the one you want).

Unfortunately, the import hook doesn't support self-referential imports. E.g. 
hr.wizard.xxx can't use 'import hr.yyy' or 'from hr import yyy'. Python will
fail to load hr with cryptic error messages or even a segmentation fault.

Beginning with this patch, 'import openerp.addons.xxx' is the way to go, 
'import xxx' is deprecated. Once 'import xxx' support can be removed, we will
probably support pkgutil or setuptool namespaces.

bzr revid: vmt@openerp.com-20120118104505-tns626ga47dwl7it
2012-01-18 11:45:05 +01:00
Vo Minh Thu 7e18a0c31d [MERGE] added missing import, removed unused vars, corrected unnused variable (typo).
bzr revid: vmt@openerp.com-20120118103306-2eqsl07suw33mqyn
2012-01-18 11:33:06 +01:00
Vo Minh Thu 75b3fc0907 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Launchpad Translations on behalf of openerp 8fc14b07fc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044449-u5o363u389ur3ajo
2012-01-18 04:44:49 +00:00
Launchpad Translations on behalf of openerp 76cb307537 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120117044453-wdb803waqsh0uaxt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044346-uk3yo505jmw90sxa
2012-01-18 04:43:46 +00:00
Fabien Meghazi 152f92916b [FIX] QWeb: well... ahem... This is embarassing...
bzr revid: fme@openerp.com-20120117215949-36uxh7r1izvah35l
2012-01-17 22:59:49 +01:00
Fabien Meghazi ad3604737d [FIX] Fix QWeb default dict extend
bzr revid: fme@openerp.com-20120117215542-2j31xq9iovu2z0cv
2012-01-17 22:55:42 +01:00
Fabien Meghazi 182c88b4fb [REM] Forgot a console.log
bzr revid: fme@openerp.com-20120117215255-2klsb78lfor3y6jb
2012-01-17 22:52:55 +01:00
Fabien Meghazi ebb62abe7a [FIX] QWeb: fix 2 unit tests
bzr revid: fme@openerp.com-20120117212234-u4wo2m9c3ew2t6ej
2012-01-17 22:22:34 +01:00
Fabien Meghazi da0522edb7 [REV] Revert Revision#6353: Will use __last_update instead of write_date
bzr revid: fme@openerp.com-20120117202859-uoo6jw9nilfxs33b
2012-01-17 21:28:59 +01:00
Fabien Meghazi 360d738788 [IMP] Kanban: use __last_update instead of write_date
bzr revid: fme@openerp.com-20120117202607-sj6v29istbkxt9rq
2012-01-17 21:26:07 +01:00
Christophe Simonis 031f85a37a [FIX] correct session cleaning
bzr revid: chs@openerp.com-20120117170636-7z6epwzt7rlrtaip
2012-01-17 18:06:36 +01:00
Xavier Morel b9a290a38b [FIX] avoid losing all available views when switching from graph to list via clicking on graph item
bzr revid: xmo@openerp.com-20120117164337-tuh1tkjra0drvg7r
2012-01-17 17:43:37 +01:00
Olivier Dony 387c476a1d [FIX] l10n_multilang: account.account.name needs to be translatable, courtesy of Nicolas Bessi (Camptocamp)
The translatable flag in account.account.name was
lost during a failed merge operation, so it needs
to be restored.

bzr revid: odo@openerp.com-20120117161935-vdfz38w97undmvi2
2012-01-17 17:19:35 +01:00
Xavier Morel 68c97bd36b [FIX] buttons order in dialog confirming actions
bzr revid: xmo@openerp.com-20120117153333-6cuih7w3iuuv1mlk
2012-01-17 16:33:33 +01:00
Xavier Morel 48d63ff9c6 [FIX] missing translation mark
bzr revid: xmo@openerp.com-20120117153232-7232xrscs016o150
2012-01-17 16:32:32 +01:00
Xavier Morel 8da5428006 [FIX] re-fix weird behavior of Firefox where text punches out of buttons if white-space nowrap and width 100% but not enough room
lp bug: https://launchpad.net/bugs/917551 fixed

bzr revid: xmo@openerp.com-20120117151051-m3l2lo7fiykcbv4t
2012-01-17 16:10:51 +01:00
Xavier Morel 517862aa45 [FIX] some MSIE8 stuff
bzr revid: xmo@openerp.com-20120117144359-k9l1289wq8ngb3pr
2012-01-17 15:43:59 +01:00
Xavier Morel c82878388a [FIX] qweb: benchmark on browsers without console.time & console/timeEnd
bzr revid: xmo@openerp.com-20120117143806-x5hqclaw6a8hdu98
2012-01-17 15:38:06 +01:00
Xavier Morel 98f0b22d9a [MERGE] qweb casing fix
bzr revid: xmo@openerp.com-20120117140254-ans3ugulji5h61vw
2012-01-17 15:02:54 +01:00
Xavier Morel aeebcf3dcc [FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body:
bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
2012-01-17 15:02:13 +01:00
Fabien Meghazi 425b6b4b33 [FIX] QWeb: Internet Explorer DOM converts tags to uppercase
bzr revid: fme@openerp.com-20120117135958-gv2iv4ixomqzcnny
2012-01-17 14:59:58 +01:00
Xavier Morel 7d305cbbee [FIX] MSIE does not like calling .html on the page's title, set the string on the document's title directly (as a property)
bzr revid: xmo@openerp.com-20120117135817-t3ggfjp71r6io6b4
2012-01-17 14:58:17 +01:00
Xavier Morel 439f23d77b [FIX] root css on .openerp, not body.openerp
bzr revid: xmo@openerp.com-20120117135312-f9pmqgmy4704vfyh
2012-01-17 14:53:12 +01:00
Fabien Meghazi a76f9d6112 [ADD] Add write_date to hr.employee and product.product in order to allow image reloading in kanban views
bzr revid: fme@openerp.com-20120117134713-uewdqmv08r6r5hmq
2012-01-17 14:47:13 +01:00
Fabien Meghazi 56fb6cba85 [IMP] Kanban images not being reloaded when saved in form view
Kanban view now uses write_date if defined in model in order to force reload of images

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

bzr revid: fme@openerp.com-20120117134541-yvernouqxuegoep4
2012-01-17 14:45:41 +01:00
Xavier Morel 07a459f2d4 [FIX] trailing commas
bzr revid: xmo@openerp.com-20120117132843-obecwigtts1rf9ja
2012-01-17 14:28:43 +01:00
Fabien Meghazi 809968ecfd [FIX] Char fields don't correctly retain their values in Firefox 3.6
Unknown bug in old version of firefox :
input type=text onchange event not fired when tootip is shown

Disabled tooltips for gecko version < 2

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

bzr revid: fme@openerp.com-20120117124417-k3vdiktc93gl99fi
2012-01-17 13:44:17 +01:00
Xavier Morel 4a16a74de0 [IMP] only display group paginator if there are more than 80 records in the group
bzr revid: xmo@openerp.com-20120117124312-n4h9r1g9ovk09xli
2012-01-17 13:43:12 +01:00
Xavier Morel 1a0e9063d4 [FIX] forbid spaces in db names
lp bug: https://launchpad.net/bugs/916771 fixed

bzr revid: xmo@openerp.com-20120117120035-n7kk3uzfqwdgkm88
2012-01-17 13:00:35 +01:00
Xavier Morel 24ef362e7f [ADD] extremely basic wikitext support for web client, in page view
* Headers work (kinda)
* Lists work
* Text decoration (bold, italics) work
* Indentation works

BUT

Internal links, OpenERP actions, images, attachments and tables don't
work

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

bzr revid: xmo@openerp.com-20120117112246-mrpjld9382ibupr6
2012-01-17 12:22:46 +01:00
Xavier Morel ecfcf9c409 [REM] wiki field from form and page
bzr revid: xmo@openerp.com-20120117111938-rmjgsw309q6gltxe
2012-01-17 12:19:38 +01:00
Fabien Meghazi 246fee51c6 [IMP] Updated jquery.tipTip
bzr revid: fme@openerp.com-20120117103217-jmjhm6i1baaljmty
2012-01-17 11:32:17 +01:00
Xavier Morel e99358e2fa [IMP] Xml2JSON: remove useless class indirection and unused methods
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
2012-01-17 10:47:48 +01:00
Xavier Morel e4697c48a1 [IMP] cleanup code and missing imports
bzr revid: xmo@openerp.com-20120117093548-ict3fbm3pgw83fkb
2012-01-17 10:35:48 +01:00
Xavier Morel 20e0358e9c [FIX] finish implementing xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1 for real
bzr revid: xmo@openerp.com-20120117085812-gh3cowtxfcs84sss
2012-01-17 09:58:12 +01:00
Launchpad Translations on behalf of openerp 5cb4d484d8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120117050829-rk831bjkq228jk0l
2012-01-17 05:08:29 +00:00
Florent Xicluna 4d208734ec [FIX] missing imports and typo in __all__.
bzr revid: florent.xicluna@gmail.com-20120116183328-m9isnoipj8taeke3
2012-01-16 19:33:28 +01:00
Xavier Morel 7d11edee23 [FIX] link between binary field and its name is @filename, not @fieldname
bzr revid: xmo@openerp.com-20120116140602-c25sjyrp3l6wpnow
2012-01-16 15:06:02 +01:00
Launchpad Translations on behalf of openerp 1a79ad87d9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120117044539-43j2u5ld0fjdd7hd
2012-01-17 04:45:39 +00:00
Antony Lesuisse 528c4151ac [REM] bullshit from about
bzr revid: al@openerp.com-20120117014843-xlcw4hfvw949q588
2012-01-17 02:48:43 +01:00
Christophe Simonis 3a38802777 [IMP] web_livechat: use other skill
bzr revid: chs@openerp.com-20120116155749-hijukv0nk677mjmx
2012-01-16 16:57:49 +01:00
Xavier Morel b1985884fb [FIX] link between binary field and file name is @filename, not @fieldname
lp bug: https://launchpad.net/bugs/915537 fixed

bzr revid: xmo@openerp.com-20120116140158-8tah34gwy01967u8
2012-01-16 15:01:58 +01:00
Fabien Meghazi 2606558efa [FIX] some accounting report do not work
lp bug: https://launchpad.net/bugs/914183 fixed

bzr revid: fme@openerp.com-20120116132554-1reoy6gg4lpynsij
2012-01-16 14:25:54 +01:00
Xavier Morel 82619428f1 [IMP] treeview style
bzr revid: xmo@openerp.com-20120116124740-4wurhqtu25rhzdr6
2012-01-16 13:47:40 +01:00
Xavier Morel 3217a9292f [FIX] value used by graph based on selection fields when opening lists
bzr revid: xmo@openerp.com-20120116121727-1x30vp9ffs7qotpr
2012-01-16 13:17:27 +01:00
Fabien Meghazi 0618ebfe27 [IMP] FormView: Only show invalid field on_ui_change and do_save
bzr revid: fme@openerp.com-20120116111431-8zm8883ull42ljgx
2012-01-16 12:14:31 +01:00