Commit Graph

4410 Commits

Author SHA1 Message Date
Thibault Delavallée 9381a82715 [IMP] Added an assert on the alias length.
bzr revid: tde@openerp.com-20121207160933-1ivbkkv6tgg5a7x3
2012-12-07 17:09:33 +01:00
Thibault Delavallée a786f8406b [REV] ir_ui_menu: coding-style changes reverted, because not necessary. Only a store=True on needaction_enabled is sufficient.
bzr revid: tde@openerp.com-20121207160539-6pqj932lvznxofd4
2012-12-07 17:05:39 +01:00
Thibault Delavallée 61a2a82174 [MERGE] Merged branch holding a proposal to solve the generate_order_by issue (see lp:1070757). As requested by Olivier Donny, this fix has been moved into generate_order_by. Deleted previous workaround done in this branch. Patch courtesy of Paulius Sladkevičius
bzr revid: tde@openerp.com-20121207155825-9bjvuxhyr0x937l7
2012-12-07 16:58:25 +01:00
Thibault Delavallée 50cf6d4008 [CLEAN] Query: cleaned a bit the code. All joins now goes through the same method, either implicit or explicit. Will have to be upgraded in future versions, but at least this is a bit centralized. Updated ORM accordingly. Updated tests. Added a get_alias_from_query method in expression that find the table and the alias from a 'full alias' statement.
bzr revid: tde@openerp.com-20121207154204-mx036lpj3vdclu77
2012-12-07 16:42:04 +01:00
Thibault Delavallée efc6e78d25 [IMP] [MOV] Moved test_osv and test_translate from unchecked test directory to tests, to be now effectively run. Updated test_osv to matche the new alias coding style.
bzr revid: tde@openerp.com-20121207142931-6ll5yduitdk3ijes
2012-12-07 15:29:31 +01:00
Thibault Delavallée 1ca2c45d41 [IMP] [TESTS] Cleaned and updated tests about order_by with inherits and m2o fields.
bzr revid: tde@openerp.com-20121207134946-h0p1em7iq80ux0js
2012-12-07 14:49:46 +01:00
Quentin (OpenERP) f491097220 [MERGE] part of addons 28: supplier field should be visible on res.partner
bzr revid: qdp-launchpad@openerp.com-20121207132256-t1m3ewgzmgjnz0dh
2012-12-07 14:22:56 +01:00
Thibault Delavallée 390ff1540f [CLEAN] expression.py: cleaned and added comments, var names (table -> model notably).
bzr revid: tde@openerp.com-20121207123727-md65da41863y827e
2012-12-07 13:37:27 +01:00
Thibault Delavallée e36b44e82f [IMP] [WIP] order_by: now using aliases in _generate_order_by, _generate_o2m_order_by, _inherits_join_add, ... added some tests. Next comits will clean a bit the code, because currently it is a bit messy.
bzr revid: tde@openerp.com-20121207115424-x8gkjcqpi8dz96g2
2012-12-07 12:54:24 +01:00
Christophe Simonis 393fbe787a merge upstream
bzr revid: chs@openerp.com-20121206101346-y29ofn540ihmbvtt
bzr revid: chs@openerp.com-20121207104259-xy72g0rs6sdqtroz
2012-12-07 11:42:59 +01:00
Tejas Tank ec9cf39e86 Merged Latest.
bzr revid: tta@openerp.com-20121207101428-lhfadcamzazbb682
2012-12-07 15:14:28 +05:00
Thibault Delavallée f810fb0526 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121207093350-kinvhwjzgrmif4d6
2012-12-07 10:33:50 +01:00
Launchpad Translations on behalf of openerp 595b9e2d85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121207043434-1dvo9j9slfscwdjt
2012-12-07 04:34:34 +00:00
Christophe CHAUVET 3d3534ca39 [IMP] Don't use WITH OIDS when create a table
lp bug: https://launchpad.net/bugs/1087332 fixed

