Commit Graph

4059 Commits

Author SHA1 Message Date
Thibault Delavallée 37a949e30a [DOC] First draft of doc on _auto_join, to at least have something.
bzr revid: tde@openerp.com-20121129152852-akslcby3ics61vuz
2012-11-29 16:28:52 +01:00
Vo Minh Thu 001c451608 [REV] reverted install-all commit (vmt@openerp.com-20121128142106-pdkcruhyz0sjltk8)
bzr revid: vmt@openerp.com-20121129140745-wn2o9ek3beuf7y3y
2012-11-29 15:07:45 +01:00
Tejas Tank cc7bfc23d4 [IMP] Image crop with transparent effect.
bzr revid: tta@openerp.com-20121129125148-6j0qryd0wx6uqdbm
2012-11-29 17:51:48 +05:00
Olivier Dony 76eede3c21 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121129114302-fdkq0kxb6wubsuaw
2012-11-29 12:43:02 +01:00
Thibault Delavallée 29e755e940 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129113947-d6113iseluuyh4sl
2012-11-29 12:39:47 +01:00
Anand Patel (OpenERP) 52cd233b6a [IMP]Improved code for project 'create Manager'
bzr revid: pan@tinyerp.com-20121129085358-hcwy1bzy31g4zbed
2012-11-29 14:23:58 +05:30
Launchpad Translations on behalf of openerp 098ac4cf11 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121129051337-kimflvqgnkhrw3fh
2012-11-29 05:13:37 +00:00
Divyesh Makwana (Open ERP) 591050a943 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121129042711-not0us62x2p681fj
2012-11-29 09:57:11 +05:30
Christophe Simonis e03f111704 [FIX] module: do not recreate categories when updating modules
bzr revid: chs@openerp.com-20121128183701-6d7p1jqu1hdlshcp
2012-11-28 19:37:01 +01:00
Thibault Delavallée 47fda82264 [FIX] expression.parse: fixed indentation error preventing leafs to be correctly replaced in auto_join.
bzr revid: tde@openerp.com-20121128181258-cgmm7wqgv657iptb
2012-11-28 19:12:58 +01:00
Fabien Meghazi 69a09cc2fb [FIX] Ensure timzone is unset before testing
bzr revid: fme@openerp.com-20121128174318-wg0oygtj3eipozp2
2012-11-28 18:43:18 +01:00
Fabien Meghazi be019ae11f [ADD] Timezone set to 'Europe/Brussels' for admin in demo data
bzr revid: fme@openerp.com-20121128164858-l7as9cb89qxopdw1
2012-11-28 17:48:58 +01:00
Antony Lesuisse 299d98ac6e [MERGE] res.users get_context add timezone offset
bzr revid: al@openerp.com-20121128155922-ff67gskivujvx2qa
2012-11-28 16:59:22 +01:00
Thibault Delavallée 2f16bf4b56 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128155236-o3zvpj5aqkmimrn7
2012-11-28 16:52:36 +01:00
Vo Minh Thu adc4c256f9 [MERGE] wkf_expr: Ignore empty lines and lines with blanks.
bzr revid: vmt@openerp.com-20121128155153-yigjipqvk06s7wo2
2012-11-28 16:51:53 +01:00
Olivier Dony 080fe746f5 [FIX] db.drop service: PostgreSQL 9.2 renamed pg_stat_activity.procpid to pid
bzr revid: odo@openerp.com-20121128153423-yducsjb91g8kjcae
2012-11-28 16:34:23 +01:00
Vo Minh Thu fc2f4ab8a4 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121128151352-n9r87jn5tff949ka
2012-11-28 16:13:52 +01:00
Vo Minh Thu 63de663ece [IMP] wkf_expr: Ignore empty lines and lines with blanks.
bzr revid: vmt@openerp.com-20121128150637-pikxf9tw2nj0qpuk
2012-11-28 16:06:37 +01:00
Vo Minh Thu 7221faf3ee [MERGE] modules: avoid to have the docutils warnings rendered inline in descriptions.
bzr revid: vmt@openerp.com-20121128143351-jp1vtqnkr8jyq3hk
2012-11-28 15:33:51 +01:00
Vo Minh Thu f12d2903c1 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121128141845-085lqy5c604nd5lu
2012-11-28 15:18:45 +01:00
Vo Minh Thu 79eee180ea [FIX] The previous merge killed a line.
bzr revid: vmt@openerp.com-20121128141202-jncwohi169luyz0l
2012-11-28 15:12:02 +01:00
Thibault Delavallée a853b9f2ad [TEST] Added some tests about the _auto_join feature.
bzr revid: tde@openerp.com-20121128140042-4r58wnzahk0io3lw
2012-11-28 15:00:42 +01:00
Vo Minh Thu 3f56350779 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121128135101-ko52od4hpngc9btz
2012-11-28 14:51:01 +01:00
Thibault Delavallée 4be660369d [DOC] ir_ui_menu: added some comments to the methods related to needaction.
bzr revid: tde@openerp.com-20121128110428-lebsx4s3zlmgdhxj
2012-11-28 12:04:28 +01:00
Thibault Delavallée e5887f2183 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128095111-0p1p6jcb6ttgqzh4
2012-11-28 10:51:11 +01:00
Thibault Delavallée ac587f68fe [IMP] expression.py: added support of _auto_join in parse. The purpose is to add join clauses to queries instead of replacing many2one or one2many fields by id in ... equivalent leafs. This should lessen the number of executed queries, as well as the time required for some queries like mailboxes queries. Updated the generation of full table aliases when generating SQL, to avoid having a table having it own name as alias.
bzr revid: tde@openerp.com-20121128095042-x5rzgwydv0g9uy0m
2012-11-28 10:50:42 +01:00
Thibault Delavallée 0544565a57 [REV] ir_ui_menu: temporarily set needaction_enabled column back to non-stored, to be able to use the branch on internal test database with needaction, without requiring too many hand-made modifications.
bzr revid: tde@openerp.com-20121128094234-ux06ludum7ub59u5
2012-11-28 10:42:34 +01:00
Launchpad Translations on behalf of openerp 3c92e1f62b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121128044032-avm584dzac8w8wf3
2012-11-28 04:40:32 +00:00
Divyesh Makwana (Open ERP) 6b13002e04 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121128042307-b2ukazq07mdzgp02
2012-11-28 09:53:07 +05:30
Fabien Pinckaers 432715b184 [IMP] category -> tag
bzr revid: fp@openerp.com-20121127221111-vbguuof91pjri4nr
2012-11-27 23:11:11 +01:00
Fabien Pinckaers fdabe41ed7 [IMP] Hidden -> Technical Settings
bzr revid: fp@openerp.com-20121127212707-evwe56zhgie621mt
2012-11-27 22:27:07 +01:00
Fabien Pinckaers d5d270e9a3 [IMP] ir.rule better filters
bzr revid: fp@openerp.com-20121127210609-zp7c3c071mwunqx3
2012-11-27 22:06:09 +01:00
Thibault Delavallée 9b196638cb [IMP] expression: replaced field paths now use an alias.field leaf style to prepare the inclusion of joins. In leaf_to_sql, handle this case accordingly.
bzr revid: tde@openerp.com-20121127170117-qlhfs0r1ned5uz3c
2012-11-27 18:01:17 +01:00
Thibault Delavallée 873d6cd5b1 [CLEAN] expression.py: self.__exp -> self.exp, because too much underscores kill my eyes. Added a bit of comments. Please note that the behavior has still not changed.
bzr revid: tde@openerp.com-20121127164531-hbsyhshmefdw0f93
2012-11-27 17:45:31 +01:00
Thibault Delavallée 07f26441bb [IMP] expression.parse: improved code about extracting inherits\'d fields. I do not like while True statements, I prefer having a clear condition. Behavior should still be the same as before.
bzr revid: tde@openerp.com-20121127163758-tddhbglygcbkvzed
2012-11-27 17:37:58 +01:00
Thibault Delavallée 48138c9d26 [IMP] [DOC] expression.py: renamed field_obj to relational_table, that make more sens to me. Added comments in the code to understand the algorithm. Please note that currently, no logic has been altered.
bzr revid: tde@openerp.com-20121127163014-5ww5mre6j7opmzp1
2012-11-27 17:30:14 +01:00
Thibault Delavallée 53efed664d [IMP] expression.py: _leaf_to_sql now uses a table_alias instead of table._table for query generation. Currently table_alias equals table._table, so the behavior has not changed.
bzr revid: tde@openerp.com-20121127161354-fskwsmfvx3j8nto6
2012-11-27 17:13:54 +01:00
Thibault Delavallée 8163c0027b [IMP] [TEST] orm: updated order_by generation by adding the root table name to the order by condition generated based on self._order. Added a mockup of where_calc in test_expression, to be able to track generated Query objects. Added a first test on a one2many query, to track current behavior.
bzr revid: tde@openerp.com-20121127160627-qs1tupvgr8ypexoo
2012-11-27 17:06:27 +01:00
Thibault Delavallée 1bda6f44db [ADD] fields.py: added _auto_join attribute. This attribute will be used to automatically generate join queries, instead of doing sub-queries returning an 'id in' domain.
bzr revid: tde@openerp.com-20121127153432-3ttqm8pmgk3l7a77
2012-11-27 16:34:32 +01:00
Thibault Delavallée e147a5483f [CLEAN] expression.py: table_aliases now holds a list of aliases (names), and table_aliases_mapping does the mapping between a name and a table. The parsing algorithm now uses some accessors instead of directly accessing the data structures.
bzr revid: tde@openerp.com-20121127151113-zregov1i2isoll9z
2012-11-27 16:11:13 +01:00
Thibault Delavallée c1c5a85231 [CLEAN] expression.py: renamed some variables of expression; cleaned a bit the coding style (mainly spaces after commas).
bzr revid: tde@openerp.com-20121127150159-su9x00m7tc8tc6dj
2012-11-27 16:01:59 +01:00
Thibault Delavallée 6c453fe404 [IMP] Needaction: couters are not counter with the menu anymore.
Server-side: removed needaction_counter field on menys.
Added get_needaction_data method that calculates the needaction counters.
Added a limit on needaction, because this allows to limitate the search without impacting the
result (having 2386 unread entries or 99+ is basically equivalent).

