Commit Graph
37875 Commits
Author SHA1 Message Date
Olivier Dony 9d93a382a3 [IMP] email_template: use raw template for msg composition in mass_mail mode
bzr revid: odo@openerp.com-20110909201037-qz9m9mte6qh8flxd
2011-09-09 22:10:37 +02:00
Xavier Morel e575211116 [IMP] add a pair of assertions on the parameter to VARCHAR, just in case
bzr revid: xmo@openerp.com-20110909162929-w1l328oh14ccn7f8
2011-09-09 18:29:29 +02:00
Xavier Morel 9c83238f18 [FIX] reimplement quality selection field API
a size attribute of -1 means the selection field is an int4, even if the selection is a callable

bzr revid: xmo@openerp.com-20110909161623-nab218ea48ucj4qt
2011-09-09 18:16:23 +02:00
Antony Lesuisse df5dd1f7b7 [IMP] hack to register the wsgi handler when running embbeded in openerp-server.
bzr revid: al@openerp.com-20110909160039-6ddslilpttvhubad
2011-09-09 18:00:39 +02:00
Xavier Morel 0d965c2fca [FIX] if types can be overridden, type-checking against the overriden type instead of the non-overridden instance might be a good idea as well
bzr revid: xmo@openerp.com-20110909155848-5no3pvtfugqmhm8q
2011-09-09 17:58:48 +02:00
Olivier Dony 186a66ba2d [IMP] mail: more robust model/record passing
bzr revid: odo@openerp.com-20110909155517-0jhk34b0ka2azxgs
2011-09-09 17:55:17 +02:00
Olivier Dony 57ce728cf5 [IMP] email_template: more robust model/record context passing
bzr revid: odo@openerp.com-20110909155427-7zy4x96jvg3lu09v
2011-09-09 17:54:27 +02:00
Olivier Dony 0f6510edfc [FIX] ir.attachment: cleaner check for record existence in access rights
bzr revid: odo@openerp.com-20110909155025-cyhnmy89e9a0ijzt
2011-09-09 17:50:25 +02:00
Olivier Dony 2f47cf8558 [IMP] orm,orm_memory: more consistent implementations of exists() and check_access_rule()
bzr revid: odo@openerp.com-20110909154926-1sk6kypbb11fx7oq
2011-09-09 17:49:26 +02:00
Xavier Morel cbaa36c8cc [FIX] typo, might want to launch the software from time to time while changing stuff
bzr revid: xmo@openerp.com-20110909154242-gve3dgsbmg6crkya
2011-09-09 17:42:42 +02:00
Xavier Morel 4b8be3a051 [IMP] use early returns instead of a single return point
bzr revid: xmo@openerp.com-20110909153935-uk4cggyv78nfdjqt
2011-09-09 17:39:35 +02:00
Xavier Morel f74c55182a [IMP] lift mapping from field types to PGTYPES outside get_pg_type
bzr revid: xmo@openerp.com-20110909152622-114y4401x6gw6a79
2011-09-09 17:26:22 +02:00
Xavier Morel b9ed013504 [IMP] use logging API in get_pg_types
bzr revid: xmo@openerp.com-20110909152445-pol8ko3ckzc6p7s0
2011-09-09 17:24:45 +02:00
Xavier Morel 7a3960f736 [IMP] remove size inference for selection lists with str|unicode value choices, simplify selection pg_type selection
* if the first element of the choices list is an integer, use int4
* if the field has a size, use that size
* else use an unrestricted varchar

bzr revid: xmo@openerp.com-20110909152307-ralzt1g8l1b3e46x
2011-09-09 17:23:07 +02:00
Olivier Dony 99c0bdd0fb [ADD] web/static: missing icons
bzr revid: odo@openerp.com-20110909150547-5z0nn76te15hu2is
2011-09-09 17:05:47 +02:00
Xavier Morel 8668ad7ed3 [IMP] have function fields delegate their pg_type discovery to get_pg_type
* add a type override to get_pg_type, so the function field can pass itself as another field type
* special-case the 'selection' role, not sure it's correct but it was pretty special last time around (I guess since we don't have the field's values available we can't just do the type/size inference of get_pg_type)

bzr revid: xmo@openerp.com-20110909145213-y172z8eyfnond43w
2011-09-09 16:52:13 +02:00
niv-openerp 8d9440e41c [fix] set json formatting for statusbar
bzr revid: nicolas.vanhoren@openerp.com-20110909143450-i2g2q3uoevkj0j9b
2011-09-09 16:34:50 +02:00
Xavier Morel ab6f81825c [FIX] avoid shortcut-star appearing in o2m fields
lp bug: https://launchpad.net/bugs/842545 fixed

