Commit Graph
70704 Commits
Author SHA1 Message Date
Arnaud Pineux 65390e036e [IMP] demo for saas for all languages
bzr revid: api@openerp.com-20121211143836-kmt5l903wmiva8ij
2012-12-11 15:38:36 +01:00
Thibault Delavallée 45e1682327 [FIX] [CLEAN] mail: fixed some access rules issues; removed now unused files.
bzr revid: tde@openerp.com-20121211143301-b52ji02vynvgo3m9
2012-12-11 15:33:01 +01:00
Arnaud Pineux 2fb7baa325 [IMP] demo for french users
bzr revid: api@openerp.com-20121211140346-bhh8o1rf5h57epcz
2012-12-11 15:03:46 +01:00
Fabien Pinckaers 83ba082313 [iMP] contract, add customer name
bzr revid: fp@tinyerp.com-20121211140332-rntjhtn1nxppizvk
2012-12-11 15:03:32 +01:00
Christophe Matthieu 6129e62c28 [IMP] web_form: refactoring of FieldMany2ManyBinaryMultiFiles
bzr revid: chm@openerp.com-20121211124311-sqd4hv9ubkptuvvv
2012-12-11 13:43:11 +01:00
Vo Minh Thu 055f46f290 [IMP] tests: add test_acl to the openerp.tests suite.
bzr revid: vmt@openerp.com-20121211122844-6y060gex2lbq76hp
2012-12-11 13:28:44 +01:00
Christophe Simonis 27ae24eed2 [IMP] remove debug logging
bzr revid: chs@openerp.com-20121211122119-mhl5383vsgacxsz5
2012-12-11 13:21:19 +01:00
Christophe Simonis 060ef93268 [IMP] show company logo in chrome
bzr revid: chs@openerp.com-20121211111824-dj2ienybj2rxwhjj
2012-12-11 12:18:24 +01:00
Vo Minh Thu f668a123d9 [IMP] Reduce considerably the loading time of a new registry.
Loading time was mesured on the loading of a second database (identical to the
first one), i.e. by passing -d xx,yy on the command line, using cProfile. The
databases were installed with sale, mrp, and the crm.

The cProfile code is commited as part of this patch and should be removed (or
maybe guarded by some command-line flag) (just as the commenting-out of the
cron startup).

The patch was also applied on top of the trunk-simple-table-stats-vmt branch
which provides SQL queries counters.

Results indicate that the number of SQL queries are reduced from about 2100 to
27. Loading time is reduced from 1.3s to 0.26s (i.e. improved by 5).

Changes:

All calls to ir_model_fields to fetch manual (custom) fields are done in a
single call (prior to instanciate all models).

Checks for empty module descriptions are not done unless we are in init or
update mode. (The behavior was the opposite, which was probably a mistake).

Some calls to ir_translation, passing en_US because there was no lang in the
context, are not done anymore.

The improved time is also a result of a change in the decimal_precision module
where precision_get fetches all digits/applications instead of one at a time
(and thus implements its own caching instead of relying on
openerp.tools.ormache).

bzr revid: vmt@openerp.com-20121211105954-lwgs5js7yw3tzghs
2012-12-11 11:59:54 +01:00
Goran Kliska 5a011537cc merge trunk
bzr revid: goran.kliska@slobodni-programi.hr-20121211105628-xuk37a7r3g3mtyll
2012-12-11 11:56:28 +01:00
Christophe Matthieu b83c11d61a [FIX] web_form: FieldMany2ManyBinaryMultiFiles get_value work with default_value and unloaded value
bzr revid: chm@openerp.com-20121211105045-0kugxoijdxh8sm7s
2012-12-11 11:50:45 +01:00
Cedric Snauwaert 54a4b12103 [FIX]fleet : go to fleet menu after installation, change demo data, correct some bugs
bzr revid: csn@openerp.com-20121211103734-mtt0lbqiebp0e4v5
2012-12-11 11:37:34 +01:00
Cedric Snauwaert 8aac6dffd6 [MERGE]merge with latest addons trunk
bzr revid: csn@openerp.com-20121211103429-rmh5qs23rbsxrttk
2012-12-11 11:34:29 +01:00
Fabien Meghazi c124fc3281 [FIX] Roundtrips binary field value if not bin size
lp bug: https://launchpad.net/bugs/1082616 fixed