bzr revid: tde@openerp.com-20121127143137-k152ail3m2trlobl
2012-11-27 15:31:37 +01:00
Hardik 3b5d70bf3b [IMP]Settings : view type and action typefield is select
bzr revid: hsa@tinyerp.com-20121127073012-f97e468x17mzzy1w
2012-11-27 13:00:12 +05:30
Launchpad Translations on behalf of openerp 94e0fad1a8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121127052250-spgrbo174dwp94rp
2012-11-27 05:22:50 +00:00
Antony Lesuisse 32e98d70ad [MERGE] trunk-minimal-bin-chs move openerp-server to cli/server needed by apps
and paving the way for for future independent subcommands.

bzr revid: al@openerp.com-20121127013558-wkfaam8ams81qql4
2012-11-27 02:35:58 +01:00
Antony Lesuisse 780ff72e6b openerp apps add Help
bzr revid: al@openerp.com-20121127010941-izoo14ms0ryf1f13
2012-11-27 02:09:41 +01:00
Antony Lesuisse e36c474bde openerp apps abstract Command fix
bzr revid: al@openerp.com-20121127010129-l0h604dla7hc7abd
2012-11-27 02:01:29 +01:00
Antony Lesuisse 13cdc34b65 openerp apps main moved to cli ready for new commands
bzr revid: al@openerp.com-20121127005513-vi9viu4oafbrze6y
2012-11-27 01:55:13 +01:00
Fabien Pinckaers 9f0e0cb0dd [IMP] small improvement translation tree view
bzr revid: fp@tinyerp.com-20121126215826-uw4gn2o4m9klz9ny
2012-11-26 22:58:26 +01:00
Fabien Pinckaers 6740c05cc4 [IMP] typo
bzr revid: fp@tinyerp.com-20121126215347-cd9vxrpmfjsv1kx9
2012-11-26 22:53:47 +01:00
Fabien Pinckaers 129036ecc6 [FIX] size of company logo
bzr revid: fp@tinyerp.com-20121126214230-g4pb51v673la568i
2012-11-26 22:42:30 +01:00
Fabien Pinckaers 76680074cb [IMP] removed unused code
bzr revid: fp@tinyerp.com-20121126190356-1mfgmx5r6ls6md22
2012-11-26 20:03:56 +01:00
Fabien Pinckaers c603f69386 [FIX] better error message in sequences
bzr revid: fp@tinyerp.com-20121126185853-yq2aackwdi3fw1a5
2012-11-26 19:58:53 +01:00
Olivier Dony 7f5ad72429 [MERGE] Forward-port 6.1 bugfixes up to rev. 4307
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj

