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
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
Antony Lesuisse
eb4d14cd86
[IMP] auth_signup remove all css, better wording, auth_oauth align button better wording
...
bzr revid: al@openerp.com-20121128001449-jy86hb86eyv0milv
2012-11-28 01:14:49 +01:00
Antony Lesuisse
f63bdc67e2
[FIX] Login button left for better looking signup and oauth integration
...
bzr revid: al@openerp.com-20121127235942-oudu8auo2f9ctulo
2012-11-28 00:59:42 +01:00
Antony Lesuisse
db26909b8a
[MERGE] signup with oauth by rco
...
bzr revid: al@openerp.com-20121127234543-apz9ddxzp3vntorj
2012-11-28 00:45:43 +01:00
Fabien Pinckaers
432715b184
[IMP] category -> tag
...
bzr revid: fp@openerp.com-20121127221111-vbguuof91pjri4nr
2012-11-27 23:11:11 +01:00
Fabien Pinckaers
854284b6af
[MERGE] fgi improve
...
bzr revid: fp@openerp.com-20121127215908-q5yt8nwna6gmdu88
2012-11-27 22:59:08 +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
10afab6eb6
[MERGE] addons 24
...
bzr revid: fp@openerp.com-20121127212322-soubdlrcgqx4cz88
2012-11-27 22:23:22 +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
Raphael Collet
7c61b7142d
[FIX] auth_oauth: add missing parameter in method call...
...
bzr revid: rco@openerp.com-20121127153532-5jw6sm8ltcmoewrq
2012-11-27 16:35:32 +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
Raphael Collet
22f30bc8dc
[FIX] auth_oauth: stupid mistake, using 'self' instead of 'this'...
...
bzr revid: rco@openerp.com-20121127153040-aol52i523ysabah8
2012-11-27 16:30:40 +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
Christophe Matthieu
f1ea29e580
[MERGE] from trunk-opw-581041-vja; Fixed the issue of raised exception not displayed in trunk when adding attachment to object if create of ir.attachment raises exception. Now, it should display the warning message.
...
bzr revid: chm@openerp.com-20121127150808-wqo8qh2vstagz4kj
2012-11-27 16:08:08 +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
niv-openerp
8e15ed4002
[IMP] small improvement of core lib
...
bzr revid: nicolas.vanhoren@openerp.com-20121127144140-14y700rqdmpd8w44
2012-11-27 15:41:40 +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
Christophe Matthieu
ebf4ae991a
[MERGE] form trunk-bug-1059320-psa for FIX bug/1059320. Improved code for the displaying the db_list, if more than one db in list display name instead of debug
...
bzr revid: chm@openerp.com-20121127135621-kmnb4o2kv21bsmwz
2012-11-27 14:56:21 +01:00
Raphael Collet
a50bc125f8
[IMP] auth_oauth: doc improvement
...
bzr revid: rco@openerp.com-20121127100635-vzbuw6a73286t2t2
2012-11-27 11:06:35 +01:00
Vishmita
71c8b58581
[FIX]Fixed the issue of raised exception not displayed when adding attachment to object if create of ir.attachment raises exception.
...
bzr revid: vja@tinyerp.com-20121127100210-krziqgqh1t1063ry
2012-11-27 15:32:10 +05:30
Xavier Morel
ef5be74caa
[FIX] disable sorting (column-click) in an editable listview being edited
...
To do so, extract sort handling to its own method (bound using the
events hash) and override-and-disable in editable.
bzr revid: xmo@openerp.com-20121127094109-mojnq50mzsrcj3q0
2012-11-27 10:41:09 +01:00
Raphael Collet
36059c6ffe
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20121127093915-6zupyre5jh2fxfd7
2012-11-27 10:39:15 +01:00
Paramjit Singh Sahota
77ac04efd8
[FIX][trunk] display dbname if len(db_list())>1 [chs]
...
lp bug: https://launchpad.net/bugs/1059320 fixed
bzr revid: psa@tinyerp.com-20121127083630-odwky5bdy24gxoa4
2012-11-27 14:06:30 +05:30
Launchpad Translations on behalf of openerp
e6d033755f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121127052458-7c24bjy09rqd8r8o
bzr revid: launchpad_translations_on_behalf_of_openerp-20121127054533-m8gqmer5k5jpcs65
2012-11-27 05:45:33 +00:00
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
87931e9931
[IMP] case stage fix for actions
...
bzr revid: fp@tinyerp.com-20121126220235-t7xeq4m2pbdpml7t
2012-11-26 23:02:35 +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
4abc0be939
[MERGE] empty to close MP
...
bzr revid: fp@tinyerp.com-20121126215448-dogiqnvwglttuzc8
2012-11-26 22:54:48 +01:00
Fabien Pinckaers
6740c05cc4
[IMP] typo
...
bzr revid: fp@tinyerp.com-20121126215347-cd9vxrpmfjsv1kx9
2012-11-26 22:53:47 +01:00
Fabien Pinckaers
c879cfe9aa
[FIX] crm small fixes
...
bzr revid: fp@tinyerp.com-20121126215241-t5pmqg56oz5860wc
2012-11-26 22:52:41 +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
c33c575201
[FIX] bug in repair, mo when creating a stock.move
...
bzr revid: fp@tinyerp.com-20121126213921-bi1ypv4x2hvs16hc
2012-11-26 22:39:21 +01:00
Fabien Pinckaers
44450f62e2
[IMP] wording, no default filter for archives
...
bzr revid: fp@tinyerp.com-20121126212903-jbd4kdqc4kcrgbhg
2012-11-26 22:29:03 +01:00
Fabien Pinckaers
1123f9809b
[IMP] CSS fix
...
bzr revid: fp@tinyerp.com-20121126203154-ubkwzc1cpgur4nyf
2012-11-26 21:31:54 +01:00
Fabien Pinckaers
76680074cb
[IMP] removed unused code
...
bzr revid: fp@tinyerp.com-20121126190356-1mfgmx5r6ls6md22
2012-11-26 20:03:56 +01:00