Commit Graph

2676 Commits

Author SHA1 Message Date
Xavier Morel 76f885299f [IMP] code style improvements
* Remove unused variables
* Simplify dict.get call in conditionals (default is None)
* Simplify dict.update calls (use kwargs)
* Merge dict.copy() with dict.update() as dict()
* Use isinstance instead of type() equality tests
* Simplify deeply nested code: merge conditionals and remove useless
  conditional, use dict.iteritems()
* Log traceback in exception handler logging

bzr revid: xmo@openerp.com-20120806071249-heh32pi1v0qd3m2j
2012-08-06 09:12:49 +02:00
Fabien Pinckaers 996507688b [FIX] removed ir.actions.todos category_id
bzr revid: fp@openerp.com-20120805051724-0qrv4qvag39ufv81
2012-08-05 07:17:24 +02:00
Fabien Pinckaers a5ffb7f90f [IMP] remove unused code
bzr revid: fp@openerp.com-20120804215300-0uwvcsvfs2tvo7gr
2012-08-04 23:53:00 +02:00
Fabien Pinckaers bd4b1bf9ef [IMP] removing unused ir.actions.todo.category object
bzr revid: fp@openerp.com-20120804203520-xw35v0eplds9md3k
2012-08-04 22:35:20 +02:00
Fabien Pinckaers a6b417b256 imp
bzr revid: fp@openerp.com-20120804190748-27jx1yztb6sykhfq
2012-08-04 21:07:48 +02:00
Fabien Pinckaers 3e3d9db354 [IMP] no content partners menutip
bzr revid: fp@openerp.com-20120804150639-5fsle3b6mdkz6i2d
2012-08-04 17:06:39 +02:00
Fabien Pinckaers d07263eed3 [IMP] introducing new file type: html
bzr revid: fp@openerp.com-20120804143643-e0331dgtkbxejfmy
2012-08-04 16:36:43 +02:00
Fabien Pinckaers 5695da2277 [IMP] improved menu tips
bzr revid: fp@openerp.com-20120804132535-rxzmg53qklg4h3tn
2012-08-04 15:25:35 +02:00
Olivier Dony eb0a178196 [MERGE] name_get: support more field types and improve previous name_get changes
Introduces an improved name_get implementation,
supporting a few more fields type used as _rec_name
(such as many2one). The actual rendering of the
"display name" is delegated to the column class,
and computed based on the value returned by read()
for the column.

Funky @classmethod stuff was necessary to allow
column types to delegate to other types, such as
function types which can delegate to the real
type they emulate.

The display_name term was used because it is
being discussed for the new API to add a virtual
display_name column to all models, allowing
clients to read the name_get value along with
regular columns. It looks appropriate too.

Also fixes a few shortcomings of the latest
patches to name_get, such as supporting inherited
columns and avoiding a useless read() call with
only the id column.

bzr revid: odo@openerp.com-20120803142952-8jefy3bsgftucxuk
2012-08-03 16:29:52 +02:00
Antony Lesuisse 15132d85e9 [MERGE] trunk-config-wizard indentation fixes by abo
bzr revid: al@openerp.com-20120803135953-pxdrcnsinq4l3spy
2012-08-03 15:59:53 +02:00
Olivier Dony da9ccf503a [FIX] fields.reference: missing coercion to int for res_id, as pointed out by XMO
bzr revid: odo@openerp.com-20120803134111-jrzrszqobm0r02on
2012-08-03 15:41:11 +02:00
Antonin Bourguignon 9a826a3186 [IMP] add proper XML headers to config views
also remove trailing whitespaces and fix indentation

bzr revid: abo@openerp.com-20120803132046-poiy3dt362zhoudl
2012-08-03 15:20:46 +02:00
Stephane Wirtel 9c507f5213 [REVERT] Revert the previous patch about the button_uninstall in the modules
bzr revid: stw@openerp.com-20120803125751-4i98jt0jxiroabc8
2012-08-03 14:57:51 +02:00
Stephane Wirtel 077be4912e [MERGE]
bzr revid: stw@openerp.com-20120803122457-emvyki50sxnzke1k
2012-08-03 14:24:57 +02:00
Stephane Wirtel 419835329c [FIX] base: remove the uninstall button and improve the filter domain of the modules
bzr revid: stw@openerp.com-20120803103241-u95u5l76sv87hvu8
2012-08-03 12:32:41 +02:00
Vo Minh Thu ddaadd1398 [FIX] orm: disallow LOG_ACCESS fields in the create() method.
Removes the LOG_ACCESS fields from the values given to create(),
otherwise we would end up passing two times the same field to
postgresql.