bzr revid: fme@openerp.com-20121211103357-csqirmhxehmszyu4
2012-12-11 11:33:57 +01:00
Xavier Morel e616a9aa14 [FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
2012-12-11 11:19:01 +01:00
Christophe Simonis 88eb634fd5 [IMP] tools.image: size can have width or height optional
bzr revid: chs@openerp.com-20121211100631-th6jjwnc7b1u957v
2012-12-11 11:06:31 +01:00
Cedric Snauwaert 59b6994924 [FIX]could not delete element associated to widget m2m_kanban
bzr revid: csn@openerp.com-20121211100608-ucecq4hf86z6oafu
2012-12-11 11:06:08 +01:00
Josse Colpaert 5d4900faad [MERGE] account: missing rename of payment term id after recent change
bzr revid: jco@openerp.com-20121211092559-mczdwog0jjtoicuv
2012-12-11 10:25:59 +01:00
Thibault Delavallée 3005251333 [IMP] mail: add test for messages notification and for parented messages notification - CHM revision back to repair the merge.
bzr revid: tde@openerp.com-20121211092405-gir4r95oph2rwv11
2012-12-11 10:24:05 +01:00
Thibault Delavallée bf40c23e00 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121211092156-hg62weec6a3yifsf
2012-12-11 10:21:56 +01:00
dle@openerp.com 3960f9ff7b [FIX]Chart of analytic account parent not displayed in toolbar
bzr revid: dle@openerp.com-20121211091902-64yeeqwsqb6qpwd2
2012-12-11 10:19:02 +01:00
Xavier Morel d165b1715c [FIX] broken writing to selection field from web UI
lp bug: https://launchpad.net/bugs/1088764 fixed

bzr revid: xmo@openerp.com-20121211090610-qoh1zazzpp00sx5l
2012-12-11 10:06:10 +01:00
Cedric Snauwaert 8bced827e0 [MERGE]merge with latest addons
bzr revid: csn@openerp.com-20121211090315-vv3as4snjxsk0cqz
2012-12-11 10:03:15 +01:00
Sanjay Gohel (Open ERP) 223d8f984b [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063706-wefc8qt6zu24vvnl
2012-12-11 12:07:06 +05:30
Sanjay Gohel (Open ERP) 26fd182e32 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063215-44s68mudkztyy56b
2012-12-11 12:02:15 +05:30
Launchpad Translations on behalf of openerp cc69fe1b25 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211044948-8q9vf1f9ftrzq4wm
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211050318-3noic2ymt0j497rw
2012-12-11 05:03:18 +00:00
Foram Katharotiya (OpenERP) 38e578d2c0 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121211045123-gi4y8dsm3fxq1lii
2012-12-11 10:21:23 +05:30
Launchpad Translations on behalf of openerp 6ae5cc7b8d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211044616-c47ciibjkh660n1z
2012-12-11 04:46:16 +00:00
Antony Lesuisse f83bfeff0b [IMP] cleanup menu method mess
do_* were introduce for testing this is not needed anymore

bzr revid: al@openerp.com-20121211021338-8s3jqpfraku1tmsj
2012-12-11 03:13:38 +01:00
Antony Lesuisse c4fcf264c0 [IMP] workers request count on exit
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Fabien Pinckaers 0a29f55843 [IMP] contracts
bzr revid: fp@tinyerp.com-20121210194250-ausp6zfxnu4ruq4q
2012-12-10 20:42:50 +01:00
Fabien Pinckaers ed0355a6b7 [IMP] better contract search view
bzr revid: fp@tinyerp.com-20121210193951-ewpv561fq2tbvxuw
2012-12-10 20:39:51 +01:00
Fabien Pinckaers 2f96683e20 [IMP] contract management
bzr revid: fp@tinyerp.com-20121210192810-eff3qaqn90vgl5q3
2012-12-10 20:28:10 +01:00
Josse Colpaert a3155c5ecd [FIX] Changed payment_term to payment_term_net which is in account data
lp bug: https://launchpad.net/bugs/1088261 fixed

bzr revid: jco@openerp.com-20121210172909-tosdh2wwpsnzp17p
2012-12-10 18:29:09 +01:00
Xavier Morel 456ce8cd36 [FIX] intermittent test failure
when test is run right at the boundary between two seconds, after rounding to second generated date and reference date could differ.

check that generated date is within a small range (date created before and date created after) instead of equal to reference

bzr revid: xmo@openerp.com-20121210165006-y720xrwlo37sjwm8
2012-12-10 17:50:06 +01:00
Quentin (OpenERP) f1ef5b7f37 [FIX] base_calendar: virtual ids
bzr revid: qdp-launchpad@openerp.com-20121210163913-yo38g08n0lfn450j
2012-12-10 17:39:13 +01:00
Josse Colpaert ba58da4a59 [MERGE] Merge from trunk
bzr revid: jco@openerp.com-20121210150809-jsmm2r5jozkhg6uh
bzr revid: jco@openerp.com-20121210163141-h30a7h9s8tuz2uqz
2012-12-10 17:31:41 +01:00
Cedric Snauwaert 9bfd41c39e [ADD]after install go to fleet menu, change driver of demo data to demo_user and put demo_user in fleet_user group
bzr revid: csn@openerp.com-20121210162834-bej2x1m8vms87qre
2012-12-10 17:28:34 +01:00
Arnaud Pineux 6fba65605c [MERGE] with saas
bzr revid: api@openerp.com-20121210162011-xik9ds2f073jx0nu
2012-12-10 17:20:11 +01:00
dle@openerp.com ce27860092 [FIX]Communication label useless in coda_note if communication empty
bzr revid: dle@openerp.com-20121210161359-oul0rt2l4f37oxov
2012-12-10 17:13:59 +01:00
dle@openerp.com 7b9bd9610c [ADD]Comments
bzr revid: dle@openerp.com-20121210160556-3y3d20f2zdu34sp5
2012-12-10 17:05:56 +01:00
dle@openerp.com deb2f3a954 [ADD]Auto add partner account number
bzr revid: dle@openerp.com-20121210160041-8r68a86w1763xh08
2012-12-10 17:00:41 +01:00
niv-openerp aee4b7fb92 [IMP] modified chrome frame message to display better in IE8
bzr revid: nicolas.vanhoren@openerp.com-20121210155021-5b7j4626p52uz1ei
2012-12-10 16:50:21 +01:00
Thibault Delavallée bd0bae6625 [MERGE] Perform auto-join and mailboxes+needaction speed udpate. Server-side branch, holding a refactoring of expression.parse and the addition of _auto_join feature on relational fields.
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, working table management and table aliases generation to them. The parsing is now a simple 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 nested loops and uncontrolled results.

Other modifications :
- updated the generation of order_by to take into account the table now referred using aliases
- updated Query object to use the aliases
- fixed an outstanding bug about _order, now handled as order. This means that putting direct SQL into _order of models will not be supported anymore, because of the computing complexity now that we have multiple joins in queries. The branch holds the patch from Paulius Sladkevičius
- updated and added tests
- added a basic documentation for the freature

lp bug: https://launchpad.net/bugs/1070757 fixed

bzr revid: tde@openerp.com-20121210154652-6sab9usb38i7adlh
2012-12-10 16:46:52 +01:00
Thibault Delavallée e14e1122ac [MERGE] Perform auto-join and mailboxes+needaction speed udpate. Addons-side branch, holding an update of functional fields to use _auto_join and refactoring of starred messages implementation.
mail_thread
- updated the message_unread function field, now returning a domain on mail_message notifications. This domain is quite complex and redundant, but mandatory in 7.0 considering the limitations of _auto_join
- message_ids is now using auto_join
- removed message_comment_ids field, not necessary and that lead to confusing data on kanban views
mail_message:
- notifications_ids is now using auto_join
- refactored the todo, now delegated to the notifications
- the favorite_user_ids field is therefore removed, and various methods updated
- updated _search_to_read and _search_starred to return a domain on notifications
- updated the domains of the mailboxes accordingly

bzr revid: tde@openerp.com-20121210154452-ngy6lw1jg97ib5gn
2012-12-10 16:44:52 +01:00
Xavier Morel 45f3ee1909 [FIX] xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8 issue: don't store value from non-existent input
bzr revid: xmo@openerp.com-20121210154411-vrju22fwq7gsjblm
2012-12-10 16:44:11 +01:00
Raphael Collet 43ca577f99 [FIX] js tests: add an abstraction over instance to create properly an assertion function
bzr revid: rco@openerp.com-20121210154309-mubr65ildpiw2wpx
2012-12-10 16:43:09 +01:00
niv-openerp 526c856f7e [FIX] problem in View class, the is_action_enabled() method assumed the existence of the fields_view attribute despite the fact that class never setted that attribute
bzr revid: nicolas.vanhoren@openerp.com-20121210153646-ulbsja1mt9re25wz
2012-12-10 16:36:46 +01:00
Arnaud Pineux 9fcac4fa62 [FIX] Survey
lp bug: https://launchpad.net/bugs/1052079 fixed

bzr revid: api@openerp.com-20121210152833-6waodc9cj1ffq8ye
2012-12-10 16:28:33 +01:00
Vo Minh Thu 509a084e79 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00