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
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
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
Fabien Pinckaers
c603f69386
[FIX] better error message in sequences
...
bzr revid: fp@tinyerp.com-20121126185853-yq2aackwdi3fw1a5
2012-11-26 19:58:53 +01:00
Fabien Pinckaers
85d1b074ae
[FIX] account multi-company & crm log call
...
bzr revid: fp@tinyerp.com-20121126185249-6jrwoxvbhcu1ueqd
2012-11-26 19:52:49 +01:00
Fabien Pinckaers
b9535b0f27
[IMP] Misc useability improvement in account
...
[MERGE] warehouse misc imp, receptions
[IMP] fixes in po
bzr revid: fp@tinyerp.com-20121126182811-kgqve7pzzqddx86g
2012-11-26 19:28:11 +01:00
Olivier Dony
a331b9e8ac
[FIX] update_notifications: typo
...
bzr revid: odo@openerp.com-20121126171346-g3xrdtvlp8s8z31n
2012-11-26 18:13:46 +01:00
Quentin (OpenERP)
90e268d14c
[MERGE] staging branch
...
bzr revid: qdp-launchpad@openerp.com-20121126162933-a3c1agw0z72auw0e
2012-11-26 17:29:33 +01:00
Fabien Meghazi
718b26d796
[FIX] Kanban many2many tags postprocessing does not handle consecutive calls
...
bzr revid: fme@openerp.com-20121126160153-kox4xsyslyhjghea
2012-11-26 17:01:53 +01:00
Fabien Meghazi
5d67ddc6fd
[REV] Revert 3499 revid:chm@openerp.com-20121126125759-ofh9x8w96hf1krd6
...
bzr revid: fme@openerp.com-20121126155543-qv1mntqyxsnfh8lq
2012-11-26 16:55:43 +01:00
Quentin (OpenERP)
cfe39eea1a
[FIX] sale: recopy the right partner on the invoice from the SO
...
bzr revid: qdp-launchpad@openerp.com-20121126155139-tjxq08khe9o6bnh2
2012-11-26 16:51:39 +01:00
Fabien Pinckaers
d448dbb0e9
[FIX] typo
...
bzr revid: fp@tinyerp.com-20121126154747-e3frz66mw7jzkev4
2012-11-26 16:47:47 +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
Quentin (OpenERP)
846b6a0477
[FIX] delivery, warning, point_of_sale: onchange_partner_id now takes context as argument
...
bzr revid: qdp-launchpad@openerp.com-20121126142142-1i7tm04z85aeozqk
2012-11-26 15:21:42 +01:00
Fabien Pinckaers
79084f2967
[FIX] domain on invoice lines
...
bzr revid: fp@tinyerp.com-20121126141944-9613k5raqmzzv1tp
2012-11-26 15:19:44 +01:00
Quentin (OpenERP)
a51dc81513
[REF] account, hr_timesheet_invoice: code refactoring
...
bzr revid: qdp-launchpad@openerp.com-20121126141137-18h8t0vusnhe4e0l
2012-11-26 15:11:37 +01:00
Quentin (OpenERP)
cc69b33102
[FIX] sale_journal: onchange_partner_id now takes context as argument
...
bzr revid: qdp-launchpad@openerp.com-20121126133557-7m75ke3smfwano6s
2012-11-26 14:35:57 +01:00
Turkesh Patel (Open ERP)
6c3f8331c7
[FIX] mrp_repair: improved code to remove error of 'parent.partner_id' when create move from repair order.
...
bzr revid: tpa@tinyerp.com-20121126132822-ay3z2oa2s17gutue
2012-11-26 18:58:22 +05:30
Christophe Matthieu
cf9bbf6476
[MERGE] from trunk-addons20-crm-hip
...
bzr revid: chm@openerp.com-20121126125759-ofh9x8w96hf1krd6
2012-11-26 13:57:59 +01:00
Khushboo Bhatt (Open ERP)
594f2a422f
[MERGE]merged HSA Branch
...
bzr revid: kbh@tinyerp.com-20121126124721-14eo2jzt9pzgnykf
2012-11-26 18:17:21 +05:30
Khushboo Bhatt (Open ERP)
40c3b42ec3
[FIX]crm:fixed trace back for log call
...
bzr revid: kbh@tinyerp.com-20121126124254-nr884etecw3c4lej
2012-11-26 18:12:54 +05:30
Fabien Pinckaers
6d5fa12ce1
[IMP] useability ideas
...
bzr revid: fp@tinyerp.com-20121126121814-ochalg2k5d8z0832
2012-11-26 13:18:14 +01:00
niv-openerp
bbce294eb8
[FIX] typo in doc
...
bzr revid: nicolas.vanhoren@openerp.com-20121126121745-btdro3limzkkxlj0
2012-11-26 13:17:45 +01:00
Fabien Pinckaers
14590993e0
[MERGED] already merged
...
bzr revid: fp@tinyerp.com-20121126121445-23cjq8dhsd5qso9h
2012-11-26 13:14:45 +01:00
Fabien Pinckaers
9c66d7d2f9
[IMP] PoS Useability
...
bzr revid: fp@tinyerp.com-20121126121350-1n3v1nqsrjf8b5qf
2012-11-26 13:13:50 +01:00
Fabien Pinckaers
fb7fd8f862
[IMP] Repair useability
...
bzr revid: fp@tinyerp.com-20121126121047-bin8dlyy91bfadz9
2012-11-26 13:10:47 +01:00