Commit Graph

244 Commits

Author SHA1 Message Date
niv-openerp 95ccd74114 [imp] made usage of a managed filter possible
bzr revid: nicolas.vanhoren@openerp.com-20110722153505-g5mukqwfmd6eup2t
2011-07-22 17:35:05 +02:00
Antony Lesuisse 66a054ab7d [IMP] get rid of base.html
bzr revid: al@openerp.com-20110722142824-u7j7gu3o00skliwi
2011-07-22 16:28:24 +02:00
Yogesh (OpenERP) 7ff6fafdaf [MOVE] move export related functionality base_export to base module.
bzr revid: ysa@tinyerp.com-20110722125214-3lrqho65skbzokcy
2011-07-22 18:22:14 +05:30
noz (OpenERP) 3409288eae [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110719115409-pdha2nr3o7eyss22
2011-07-19 17:24:09 +05:30
niv-openerp dc764a3832 [fix] little correction in clean_action
bzr revid: nicolas.vanhoren@openerp.com-20110718142923-drk0tvdl8jj2z54f
2011-07-18 16:29:23 +02:00
noz (OpenERP) 8484c9577c [Merge] Merged with latest branch.
bzr revid: noz@tinyerp.com-20110718053005-40qxjjeybb9xv294
2011-07-18 11:00:05 +05:30
niv-openerp f40328b46a [imp] added some context/domain parsing in fields_get too
bzr revid: nicolas.vanhoren@openerp.com-20110714155438-4x8u4wsrkm82w7cj
2011-07-14 17:54:38 +02:00
Xavier Morel 55be9c8aa0 [FIX] fields fixer in process_view: contexts should be parsed via parse_context, has_key should not be used, dict.get ~ in + __getitem__
bzr revid: xmo@openerp.com-20110714153647-qilykek2df0uhp3t
2011-07-14 17:36:47 +02:00
niv-openerp 90bb70473e [fix] big fix related to domains and contexts defined in a model
bzr revid: nicolas.vanhoren@openerp.com-20110714135200-03e9ovknnz9lusni
2011-07-14 15:52:00 +02:00
Xavier Morel d4dc9dec04 [MERGE] bunch of stuff from trunk
bzr revid: xmo@openerp.com-20110714102243-kiyp0o6hjbhmxecd
2011-07-14 12:22:43 +02:00
Xavier Morel 9d814c830b [FIX] remove bloody crazy (and useless) indirection keys in DataSet.call and DataSet.get_result RPC methods
bzr revid: xmo@openerp.com-20110714100522-94rp1otj1n4hrf2x
2011-07-14 12:05:22 +02:00
noz (OpenERP) 59aa97860b [FIX] Removed print statement.
bzr revid: noz@tinyerp.com-20110713105314-bgbbw3xt2loo2h8w
2011-07-13 16:23:14 +05:30
noz (OpenERP) 18f7e351c8 [FIX] Merged with main branch and created separate class for database operations.
bzr revid: noz@tinyerp.com-20110713105058-ptb2ejnlml8ccugj
2011-07-13 16:20:58 +05:30
Xavier Morel d1209c847b [FIX] sorting list views
lp bug: https://launchpad.net/bugs/809309 fixed

bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
noz (OpenERP) dfb7f58c40 [FIX] Partially implemented Create Database (DB creation without any configuration wizard).
bzr revid: noz@tinyerp.com-20110713103552-47ncaeqafv26vb12
2011-07-13 16:05:52 +05:30
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
noz (OpenERP) e370808a84 [FIX] Validation for bad database name.
bzr revid: noz@tinyerp.com-20110713094339-1612ynj0dc40roo7
2011-07-13 15:13:39 +05:30
noz (OpenERP) bcccef82d0 [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110713093209-3f2njjjhp0cgd5rj
2011-07-13 15:02:09 +05:30
noz (OpenERP) 59bb0fd4e6 [FIX] Better error popup messages.
bzr revid: noz@tinyerp.com-20110713092242-0q5ii7haqfhldgtl
2011-07-13 14:52:42 +05:30
Antony Lesuisse a2e890635b db filter typo
bzr revid: al@openerp.com-20110713120411-tm9j4x9tmgw08mdy
2011-07-13 14:04:11 +02:00
Fabien Meghazi 3e79375a01 [FIX] clean_action not always return action
bzr revid: fme@openerp.com-20110712133430-l55d0bwxwb0znke1
2011-07-12 15:34:30 +02:00
Bhumi Thakkar (Open ERP) a76b7d590e [MERGE] merge with openerp-web.
bzr revid: bth@tinyerp.com-20110712123638-nebxv16iddwsjbzz
2011-07-12 18:06:38 +05:30
Xavier Morel 8ac948f360 [FIX] explicitly pass a list of fields to read_group instead of False
read_group does not take inherited fields in its default list-of-fields-to-read, so if grouping on an inherited field it will blow up

conversely, read_group can not aggregate on inherited numerical fields, so if it reads *all* the columns (including inherited) it will try to aggregate on fields it's not reading and that's also going to blow up.

bzr revid: xmo@openerp.com-20110711113228-18mbcft9y2lf7ptm
2011-07-11 13:32:28 +02:00
noz (OpenERP) 84fd866212 [Merge] With trunk upto revision 584.
bzr revid: noz@tinyerp.com-20110711072314-kas966zook3joe8p
2011-07-11 12:53:14 +05:30
Fabien Meghazi f0f386e748 [REM] Removed use of attrs and replaced it with modifiers
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8

bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-07-07 12:37:40 +02:00
noz (OpenERP) fd6563b818 [FIX] Improved required validation.
bzr revid: noz@tinyerp.com-20110707090444-iaf58v4umq53lb88
2011-07-07 14:34:44 +05:30
niv-openerp ea9b60393e [imp] desactivated stupid hello module
bzr revid: nicolas.vanhoren@openerp.com-20110707084415-6or8nj1mrt9pql7e
2011-07-07 10:44:15 +02:00
Xavier Morel f7a47fe58c [MERGE] from trunk, in order to get some dataset & groupby fixes
bzr revid: xmo@openerp.com-20110706142536-dwxuq2v10u660703
2011-07-06 16:25:36 +02:00
Xavier Morel 1847dbc017 [MERGE] list pagination branch
bzr revid: xmo@openerp.com-20110706083214-1thifexcz5pk0jih
2011-07-06 10:32:14 +02:00
noz (OpenERP) 0f88193e8f [FIX] Some improvement in exception handling.
bzr revid: noz@tinyerp.com-20110706071546-w9fcjdsbxg473a90
2011-07-06 12:45:46 +05:30
noz (OpenERP) 5ffdaf4ec1 [FIX] Fixed methods for submit.
bzr revid: noz@tinyerp.com-20110705134213-c83d7bxpxd676uu4
2011-07-05 19:12:13 +05:30
noz (OpenERP) 15ef484d7d [IMP] Implemented validation for Change password.
bzr revid: noz@tinyerp.com-20110705131053-ccjarqd328y5hsk8
2011-07-05 18:40:53 +05:30
Xavier Morel 41ce7d903d [FIX] incorrect return value for fix_view_modes in case the view_type is tree
bzr revid: xmo@openerp.com-20110705064817-pxjafkogvc3tub4t
2011-07-05 08:48:17 +02:00
Xavier Morel 213b47685c [ADD] home action loading and execution
bzr revid: xmo@openerp.com-20110704141807-147dsoqrx6v53jl4
2011-07-04 16:18:07 +02:00
noz (OpenERP) 6c971a0fda [IMP] Improved methods for backup, restore, change password.
bzr revid: noz@tinyerp.com-20110704134823-bhn2qg4nwgx819ii
2011-07-04 19:18:23 +05:30
noz (OpenERP) 9d77bed1ca [FIX] Handled exception when dropping a database.
bzr revid: noz@tinyerp.com-20110704131838-lf4x944os5ynuy0u
2011-07-04 18:48:38 +05:30
Bhumi Thakkar (Open ERP) 7cad385182 [MERGE] trunk.
bzr revid: bth@tinyerp.com-20110704051825-fj1izlavbf6297by
2011-07-04 10:48:25 +05:30
noz (OpenERP) 38340f448d [FIX] Created common method for all Database operations.
bzr revid: noz@tinyerp.com-20110701122430-lhomemgtfay5jeev
2011-07-01 17:54:30 +05:30
noz (OpenERP) dc2cdac7e0 [IMP] Implemented Drop DB feature.
bzr revid: noz@tinyerp.com-20110701122222-kph026dlps1tkgzq
2011-07-01 17:52:22 +05:30
noz (OpenERP) 1f44208fd7 [FIX] Implement get languages function.
bzr revid: noz@tinyerp.com-20110701065842-a9nlwe33lrco3siu
2011-07-01 12:28:42 +05:30
Xavier Morel 1b236bd882 [FIX] xmlrpclib being an asshole
xmlrpclib.ServerProxy will convert XMLRPC strings to 'str'. Or to 'unicode' if it does not feel right today, or just wants to fuck with you. Competence is overrated!

Check precise type of view archiectures and re-encode to str if we're facing unicode strings, so it's possible to feed these little bastards to ElementTree

bzr revid: xmo@openerp.com-20110630142528-1xtj61gaou2klzme
2011-06-30 16:25:28 +02:00
niv-openerp d80b269891 [imp] corrected some problems with context and domains in relation + evalution of non literal context/domains
bzr revid: nicolas.vanhoren@openerp.com-20110630123113-tnzb6owv8kxtl3sw
2011-06-30 14:31:13 +02:00
Xavier Morel 1e8072ea2d [FIX] act_window actions not coming from the db and missing a views key (and collection): generate views from whatever can be found in view_mode and view_id
bzr revid: xmo@openerp.com-20110630064651-701903va7mgbps7g
2011-06-30 08:46:51 +02:00
Xavier Morel 3cd6c86f87 [ADD] support for server actions
bzr revid: xmo@openerp.com-20110630062424-gmnlahmexklnftbk
2011-06-30 08:24:24 +02:00
Xavier Morel ef3a71fec3 [IMP] let non-act_window actions pass through unmolested by clean_action, which is currently mostly there to cleanup the junk in act_window actions
bzr revid: xmo@openerp.com-20110629151400-pyv48na2wecp7rhj
2011-06-29 17:14:00 +02:00
Xavier Morel e6483eb6ba [FIX] typos in python code
bzr revid: xmo@openerp.com-20110629131233-tvxwkrke73ytrw2a
2011-06-29 15:12:33 +02:00
Fabien Meghazi d933184dcc [ADD] Added Dataset#call_button for form's buttons triggering action that should be cleaned
bzr revid: fme@openerp.com-20110628155956-yj8m2r7kpjye5m8v
2011-06-28 17:59:56 +02:00
niv-openerp e819561d1a [imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation
bzr revid: nicolas.vanhoren@openerp.com-20110628145413-ljqdmunxi7ykmytz
2011-06-28 16:54:13 +02:00
niv-openerp 63a5ac2355 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628140534-3lvqp50zrav7s7ld
2011-06-28 16:05:34 +02:00
niv-openerp 58e236eb44 [fix] redesigned evaluation contexts
bzr revid: nicolas.vanhoren@openerp.com-20110628140418-lxmclab51ll0iwdd
2011-06-28 16:04:18 +02:00
niv-openerp aa9eedee9e [imp] added evaluation context into compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628133407-yoqcfl6z3gm90ct6
2011-06-28 15:34:07 +02:00
Fabien Meghazi 85e0fbc6fe [FIX] Removed global bin_size causing problems in context. Will activate it only when needed.
Don't forget to logout/login in order to purge context after you pull this revision

bzr revid: fme@openerp.com-20110628133044-dp9jm6aj7ixzc69p
2011-06-28 15:30:44 +02:00
niv-openerp 46d87b34b0 [imp] added evaluation context to compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628121747-e8y1y3avglshzxv1
2011-06-28 14:17:47 +02:00
niv-openerp 7f8b7e7bc1 [imp] removed useless method in main.py
bzr revid: nicolas.vanhoren@openerp.com-20110623155946-mj3lca6u617exxsn
2011-06-23 17:59:46 +02:00
Xavier Morel 1e0fc68cad [IMP] rpc search_read and internal managment of DataSetSearch.read_slice to better handle pagination
* /base/dataset/search_read now returns a dict of {ids, records} where ids are *not* paginated and is an ordered sequence of all the ids matching the unpaginated search criteria (domain, context, sort)
    records is the old toplevel result: an ordered, paginated sequence of the records read (with fields correctly selected and everything)
* Removed context param to search_read since context comes from request object

bzr revid: xmo@openerp.com-20110622145559-3r2jszyddvbsz3hq
2011-06-22 16:55:59 +02:00
Bhumi Thakkar (Open ERP) 052f3132da [IMP]Onclick of category display product details in listview
bzr revid: bth@tinyerp.com-20110622101441-04b7t83qgrgps50f
2011-06-22 15:44:41 +05:30
niv-openerp 8ab9cd3411 [imp] changed bin_size behavior
bzr revid: nicolas.vanhoren@openerp.com-20110620105818-gq2ajlxl4npwn038
2011-06-20 12:58:18 +02:00
Fabien Meghazi 4b2ac6b298 [FIX] Fixed context support for action loaded by menu
bzr revid: fme@openerp.com-20110620095558-qstmnthsio1ig3n6
2011-06-20 11:55:58 +02:00
niv-openerp 23dbe20028 [imp] big improvements to context handling
bzr revid: nicolas.vanhoren@openerp.com-20110617160849-zevutg246ns1ghrk
2011-06-17 18:08:49 +02:00
niv-openerp 157273f15a [imp] added default name on false quick create in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110617141945-wnnhkhf8wezwfyed
2011-06-17 16:19:45 +02:00
niv-openerp e975b4ac1e [imp] added compound context and compound domain and implemented correctly context & domain handling in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110617120834-c616130ueklb3rxs
2011-06-17 14:08:34 +02:00
Bhumi Thakkar (Open ERP) 70177ae696 [MERGE] Latest openerp-web
bzr revid: bth@tinyerp.com-20110614123718-v2wn43dwjz5y2zf1
2011-06-14 18:07:18 +05:30
Jiten Rangwala (OpenERP) f62459d5b2 [MERGE]
bzr revid: jra@tinyerp.com-20110614123000-2shwv7920bvwispu
2011-06-14 18:00:00 +05:30
Jiten Rangwala (OpenERP) 779c588478 [IMP] Improved code
- Remove methods(logout,records,fields_view_get) from base controller which are implemented for mobile.
- Use base dataset in to mobile code.

bzr revid: jra@tinyerp.com-20110614122626-sjodhex9ayp20ia1
2011-06-14 17:56:26 +05:30
niv-openerp 7c7514654f [imp] improved design of name_search
bzr revid: nicolas.vanhoren@openerp.com-20110614093844-vurmvtar87wq486c
2011-06-14 11:38:44 +02:00
noz (OpenERP) ac6a37f35e [FIX] Some minor improvements.
bzr revid: noz@tinyerp.com-20110614092556-3w7wbm9uv92x4hl9
2011-06-14 14:55:56 +05:30
niv-openerp 6c0532ef92 [fix] fixed previous fix about onchanges
bzr revid: nicolas.vanhoren@openerp.com-20110614092420-isugm9lc7i3k0x9g
2011-06-14 11:24:20 +02:00
Fabien Meghazi feb346b1f6 [FIX] Repair callbacks
bzr revid: fme@openerp.com-20110614090050-fj59w1ntc2utq4eu
2011-06-14 11:00:50 +02:00
Jiten Rangwala (OpenERP) f05e45fdd7 [MERGE]
bzr revid: jra@tinyerp.com-20110613123026-yd479syow7wtyzcg
2011-06-13 18:00:26 +05:30
Bhumi Thakkar (Open ERP) d95b8fdb73 [IMP] Implement treeview(completed)
bzr revid: bth@tinyerp.com-20110613055102-2syu8awycm0etxc1
2011-06-13 11:21:02 +05:30
Jiten Rangwala (OpenERP) d0ecebc3a0 [IMP] Improve web mobile
- Change dependancy qweb to qweb2
- Remove unnecessary dependancy from mobile web
- Modify base js for mobile
- Add methods in base for shortcut list and logout

bzr revid: jra@tinyerp.com-20110610125006-7dg7f22uu5iazmhh
2011-06-10 18:20:06 +05:30
Jiten Rangwala (OpenERP) fc350d5775 [REM] Remove extra code from mobile controller
bzr revid: jra@tinyerp.com-20110609134500-fbc7gzeyj7h71w41
2011-06-09 19:15:00 +05:30
niv-openerp 7d05822051 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110609132026-bql0r43umfho1kcj
2011-06-09 15:20:26 +02:00
niv-openerp 28c6b1c7d8 [imp] improvements of the m2o
bzr revid: nicolas.vanhoren@openerp.com-20110609132004-vac8h7r2im3wdlq5
2011-06-09 15:20:04 +02:00
Antony Lesuisse 45eb411f04 [MERGE] xmo editable lists
bzr revid: al@openerp.com-20110609012045-off7e8p7qem11vza
2011-06-09 03:20:45 +02:00
Bhumi Thakkar (Open ERP) 2e8aafae50 [IMP]Implements collapse functionality.
bzr revid: bth@tinyerp.com-20110608133706-9zrkl4jx7fcqrngc
2011-06-08 19:07:06 +05:30
Bhumi Thakkar (Open ERP) c4fe70d92c [IMP] Loaded data and displayed in tree structure.
bzr revid: bth@tinyerp.com-20110607071034-lfr5nlt5aiduk6z6
2011-06-07 12:40:34 +05:30
niv-openerp a4e8b8e017 [deep-cleaning] first step of rewriting m2o
bzr revid: nicolas.vanhoren@openerp.com-20110606165043-dae2xm6d48vq4z7m
2011-06-06 18:50:43 +02:00
niv-openerp 8f5088e127 [imp] added db selection
bzr revid: nicolas.vanhoren@openerp.com-20110606114306-bbb8r3fvtxvvamcq
2011-06-06 13:43:06 +02:00
Xavier Morel c452d85a7a [MERGE] from trunk
bzr revid: xmo@openerp.com-20110606113621-r3q0otfjdu7l0ubp
2011-06-06 13:36:21 +02:00
Fabien Meghazi 8011b649ee [ADD] "Reset" feature in dashboards
bzr revid: fme@openerp.com-20110606105436-wpo7xyiiy2o6jyzm
2011-06-06 12:54:36 +02:00
Fabien Meghazi 19382763fb [FIX] Fixed View controller
bzr revid: fme@openerp.com-20110606103502-wfph1zo7nnt2668p
2011-06-06 12:35:02 +02:00
Xavier Morel 69132745e0 [FIX] remove fields_view_get preprocessing of set_editable/@editable, done in JS
bzr revid: xmo@openerp.com-20110606095254-h7r8v42y8q42sjj4
2011-06-06 11:52:54 +02:00
niv-openerp 0422a69d6c [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110606070530-mi6q1qltcidao7us
2011-06-06 09:05:30 +02:00
niv-openerp aece1cf7c1 [imp] improvements related to embedded views.
bzr revid: nicolas.vanhoren@openerp.com-20110606070451-vn321aqrzi28akgj
2011-06-06 09:04:51 +02:00
Fabien Meghazi dac344cf31 [ADD] Add custom views management (add, undo) in View controller
bzr revid: fme@openerp.com-20110601134514-dv91qpjl50ptf161
2011-06-01 15:45:14 +02:00
Fabien Meghazi 4705e30d0b [FIX] Fixed load() in action controller. Was not calling clean_action()
bzr revid: fme@openerp.com-20110531195202-6z6veclumppp1mlr
2011-05-31 21:52:02 +02:00
Xavier Morel d7e17b06cf [IMP] final fixes to list view/groups for behavior which should be correct in list view itself:
* Handle aggregate fields (at the list level)
* remove color handling for now, go back to using vanilla datasets for fetching records

TODO: Ensure that APIs available are useable for third-parties to use list views as components, or fix those APIs

bzr revid: xmo@openerp.com-20110527092811-ldxd4oufvjtqvha3
2011-05-27 11:28:11 +02:00
Xavier Morel 1f247b96e1 [IMP] Remove colors handling so ListView.fill is not necessary anymore, and can go back to ListView.load and DataSet.search_read
bzr revid: xmo@openerp.com-20110527071309-rtdkawbu4v7xfepd
2011-05-27 09:13:09 +02:00
Fabien Meghazi e3eb23b96c [ADD] Added Binary#upload_attachment controller
bzr revid: fme@openerp.com-20110526210641-geszqjfcw3vx0vq8
2011-05-26 23:06:41 +02:00
Xavier Morel bf57c5ab90 [IMP] a bunch of improvements to groups handling in list view
* Support for aggregate fields in groups
* Complete (breaking) change to DataGroup API, turns out the old one sucked
* Correctly display groups (and nested data columns)
* Support for group_by_no_leaf, with and without group_by fields

bzr revid: xmo@openerp.com-20110524140055-6g22b1xt7hz9ujrl
2011-05-24 16:00:55 +02:00
Xavier Morel 8a50dd1609 [FIX] handling of context in DataGroup.read, context is put in request.context not provided as part of the function's kwargs dammit
bzr revid: xmo@openerp.com-20110524091114-201ar78ijsh2ntj8
2011-05-24 11:11:14 +02:00
Fabien Meghazi d66a1ca348 [IMP] Moved binary controllers from FormView class to new Binary class
bzr revid: fme@openerp.com-20110523145219-0nwzvkm94bm5liag
2011-05-23 16:52:19 +02:00
Xavier Morel 802a039429 [FIX] read_group call: don't provide a False domain, the server does *not* like it
bzr revid: xmo@openerp.com-20110520120202-02thl4b63bw8nxig
2011-05-20 14:02:02 +02:00
Xavier Morel 3fd459098a [FIX] 'except Exception as variable' is invalid syntax in Python 2.5
bzr revid: xmo@openerp.com-20110520082343-y7uhx6vbf1afwfxj
2011-05-20 10:23:43 +02:00
niv-openerp b98f1f5415 [IMP] Added all fields in custom filters.
bzr revid: nicolas.vanhoren@openerp.com-20110519151249-jsla662056a8r01m
2011-05-19 17:12:49 +02:00
Fabien Meghazi fa36a75353 [ADD] Added 'Save As' feature to binary fields
bzr revid: fme@openerp.com-20110519134535-mjxhz0yvqlsnpsvm
2011-05-19 15:45:35 +02:00
Fabien Meghazi 665e779b78 [ADD] Binary image working under chrome
bzr revid: fme@openerp.com-20110519101726-valkxw6v6zpwbpyi
2011-05-19 12:17:26 +02:00
Fabien Meghazi b432e7ba1a [ADD] Added ajax upload controller to formview
bzr revid: fme@openerp.com-20110518223525-674f68hd8wn9wypk
2011-05-19 00:35:25 +02:00
Fabien Meghazi 0e38585483 [ADD] Start binary image edition widgets
bzr revid: fme@openerp.com-20110518153356-7c69bg8mdkd9x94p
2011-05-18 17:33:56 +02:00