Commit Graph

1538 Commits

Author SHA1 Message Date
Christophe Simonis 458324a685 [FIX] handle the case when the addons has no version
bzr revid: christophe@tinyerp.com-20081211124724-6fj8g1er1iaet3ov
2008-12-11 13:47:24 +01:00
Stephane Wirtel 0d7ee55319 [FIX] Use fromkeys and not setdefault
bzr revid: stephane@tinyerp.com-20081211122007-ykmckeajss5i8nm5
2008-12-11 13:20:07 +01:00
Christophe Simonis bcf2de7330 [MERGE]
bzr revid: christophe@tinyerp.com-20081211114753-qm3sni5owmowqofn
2008-12-11 12:47:53 +01:00
Christophe Simonis 765ef60221 [FIX] ir.module.module: Incorrect field names !!
* installed_version refer the latest version (the one on disk)
 * latest_version refer the installed version (the one in database)
 * published_version refer the version available on the repository

bzr revid: christophe@tinyerp.com-20081211114413-olfcmv4g650o350f
2008-12-11 12:44:13 +01:00
Mantavya Gajjar f91cc6f913 merging from the trunk
bzr revid: mga@tinyerp.com-20081211113653-saduvneg6f6sdjjr
2008-12-11 17:06:53 +05:30
Mantavya Gajjar cb763e8298 improvement in the field object
asslows to select the relation and relation fields
instead of remember the name

bzr revid: mga@tinyerp.com-20081211113208-h03p8j4qd9sg8tgx
2008-12-11 17:02:08 +05:30
Christophe Simonis c0152f5fcf [FIX] If an error occurs when dropping the database, raise a normal exception (that can be pickle)
lp bug: https://launchpad.net/bugs/307069 fixed