bzr revid: christophe.chauvet@syleam.fr-20121206163711-5jvrhrg8w5le4zay
2012-12-06 17:37:11 +01:00
Thibault Delavallée d588388ae4 [IMP] [CLEAN] expression.parse: updated and cleaned a bit the tests. Removed print statements.
bzr revid: tde@openerp.com-20121206162219-n1c48dkjghc4nu63
2012-12-06 17:22:19 +01:00
Thibault Delavallée bb57752f0a [IMP] [CLEAN] [REVIEW] expression: udpated domain management. Added pop and push methods in parse to hide the internal plumbery. Cleaned some comments, deleted dead/unnecessary code, updated some comments. to_ids and childof_domain back in parse. Added generate_table_alias, method that should be used everywhere if possible when generating table name or aliases for sql conditions and things like that.
bzr revid: tde@openerp.com-20121206162128-1qol201os1xztlz5
2012-12-06 17:21:28 +01:00
Thibault Delavallée a0b8a58174 [IMP] [REVIEW] _auto_join on many2many now raises a NotImplementedError; added a test case for that.
bzr revid: tde@openerp.com-20121206092745-a8t62khs4x37db1g
2012-12-06 10:27:45 +01:00
Thibault Delavallée df4665fcd2 [IMP] [CLEAN] [REVIEW] field._properties -> isinstance(field, fields.function).
bzr revid: tde@openerp.com-20121206091648-vmy2ghr293reoxn6
2012-12-06 10:16:48 +01:00
Thibault Delavallée 3f34f24c02 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121206090241-vpbmp1fwd6gcddev
2012-12-06 10:02:41 +01:00
Sanjay Gohel (Open ERP) 5ebc11386e [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121129052848-97zzqhddp1tgenvp
bzr revid: sgo@tinyerp.com-20121204050625-5zu9xzsqtg5p56h9
bzr revid: sgo@tinyerp.com-20121205052033-01i94a3tun5umjyy
bzr revid: sgo@tinyerp.com-20121206044540-gici94fhwkx1nghh
2012-12-06 10:15:40 +05:30
Launchpad Translations on behalf of openerp 6fb47cf443 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121206043933-i6nbcy70edyb04ax
2012-12-06 04:39:33 +00:00
Christophe Simonis effec78db7 [FIX] correct reexecute. works for windows service
bzr revid: chs@openerp.com-20121205175630-6y8ul4ki13z0coyh
2012-12-05 18:56:30 +01:00
Christophe Simonis 84aa05b4cc [FIX] do not hardcode ids in tests
bzr revid: chs@openerp.com-20121205173733-t686x9m2yylp552w
2012-12-05 18:37:33 +01:00
Christophe Simonis 5483836f51 [FIX] do not hardcode ids in tests
bzr revid: chs@openerp.com-20121205171707-r073wdt2eza82qyt
2012-12-05 18:17:07 +01:00
Xavier Morel d65709f68b [IMP] simplify @profile implementation
bzr revid: xmo@openerp.com-20121205160847-8zc8of4grueusbl2
2012-12-05 17:08:47 +01:00
Antony Lesuisse f54055bda1 [IMP] ir_actions add a server action to run config wizards
bzr revid: al@openerp.com-20121205160015-lsst6j3218bn4usa
2012-12-05 17:00:15 +01:00
Christophe Simonis 097254fe00 [FIX] correct reexecute. works on windows
bzr revid: chs@openerp.com-20121205155209-aqra9rtvq11uq37d
2012-12-05 16:52:09 +01:00
Thibault Delavallée 02c200844c [CLEAN] Removed some forgotten print statements.
bzr revid: tde@openerp.com-20121205153535-lfs6yrokyk0wfm0w
2012-12-05 16:35:35 +01:00
Thibault Delavallée ea01dfe9dd [CLEAN] fields.py: added auto_join in one2many and many2one __init__, binded on _auto_join. Added some short explanations in fields.py about the attribute.
bzr revid: tde@openerp.com-20121205153410-07vo3j1c641xgmda
2012-12-05 16:34:10 +01:00
Christophe Simonis 69d057efc5 merge upstream
bzr revid: chs@openerp.com-20121201003326-j6n5r8juz16752j5
bzr revid: chs@openerp.com-20121204165557-u1oxocye3la4r6gf
bzr revid: chs@openerp.com-20121205143722-olswf8gsg8mhref3
2012-12-05 15:37:22 +01:00
Thibault Delavallée 37051bbe91 [FIX] needaction: returns a count-like result.
bzr revid: tde@openerp.com-20121205143238-xbna8akgqduap2t5
2012-12-05 15:32:38 +01:00
Christophe Simonis 8dbee5c473 [FIX] service/__init__.py: do not join() main thread
bzr revid: chs@openerp.com-20121205143222-vrasdnzhdtdr307c
2012-12-05 15:32:22 +01:00
Christophe Simonis f9d8d746e2 [FIX] netsvc.py: ignore ENOTCONN on windows when calling shutdown() on sockets
bzr revid: chs@openerp.com-20121205141106-0oynmc3qdvy58owu
2012-12-05 15:11:06 +01:00
Thibault Delavallée ae6f7b3a08 [IMP] ir_needaction: search is now without count but with a limit (to 100), and a simplified order by. This allows much faster queries as postgresql does not have to worry about order and things like that.
bzr revid: tde@openerp.com-20121205140726-z1o4ueclat7y96pl
2012-12-05 15:07:26 +01:00
Thibault Delavallée 003752f7f1 [REF] ir_ui_menu: needaction_enabled is now stored, because there are no reasons not to be (this is something mainly statically defined). needaction_counter is removed, but a method on the menu allows to have the information back, calling get_needaction_data. A web-side branch will call asynchronously this method with some menu ids, allowing to separate the menu loading from the needaction loading.
bzr revid: tde@openerp.com-20121205102052-pn1uwhrl9mn46c4x
2012-12-05 11:20:52 +01:00
Thibault Delavallée 1652bb1e83 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121205092215-g6a8fpxtd1fq3nwn
2012-12-05 10:22:15 +01:00
Vo Minh Thu 93ae934963 [ADD] added comment in _validate() explaining why the context is not passed around when calling _constraints functions.
bzr revid: vmt@openerp.com-20121205082840-2ww34gbs7nl56952
2012-12-05 09:28:40 +01:00
Launchpad Translations on behalf of openerp 43fe4eeed8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121205051850-of8z1b1xzvayuk9t
2012-12-05 05:18:50 +00:00
Thibault Delavallée a8359924c2 [IMP] expression.parse: added the support of domain on one2many fields when _auto_true is activated. Leaf creation from an existing leaf moved as a method in expression object. Added some comments. Added / updated some tests.
bzr revid: tde@openerp.com-20121204170744-rv8e0zlteqoyj60o
2012-12-04 18:07:44 +01:00
Arnaud Pineux 133d581273 [FIX] _register_hook & loader
lp bug: https://launchpad.net/bugs/944197 fixed

bzr revid: api@openerp.com-20121204161029-3gagt4lcci93g5lk
2012-12-04 17:10:29 +01:00
Vo Minh Thu a1e2fdb69c [MERGE] fix the serialized field domain in the model view.
bzr revid: vmt@openerp.com-20121204150004-lq8t7qgeimeskysf
2012-12-04 16:00:04 +01:00
Thibault Delavallée 52bd6459ef [REV] ir_ui_menu: needaction on menus back to their previous state (as in current trunk as ok 2012/12/04; another branch exist for speeding them up, this one is for improving the parsing.
bzr revid: tde@openerp.com-20121204145608-lah4uk40ok5litf0
2012-12-04 15:56:08 +01:00
Thibault Delavallée 9e6c2805ab [REF] [IMP] expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation and aliases generation, as well as working_table management to them. The main parsing loop is now a loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having while loops inside a main while loop with some weird corner effects.
bzr revid: tde@openerp.com-20121204142650-gkhmjdeu5upi25kp
2012-12-04 15:26:50 +01:00
Nimesh (Open ERP) 713a9e31fe [MERGE] merge with lp:openobject-server
bzr revid: nco@tinyerp.com-20121204120249-yvw89bih2ad94f3u
2012-12-04 17:32:49 +05:30
Olivier Dony b624267457 [FIX] translate,orm: remember local Model [_sql]_constraints, and keep only those when exporting translations
Previously all _*constraints leaked upstream and
downstream, and were duplicated in all the exported
terms for all modules inheriting from a given model.

bzr revid: odo@openerp.com-20121204082947-tdpiu71ryxzuredb
2012-12-04 09:29:47 +01:00
Thibault Delavallée 638fc20618 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121130093658-uvm0gbo90su88psh
bzr revid: tde@openerp.com-20121203131657-4gcp4wreylnmw2or
bzr revid: tde@openerp.com-20121204082427-7zdzn6f21xzvxby9
2012-12-04 09:24:27 +01:00
Launchpad Translations on behalf of openerp 2be8fdd030 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121204050358-y59q1n93uu6j3s03
2012-12-04 05:03:58 +00:00
Olivier Dony bac2638a2f [I18N] Removed duplicated terms for inherited [_sql]_constraints
bzr revid: odo@openerp.com-20121203162834-78jvf03c2octss1w
2012-12-03 17:28:34 +01:00
ajay javiya (OpenERP) 61639fd491 [FIX]:Issue of add custome field on object
bzr revid: aja@tinyerp.com-20121203132713-298spxst191htlh7
2012-12-03 18:57:13 +05:30
Vo Minh Thu 7afd9783e8 [IMP] Use the loglevel TEST when logging test file loading and testsuite execution.
bzr revid: vmt@openerp.com-20121203104228-8a5on97pn9r1klls
2012-12-03 11:42:28 +01:00
Ajay Chauhan (OpenERP) 2469d3b4ab [MERGE] merge with lp:openobject-server
bzr revid: cha@tinyerp.com-20121203062636-xnhqfm6491lib2hl
2012-12-03 11:56:36 +05:30
Launchpad Translations on behalf of openerp b184574f18 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121202043653-0wjef9gxgx96i7pf
bzr revid: launchpad_translations_on_behalf_of_openerp-20121203043528-zme86exbes8aiol3
2012-12-03 04:35:28 +00:00
Fabien Pinckaers 0a933f44e5 [IMP] small fix in YAML XML import
bzr revid: fp@openerp.com-20121201113524-8n94vnpxt3g21b1b
2012-12-01 12:35:24 +01:00
Launchpad Translations on behalf of openerp 4c0ddb1f01 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121201050734-pfp8sbkds49ewcyv
bzr revid: launchpad_translations_on_behalf_of_openerp-20121201050910-yq8l30zsbpn4rbx8
2012-12-01 05:09:10 +00:00
Olivier Dony 5c9135f118 [I18N] Update `base` translation template with latest terms
bzr revid: odo@openerp.com-20121130183055-xyq5lji852y47nw2
2012-11-30 19:30:55 +01:00
Olivier Dony 8fba574007 [MERGE] Less intrusive timezone offset warning (corresponds to web branch)
bzr revid: odo@openerp.com-20121130174819-q8g6m5mhoaczcr8q
2012-11-30 18:48:19 +01:00
Olivier Dony 93a28103db [MERGE] Forward-port of 6.1 bugfixes up to rev. 4307
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj

bzr revid: odo@openerp.com-20121130160523-nte65mkgp3y330n6
2012-11-30 17:05:23 +01:00
Christophe Simonis 415dc94a9d [FIX] test_reports.py: use communicate() to avoid creating zombie processes
bzr revid: chs@openerp.com-20121130152937-xcgs9bxrw7vyewex
2012-11-30 16:29:37 +01:00
Christophe Simonis 5ec2748e04 [FIX] services: call os.abort() for killing
bzr revid: chs@openerp.com-20121130104505-1p2arb61jnnogeb9
2012-11-30 11:45:05 +01:00
Christophe Simonis 25bd671e9e [FIX] osutils: correct nt service check
bzr revid: chs@openerp.com-20121130103503-9l3elc3o1dgkovhe
2012-11-30 11:35:03 +01:00
Fabien Pinckaers f5e755c409 [IMP] saving space for partners kanban
bzr revid: fp@openerp.com-20121130082137-97qibfk3k0v6y51l
2012-11-30 09:21:37 +01:00
Fabien Pinckaers 8573ed18e6 [IMP] remove create button on modules
bzr revid: fp@openerp.com-20121130065511-x5eet7aanuazxqak
2012-11-30 07:55:11 +01:00
Hardik 6c3825fadd [MERGE]with latest trunk
bzr revid: hsa@tinyerp.com-20121130060512-rs5rwyh37pstgu8x
2012-11-30 11:35:12 +05:30
Ajay Chauhan (OpenERP) 15226021d2 [IMP] made supplier visible on customer form
bzr revid: cha@tinyerp.com-20121130060054-tm6x6rc3ko8j28oj
2012-11-30 11:30:54 +05:30
Launchpad Translations on behalf of openerp ed6d168076 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130050554-8pczx4ofrp4jb8n3
2012-11-30 05:05:54 +00:00
Fabien Meghazi dec5b8e761 [REM] Removed tz_offset from context and remove store=True
bzr revid: fme@openerp.com-20121129210033-p687bul10jiandxt
2012-11-29 22:00:33 +01:00
Christophe Simonis cb968eeba0 [FIX] ir.ui.menu: filter menus as SUPERUSER
bzr revid: chs@openerp.com-20121129172145-0ionmbffc72hwxoa
2012-11-29 18:21:45 +01:00
Thibault Delavallée 681d783234 [IMP] expression.parse: added some asserts about non supported cases.
bzr revid: tde@openerp.com-20121129165032-nnlnf1k0iwal24ny
2012-11-29 17:50:32 +01:00
Thibault Delavallée 3c8e01ec7f [IMP] ir_ui_menu: needaction_enabled is back to store True.
bzr revid: tde@openerp.com-20121129155731-xk5cm9yvzbuyxpdc
2012-11-29 16:57:31 +01:00
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
Christophe Simonis 4622172c81 merge upstream
bzr revid: chs@openerp.com-20121129152103-e7w590lynz4veqn9
2012-11-29 16:21:03 +01:00
Christophe Simonis 4d91b6a87c [FIX] osutils: missing import
bzr revid: chs@openerp.com-20121129151746-r7t5xgddekvoq23w
2012-11-29 16:17:46 +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 a208447a3d merge upstream
bzr revid: chs@openerp.com-20121128184100-rkr90mrx38fh9q4l
2012-11-28 19:41:00 +01:00
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
Christophe Simonis 10697d1c1e merge upstream
bzr revid: chs@openerp.com-20121128135442-nt2dv11726odr2ji
2012-11-28 14:54: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
Christophe Simonis a55a26c777 [IMP] rewrite win32/setup.py to generate dynamic files
bzr revid: chs@openerp.com-20121128120950-bi6uv3bn73gotmwi
2012-11-28 13:09:50 +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
Sanjay Gohel (Open ERP) c860d84701 [MERGE]merge with parent
bzr revid: sgo@tinyerp.com-20121128095535-xc6xp0mkbml1xpvh
2012-11-28 15:25:35 +05:30
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
Christophe Simonis 9432574fec [FIX] restart of server on windows when running as nt service
bzr revid: chs@openerp.com-20121126184733-i4blfoh0d57s5s4l
2012-11-26 19:47:33 +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
Christophe Simonis bb6f654c0d merge upstream
bzr revid: chs@openerp.com-20121126122321-r1oezjyb8irepiyi
2012-11-26 13:23:21 +01:00
Christophe Simonis bec3abd64c [FIX] restart of server on windows
bzr revid: chs@openerp.com-20121126122220-38s3hla3hyl1b15p
2012-11-26 13:22:20 +01:00
Arnaud Pineux 3bf76f01b2 [MERGE] With trunk
bzr revid: api@openerp.com-20121126114333-pn7e0ufwnm39fk88
2012-11-26 12:43:33 +01:00
Arnaud Pineux 084371b51b [FIX] Automated action rules
bzr revid: api@openerp.com-20121126112205-bf80xlf1ja5o2f7i
2012-11-26 12:22:05 +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
Sanjay Gohel (Open ERP) 1936590190 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121126050636-eysao68kgiikeima
2012-11-26 10:36:36 +05:30
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
Christophe Simonis 927c5635b8 [IMP] extract method to reexec server
bzr revid: chs@openerp.com-20121123140838-pz47cw4jtlxx8e74
2012-11-23 15:08:38 +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 246878558c [merge] merge trunk-minimal-bin-chs branch
bzr revid: chs@openerp.com-20121123110908-sxhxl7k907jytzrr
2012-11-23 12:09:08 +01:00
Christophe Simonis 0e50931671 merge upstream
bzr revid: chs@openerp.com-20121116183109-v9ngqr1uehx1o0dy
bzr revid: chs@openerp.com-20121120140507-r86jl1lxqb7pxapj
bzr revid: chs@openerp.com-20121123110820-8w4dr0u5i8eusv8q
2012-11-23 12:08:20 +01:00
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 a4e5ddcbb2 [MERGE] trunk
bzr revid: al@openerp.com-20121122234236-9egsahi6g7rhmbvr
2012-11-23 00:42:36 +01:00
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
Sanjay Gohel (Open ERP) 7320093e0c [IMP]tracked res partner fields
bzr revid: sgo@tinyerp.com-20121122070212-9vejb0bltb4ffeff
2012-11-22 12:32:12 +05:30
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
Jalpesh Patel (OpenERP) b2a1d5d9b1 [Merge] Merge with lp:openobject-server
bzr revid: pja@tinyerp.com-20121116050347-5w5v4h7stdn9oyhp
2012-11-16 10:33:47 +05:30
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
Christophe Simonis 8200848b3f merge upstream
bzr revid: chs@openerp.com-20121114174352-a0xbech8o4dav16b
2012-11-14 18:43:52 +01:00
Christophe Simonis 1360cceff8 [REM] remove // FIXME comments are they are now fixed
[REM] console.*

bzr revid: chs@openerp.com-20121114165717-iyumkzldvab4r8l1
2012-11-14 17:57:17 +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
Christophe Simonis 9315757fd4 merge upstream
bzr revid: chs@openerp.com-20121113103756-d4remxnway5hi2k8
2012-11-13 11:37:56 +01:00
Christophe Simonis 0ec72b1ca0 [FIX] apps: correct strip of "/" in dbname
bzr revid: chs@openerp.com-20121113103715-5fiu9tg05o6ouxc9
2012-11-13 11:37:15 +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
Jalpesh Patel (OpenERP) 8e58d8d17c [FIX] fix problem create db when already exists
bzr revid: pja@tinyerp.com-20121112103321-v39900rc6tu0pvmb
2012-11-12 16:03:21 +05:30
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
Christophe Simonis 83462b5830 [FIX] correct then/done errors + highlight "installed modules" menu when apps is not reachable
bzr revid: chs@openerp.com-20121109173146-5mzdtyni92v3ub1d
2012-11-09 18:31:46 +01:00
Olivier Dony fd6946f24a [IMP] orm: make error handling more consistent when accessing deleted/filtered records
Previous behavior was unspecified and untested - leading to random results
when performing operations on a mix of deleted and ir.rule-filtered records.

The behavior is now clarified and explicitly tested.
One suprising case remains: read() on a deleted record
returns an empty result instead of raising an error,
in order to avoid spurious errors when a client
performs a sequence of search(), read() while
another user is deleting records.

bzr revid: odo@openerp.com-20121109171451-z2m6oqs910103lcz
2012-11-09 18:14:51 +01:00
Olivier Dony b298dc4570 [FIX] tests.common: make ref() and browse_ref() work for TransactionCase as well + update tests
bzr revid: odo@openerp.com-20121109170826-jaer3j0p47uq37np
2012-11-09 18:08:26 +01:00
Olivier Dony 91e2d25cdd [MERGE] ir.filters now have @is_default and a corresponding API adaptation
Client code usually calls get_filters() to get the list of filters for
a particular model, and then create_or_replace() to manage these filters.
In both cases a new @is_default attribute is now available - the idea
being that the default filter is always applied when a view is newly
opened. Global (user_id = False) filters are replaced by user-specific
filters when there are any.

bzr revid: odo@openerp.com-20121109140828-gpuifdjwrmefg5n2
2012-11-09 15:08:28 +01:00
RGA(OpenERP) 7d1a2557ca merge with hip branch fix unlink
bzr revid: rgaopenerp-20121109131202-a9nev6o540q7twos
2012-11-09 18:42:02 +05:30
RGA(OpenERP) 32c674b214 Merge with trunk
bzr revid: rgaopenerp-20121109131004-od104pup53dk9ru9
2012-11-09 18:40:04 +05:30
Thibault Delavallée 62c419e66f [IMP] tools: mail: improved append_content_to_html, including plaintext2html. Updated tests.
bzr revid: tde@openerp.com-20121109123521-e04g4zrhtv947l1r
2012-11-09 13:35:21 +01:00
Xavier Morel 4a4fc38d5e [FIX] nuke ir.model.data caches before starting imports
Otherwise a previous validation (or 2) will poison the cache and the
import itself will fail even though the validation succeeeded (and
importing with no validation would have succeeded), as the orm cache
doesn't take DB rollbacks in account.

bzr revid: xmo@openerp.com-20121109113951-p3qgg6m5g7poay5e
2012-11-09 12:39:51 +01:00
Hiral Patel (OpenERP) 07c9837872 [IMP] Improve the code
bzr revid: hip@tinyerp.com-20121109105939-cx0ia3v2vtbqo9se
2012-11-09 16:29:39 +05:30
Hiral Patel (OpenERP) 2456bb6be9 [MERGE] Merge with lp:openobject-server
bzr revid: hip@tinyerp.com-20121109104253-zebqn98pieaobgfp
2012-11-09 16:12:53 +05:30
Khushboo Bhatt (Open ERP) 7aad4d8e0d [MERGE]merge with trunk
bzr revid: kbh@tinyerp.com-20121109052642-2nte0ax6pu7oktuy
2012-11-09 10:56:42 +05:30
Christophe Simonis 885880675a [REM] fixed // FIXME
bzr revid: chs@openerp.com-20121108180026-vw2lg0thd9v0rivq
2012-11-08 19:00:26 +01:00
Christophe Simonis deb730e562 [FIX] then -> done; pipe -> then
bzr revid: chs@openerp.com-20121108165608-e67f0dwwufdpfmzt
2012-11-08 17:56:08 +01:00
Christophe Simonis c71f018440 merge upstream
bzr revid: chs@openerp.com-20121108164652-bpsb0h2dfla62jqo
2012-11-08 17:46:52 +01:00
Christophe Simonis 7ea98f28d7 [IMP] add TODO/FIXME comments
bzr revid: chs@openerp.com-20121108164611-34l07gsjer1lrqc2
2012-11-08 17:46:11 +01:00
Thibault Delavallée 0d027a3f8b [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121108161124-au0kg2b4h2uzzf6c
2012-11-08 17:11:24 +01:00
Thibault Delavallée 95f07f7773 [FIX] demo data: moved email address of admin from data to demo.
bzr revid: tde@openerp.com-20121108161036-97lynkhqdhpjbfa8
2012-11-08 17:10:36 +01:00
Quentin (OpenERP) 21af7835e0 [FIX] base, res.partner.view: remove duplicated invisible attribute that was totally hiding the 'type' field
bzr revid: qdp-launchpad@openerp.com-20121108140551-lefrv5ndvyzw5tt9
2012-11-08 15:05:51 +01:00
Christophe Simonis 9381aaf362 another big bag of changes
bzr revid: chs@openerp.com-20121108114818-jcxk0q0f202v2310
2012-11-08 12:48:18 +01:00
RGA(OpenERP) 33b97bb448 [IMP/MERGE] merge with hip branch (on user deletion delete related partner too)
bzr revid: rgaopenerp-20121108105649-4ayfd7nrufwr0zu5
2012-11-08 16:26:49 +05:30
RGA(OpenERP) 241d8c1cd2 Merge with trunk
bzr revid: rgaopenerp-20121108105413-f9hqh2d5jn4z50g3
2012-11-08 16:24:13 +05:30
RGA(OpenERP) 3a3d1943b5 [Fix] Indentation in module description
bzr revid: rgaopenerp-20121108104715-l5p486td0fuu25tx
2012-11-08 16:17:15 +05:30
Thibault Delavallée 89083480fa [IMP] [DEMO] admin, demo: updated demo data (email, signature).
bzr revid: tde@openerp.com-20121108101715-3ipopg5otdq9u0vx
2012-11-08 11:17:15 +01:00
Fabien Pinckaers 065848db8f [IMP] default emails on admin and demo so that they can perform tests
bzr revid: fp@tinyerp.com-20121108095604-6tzd8i8chuxr9014
2012-11-08 10:56:04 +01:00
Olivier Dony 76b031cfd4 [IMP] ir_filters: add test for updating global default filter - to complete the over-coverage
bzr revid: odo@openerp.com-20121108092907-e7cmjz4w4wn5u085
2012-11-08 10:29:07 +01:00
Olivier Dony 384a95461a [IMP] ir_filters: use "shared filters" to designate global filters, to match the UI
bzr revid: odo@openerp.com-20121108092822-l8bog0ow0m0ey0b8
2012-11-08 10:28:22 +01:00
Thibault Delavallée 311cd19465 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121108090825-jrs7pwqnkeoyi8z4
2012-11-08 10:08:25 +01:00
Hiral Patel (OpenERP) 6eb7008221 [MERGE] Merge with lp:openobject-server
bzr revid: hip@tinyerp.com-20121108090237-js4abojqhla5h77c
2012-11-08 14:32:37 +05:30
Hiral Patel (OpenERP) 9be7efdc16 [IMP] make field read-only if multi-companies is not installed
bzr revid: hip@tinyerp.com-20121108085933-3kkoi75f21teqj2w
2012-11-08 14:29:33 +05:30
Fabien Pinckaers b5b3cbf4e4 [FIX] typo
bzr revid: fp@tinyerp.com-20121107173349-02vp0acqgdcnmi83
2012-11-07 18:33:49 +01:00
Thibault Delavallée e6a9084677 [IMP] tools: added text2html function, basically turning plaintext into html. Added a test for this function. Updated signature for demo data.
bzr revid: tde@openerp.com-20121107164117-2caoqna2aclzowpk
2012-11-07 17:41:17 +01:00
Thibault Delavallée b36547e3ef [CLEAN] tools: mail: removed commented code; moved some code.
bzr revid: tde@openerp.com-20121107154129-nhz7qjv1ksq521ur
2012-11-07 16:41:29 +01:00
RGA(OpenERP) 83d3ff99bd [FIX] translation tree view
bzr revid: rgaopenerp-20121107140706-dwy1l9381qrl6fb9
2012-11-07 19:37:06 +05:30
Christophe Simonis 9bb5e47baf merge upstream
bzr revid: chs@openerp.com-20121107112830-fi0xu1poqt5cbb8u
2012-11-07 12:28:30 +01:00
Xavier Morel 59301c655f [MERGE] from server
bzr revid: xmo@openerp.com-20121107111011-9q0c8kbuype5a8l6
2012-11-07 12:10:11 +01:00
Thibault Delavallée 688b6babed [FIX] tools: html_email_clean: remove blockquote in any node, not just firs childs of root.
bzr revid: tde@openerp.com-20121107105031-xf0u71q3chx0chnv
2012-11-07 11:50:31 +01:00
Tejas Tank 5ffb938cbc [IMP] Enable import feature with tree view.
bzr revid: tta@openerp.com-20121107102150-8e1wr83hyj0mxqmq
2012-11-07 15:51:50 +05:30
Thibault Delavallée 4d89845de6 [IMP] tools: tests: cleaner: cleaned a bit test data. Will have to be improved.
bzr revid: tde@openerp.com-20121107093201-s0pco15msilt4erz
2012-11-07 10:32:01 +01:00
Thibault Delavallée 3ba739cbf5 [IMP] tools: mail: improved basic html_email_clean.
bzr revid: tde@openerp.com-20121107085807-td2okmbr61pm4g1e
2012-11-07 09:58:07 +01:00
Thibault Delavallée ee6e9894a4 [MERGE] Sync with server/trunk.
bzr revid: tde@openerp.com-20121107083807-12i51iax0imkhjf1
2012-11-07 09:38:07 +01:00
Hiral Patel (OpenERP) 08a111b5fb [IMP] Override the unlink method for 'res.partner'
bzr revid: hip@tinyerp.com-20121107062831-d6l7v4ws1f5cu6tp
2012-11-07 11:58:31 +05:30
Antony Lesuisse e77725eb89 [IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports
bzr revid: al@openerp.com-20121107015708-o9l893ll9f32wjcy
2012-11-07 02:57:08 +01:00
Olivier Dony 0357fddc61 [FIX] orm,web_services: properly return results of workflow triggers
bzr revid: odo@openerp.com-20121106181507-ss1w425c1omsn3sb
2012-11-06 19:15:07 +01:00
Olivier Dony 4ba1696ce2 [FIX] res.partner: read image files in binary mode
lp bug: https://launchpad.net/bugs/1048040 fixed

bzr revid: odo@openerp.com-20121106181502-tzqmrhs0u8odngvz
2012-11-06 19:15:02 +01:00
Christophe Simonis 35975001d2 [FIX] client actions take action in params
bzr revid: chs@openerp.com-20121106170657-328uq20n0bawjjbf
2012-11-06 18:06:57 +01:00
Fabien Meghazi c71ce60400 [IMP] ir.translation, raise exception when trying to translate fields when no extra language is installed.
bzr revid: fme@openerp.com-20121106162753-6eqbhnwqhjgeun78
2012-11-06 17:27:53 +01:00
Thibault Delavallée a80fab6303 [FIX] tools: mail: use beautifulsoup parser, if not present, html parser.
bzr revid: tde@openerp.com-20121106133751-ds0g2c7k8pu4d6rl
2012-11-06 14:37:51 +01:00
Thibault Delavallée f2d53fd215 [FIX] tools: mail: fixed some import, cleaned some code.
bzr revid: tde@openerp.com-20121106124109-63svzi72lx2a13yq
2012-11-06 13:41:09 +01:00
Thibault Delavallée c596792bc2 [FIX] tools: re-added html2text import, because of its use in ir_mail_server. Not sure it belongs here.
bzr revid: tde@openerp.com-20121106123407-2s4ya7ln7detui6y
2012-11-06 13:34:07 +01:00
Thibault Delavallée 8a1a612fba [FIX] fields.py: html_sanitize now in mail file.
bzr revid: tde@openerp.com-20121106122758-iwyxmedgnznpjyna
2012-11-06 13:27:58 +01:00
Thibault Delavallée 56b0b518a2 [IMP] tests: moved append_to_html into right test file. Added basic struct and templates for testing html_email_clean.
bzr revid: tde@openerp.com-20121106121824-wb8qf9snma7qffqe
2012-11-06 13:18:24 +01:00
Thibault Delavallée 1d52a68dd9 [IMP] tools: mail: added html_cleaner, to clean html code to display in chatter (remove quotes, signatures, ...).
bzr revid: tde@openerp.com-20121106121737-ej57bijc7ypksu8v
2012-11-06 13:17:37 +01:00
Thibault Delavallée 5f53f5253b [FIX] tools: some import cleaning and fixing.
bzr revid: tde@openerp.com-20121106115851-5f5sfhtp2g3qrm1o
2012-11-06 12:58:51 +01:00
Thibault Delavallée da6ad1e27c [REF] tools: moved email and mail related functions from misc to mail.
bzr revid: tde@openerp.com-20121106115744-pcxgyqv3lf8zfedw
2012-11-06 12:57:44 +01:00
Thibault Delavallée 207675a174 [REN] html_sanitize -> mail, to have a central file for methods about mail (html sanitizing, html management, emails related functions, ...).
bzr revid: tde@openerp.com-20121106115420-1h8mvzohol9zjysa
2012-11-06 12:54:20 +01:00
Vo Minh Thu 97455e2c2b [MERGE] Made the assertion report available on the registry.
bzr revid: vmt@openerp.com-20121106112508-1jeb6zgtg1g67h3k
2012-11-06 12:25:08 +01:00
Xavier Morel 9037ca4480 [FIX] test data: duplicating existing demo data crimps my style
bzr revid: xmo@openerp.com-20121106093237-vsbo2l5pjup42frp
2012-11-06 10:32:37 +01:00
Xavier Morel 18f885b10f [FIX] recursive conversion of o2ms in import
added new test cases from gkr

bzr revid: xmo@openerp.com-20121106084206-1cckepflh9h4g1yv
2012-11-06 09:42:06 +01:00
RGA(OpenERP) 3f5dcf09ef [FIX] company form view image layout
bzr revid: rgaopenerp-20121106073156-u7dejopm02puwt4h
2012-11-06 13:01:56 +05:30
Khushboo Bhatt (Open ERP) fcfeee25c3 [FIX]base:menu name changed
bzr revid: kbh@tinyerp.com-20121106060828-5jo86qp14s0wu4p7
2012-11-06 11:38:28 +05:30
Launchpad Translations on behalf of openerp c1d04e00d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121106045008-xngylwi17dh211vm
2012-11-06 04:50:08 +00:00
Raphael Collet 750ef9d931 [IMP] fields.related._fnct_read: small improvements
bzr revid: rco@openerp.com-20121105131712-sc70thn3wpyq6o7y
2012-11-05 14:17:12 +01:00
Christophe Simonis 22f28d819a merge upstream
bzr revid: chs@openerp.com-20121105111719-fzq512qt5ltyw4j1
2012-11-05 12:17:19 +01:00
Xavier Morel f02c4266d6 [IMP] better logging during import failure
bzr revid: xmo@openerp.com-20121105100717-pqexs7j710s2ea2i
2012-11-05 11:07:17 +01:00
Raphael Collet 52c29ae1c0 [FIX] fields.related._fnct_read: fix handling of type many2one
bzr revid: rco@openerp.com-20121105094929-oz7trjzwlqw90499
2012-11-05 10:49:29 +01:00
Vo Minh Thu 7169f91bc3 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121105090123-difc1iksbnb28mtv
2012-11-05 10:01:23 +01:00
Raphael Collet 401dd57f30 [MERGE] from trunk
bzr revid: rco@openerp.com-20121105083756-jdr9fxp32djpifqk
2012-11-05 09:37:56 +01:00
Raphael Collet db13e8591a [FIX] fields.related._fnct_write: handle the case where ids is a single id
bzr revid: rco@openerp.com-20121105082259-rcmcjs5n1eimtcpl
2012-11-05 09:22:59 +01:00
Amit Patel 70897759f6 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121105062709-ks3ca7hqvha39nls
2012-11-05 11:57:09 +05:30
Launchpad Translations on behalf of openerp 958edad965 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121105044053-iwdfmabj0neffc9o
2012-11-05 04:40:53 +00:00
Fabien Pinckaers 01cd1742cc [FIX]
bzr revid: fp@openerp.com-20121102162805-tp46s4x40dwedkij
2012-11-02 17:28:05 +01:00
Fabien Pinckaers 1cdba81560 [MERGE] multi=True
bzr revid: fp@openerp.com-20121102160613-rwq05zxz5r32ul80
2012-11-02 17:06:13 +01:00
Fabien Pinckaers 31cf1f3dec [MERGE]
bzr revid: fp@openerp.com-20121102160310-ektb2rrpsfs3weq8
2012-11-02 17:03:10 +01:00
Vo Minh Thu 38336593f7 [IMP] registry: the `assertion_report` is now a registry attribute.
This allow us to report failure or success by inspecting the registry.

bzr revid: vmt@openerp.com-20121102134732-5uy1vp59mp1bxgjs
2012-11-02 14:47:32 +01:00
Divyesh Makwana (Open ERP) 8047c51575 [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121102102812-qqaob1uo3aj8jpim
2012-11-02 15:58:12 +05:30
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Fabien Pinckaers 38a788897f [MERGE] remove widgets
bzr revid: fp@tinyerp.com-20121102093110-oforyy904v72hd6g
2012-11-02 10:31:10 +01:00
Fabien Pinckaers eb9cefed2e [fIX] change country when setting sate
bzr revid: fp@tinyerp.com-20121102091449-7v1c0mw0w3x0wb36
2012-11-02 10:14:49 +01:00
Fabien Pinckaers f37eb66576 [MERGE] open a company from tree view
bzr revid: fp@tinyerp.com-20121102081048-aq5a3ucw1x7f9zrl
2012-11-02 09:10:48 +01:00
Launchpad Translations on behalf of openerp 0ccc4a676b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121102050908-6y0il5amvsy9di8a
2012-11-02 05:09:08 +00:00
Khushboo Bhatt (Open ERP) e4a2cdd754 [IMP]action updated of company
bzr revid: kbh@tinyerp.com-20121101105518-nb43aza05we1gbxh
2012-11-01 16:25:18 +05:30
Amit Patel 251e3c974f [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121101062629-ijwkyx123oqfrb91
2012-11-01 11:56:29 +05:30
Khushboo Bhatt (Open ERP) 67403ed214 [IMP]company can be open from company's structure.
bzr revid: kbh@tinyerp.com-20121101060215-mdlvkc4mtphgsvfm
2012-11-01 11:32:15 +05:30
Divyesh Makwana (Open ERP) e927b30798 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121101043539-3sesl5hba4z7bftp
2012-11-01 10:05:39 +05:30
Divyesh Makwana (Open ERP) 7af81dd79a [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121101042733-1h2mai7d33oz2re3
2012-11-01 09:57:33 +05:30
Vo Minh Thu 7d1c5ac4ff [FIX] yaml_import: why the hell is False not iterable.
bzr revid: vmt@openerp.com-20121031164512-qegyw1q865neivgt
2012-10-31 17:45:12 +01:00
Olivier Dony da47373e2a [MERGE] test BaseCase now has ref() and browse_ref() helpers for working with ir.model.data identifiers, courtesy of Stephane Bidoul (Acsone)
bzr revid: odo@openerp.com-20121031162433-6ydiqbno4s78bnta
2012-10-31 17:24:33 +01:00
Vo Minh Thu e44f673e61 [FIX] tools.yaml_import: change w.r.t. etree FutureWarning, which was:
FutureWarning: The behavior of this method will change in future versions. Use
specific 'len(elem)' or 'elem is not None' test instead.

bzr revid: vmt@openerp.com-20121031161437-pzz2czkaq6rw5t31
2012-10-31 17:14:37 +01:00
Olivier Dony ec7b097036 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121031154418-lfx7sywca2v2mcei
2012-10-31 16:44:18 +01:00
Olivier Dony 51f2422b41 [IMP] tests.common: improved docstring for ref() and browse_ref()
bzr revid: odo@openerp.com-20121031152149-73pxpymjf1yz5xqi
2012-10-31 16:21:49 +01:00
Olivier Dony 43513d7ccc [ADD] tests.common: added testcase for ref() and browse_ref(), renaming existing test file to make it more generic
bzr revid: odo@openerp.com-20121031152011-gyih3j9itbgfauwv
2012-10-31 16:20:11 +01:00
Christophe Simonis 478319c3ed merge upstream
bzr revid: chs@openerp.com-20121031132638-nc2o9v0gnonl5l7l
2012-10-31 14:26:38 +01:00
Christophe Simonis 9cdc77b6ea [IMP] modules: go home after restart of server
bzr revid: chs@openerp.com-20121031120301-b6680zyxq7u1wxq4
2012-10-31 13:03:01 +01:00
Stéphane Bidoul 2aee5380eb [IMP] ref and browse_ref helpers on openerp.tests.common.BaseCase
bzr revid: stephane.bidoul@acsone.eu-20121031103027-2sozmbi3z7bkr22q
2012-10-31 11:30:27 +01:00
Divyesh Makwana (Open ERP) ba8d8f9bc9 [FIX] Fix the problem of image, at the time of creation of new company.
bzr revid: mdi@tinyerp.com-20121031094412-lzspjtpa9fy4z0bc
2012-10-31 15:14:12 +05:30
Divyesh Makwana (Open ERP) 7b13fdcfa5 [FIX] At the time of creation of record from yml, the onchange will fire and it will override the actual image by default image.
bzr revid: mdi@tinyerp.com-20121031092846-lfp54q21hqre8231
2012-10-31 14:58:46 +05:30
Divyesh Makwana (Open ERP) 60f12a1ce0 [FIX] At the time of creation of record from yml, the onchange will fire and it will override the actual image by default image.
bzr revid: mdi@tinyerp.com-20121031092745-0yqcnrsv949n1v29
2012-10-31 14:57:45 +05:30
Divyesh Makwana (Open ERP) 24f74d9d3a [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121016051211-sflmsa1ql5i13zkf
bzr revid: mdi@tinyerp.com-20121017044358-fmdudsspa0tuc5z3
bzr revid: mdi@tinyerp.com-20121018041441-dgj3k717pxrbjis1
bzr revid: mdi@tinyerp.com-20121019044419-towsx7ol3unqyw3m
bzr revid: mdi@tinyerp.com-20121022040737-xjnhewgv6ofz8gbk
bzr revid: mdi@tinyerp.com-20121023042908-2spjr586hmhn36oc
bzr revid: cha@tinyerp.com-20121025064317-4trt398uu90d24dt
bzr revid: cha@tinyerp.com-20121029070702-25k8vlsjwtnjoncl
bzr revid: mdi@tinyerp.com-20121030044619-px3ho7u5akndovj1
bzr revid: mdi@tinyerp.com-20121031045910-jme6gi1bveh4zi09
2012-10-31 10:29:10 +05:30
Odowan Kenobi 55f8e0485b [IMP] yaml_import: allow to use a view from another module when creating a record in yaml by prefixing it with <module_name> + '.' (e.g: account.supplier_invoice_form_view). A great patch from odony. Hooray
bzr revid: qdp-launchpad@openerp.com-20121030152824-0n2gazacag2hzkbj
2012-10-30 16:28:24 +01:00
Vo Minh Thu c902eb4539 [DOC] openerp.tests.common: now included in the test-framework page.
bzr revid: vmt@openerp.com-20121030113737-10h045k368pbrldq
2012-10-30 12:37:37 +01:00
Christophe Simonis 0499ba78af [FIX] correct restart of openerp
bzr revid: chs@openerp.com-20121030105910-r3bol2cvs6a1mbxd
2012-10-30 11:59:10 +01:00
Amit Patel 62111b4316 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121030090709-wep2fvyqlqckei9c
2012-10-30 14:37:09 +05:30
Olivier Dony 485e437440 [FIX] orm: _validate should not immediately rollback
For some obscure reason _validate used to immediately
rollback the current transaction as soon as a constraint
failed anywhere. This is completely incorrect and
violates the transaction abstraction: the responsibility
of creating and closing transactions belongs to the
RPC dispatch layer, or whatever takes its place (e.g. the
test setup/teardown for tests). Rolling back or committing
in the middle of a transaction precludes special
error treatment and can have very bad side effects.

bzr revid: odo@openerp.com-20121029180742-2gw08kobdh7w5njc
2012-10-29 19:07:42 +01:00
Olivier Dony 290baa5be7 [FIX] yaml: more explicit error if !record has missing parameters
bzr revid: odo@openerp.com-20121029173421-bbx9kn0xp10bpeh1
2012-10-29 18:34:21 +01:00
Raphael Collet ba9a47a771 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029155310-14mmqsq7sjrwi4bt
2012-10-29 16:53:10 +01:00
Raphael Collet 7e7d877e17 fields.related: simplify read and write methods
bzr revid: rco@openerp.com-20121029153504-157ss9948o86uv6z
2012-10-29 16:35:04 +01:00
Raphael Collet 42f0962f99 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029153047-sd8i97sfkdy1wcb1
2012-10-29 16:30:47 +01:00
Antonin Bourguignon 46e94a312c [IMP] usability of menus by displaying their full hierarchy
this will avoid confusion while organizing menu items hierarchy

bzr revid: abo@openerp.com-20121029145946-6fz0rvi7ewzbtp43
2012-10-29 15:59:46 +01:00