Commit Graph

201 Commits

Author SHA1 Message Date
Vo Minh Thu abb606aa7c [MERGE] orm: _auto_init made of smaller methods, use a metaclass to discover new models.
bzr revid: vmt@openerp.com-20110615160123-7bk8u94y916mdpkj
2011-06-15 18:01:23 +02:00
Vo Minh Thu 55c220f137 [MERGE] [osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110615153954-d0fbws57z2w2r6db
2011-06-15 17:39:54 +02:00
Vo Minh Thu e4d8e91c4a [MERGE] `multi` support for function fields.
bzr revid: vmt@openerp.com-20110615152659-1g2s5vc3outecd71
2011-06-15 17:26:59 +02:00
Vo Minh Thu 78e7117c92 [DEL] ir_board: removed unused module.
lp bug: https://launchpad.net/bugs/767015 fixed

bzr revid: vmt@openerp.com-20110615103831-bmb6g3zr3nzq0kxu
2011-06-15 12:38:31 +02:00
Yogesh (OpenERP) 45e8ba8474 [IMP] improve code.
bzr revid: ysa@tinyerp.com-20110615102551-np3mfev3eq5z4iwp
2011-06-15 15:55:51 +05:30
Vo Minh Thu dc4ee86376 [REF] osv: use a metaclass to discover new models.
bzr revid: vmt@openerp.com-20110615102115-sjobt06ag72xiqaf
2011-06-15 12:21:15 +02:00
Yogesh (OpenERP) 2f635092d2 Improve code.
bzr revid: ysa@tinyerp.com-20110615084717-ya7v52ngikwn4zy8
2011-06-15 14:17:17 +05:30
Vo Minh Thu 23dec280c7 [MERGE] osv: db_name changed to dbname.
bzr revid: vmt@openerp.com-20110615073142-t97lwikzrpe1g5js
2011-06-15 09:31:42 +02:00
Vo Minh Thu 26f22874d9 [LINT] removed unused variable, forgot to change two variables in last commit, corrected typo introduced at 3417.6.6.
bzr revid: vmt@openerp.com-20110615072231-jh977xk1jupekkpp
2011-06-15 09:22:31 +02:00
Launchpad Translations on behalf of openerp 6b34c3addc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110615043944-84zko94ku42dqhfs
2011-06-15 04:39:44 +00:00
Vo Minh Thu e375049414 [REF] osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110614142226-yd3y39a8z3ubwvxm
2011-06-14 16:22:26 +02:00
Vo Minh Thu 8965db1ec2 [DEL] orm: removed half-baked fix.
bzr revid: vmt@openerp.com-20110614113354-rcsyua15m1kqhrgj
2011-06-14 13:33:54 +02:00
Vo Minh Thu e360ae580a [REF] orm: added some comments.
bzr revid: vmt@openerp.com-20110614101311-bjy33thvzfnla74t
2011-06-14 12:13:11 +02:00
Vo Minh Thu 08b750af47 [REF] orm: brake _auto_init in shorter methods.
bzr revid: vmt@openerp.com-20110614093715-yxaiqd2xzf6vdy8w
2011-06-14 11:37:15 +02:00
Vo Minh Thu 75b8291486 [IMP] orm: added comment, and delete an attribute when it is no more needed.
bzr revid: vmt@openerp.com-20110614084415-0noz6dlclnr09sbh
2011-06-14 10:44:15 +02:00
Quentin (OpenERP) 4432d6a9f2 [IMP] safe_eval: added min() in usable functions
bzr revid: qdp-launchpad@openerp.com-20110614082920-aokyfw4iizj0fte5
2011-06-14 10:29:20 +02:00
fp 6758ee6133 [IMP] report engine: added possibility to use styles on TR tag
bzr revid: qdp-launchpad@openerp.com-20110614082711-l5cvbvm405h247ek
2011-06-14 10:27:11 +02:00
Yogesh (OpenERP) a0eba446d9 [IMP] improve get method of function field.
bzr revid: ysa@tinyerp.com-20110613111949-u71pez6qpdfwk1iy
2011-06-13 16:49:49 +05:30
Naresh (OpenERP) 64df44c12b [FIX]:The pdf when printing workflow was always showing 'G' in the title changed to model name
bzr revid: nch@tinyerp.com-20110614065257-nuqlqhrkw2yd5lm4
2011-06-14 12:22:57 +05:30
Nicolas Vanhoren 68102fecd1 [MERGE] addition of name_create() ORM method for new m2o behavior in 6.1
bzr revid: odo@openerp.com-20110610173130-3dvj5t2ji8buwjrg
2011-06-10 19:31:30 +02:00
niv-openerp f888b06959 [imp] added method name_create to orm
bzr revid: nicolas.vanhoren@openerp.com-20110610161002-76kfpwb1xexryfmh
2011-06-10 18:10:02 +02:00
Vo Minh Thu 1b45a892dd [REF] orm: defer foreign key creation.
bzr revid: vmt@openerp.com-20110610140521-mdd6zvvzeoubier4
2011-06-10 16:05:21 +02:00
Vo Minh Thu d4adda9d06 [MERGE] ir_values: added asserts on the models argument type.
bzr revid: vmt@openerp.com-20110610101924-al1z5vvmcehbcgva
2011-06-10 12:19:24 +02:00
P. Christeas ba03d85325 ir.values: whitespace cleaning, put assertions on arg types
res.lang was calling with modules='string', which was not right.
Don't allow such a case.

bzr revid: xrg@linux.gr-20110610091852-y8083s085gn6kwcs
2011-06-10 12:18:52 +03:00
Vo Minh Thu 971276b599 [ADD] openerp/netsvc: use cgitb to format the exception sent to the client, code/idea by chs.
bzr revid: vmt@openerp.com-20110609073416-ml22a1vhtizl3z71
2011-06-09 09:34:16 +02:00
Vo Minh Thu e1e0860f1d [MERGE] res/partner/crm: removed unused code.
bzr revid: vmt@openerp.com-20110608150455-hd6tjghx938d94yh
2011-06-08 17:04:55 +02:00
Vo Minh Thu 2d1f8c93dd [MERGE] ir_translation: lang field selection only displays installed languages.
bzr revid: vmt@openerp.com-20110608145033-67n0g3g28pw91c9l
2011-06-08 16:50:33 +02:00
Antony Lesuisse 28a37267e4 [IMP] ir_translation only display installed lang, context in read
bzr revid: al@openerp.com-20110608141806-oeixkg763vgmv2we
2011-06-08 16:18:06 +02:00
Yogesh (OpenERP) 04c0fc1931 Remove unused code.
lp bug: https://launchpad.net/bugs/792059 fixed

bzr revid: ysa@tinyerp.com-20110608124813-62yj6d75yxy8o0p0
2011-06-08 18:18:13 +05:30
Launchpad Translations on behalf of openerp 01dcbe5313 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110607043504-fva0ovzg24qy3nqd
2011-06-07 04:35:04 +00:00
Vo Minh Thu 00c2b7172b [MERGE] use drawCentredString instead of drawString for report header.
bzr revid: vmt@openerp.com-20110606123941-26v9uoetil2gc8ox
2011-06-06 14:39:41 +02:00
Vo Minh Thu cdf9746d8e [MERGE] res_widget: remove res.widget.user entries when user deleted.
bzr revid: vmt@openerp.com-20110606111057-g97n2woy1ljyt67k
2011-06-06 13:10:57 +02:00
Vo Minh Thu 6a2b93ea0d [REF] res_company: as part of the previous commit:
- dont use methods when plain values are ok (in _constraints),
- dont duplicate strings if it is not necessary.

bzr revid: vmt@openerp.com-20110606094338-58zoutk86hm0j68s
2011-06-06 11:43:38 +02:00
Vo Minh Thu 641f3a88f3 [MERGE] "%s" % a + b should be "%s" % (a + b).
bzr revid: vmt@openerp.com-20110606081752-crltlidap2t1hloj
2011-06-06 10:17:52 +02:00
Vo Minh Thu f2770c9ac4 [FIX] netrpc_server: close as soon as possible the socket, and do it after a communication-level exception.
lp bug: https://launchpad.net/bugs/785009 fixed

bzr revid: vmt@openerp.com-20110606074856-e726j4klc5ljiq5w
2011-06-06 09:48:56 +02:00
P. Christeas a2557925b6 yaml_import: fix ambiguous syntax at end of report
When finishing a YAML import, the syntax ["str %d" % int + int] turns
out to be ambiguous and is resolved as [ ("str %d" % int) + int],
leading to a:
  TypeError: cannot concatenate 'str' and 'int' objects

This had been first fixed in commit f46966e044d18a644 (2010-06-30)
(cherry picked from commit cc0c584e5dfbf672d51f61e7207047f357e31471)

bzr revid: xrg@linux.gr-20110605135116-ie2h7gnvnx2kpdoy
2011-06-05 16:51:16 +03:00
Vo Minh Thu ce5d00e03b [REF] res_lang: removed unused variable.
lp bug: https://launchpad.net/bugs/791756 fixed

bzr revid: vmt@openerp.com-20110603085758-ji277jy5mbn9wq3t
2011-06-03 10:57:58 +02:00
Antony Lesuisse 6aa240ca19 [IMP] ir_translation only display installed lang, 10% speedup in translation loading
bzr revid: al@openerp.com-20110601163455-2o732ssum24kwshu
2011-06-01 18:34:55 +02:00
Vo Minh Thu b681b0ec75 [ADD] tools/config: started tests.
bzr revid: vmt@openerp.com-20110601115055-idoid8p0pnkfci38
2011-06-01 13:50:55 +02:00
Vo Minh Thu 4b3aa9c764 [FIX] modules/loading: revert a change where db.initialize was removed:
- it should be removed
- but some code will test if the ir_module_module table exists
- and will force the demo data.

bzr revid: vmt@openerp.com-20110601113353-hdmyl4is9poss8hh
2011-06-01 13:33:53 +02:00
Olivier Dony a270d19d81 [IMP] ir.ui.view.custom: order by create_date descending
This way search(limit=1) will give you the latest customization for
a given user. This can be used by client side to allow multiple
customizations with multi-level undo.

bzr revid: odo@openerp.com-20110601105209-vtgf73reh90uipct
2011-06-01 12:52:09 +02:00
Yogesh (OpenERP) 522b77fdfa [FIX] fix problem of variable name.
bzr revid: ysa@tinyerp.com-20110601094908-9o24f6ohms7fx6p9
2011-06-01 15:19:08 +05:30
Vo Minh Thu 6d1753a734 [FIX] tools/config: properly cast config file values.
bzr revid: vmt@openerp.com-20110601074400-hv1jrgoqw2ji0yah
2011-06-01 09:44:00 +02:00
Vo Minh Thu 358f6881f3 [REF] openerp/report/render/render.py: removed silly main() method, rewrote french comment in english.
bzr revid: vmt@openerp.com-20110531152711-49kyo4xhtak3r874
2011-05-31 17:27:11 +02:00
Vo Minh Thu 6672e72c46 [FIX] tools/config: default values always override the config files:
- this bug was introduced by commit 3417.6.4 vmt@openerp.com-20110419134016-og6ye1hjrb0j52cl.

bzr revid: vmt@openerp.com-20110531125322-myptetqusymunily
2011-05-31 14:53:22 +02:00
Xavier Morel 5695adf5e6 [IMP] @editable on forms and fields is nonsense, on trees it should only be able to take the values 'top' and 'bottom'
bzr revid: xmo@openerp.com-20110531101518-1ycw1fjy5vczcf8g
2011-05-31 12:15:18 +02:00
Launchpad Translations on behalf of openerp 8dc31b78ab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110531044735-dhu40as3jjdi6qwe
2011-05-31 04:47:35 +00:00
Vo Minh Thu 52731ee4b8 [MERGE] osv: osv classes merged inside orm classes.
bzr revid: vmt@openerp.com-20110530074205-98kdkwhpbu9e19qw
2011-05-30 09:42:05 +02:00
Yogesh (OpenERP) 7fbddd1003 [FIX] Company partner name print in center in header on report. use drawCentredString instead of drawString.
bzr revid: ysa@tinyerp.com-20110530053046-61zsy5nuz61i52dm
2011-05-30 11:00:46 +05:30
Launchpad Translations on behalf of openerp b166b367be Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110527044550-75mzo90wnocq320y
bzr revid: launchpad_translations_on_behalf_of_openerp-20110530045832-ce820mg8qb8eukga
2011-05-30 04:58:32 +00:00