bzr revid: christophe@tinyerp.com-20081211112248-ljibz77ey2jkjtjd
2008-12-11 12:22:48 +01:00
Christophe Simonis 9d96bb1c52 [IMP] better reporting when a assertion fail
bzr revid: christophe@tinyerp.com-20081211111758-onyb31yezgyxi2cp
2008-12-11 12:17:58 +01:00
Jay Vora aee44fd671 [Correction]]Res.Lang :Removed legend column ,converted it to xml view.
bzr revid: jvo@tinyerp.com-20081211102848-i1urmkdp359hl9wh
2008-12-11 15:58:48 +05:30
Stephane Wirtel de9e790da4 [MERGE]
bzr revid: stephane@tinyerp.com-20081211101816-u5xqegpcsf63aoyt
2008-12-11 11:18:16 +01:00
Stephane Wirtel 8b42bf2887 [FIX] Remove the unicode function
bzr revid: stephane@tinyerp.com-20081211101753-9qgab643m504jnka
2008-12-11 11:17:53 +01:00
Jay Vora 9f9df50a03 Res.Lang :Removed legend column ,converted it to xml view.
bzr revid: jvo@tinyerp.com-20081211094121-vkhxal6yb5q6a3u4
2008-12-11 15:11:21 +05:30
Christophe Simonis 7b19f3ef8a [FIX] convert message to string before stripping
bzr revid: christophe@tinyerp.com-20081211085825-24fmjnkjn0db0y8q
2008-12-11 09:58:25 +01:00
Stephane Wirtel 1af922e696 [MERGE] Maintenance
bzr revid: stephane@tinyerp.com-20081211085515-ma4ino3i83iin5an
2008-12-11 09:55:15 +01:00
Fabien Pinckaers f3e7dc68d3 bugfixes_in_flight
bzr revid: fp@tinyerp.com-20081211081931-z2f8y6fuqk7hf65x
2008-12-11 09:19:31 +01:00
Christophe Simonis 720126aeec [IMP] add a command line switch allowing to filter the log on the level
bzr revid: christophe@tinyerp.com-20081210235053-v54zj54vu3jebvib
2008-12-11 00:50:53 +01:00
Stephane Wirtel 30fba46139 [IMP] Use the logger
bzr revid: stephane@tinyerp.com-20081210221657-qyu25oj1cid926k4
2008-12-10 23:16:57 +01:00
Stephane Wirtel 08d926bf81 [IMP] Remove the print statements
bzr revid: stephane@tinyerp.com-20081210221257-apvp2q47f7vrkh7n
2008-12-10 23:12:57 +01:00
Stephane Wirtel 26a6c764bb [IMP] Use the logger
bzr revid: stephane@tinyerp.com-20081210221104-j4gv4f22pxobigzf
2008-12-10 23:11:04 +01:00
Stephane Wirtel 242528a3b0 [IMP] Use the logger
bzr revid: stephane@tinyerp.com-20081210220800-pxm9xmkhnrnkvnzx
2008-12-10 23:08:00 +01:00
Stephane Wirtel 424ba1e7cd [REF] Remove the unused code and print statement
bzr revid: stephane@tinyerp.com-20081210215549-yxxdiz0x4uc6ozkr
2008-12-10 22:55:49 +01:00
Stephane Wirtel a1d6019076 [IMP] Use the logger
bzr revid: stephane@tinyerp.com-20081210214830-bzgox1uw469v6e5f
2008-12-10 22:48:30 +01:00
Stephane Wirtel 7d3ab11f97 [IMP] Remove the unused code
bzr revid: stephane@tinyerp.com-20081210214617-359x2kq97k8vpcam
2008-12-10 22:46:17 +01:00
Stephane Wirtel a49463c7b4 [IMP] Remove the print statement
bzr revid: stephane@tinyerp.com-20081210214357-xrdp1k23y5va5o8u
2008-12-10 22:43:57 +01:00
Stephane Wirtel b08de4107e [IMP] Use the logger to show the output from the logged function
bzr revid: stephane@tinyerp.com-20081210214308-c6l296vkka9o92d3
2008-12-10 22:43:08 +01:00
Stephane Wirtel 55ec2ebdd0 [IMP] Add the FIXME message
bzr revid: stephane@tinyerp.com-20081210213604-wd1thxun1a4bv964
2008-12-10 22:36:04 +01:00
Stephane Wirtel 880d0578e0 [IMP] Use the warning level for the pytz library if missing
bzr revid: stephane@tinyerp.com-20081210213229-e22ebweqg8a7byvh
2008-12-10 22:32:29 +01:00
Stephane Wirtel c7e627bed9 [IMP] Improve the logging
bzr revid: stephane@tinyerp.com-20081210212645-01kbn7iprk88g4wn
2008-12-10 22:26:45 +01:00
Stephane Wirtel 0d07e64e71 [IMP] Remove the print statements
bzr revid: stephane@tinyerp.com-20081210212525-lfastpg2wkepfsbt
2008-12-10 22:25:25 +01:00
Stephane Wirtel b5b1ab3904 [IMP] Update the logging of the error in the osv module
bzr revid: stephane@tinyerp.com-20081210212423-20zjyagn6etc3rzn
2008-12-10 22:24:23 +01:00
Stephane Wirtel 2d4a21f9f2 [IMP] Change the presentation of the logger
bzr revid: stephane@tinyerp.com-20081210212354-zox0dl3v85yo6754
2008-12-10 22:23:54 +01:00
Christophe Simonis 3b41e1a843 [IMP] avoid false warnings by disabling the check of access rules when loading only 'base' module graph
bzr revid: christophe@tinyerp.com-20081210150632-7tji0vj1yc05o7h8
2008-12-10 16:06:32 +01:00
Christophe Simonis bbbdf4b8ca [IMP] remove dead code and add comment
bzr revid: christophe@tinyerp.com-20081210144357-d4v17cnsjycabexr
2008-12-10 15:43:57 +01:00
Christophe Simonis dd25d328f5 [MERGE]
bzr revid: christophe@tinyerp.com-20081210144113-6wdfu8mwpsojl4la
2008-12-10 15:41:13 +01:00
Najlaa 5a836ab275 [FIX] correct graph loading when updating database or installing new module from command line
lp bug: https://launchpad.net/bugs/304807 fixed

bzr revid: nel@silver-20081210141128-oaknnb0rzj68htio
2008-12-10 15:11:28 +01:00
Najlaa 02663d9780 [IMP] convert varchar to text in database
bzr revid: nel@silver-20081210140856-easnep218it0bnqu
2008-12-10 15:08:56 +01:00
Jay Vora f500ecff15 Reports: FormatLang() corrected - Reports will behave acc. to Language(res.lang),not locale.
bzr revid: jvo@tinyerp.com-20081210133506-w9h48mu7qum7ok2g
2008-12-10 19:05:06 +05:30
Fabien Pinckaers a357aa85e5 bugfix
bzr revid: fp@tinyerp.com-20081209203754-2xk5qcy0vivsjy4f
2008-12-09 21:37:54 +01:00
Fabien Pinckaers 6b47dd274a improve
bzr revid: fp@tinyerp.com-20081209143720-crwf3n3esq54400n
2008-12-09 15:37:20 +01:00
Fabien Pinckaers 549458e053 improve
bzr revid: fp@tinyerp.com-20081209143426-8hp2khrcdevqcdqs
2008-12-09 15:34:26 +01:00
Fabien Pinckaers 887a992d58 improvement
bzr revid: fp@tinyerp.com-20081209143153-7t18385iv9bbwasn
2008-12-09 15:31:53 +01:00
Fabien Pinckaers a0b7a8f4e6 modifs
bzr revid: fp@tinyerp.com-20081209141034-cj0f9clfgkr1eorz
2008-12-09 15:10:34 +01:00
Christophe Simonis e09455ccd8 [FIX] psycopg2: %d -> %s
[IMP] orm: use _symbol_f when updating database at initialization
[IMP] misc.ustr: function returning the unicode string representation of a object