bzr revid: odo@openerp.com-20121126160320-t2suuik6lhk6wl0x
bzr revid: odo@openerp.com-20121126161836-mv8yymzgbnmif4ve
bzr revid: odo@openerp.com-20121126162023-ejvsapwouyudw6c6
bzr revid: odo@openerp.com-20121126181527-d4yx15372bis77qj
2012-11-26 19:15:27 +01:00
Launchpad Translations on behalf of openerp c5824190e2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121010053442-5dvlywts67whb0ga
bzr revid: launchpad_translations_on_behalf_of_openerp-20121011053848-xqvo133zqvi6lav0
bzr revid: launchpad_translations_on_behalf_of_openerp-20121020053602-ib4mxsnam8rmslwj
bzr revid: launchpad_translations_on_behalf_of_openerp-20121021051008-n90veedpesnq94kx
bzr revid: launchpad_translations_on_behalf_of_openerp-20121023051729-8sjake0lr1n26gxd
bzr revid: launchpad_translations_on_behalf_of_openerp-20121024054328-tp860moj6mqdg1b7
bzr revid: launchpad_translations_on_behalf_of_openerp-20121025061203-p8y91n88mjy76e9m
bzr revid: launchpad_translations_on_behalf_of_openerp-20121027052314-f90bsceov9k01rqp
bzr revid: launchpad_translations_on_behalf_of_openerp-20121030055204-436euno3dyza0p51
bzr revid: launchpad_translations_on_behalf_of_openerp-20121109050503-mgrl8ocesd906vih
bzr revid: launchpad_translations_on_behalf_of_openerp-20121110052352-q4ujvcidu3nsfyrr
bzr revid: launchpad_translations_on_behalf_of_openerp-20121113055159-xzfhilmz3obc6fpc
bzr revid: launchpad_translations_on_behalf_of_openerp-20121115051725-iaic04wbgacpg324
bzr revid: launchpad_translations_on_behalf_of_openerp-20121116045651-sy1d9dbnwr8rmqxk
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119045933-ye2fj8s7tgirpibs
bzr revid: launchpad_translations_on_behalf_of_openerp-20121120051613-y75z34zsi45o98a5
bzr revid: launchpad_translations_on_behalf_of_openerp-20121121051212-nag94lh830sf0ixh
bzr revid: launchpad_translations_on_behalf_of_openerp-20121123052604-2w9jju4zbyx5j5yj
bzr revid: launchpad_translations_on_behalf_of_openerp-20121124073818-jo09nfrzfth6mve8
bzr revid: launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130053149-vyzcs1s3vqn0qstn
bzr revid: launchpad_translations_on_behalf_of_openerp-20121203044916-t7h4npvt2hzv5sk1
2012-12-03 04:49:16 +00:00
Vo Minh Thu 753a426db7 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121126162554-8ed0np4b4d3fywmj
2012-11-26 17:25:54 +01:00
Quentin (OpenERP) c78d16d49e [FIX] base, res.partner.view: remove duplicated invisible attribute that was totally hiding the 'type' field
bzr revid: qdp-launchpad@openerp.com-20121126145408-dq7utnmitpeaymn1
2012-11-26 15:54:08 +01:00
Khushboo Bhatt (Open ERP) c1d8f3e405 [FIX]traceback issue for sequence 0
bzr revid: kbh@tinyerp.com-20121126094337-tfo6pvv2n6e9c1xt
2012-11-26 15:13:37 +05:30
Jalpesh Patel (OpenERP) fbcedd51ac [IMP] fix problem of Settings/ Database Structure/ Models: Create new model and in Field tab, Add item click on Serialization field it's given trace back
bzr revid: pja@tinyerp.com-20121126084516-3ll6xqaq3pf1al4m
2012-11-26 14:15:16 +05:30
Fabien Pinckaers cd9f7171d0 [IMP] revert improt add
bzr revid: fp@tinyerp.com-20121126072147-mvmrwn86zzlxflgz
2012-11-26 08:21:47 +01:00
Fabien Pinckaers c27c050fa8 [IMP] RNG improved
bzr revid: fp@tinyerp.com-20121126071232-hzud6xiwai1jq28g
2012-11-26 08:12:32 +01:00
Jigar Amin 3d7fd2453d [MERGE] Sync with trunk
bzr revid: jam@tinyerp.com-20121123091001-x6nxtuhc05dezcfc
bzr revid: jam@tinyerp.com-20121126045850-skithpxlx3xi0dyb
2012-11-26 10:28:50 +05:30
Divyesh Makwana (Open ERP) b049de2bec [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121122043710-9e002b2o0oc7semk
bzr revid: mdi@tinyerp.com-20121123044245-djsn1r0i031sosu0
bzr revid: mdi@tinyerp.com-20121126044756-nisc5ofd1gp2ggpu
2012-11-26 10:17:56 +05:30
Launchpad Translations on behalf of openerp 54ada97987 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121125053438-8hijfovuz507o4o4
bzr revid: launchpad_translations_on_behalf_of_openerp-20121126044034-nsi7uoox0my0qxsz
2012-11-26 04:40:34 +00:00
Fabien Pinckaers 2a7a50dd3f [IMP] useability currencies name_get only return name
bzr revid: fp@tinyerp.com-20121124175433-0fro2ufrs3b9feev
2012-11-24 18:54:33 +01:00
Launchpad Translations on behalf of openerp 117bf937b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121124055830-p04ni2o2ogsch9zc
bzr revid: launchpad_translations_on_behalf_of_openerp-20121124065500-zwtkurcb1ic9ktqb
bzr revid: launchpad_translations_on_behalf_of_openerp-20121124070752-itto1xb6r6oao3z5
2012-11-24 07:07:52 +00:00
Olivier Dony 5180209015 [I18N] Update `base` translation template in preparation for 7.0 release
bzr revid: odo@openerp.com-20121124030840-rgyfh8j33s60aipc
2012-11-24 04:08:40 +01:00
Olivier Dony 0293ce4f64 [FIX] translate: skip XML comments when extracting terms from views
bzr revid: odo@openerp.com-20121124025622-mb7t7q7wgb7gu8y6
2012-11-24 03:56:22 +01:00
Olivier Dony 760457a09a [FIX] base.export.lang: properly return action to second step, now that web bug has been fixed
bzr revid: odo@openerp.com-20121124023226-67mbjw0cvzvkbrxy
2012-11-24 03:32:26 +01:00
Olivier Dony a23fcfb1e8 [IMP] translate: ignore 0-1 letter terms during terms export + catch and log babel extractor exceptions with filename
bzr revid: odo@openerp.com-20121123235130-euhbx6zqs5118472
2012-11-24 00:51:30 +01:00
Olivier Dony 28062933d0 [FIX] translation export: added missing translation function `_lt` for javascript source files
bzr revid: odo@openerp.com-20121123164604-xhs2247xu4oh774q
2012-11-23 17:46:04 +01:00
Saurang Suthar 19b33beb66 [MERGE]: Merged lp:~openerp-dev/openobject-server/trunk-fgi-project-kbh
bzr revid: ssu@tinyerp.com-20121123133218-r6obw4y08vxoedxm
2012-11-23 19:02:18 +05:30
Christophe Simonis a9094cc3ce [IMP] move main script into openerp dir
bzr revid: chs@openerp.com-20121123105120-m1h2uiwk8baa8kin
2012-11-23 11:51:20 +01:00
Khushboo Bhatt (Open ERP) 1e1dc49126 [IMP/MERGE]merge HSA branch with minor changes.
bzr revid: kbh@tinyerp.com-20121123101028-1v8rxbphfk8l15o2
2012-11-23 15:40:28 +05:30
Hardik 3111962858 [IMP]In sequencea when enter 0 in increment number field, it should raised error
bzr revid: hsa@tinyerp.com-20121123093315-v645vyqanm80q5xb
2012-11-23 15:03:15 +05:30
Hiral Patel (OpenERP) bc63b42c04 [IMP] Change string of Search Category to Search Tag
bzr revid: hip@tinyerp.com-20121123064910-406cfczq3ftb93z2
2012-11-23 12:19:10 +05:30
Antony Lesuisse f5254e03ff [FIX] res.users last_login typodowan
bzr revid: al@openerp.com-20121122221200-2ut9pdc3z40b26r1
2012-11-22 23:12:00 +01:00
Fabien Meghazi 0615c9faaf [FIX] lang on res.users is still used
bzr revid: fme@openerp.com-20121122152159-a9lxb4fwn8qkvsvt
2012-11-22 16:21:59 +01:00
Fabien Meghazi ee8894d509 [ADD] Add tz_offset function field in res.partner and set it in user's context
bzr revid: fme@openerp.com-20121122151458-hvtrwogldt69djss
2012-11-22 16:14:58 +01:00
Fabien Meghazi b629963f24 [REM] Removed unused fields from base.sql
bzr revid: fme@openerp.com-20121122151425-fr8o1v587vgmnf5f
2012-11-22 16:14:25 +01:00
Khushboo Bhatt (Open ERP) 899ccd1f04 [IMP]Base:string changed
bzr revid: kbh@tinyerp.com-20121122132418-59o5he9rjur5dw2g
2012-11-22 18:54:18 +05:30
Arnaud Pineux 16203707c3 [IMP] change order for top menu item sequence number
bzr revid: api@openerp.com-20121122082630-ujk49g77z1mb8gqg
2012-11-22 09:26:30 +01:00
Vo Minh Thu dc3d462b9f [IMP] test_search: comment typos.
bzr revid: vmt@openerp.com-20121121143159-mppc6s7rezpwc3hx
2012-11-21 15:31:59 +01:00
RGA(OpenERP) ab35954eae [fix] change approriate variable name
bzr revid: rgaopenerp-20121121131328-sil5bbznc6y1lh6e
2012-11-21 18:43:28 +05:30
Quentin (OpenERP) 18b7592b8d [FIX] osv/orm: fixed the use of 'order' argument given to a search function in order to allow to order by 'ID DESC' and by '<another valid order> + ID ASC/DESC'
bzr revid: qdp-launchpad@openerp.com-20121121130736-guj7np9nk65zx3o1
2012-11-21 14:07:36 +01:00
Quentin (OpenERP) b4742249b4 [FIX] base: test_search, invalid use of search criterion 'active in (True, False)' replaced by 'active is True OR active is False'
bzr revid: qdp-launchpad@openerp.com-20121121125347-hsihsibwz0igp03r
2012-11-21 13:53:47 +01:00
Quentin (OpenERP) d0b4d040e1 [FIX] base: fixed syntax errors and test import of test_search python test
bzr revid: qdp-launchpad@openerp.com-20121121122106-4mrnlw4z01np21dq
2012-11-21 13:21:06 +01:00
Quentin (OpenERP) 72014c4109 [ADD] base: added python test on the search() method
bzr revid: qdp-launchpad@openerp.com-20121121114557-5swzfuisp2apttd5
2012-11-21 12:45:57 +01:00
Divyesh Makwana (Open ERP) dee3985c82 [Merge] Merge the Settings section.
bzr revid: mdi@tinyerp.com-20121121112653-8mk1yth1fy54leiz
2012-11-21 16:56:53 +05:30
Divyesh Makwana (Open ERP) 0891a44eb3 [FIX] : AttributeError: 'NoneType' object has no attribute 'fields_view_get'.
bzr revid: mdi@tinyerp.com-20121121110803-i017zsdfmp3nyhwx
2012-11-21 16:38:03 +05:30
Fabien Meghazi df5287b077 [IMP] tools/mail: html_email_clean() roudtrips falsy values
bzr revid: fme@openerp.com-20121121081940-z4onugwqi7uxqvw3
2012-11-21 09:19:40 +01:00
Divyesh Makwana (Open ERP) e4bb420d43 [IMP] Modules list view : create = false (should not have a button to create modules).
bzr revid: mdi@tinyerp.com-20121121072422-9c2q9bv1u0s8ff3f
2012-11-21 12:54:22 +05:30
Turkesh Patel (Open ERP) 16a5675fbe [IMP] improved typo.
bzr revid: tpa@tinyerp.com-20121121072240-wzj3rujgzf63s6fc
2012-11-21 12:52:40 +05:30
Turkesh Patel (Open ERP) 72a4ccff72 [IMP] add filter for create and delete access in serch view of record rules.
bzr revid: tpa@tinyerp.com-20121121063248-41j8t56wc17hiw7f
2012-11-21 12:02:48 +05:30
RGA(OpenERP) 0806190054 [IMP] add exception message on deletion of partner if there is any related user existed
bzr revid: rgaopenerp-20121121062307-ppqfjdzlk6p95e51
2012-11-21 11:53:07 +05:30
RGA(OpenERP) 3fd4adbc5e Merge with trunk
bzr revid: rgaopenerp-20121121054804-6n8o1r0sr1f7cbvc
2012-11-21 11:18:04 +05:30
RGA(OpenERP) 9b54de9c87 [REV] remove last commit of exception message
bzr revid: rgaopenerp-20121121054543-urly4lk6vk62gd9l
2012-11-21 11:15:43 +05:30
Divyesh Makwana (Open ERP) d7ebb89a81 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121121045232-kxqjlguqkcalhv8y
2012-11-21 10:22:32 +05:30
Launchpad Translations on behalf of openerp 3eb3d5bb6b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121121044755-oo3gvj8xlcswn1xq
2012-11-21 04:47:55 +00:00
Christophe Matthieu 5bbce53e35 [FIX] tools mail : html_email_clean
bzr revid: chm@openerp.com-20121120154217-4ewxir45q1wtjoax
2012-11-20 16:42:17 +01:00
Christophe Matthieu 50f09660fb [FIX] tools mail: html_email_clean return False (standard OpenERP) if the param is False
bzr revid: chm@openerp.com-20121120134001-ivw9dqxha2du70o6
2012-11-20 14:40:01 +01:00
Olivier Dony caa51abb34 [MERGE] fields_view_get: avoid messing up selection fields' _domain attributes, courtesy of Stefan Rijnhart (Therp)
lp bug: https://launchpad.net/bugs/1081092 fixed

bzr revid: odo@openerp.com-20121120132230-7xb6d2xxwcgn7ipn
2012-11-20 14:22:30 +01:00
Olivier Dony f0ef9bda04 [IMP] Model.default_get: allows setting user default values of x2m to False (for consistency with write())
bzr revid: odo@openerp.com-20121120131839-1kdzevubi74ibthy
2012-11-20 14:18:39 +01:00
Olivier Dony 4f58796e38 [IMP] res.users: avoid spurious warnings when last login date cannot be updated
bzr revid: odo@openerp.com-20121120131610-v0xwu5zsbmxwvcwe
2012-11-20 14:16:10 +01:00
Stefan Rijnhart d924cec182 [FIX] Append view domain (in case of selection widget) to a copy of the field's domain
lp bug: https://launchpad.net/bugs/1081092 fixed

bzr revid: stefan@therp.nl-20121120121936-8b1wiho0q96ckeqk
2012-11-20 13:19:36 +01:00
Ajay Chauhan (OpenERP) 32940e1e68 [FIX] solve issue when try to cancel lead with salesman rights
bzr revid: cha@tinyerp.com-20121120101603-jacb6t6u0zlo2r0d
2012-11-20 15:46:03 +05:30
Christophe Matthieu ceefb58670 [IMP] tools mail: remove one line test (double)
bzr revid: chm@openerp.com-20121120100225-it12j6qgxjn3ilbg
2012-11-20 11:02:25 +01:00
ajay javiya (OpenERP) d1a5526035 [FIX]:Fix customer, delete the contact Administrator
bzr revid: aja@tinyerp.com-20121120095553-eqy877z8qrodhsua
2012-11-20 15:25:53 +05:30
Thibault Delavallée 8520f45315 [MOV] admin and demo avatars: moved from mail to server.
bzr revid: tde@openerp.com-20121120091831-ja4zv52q1l8burs7
2012-11-20 10:18:31 +01:00
Tejas Tank 8f65d3dc4e Merged Latest.
bzr revid: tta@openerp.com-20121120084251-0iurdma6gf2h2p2e
2012-11-20 14:12:51 +05:30
Launchpad Translations on behalf of openerp a792b03064 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121120045120-19bxfsgj0kx6nbld
2012-11-20 04:51:20 +00:00
Christophe Matthieu f8a44b2bac [FIX] tools.mail: html_email_clean test type and value of empty value
bzr revid: chm@openerp.com-20121119152615-sazfnlc5uwiw0ut9
2012-11-19 16:26:15 +01:00
Christophe Matthieu a4b831e3ed [FIX] tools.mail: html_email_clean test type of empty value
bzr revid: chm@openerp.com-20121119152446-w1z1vuhfk631h0ko
2012-11-19 16:24:46 +01:00
Christophe Matthieu b4dc178588 [IMP] tools.mail: add a test for html_email_clean function, if empty string
bzr revid: chm@openerp.com-20121119151739-vcofz0abk7i71b3l
2012-11-19 16:17:39 +01:00
RGA(OpenERP) 01174cd211 add exception on deletion of partner
bzr revid: rgaopenerp-20121119125917-eourqspwm19zsrd3
2012-11-19 18:29:17 +05:30
Raphael Collet 6bbac26ffb [IMP] ir_confir_parameter: add parameter 'force' in method 'init' to reinitialize existing parameters
This is useful when creating a new database from a dump (reinitialize database.uuid, etc.)

bzr revid: rco@openerp.com-20121119110206-la2yaohf7wmi9yx2
2012-11-19 12:02:06 +01:00
Christophe Matthieu e9a1f9f5a7 [FIX] tools mail: html_email_clean return an empty string if the are no value
bzr revid: chm@openerp.com-20121119105330-2kud8vp18gp15u9e
2012-11-19 11:53:30 +01:00
Sanjay Gohel (Open ERP) 8eb434cf5c [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121119104656-3ikg8ihqlkmzhtul
2012-11-19 16:16:56 +05:30
Christophe Matthieu 248f81277f [FIX] fields.html: behave as fields.text for empty values: store NULL
bzr revid: chm@openerp.com-20121119104332-bqm81nuik6pqsbf9
2012-11-19 11:43:32 +01:00
RGA(OpenERP) 7c1bd780b6 Merge with trunk
bzr revid: rgaopenerp-20121119063259-o6l95im4xvm6umdv
2012-11-19 12:02:59 +05:30
RGA(OpenERP) 9edcf62112 Merge with turnk
bzr revid: rgaopenerp-20121119054725-4bfc90t8eyre6xip
2012-11-19 11:17:25 +05:30
Launchpad Translations on behalf of openerp caa54bb76f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043724-mjkn4taco62obn62
2012-11-19 04:37:24 +00:00
Vo Minh Thu eafc8fb4d3 [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141502-v1z8w86o0bczgsk3
2012-11-16 15:15:02 +01:00
Vo Minh Thu 35ec3e6d5b [IMP] test_limits/test_uninstall: added access rules.
bzr revid: vmt@openerp.com-20121116131439-y14dekyogidxymof
2012-11-16 14:14:39 +01:00
Vo Minh Thu 8846c8e67b [IMP] test_exceptions/test_impex: added access rules.
bzr revid: vmt@openerp.com-20121116100505-9uakbl4klbkaz95k
2012-11-16 11:05:05 +01:00
Vo Minh Thu 7c33378557 [IMP] loading: the warning about access rights give an example that can be copied.
bzr revid: vmt@openerp.com-20121115160611-9dkyx82d94pve2rx
2012-11-15 17:06:11 +01:00
Vo Minh Thu 147fae832a [FIX] test_db_cursor: explicitely close the cursor (without relying on __del__).
bzr revid: vmt@openerp.com-20121115123937-keq4eb2a3n85x0rv
2012-11-15 13:39:37 +01:00
Vo Minh Thu 08a2115754 [IMP] removing some warnings (those one are generated by tests).
bzr revid: vmt@openerp.com-20121115115759-toz6g9jcephwxmin
2012-11-15 12:57:59 +01:00
Thibault Delavallée 29e0ab965f [IMP] res_users: removed hack about redirecting the fields view get. Added a simplified contact form the the user, used for example when viewing a salesman profile.
bzr revid: tde@openerp.com-20121115103412-jl0o40t8d3d76ysd
2012-11-15 11:34:12 +01:00
Thibault Delavallée f0569f7133 [MERGE] Tools: mail.py: (E)Mail management
Refactored a bit openerp/tools about (e)mails and html.
- moved some (e)mail related functions from misc to mail
- moved html_sanitizer into mail
- added html_email_clean, to clean incoming emails (remove quotes, signature)
- added a plaintext2html function, to convert plaintext into html (\n and \r are replaced by <br/>, more than two <br/> are replaced by end and beginning of paragraphs)
- append_content_to_html now uses plaintext2html, according to some new flags
- added tests for html_email_clean, plaintext2html, updated test for append_content_to_html, html_sanitize

bzr revid: tde@openerp.com-20121114150442-4rpfdy9spm1ig0qw
2012-11-14 16:04:42 +01:00
Thibault Delavallée 23743683ea [IMP] tools: html_email_clean: a bit more robust.
bzr revid: tde@openerp.com-20121114141452-n5jy3yzbmlbd3811
2012-11-14 15:14:52 +01:00
Thibault Delavallée 8e15ab0dff [FIX] Typo in tests.
bzr revid: tde@openerp.com-20121114135159-nouaj72drtot5hiv
2012-11-14 14:51:59 +01:00
Vo Minh Thu 6fe4d55251 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114123943-oh8f0ni1e2itj1os
2012-11-14 13:39:43 +01:00
Vo Minh Thu 136363aff3 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114113507-o73jwcdow07daoho
2012-11-14 12:35:07 +01:00
Vo Minh Thu 7dcb31bcde [IMP] duplicate_database: better logging.
bzr revid: vmt@openerp.com-20121114112521-g9q2n88ql9qwvlum
2012-11-14 12:25:21 +01:00
Thibault Delavallée 8b5a7c49a4 [REM] osv: removed temporary override of raise, added for debug purpose.
bzr revid: tde@openerp.com-20121114112021-trre94clvs8nuo43
2012-11-14 12:20:21 +01:00
niv-openerp 44bdf27363 [FIX] temporarily disabled a hack on res.users to use the partners view because it made a lot of views crash
bzr revid: nicolas.vanhoren@openerp.com-20121114110558-lylif3w917pjeu3y
2012-11-14 12:05:58 +01:00
Thibault Delavallée cbf3c82e88 [IMP] tools: added a true test for html_sanitize, some function renaming.
bzr revid: tde@openerp.com-20121114103849-hbxni04dpog1fxju
2012-11-14 11:38:49 +01:00
Thibault Delavallée 7508a5c724 [CLEAN] html_email_clean: cleaned a bit the code.
bzr revid: tde@openerp.com-20121114103817-t19i2sv817jsur41
2012-11-14 11:38:17 +01:00
Vo Minh Thu 45f8c4adb7 [IMP] loading.py: be a bit more explicit about valid/invalid data/test files.
bzr revid: vmt@openerp.com-20121114103140-y0k40eb525ak99v1
2012-11-14 11:31:40 +01:00
Thibault Delavallée e2e94513f7 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121114083822-v5zjlspvkhacj4fo
2012-11-14 09:38:22 +01:00
Launchpad Translations on behalf of openerp 0fb44bd06c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121114044031-2vwgqs6jlwz2c8oe
2012-11-14 04:40:31 +00:00
Thibault Delavallée 3668f00ad1 [FIX] tools: image: trying to fix the error about converting palette image.
bzr revid: tde@openerp.com-20121113143835-1j8t9azqcrskijq7
2012-11-13 15:38:35 +01:00
Thibault Delavallée d36f972f96 [REV] tools: image: reverted changes introduced at rev 4440. The purpose of image_resize is to resize an image, without cropping, without aspect ratio changes. If another image management function is needed, please implement a new one with matching comments and behavior.
bzr revid: tde@openerp.com-20121113141752-1rbsais66ooi89jp
2012-11-13 15:17:52 +01:00
Launchpad Translations on behalf of openerp 4d51fd1c02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121113051658-s3j4n5kom54a2wex
2012-11-13 05:16:58 +00:00
Thibault Delavallée d52fdd0ab3 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112160536-63tx1u3c6yr2u8x9
2012-11-12 17:05:36 +01:00
Olivier Dony 2a1381a8af [FIX] orm: make sure superuser mode always bypasses access rules filtering - one case was not covered after recent refactoring
Caused by refactoring in rev.4200
revid:odo@openerp.com-20120618094327

bzr revid: odo@openerp.com-20121112120453-axiul7k6y0o67hgb
2012-11-12 13:04:53 +01:00
Harry (OpenERP) 856ad87cd8 [MEGRE]
bzr revid: hmo@tinyerp.com-20121112092431-s3tn8i06y98o5gk7
2012-11-12 14:54:31 +05:30
Xavier Morel be03940d64 [FIX] temperate error message in case of missing required field
The message worked (ish) for a missing field directly on the model,
but completely broke if the missing field was on an o2m and had the
same name as a field on the model, then it was complete
misinformation.

bzr revid: xmo@openerp.com-20121112084804-zcgtpml3a19uv909
2012-11-12 09:48:04 +01:00
Xavier Morel 35c44e7e20 [IMP] savepoint rollbacks after error transformation/logging of pg errors to still have original query on cursor
bzr revid: xmo@openerp.com-20121112084202-4nl94x2omlb4w2jr
2012-11-12 09:42:02 +01:00