bzr revid: xmo@openerp.com-20110912130518-kmvebgjdwzz30ibj
2011-09-12 15:05:18 +02:00
Fabien Meghazi 1b5e641ff4 [ADD] Added color picker for kanban view
bzr revid: fme@openerp.com-20110912125938-jt1v7jf1h4e6t66s
2011-09-12 14:59:38 +02:00
Vaibhav (OpenERP) 0f9c39acdb [FIX] Indentation.cleanup space,tabs.
bzr revid: vda@tinyerp.com-20110912125738-ngubj1wpfp6t7s4u
2011-09-12 18:27:38 +05:30
Xavier Morel 650738b48d [FIX] jsdoc: .include lends to the instances (Class#), not to the class
bzr revid: xmo@openerp.com-20110912124257-74wggv2t870rchlm
2011-09-12 14:42:57 +02:00
Xavier Morel 3b98700d9d [FIX] documentation of private Events mixin in ListView
bzr revid: xmo@openerp.com-20110912123852-vj9u9n15l44t3wo0
2011-09-12 14:38:52 +02:00
Xavier Morel 127364adca [IMP] fix more jsdoc to not have any global extracted in jsdoc
bzr revid: xmo@openerp.com-20110912120604-ojzbfhjkobgoueo6
2011-09-12 14:06:04 +02:00
Xavier Morel b28d98a513 [FIX] jsdoc in forms.js, so it does not create a bunch of global functions which are really methods
bzr revid: xmo@openerp.com-20110912114350-uzi1jm1jj7gpesq8
2011-09-12 13:43:50 +02:00
Xavier Morel dedded5294 [FIX] a few more existing jsdoc so jsdoc v3 does not blow up during parsing
bzr revid: xmo@openerp.com-20110912113437-emv28eo9ct9n559g
2011-09-12 13:34:37 +02:00
Vaibhav (OpenERP) bbea51f5e7 [FIX] element ref.
bzr revid: vda@tinyerp.com-20110912105654-h8s5xvwbdn3nqe8a
2011-09-12 16:26:54 +05:30
Vaibhav (OpenERP) 61e6bd9348 [FIX] Inherit template.load right template.
bzr revid: vda@tinyerp.com-20110912105325-0e7f9jmt79ztao5w
2011-09-12 16:23:25 +05:30
Xavier Morel bd5ee5973f [FIX] jsdoc v3 fixes: @constructs needs an explicit name, @lends is mandatory to not make free-floating methods (interpreted as globals)
bzr revid: xmo@openerp.com-20110912103503-0gpou4t50i2stycp
2011-09-12 12:35:03 +02:00
Fabien Meghazi ba4779e87d [FIX] Corrected url debug for dynamically loaded stylesheets
bzr revid: fme@openerp.com-20110912100819-w62t21ktvb9lwycb
2011-09-12 12:08:19 +02:00
Fabien Meghazi 555f654d83 [ADD] Added openerp.web.Widget#on_inserted
bzr revid: fme@openerp.com-20110912095937-iabmo7213rsqt8b8
2011-09-12 11:59:37 +02:00
niv-openerp 9f6871f5f3 [fix] problem with wsgi
bzr revid: nicolas.vanhoren@openerp.com-20110912091743-igkuihl7a7d0rm7h
2011-09-12 11:17:43 +02:00
Fabien Meghazi 6c7c08a62f [ADD] Add debug url hack for qweb xhr templates
bzr revid: fme@openerp.com-20110912090727-hv3bslofmcpj06ld
2011-09-12 11:07:27 +02:00
Vaibhav (OpenERP) fda55d90d6 [FIX] Revert hidden way.
bzr revid: vda@tinyerp.com-20110912085851-vzs4v3szihrl7xs0
2011-09-12 14:28:51 +05:30
Vaibhav (OpenERP) 7635658034 [FIX] Override viewmanager,show stars when called from actionmanager.
bzr revid: vda@tinyerp.com-20110912082426-snwh0cc5ac75g7xz
2011-09-12 13:54:26 +05:30
Xavier Morel cf44b49c93 [IMP] extract VARCHAR typing, if no size is provided (or the size is 0) don't put a limit on the varchar
bzr revid: xmo@openerp.com-20110909143349-5sykc4lpsn3rxf5w
2011-09-09 16:33:49 +02:00
Olivier Dony f0d937e96d [FIX] mail*: add missing email_from field for list views that need it for attrs
bzr revid: odo@openerp.com-20110909141844-b9vnj0p0tin534uu
2011-09-09 16:18:44 +02:00
Xavier Morel 09b63ae6ea [FIX] don't *eval* field names to get the field type associated with a function field
bzr revid: xmo@openerp.com-20110909141541-p172s7jqu597sjc9
2011-09-09 16:15:41 +02:00
Antony Lesuisse 25237f7178 [IMP] move webrelease into addons/web
bzr revid: al@openerp.com-20110909141317-uvo90sxlg8o5w9dx
2011-09-09 16:13:17 +02:00
niv-openerp 3875715c80 [fix] some problem in some o2m that made many things fail
bzr revid: nicolas.vanhoren@openerp.com-20110909134604-6qgilgf72qchgr2b
2011-09-09 15:46:04 +02:00
Olivier Dony d5d2099658 [IMP] mail*: rename mail.compose.wizard extension, for consistency
bzr revid: odo@openerp.com-20110909131045-mzuspzazkv34ns3q
2011-09-09 15:10:45 +02:00
Olivier Dony 517ac9dc07 [REM] project_planning: remove deprecated/useless wizard, provided by project module by default
bzr revid: odo@openerp.com-20110909125814-6uf48ke5l3k62er2
2011-09-09 14:58:14 +02:00
Vo Minh Thu 6ba60770b8 [FIX] websrv_lib: commit associated to a change in the server:
revno 3548, revid vmt@openerp.com-20110909122856-29uhsjfe193fqdi8

bzr revid: vmt@openerp.com-20110909123005-aqbixbe7xj0nwlc9
2011-09-09 14:30:05 +02:00
Vo Minh Thu 77fbcb3c79 [FIX] websrv_lib: the auth provider was instanciated once and
the auth proxy was instanciated multiple times (once per handler instcance).
The previous refactoring merged the proxy and the provider in one class which
once instanciated once. Now it is instanciated once per handler, which is
better.

bzr revid: vmt@openerp.com-20110909122856-29uhsjfe193fqdi8
2011-09-09 14:28:56 +02:00
niv-openerp 2ac1bee146 [fix] padding correction for statusbar
bzr revid: nicolas.vanhoren@openerp.com-20110909121312-p5smu8m7rrk5wlge
2011-09-09 14:13:12 +02:00
Vo Minh Thu ddef5bfbe2 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110909114941-wsf62um84k6fnak7
2011-09-09 13:49:41 +02:00
Kunal Chavda (OpenERP) 555610e41b [FIX]Fixed code for javascript problems as par review.
bzr revid: kch@tinyerp.com-20110909114933-4f0zgiedo9dp865h
2011-09-09 17:19:33 +05:30
Vo Minh Thu 28f900202b [FIX] document_ftp/document_webdav: correctly fix what was incorrectly fixed in
revno 4821, revision-id tfr@openerp.com-20110628141309-oag99snygj3vuqwn :
pooler.get_db_only was removed from the server but not from the addons.
It seems the commit 4821 tried to solved the situation by using get_db
instead, which is wrong and it will load the db instead of just trying
to get a cursor. This commit solves correctly the removel of get_db_only:
by using sql_db.db_connect (for which get_db_only was an alias).

bzr revid: vmt@openerp.com-20110909113916-td9o8yct0u5bitb6
2011-09-09 13:39:16 +02:00
niv-openerp 9c8e5fb099 [imp] changed 'status' widget to 'statusbar' widget
bzr revid: nicolas.vanhoren@openerp.com-20110909111803-n10ff50qr8mismjb
2011-09-09 13:18:03 +02:00
Xavier Morel bd92c1282b [REV] base.xml changes of xmo@openerp.com-20110908125510-fb7vcjsixj5sqhpz: new version was simpler, it was also completely broken
issue here is that <tr> element bears a foreach, which we have to keep, so can't just insert new tds in the row (they'll get repeated), we can't remove the tr (not without grafting the old attributes), etc...

it's really kind-of a pain.

Basically, the replaceAll() is used to make the <t> just created replace the <tr> matched, the unwrapAll removes the <table> around it all, resulting in a <t> with the buttons inserted before and after it, all landed in the editable-listview-generated-row

bzr revid: xmo@openerp.com-20110909134244-mbf5sf4to09fvsyi
2011-09-09 15:42:44 +02:00
Ujjvala Collins (OpenERP) 16227c8230 [IMP] account: Improved menu name for Account Reports from 'Report' to 'Financial Reports' to differentiate from 'Reporting' menu.
bzr revid: uco@tinyerp.com-20110909111408-f03ko3vtcwgaqfoo
2011-09-09 16:44:08 +05:30