bzr revid: christophe@tinyerp.com-20081209133540-zlb6wxs97cxa99nx
2008-12-09 14:35:40 +01:00
Christophe Simonis 822da77ee6 [FIX] psycopg2: convert types & update web_services
bzr revid: christophe@tinyerp.com-20081209133132-wn7v8d2qyo3cv6x5
2008-12-09 14:31:32 +01:00
Christophe Simonis c2cc3a3049 [FIX] psycopg2: in queries we must now use %s everywhere (no more %d or %f)
bzr revid: christophe@tinyerp.com-20081209123722-4kmv4pecjwiw3tm3
2008-12-09 13:37:22 +01:00
Christophe Simonis b2f82b8bd6 [FIX] psycopg2 return strings in unicode.
bzr revid: christophe@tinyerp.com-20081209122345-mqi0yy55yh0zswnm
2008-12-09 13:23:45 +01:00
Fabien Pinckaers d02ffad04f improved_related
bzr revid: fp@tinyerp.com-20081209080355-b3n01hbm3asej3mp
2008-12-09 09:03:55 +01:00
Christophe Simonis 299627a144 [IMP] use psycopg2 instead of psycopg1
bzr revid: christophe@tinyerp.com-20081208140342-qstsqxm0xr5rppzz
2008-12-08 15:03:42 +01:00
Christophe Simonis e80211fbc3 [MERGE]
bzr revid: christophe@tinyerp.com-20081208084816-n4ju99d7nz21gun5
2008-12-08 09:48:16 +01:00
Olivier Laurent 033ddefdb9 merge
bzr revid: olt@tinyerp.com-20081208075914-cz3pm2zms256m7ms
2008-12-08 08:59:14 +01:00
Olivier Laurent 8cbf75d090 Sometimes a database could not be created because of the connection to 'template1'
This fix should correct the problem (tested with 1 second but reduced to 0.2 second)

bzr revid: olt@tinyerp.com-20081208075558-1kfm6rf25nrinwfv
2008-12-08 08:55:58 +01:00
Olivier Laurent b08432d356 level=50 is too low for some projects
bzr revid: olt@tinyerp.com-20081208075131-qnxld3nfeap0sg7j
2008-12-08 08:51:31 +01:00
Olivier Laurent 04b6432165 typo in translation
bzr revid: olt@tinyerp.com-20081208074825-xb33eq6shm74vk6q
2008-12-08 08:48:25 +01:00
Fabien Pinckaers f8f691f6ed bugfixes_store
bzr revid: fp@tinyerp.com-20081208074738-qspr61l0lnobpb1h
2008-12-08 08:47:38 +01:00
Fabien Pinckaers 6e55b73d26 bugfixes
bzr revid: fp@tinyerp.com-20081207124502-guf3osjkrd7tunwj
2008-12-07 13:45:02 +01:00
Fabien Pinckaers dfbcd29e8e Speed Improvement ORM
Better Store={...}