bzr revid: vmt@openerp.com-20120803094800-81cgwyeg5cmud9mj
2012-08-03 11:48:00 +02:00
Launchpad Translations on behalf of openerp c50a0dcf9a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120803054534-0mw37x9jjh3q096j
2012-08-03 05:45:34 +00:00
Olivier Dony bc70c8711b [IMP] name_get: support more field types and improve previous name_get changes
bzr revid: odo@openerp.com-20120802170244-t1z5gogwgybtavrm
2012-08-02 19:02:44 +02:00
Xavier Morel ef26faf0a5 [IMP] add more information when searching on a non-searchable field using debug logging
bzr revid: xmo@openerp.com-20120802152553-r8xpw0g6bep08jod
2012-08-02 17:25:53 +02:00
Xavier Morel 937a24a240 [ADD] search view for res.groups to avoid searching on the unsearchable full_name from the default search view
bzr revid: xmo@openerp.com-20120802151344-4g0p8n2gaqyoftpu
2012-08-02 17:13:44 +02:00
Xavier Morel 8060f19108 [IMP] error-level log when non-stored function field without fnct_search is searched
holding off on blowing up an error just yet, but it might be a good idea in the end

bzr revid: xmo@openerp.com-20120802150837-3qvgg3e5pmfeqmk0
2012-08-02 17:08:37 +02:00
Stephane Wirtel e57c694095 [FIX] Review the layout of the partners
bzr revid: stw@openerp.com-20120802134648-djca908iguoukemd
2012-08-02 15:46:48 +02:00
Stephane Wirtel 4c14e794d1 [IMP] Use the button_immediate_install in the form view of the modules
bzr revid: stw@openerp.com-20120802111845-qgd2g6jkoxut0avl
2012-08-02 13:18:45 +02:00
Stephane Wirtel 2311c51782 [IMP] base: use the shortdesc in the search view of the modules
bzr revid: stw@openerp.com-20120802082335-60u9wfqibfkzlk41
2012-08-02 10:23:35 +02:00
Stephane Wirtel 11dd44ec36 [TYPO] Set the right category for the Point Of Sale
bzr revid: stw@openerp.com-20120802080132-6pt5s43sn6je9bul
2012-08-02 10:01:32 +02:00
Stephane Wirtel 66d44c11e1 [MERGE] lp:~openerp-dev/openobject-server/trunk-addons-issues3-base-base_imp-pna
bzr revid: stw@openerp.com-20120802074417-ldc41m3bgdefxnj3
2012-08-02 09:44:17 +02:00
Launchpad Translations on behalf of openerp f468db4710 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120802044616-pfibu91cnztf6r7c
2012-08-02 04:46:16 +00:00
Pinakin Nayi (OpenERP) 3c7466d77e [IMP]base-issue
bzr revid: pna@tinyerp.com-20120801131142-r91539mvg3g1ow0v
2012-08-01 18:41:42 +05:30
Vo Minh Thu 9559fcd398 [MERGE] _rec_name is less permissive and has now a fallback.
bzr revid: vmt@openerp.com-20120801092015-7nkx43tcvd4ngmn3
2012-08-01 11:20:15 +02:00
Vo Minh Thu 6aef95b5c2 [MEOW] lolcat crazy ninja fix in the branch, take two!
bzr revid: vmt@openerp.com-20120801080155-8qhg3aqkay2rrmbt
2012-08-01 10:01:55 +02:00
Vo Minh Thu 171500f171 [MAOW] lolcat ninja fix in the branch, yaoh!
bzr revid: vmt@openerp.com-20120801075024-mpc4seluumaa33ph
2012-08-01 09:50:24 +02:00
Launchpad Translations on behalf of openerp e845e2350c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120801044335-2llntxn2tfj8m7yt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120801044411-aoxlecq42a8czbf8
2012-08-01 04:44:11 +00:00
Antony Lesuisse 42859212fa [FIX] typos and vmt review
bzr revid: al@openerp.com-20120731152649-4mxph7d0cnlaqtef
2012-07-31 17:26:49 +02:00
Antony Lesuisse 4811011c76 [FIX] typo
bzr revid: al@openerp.com-20120731151718-g0fk33ycoapob13j
2012-07-31 17:17:18 +02:00
Antony Lesuisse 8540dcf017 [FIX] assertion message
bzr revid: al@openerp.com-20120731122557-9ka14pw09x2fhmos
2012-07-31 14:25:57 +02:00
Antony Lesuisse d375ee272e [FIX] rec_name assertion and fallback
bzr revid: al@openerp.com-20120731120621-11j7k7965d9sclp2
2012-07-31 14:06:21 +02:00
Antony Lesuisse 09fe39c0b6 [IMP] rec_name assertion and fallback
bzr revid: al@openerp.com-20120731110845-nt11isvr96tuc207
2012-07-31 13:08:45 +02:00
Quentin (OpenERP) 163a8b629e [MERGE] clean search view branch
bzr revid: qdp-launchpad@openerp.com-20120731110735-cva8ckmkaueftqx6
2012-07-31 13:07:35 +02:00
Launchpad Translations on behalf of openerp f167f30be4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120727052243-xrl1r6fydhcwuh0m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120728045710-cxy8rrcdr2zup8f2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120729043651-14gixnflr4c18adp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120731045813-sh4afry66idk2pod
2012-07-31 04:58:13 +00:00
Jigar Amin - OpenERP 478fc3a928 [MERGE] lp:~openerp-dev/openobject-server/trunk-clean-search-imp-tpa
bzr revid: jam@tinyerp.com-20120730133704-z0nyesf3psqc1pvc
2012-07-30 19:07:04 +05:30
Jigar Amin - OpenERP c25ddd2ba1 merge lp:openobject-server
bzr revid: jam@tinyerp.com-20120720050642-tuaus4j1aulys392
bzr revid: jam@tinyerp.com-20120724035413-1zqmdei6flb2ngi4
bzr revid: jam@tinyerp.com-20120730123417-4igxvrqdq35quusr
2012-07-30 18:04:17 +05:30
Turkesh Patel (Open ERP) 11e85bec65 [IMP] improved search view.
bzr revid: tpa@tinyerp.com-20120730120714-flizwpfl7gr7bmgw
2012-07-30 17:37:14 +05:30
niv-openerp b4565d0f48 [IMP] minor customization to partners view, added default_focus
bzr revid: nicolas.vanhoren@openerp.com-20120726154346-3094asen5mdo84nq
2012-07-26 17:43:46 +02:00
Raphael Collet 34c67e6b83 [MERGE] from trunk
bzr revid: rco@openerp.com-20120725151127-9n7oyn1egedm7nqn
2012-07-25 17:11:27 +02:00
Raphael Collet 695d0fd7ab [MERGE] trunk-first_10_clicks_crm-mdi (usability in crm)
bzr revid: rco@openerp.com-20120725150230-dbqxzvoeiq07yru1
2012-07-25 17:02:30 +02:00
niv-openerp 03ea71a4aa [IMP] cosmetic improvement in partner view
bzr revid: nicolas.vanhoren@openerp.com-20120725124757-hwd01ddf5emsudau
2012-07-25 14:47:57 +02:00
Raphael Collet 594b4ed4af [FIX] import xml validation: allow optional text in element <value>
bzr revid: rco@openerp.com-20120725094617-1wnle5r9blt79x4e
2012-07-25 11:46:17 +02:00
Divyesh Makwana (Open ERP) c905cff9ec [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20120705043324-rmnwkite6ejsmar1
bzr revid: mdi@tinyerp.com-20120706040829-oa1su3ggj25cf18e
bzr revid: mdi@tinyerp.com-20120709043205-gon87fab8hnj9kcq
bzr revid: mdi@tinyerp.com-20120710042001-ggfnud23ombj4g3z
bzr revid: mdi@tinyerp.com-20120712044150-8v4vaur1zjeskn6o
bzr revid: mdi@tinyerp.com-20120716050316-07qfsn3p7527koug
bzr revid: mdi@tinyerp.com-20120717042552-shvs815bu00puy0v
bzr revid: mdi@tinyerp.com-20120718043825-t6o2v8yp4eukjk7c
bzr revid: mdi@tinyerp.com-20120719043709-7lbhq4sro6gj3nb9
bzr revid: mdi@tinyerp.com-20120720040713-4pt63ve7ub4x8kkn
bzr revid: mdi@tinyerp.com-20120723044646-i6vlbzqw9yjudqss
bzr revid: mdi@tinyerp.com-20120725042109-umr0skq03y1jjc8h
2012-07-25 09:51:09 +05:30
Raphael Collet 7998bc6b93 [MERGE] from trunk
bzr revid: rco@openerp.com-20120724150913-g8cc7ylahemu09m0
2012-07-24 17:09:13 +02:00
Xavier Morel ce02c0887a [IMP] coerce 'falsy' char sizes to None
Otherwise users using fields.char(size=False) will see their content disappear without warning, not cool

bzr revid: xmo@openerp.com-20120723140502-nrtgw0o47ewj25qa
2012-07-23 16:05:02 +02:00