bzr revid: fp@tinyerp.com-20081207021654-wfgrjy7tj3ukgopv
2008-12-07 03:16:54 +01:00
Stephane Wirtel d65b408046 [IMP] Use the check_contract method
bzr revid: stephane@tinyerp.com-20081205134905-h4l1vd8izy7ljus0
2008-12-05 14:49:05 +01:00
Christophe Simonis 75a195153f [FIX] allow selections in (old style) wizards to be translated (idea from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205134332-hkwjiy5fulyh5o2i
2008-12-05 14:43:32 +01:00
Husen Daudi bcca622a6e added states data
bzr revid: hda@tinyerp.com-20081205133612-tula3gt59dzic23m
2008-12-05 19:06:12 +05:30
Christophe Simonis 49916d38fd [IMP] amount_to_text: add a function allowing to register a convertion function (patch from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205131029-s05x7qtisskcekzw
2008-12-05 14:10:29 +01:00
Christophe Simonis f770e5e65f [FIX] report/print_xml.py: use the record when evaluate the expression (patch from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205125641-pmdcma8mlsny7fei
2008-12-05 13:56:41 +01:00
Christophe Simonis eb08809553 [FIX] orm: searching an inexisting id (as integer) return False (patch from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205124158-hjmig1c8gyp9qme3
2008-12-05 13:41:58 +01:00
Christophe Simonis b9a785f886 [IMP] make bank.type name and bank.type.field name translatable (patch from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205121157-ose6felchwrkyxqs
2008-12-05 13:11:57 +01:00
Christophe Simonis 3332f26cc2 [FIX] fix the access rights verification in attachments
bzr revid: christophe@tinyerp.com-20081205115409-rlk3mq4fw89f1hue
2008-12-05 12:54:09 +01:00
Fabien Pinckaers 17d926706f improve
bzr revid: fp@tinyerp.com-20081205100508-dn5fh7gow0udnyjw
2008-12-05 11:05:08 +01:00
Fabien Pinckaers 6f24369ba2 improved_view
bzr revid: fp@tinyerp.com-20081204235843-uwp1poxk0rinjsbu
2008-12-05 00:58:43 +01:00
Fabien Pinckaers 99580094e3 improved_security
bzr revid: fp@tinyerp.com-20081204202832-4cyln2cynhgkk1b6
2008-12-04 21:28:32 +01:00
Christophe Simonis c6d7af80f3 [IMP] Implement the migration by module
bzr revid: christophe@tinyerp.com-20081204161141-d1yjjos76ajodqt0
2008-12-04 17:11:41 +01:00
Christophe Simonis 23d5e09e28 [IMP] move oswalksymlinks to a new module tools.osutil
bzr revid: christophe@tinyerp.com-20081204153656-l247acif1eqvyvl0
2008-12-04 16:36:56 +01:00
Stephane Wirtel 2ab4ed4eee [IMP] Add the state field
bzr revid: stephane@tinyerp.com-20081204143412-r4yy9kz4950d9rep
2008-12-04 15:34:12 +01:00
Stephane Wirtel e7e862e6b0 [ADD] Unique Constraint on the name of the maintenance contract
bzr revid: stephane@tinyerp.com-20081204133758-zwnogrtc2ew9en1k
2008-12-04 14:37:58 +01:00
Fabien Pinckaers 086fbc2d4d bugfix
bzr revid: fp@tinyerp.com-20081203144226-bm9zfqe4e1olemd2
2008-12-03 15:42:26 +01:00
Stephane Wirtel d06bd52c36 [IMP] Add maintenance.contract.module to store the modules in the maintenance contract
[IMP] Use a fields.many2many instead of a fields.text for the module list in the maintenance.contract

bzr revid: stephane@tinyerp.com-20081203104419-64mrmq6qmjhv553k
2008-12-03 11:44:19 +01:00
Stephane Wirtel 7af013fd48 [IMP] Add the state field
[IMP] Return the value of self.write in action_validate
[IMP] Draw the screen for the Add Maintenance Contract wizard

bzr revid: stephane@tinyerp.com-20081202185232-9hszwznnz6vwz9md
2008-12-02 19:52:32 +01:00
Stephane Wirtel 862a0230db [REF] Indent the xml file
bzr revid: stephane@tinyerp.com-20081202185221-ogdc7hg8qyb9ebub
2008-12-02 19:52:21 +01:00
Christophe Simonis a5e5b5b8fc [IMP] views don't need to include the state field anymore to be state aware
bzr revid: christophe@tinyerp.com-20081202183821-iodzmaanf3ib0asb
2008-12-02 19:38:21 +01:00
Stephane Wirtel bcedd8ec88 [IMP] Check if there is a contract in the maintainer_editor module
bzr revid: stephane@tinyerp.com-20081202165817-5l36pies53jxk319
2008-12-02 17:58:17 +01:00
Stephane Wirtel 122c20af25 [IMP] Redraw the screen
bzr revid: stephane@tinyerp.com-20081202165735-gzz08zyhprsp7dxj
2008-12-02 17:57:35 +01:00
Christophe Simonis 49c441b3a4 [IMP] move parse_version to tools directory
[IMP] release.py set major_version variable

bzr revid: christophe@tinyerp.com-20081202164726-0d9d0gz89d6y7v2l
2008-12-02 17:47:26 +01:00
Stephane Wirtel 57aaf177b9 [IMP] Move maintenance_maintenance#test_maintenance to maintenance_contract_wizard#validate_cb
bzr revid: stephane@tinyerp.com-20081202125123-9hl9bmoqz4z7gfn5
2008-12-02 13:51:23 +01:00
Stephane Wirtel 7d7743f1b0 [FIX] Remove the traceback
bzr revid: stephane@tinyerp.com-20081202102510-aozx0t6dr7ma3zc2
2008-12-02 11:25:10 +01:00
Fabien Pinckaers 6207fbdcd4 remove_print
bzr revid: fp@tinyerp.com-20081202091251-2zhoyjh02phwe1xp
2008-12-02 10:12:51 +01:00
Fabien Pinckaers caa92f7778 improve
bzr revid: fp@tinyerp.com-20081202091143-gq9q36cewvm499nq
2008-12-02 10:11:43 +01:00
Fabien Pinckaers e60d9ff7c5 Speed_improvement
bzr revid: fp@tinyerp.com-20081202081629-bchm1dum0elcs43q
2008-12-02 09:16:29 +01:00
Christophe Simonis 32796a155f [FIX] set a name to the action
lp bug: https://launchpad.net/bugs/304008 fixed

bzr revid: christophe@tinyerp.com-20081201162859-g3il28kjlfwl1r0b
2008-12-01 17:28:59 +01:00
Stephane Wirtel 008e70e2bf [MERGE]
bzr revid: stephane@tinyerp.com-20081201162415-zj7w6l3l1es39rbd
2008-12-01 17:24:15 +01:00
Stephane Wirtel ef9f6c0387 [IMP] Add a wizard for the maintenance
bzr revid: stephane@tinyerp.com-20081201155224-c30hsgie023cdjvr
2008-12-01 16:52:24 +01:00
Fabien Pinckaers 1e87af4390 bugfix_304008
bzr revid: fp@tinyerp.com-20081201151351-auit087r6pz2ii69
2008-12-01 16:13:51 +01:00
Christophe Simonis cf6e0129fb [IMP] use the function from setuptools for compare the versions
bzr revid: christophe@tinyerp.com-20081201150404-if1qmgfl0f54po91
2008-12-01 16:04:04 +01:00
Stephane Wirtel 8750bf8fcc [IMP] Enable the code for the maintenance
bzr revid: stephane@tinyerp.com-20081201130946-rnqnhcy3xitg9peu
2008-12-01 14:09:46 +01:00
Stephane Wirtel 1d0ddebfb4 [IMP] Remove the unused security file for the maintenance
bzr revid: stephane@tinyerp.com-20081201130857-0d3pq3875dtawa3y
2008-12-01 14:08:57 +01:00
Christophe Simonis 97725e1bc0 [IMP] po file generation: write the string format after the #: comments, like launchpad generated files
bzr revid: christophe@tinyerp.com-20081201092553-a7tfa7iydmeq4i5d
2008-12-01 10:25:53 +01:00
Fabien Pinckaers d95275e14a improve
bzr revid: fp@tinyerp.com-20081130151823-vwb3lwl8ne379sdj
2008-11-30 16:18:23 +01:00
Christophe Simonis 0e8f4ebf17 [IMP] better error message
bzr revid: christophe@tinyerp.com-20081128193434-nf87l3pafnjoy0hx
2008-11-28 20:34:34 +01:00
Christophe Simonis d7b3d89c72 [IMP] change version number
bzr revid: christophe@tinyerp.com-20081128172832-8lenbfmwz20p7k1c
2008-11-28 18:28:32 +01:00
Christophe Simonis fefa493c88 [IMP] update translation files
bzr revid: christophe@tinyerp.com-20081128172438-1pwei17n6o04ivfn
2008-11-28 18:24:38 +01:00
Stephane Wirtel 040ca76e3d [] Hide the maintenance for this release candidate !
bzr revid: stephane@tinyerp.com-20081128120831-pwrgts2tcxn7utqg
2008-11-28 13:08:31 +01:00
Christophe Simonis cb9f644912 merge
bzr revid: christophe@tinyerp.com-20081128091245-stzqh3889jdz2qrz
2008-11-28 10:12:45 +01:00
Christophe Simonis b75c40a3a6 [FIX] translation of some labels in one2many fields. Thanks to Dainius Malachovskis for the base patch.
lp bug: https://launchpad.net/bugs/279613 fixed

bzr revid: christophe@tinyerp.com-20081128090934-lffnwuf8q4zqvs6j
2008-11-28 10:09:34 +01:00
Naresh Choksy 01048293bb merge
bzr revid: nch@tinyerp.com-20081120072929-ogj8bui2nj0gasy9
bzr revid: nch@tinyerp.com-20081128061150-e0espfgn3ipvp2pl
2008-11-28 11:41:50 +05:30