Antony Lesuisse
9568552636
revert test change will be moved to an other branch
...
bzr revid: al@openerp.com-20121216193932-foluon7b5bqqvrib
2012-12-16 20:39:32 +01:00
Antony Lesuisse
70aa2c995a
filestore testcase and fix bugs
...
bzr revid: al@openerp.com-20121216190317-xoz0jij2cfk0c2zk
2012-12-16 20:03:17 +01:00
Antony Lesuisse
2569587c90
Simplify openerp testing, deprecated redondant test declaration, we feed all
...
tests.* modules to unittest2.TestLoader.loadTestsFromModule(module)
bzr revid: al@openerp.com-20121216173856-euntlfi80uzutkp0
2012-12-16 18:38:56 +01:00
Fabien Pinckaers
4cf0ce7473
[IMP] company form view
...
bzr revid: fp@tinyerp.com-20121216161013-08ymsrtnk17z0lxd
2012-12-16 17:10:13 +01:00
Antony Lesuisse
807c949030
minor fixes
...
bzr revid: al@openerp.com-20121216122555-frwadjd247zidw7o
2012-12-16 13:25:55 +01:00
Antony Lesuisse
b625a3239d
[MERGE] trunk
...
bzr revid: al@openerp.com-20121216121509-rowl05966ej8su0q
2012-12-16 13:15:09 +01:00
Launchpad Translations on behalf of openerp
04a1fe3553
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121216044514-h60p9z11ckzaiug9
2012-12-16 04:45:14 +00:00
Antony Lesuisse
14ad37779c
cleanups
...
bzr revid: al@openerp.com-20121216015214-kfo6zlarh4gdccrx
2012-12-16 02:52:14 +01:00
Antony Lesuisse
f6fe592152
[MERGE] trunk
...
bzr revid: al@openerp.com-20121216014404-oonymtva4uww7bwk
2012-12-16 02:44:04 +01:00
Fabien Pinckaers
50be9a8903
[IMP] logo of company: False or OpenERP logo if demo data
...
bzr revid: fp@tinyerp.com-20121215213219-j7vhocg70mi9jjw6
2012-12-15 22:32:19 +01:00
Antony Lesuisse
5fc754b5d3
[MERGE] manually merge customizable web logo, by chs
...
bzr revid: al@openerp.com-20121215192606-9p66tpo1f4344e20
2012-12-15 20:26:06 +01:00
Antony Lesuisse
0a35f78974
[MERGE] remove res.partner.address by chs
...
it also removes an ugly hack in the orm.
bzr revid: al@openerp.com-20121215182836-y15v2mwgdg9wyubi
2012-12-15 19:28:36 +01:00
Fabien Pinckaers
b8008dc7e4
[IMP] better thumbnail generation
...
bzr revid: fp@tinyerp.com-20121215104647-p4xnj04v5hxdz5wb
2012-12-15 11:46:47 +01:00
Launchpad Translations on behalf of openerp
809c92fdef
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121214053618-1gz9xun2cb10afle
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215050358-th0pl9jeams3pwkr
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215050620-y27swfcuh62k8u32
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215051723-6cnx1julk94gkm66
2012-12-15 05:17:23 +00:00
Vo Minh Thu
91ee5eae52
[IMP] orm/acl: proper message instead of `TODO`.
...
bzr revid: vmt@openerp.com-20121214155313-76lncslpx7ugrp6x
2012-12-14 16:53:13 +01:00
Vo Minh Thu
08a082f63f
[FIX] registry: Set the fields_by_model attribute in __init__(), use None to flag non-existing fields-per-model cache.
...
bzr revid: vmt@openerp.com-20121214141114-em9r66e3sfy21t2r
2012-12-14 15:11:14 +01:00
Xavier Morel
d02fc09bb9
[IMP] more augmented assignments
...
bzr revid: xmo@openerp.com-20121214134455-c1o7ehlot6vdwioe
2012-12-14 14:44:55 +01:00
Xavier Morel
5155f30303
[REM] unused local variables
...
bzr revid: xmo@openerp.com-20121214132533-aafgbov19ckb9ksp
2012-12-14 14:25:33 +01:00
Xavier Morel
3ee178ab2c
[FIX] unnecessary backslashes
...
bzr revid: xmo@openerp.com-20121214132113-1ofmm5x0ua3l2q5d
2012-12-14 14:21:13 +01:00
Xavier Morel
0051f993c0
[FIX] single-quoted docstrings should use double quotes
...
removed a completely useless docstring
bzr revid: xmo@openerp.com-20121214132007-he0yvpmgjw4rwykb
2012-12-14 14:20:07 +01:00
Xavier Morel
5d3d3868f6
[IMP] use augmented assignments
...
bzr revid: xmo@openerp.com-20121214131924-bpl48ht21ic4g34b
2012-12-14 14:19:24 +01:00
Xavier Morel
91f441d0cd
[FIX] mutable default argument values
...
bzr revid: xmo@openerp.com-20121214131720-jll2i2y0ph7aexox
2012-12-14 14:17:20 +01:00
Xavier Morel
8d238252cc
[REM] unused and broken base.module.scan
...
bzr revid: xmo@openerp.com-20121214131310-k9yuwqoau6a8e89u
2012-12-14 14:13:10 +01:00
Xavier Morel
d0a377cb1c
[FIX] incorrect docstrings or docstring param names not matching actual param names
...
bzr revid: xmo@openerp.com-20121214130758-a2wp963w4djmb02k
2012-12-14 14:07:58 +01:00
Xavier Morel
1954c7ae2b
[FIX] unresolved reference: 'model' not available inside test body if generator used
...
bzr revid: xmo@openerp.com-20121214130507-qc1fqzbdttb2a0n2
2012-12-14 14:05:07 +01:00
Xavier Morel
fb6f4bcfbd
[REM] unreachable code
...
bzr revid: xmo@openerp.com-20121214124606-nccvun2sf12gu7c7
2012-12-14 13:46:06 +01:00
Xavier Morel
b6ece5d65f
[REM] trailing semicolons
...
bzr revid: xmo@openerp.com-20121214124310-wfdkhmcwxnyqu30m
2012-12-14 13:43:10 +01:00
Xavier Morel
90a687ab7a
[FIX] misplaced docstrings
...
bzr revid: xmo@openerp.com-20121214124243-kvg2cg00k0a4518p
2012-12-14 13:42:43 +01:00
Xavier Morel
a34a167037
[FIX] crazy direct calls to dunder methods
...
bzr revid: xmo@openerp.com-20121214124111-xk1wq0xh0gzgx8oh
2012-12-14 13:41:11 +01:00
Xavier Morel
c6079dd6bb
[REM] unnecessary parens
...
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Xavier Morel
e83d615830
[IMP] literalify list creation
...
bzr revid: xmo@openerp.com-20121214122605-w1danvqxmqm12800
2012-12-14 13:26:05 +01:00
Xavier Morel
a5cb8460c6
[FIX] __init__ can't return values
...
bzr revid: xmo@openerp.com-20121214122525-bd5207viiz4vqi8x
2012-12-14 13:25:25 +01:00
Xavier Morel
affda60c8e
[FIX] spaceify tabs
...
bzr revid: xmo@openerp.com-20121214122423-j8hla3cf3uir7ypt
2012-12-14 13:24:23 +01:00
Xavier Morel
2270f8e8dd
[IMP] merge extraneous setitem into literal dict creation
...
bzr revid: xmo@openerp.com-20121214122223-91elxxp0m6ska8ua
2012-12-14 13:22:23 +01:00
Xavier Morel
80d97e8d17
[REM] duplicate dict keys
...
bzr revid: xmo@openerp.com-20121214121741-lhkqewfw76riqy45
2012-12-14 13:17:41 +01:00
Xavier Morel
83c102714f
[REM] access to deprecated APIs for unsupported Python versions
...
bzr revid: xmo@openerp.com-20121214121711-d1r6nx82f0mpwgwy
2012-12-14 13:17:11 +01:00
Xavier Morel
4cb3685f70
[IMP] compare to None by identity
...
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Xavier Morel
576571bae2
[IMP] simplify to chained comparison
...
bzr revid: xmo@openerp.com-20121214121604-anypg1nudbk0bh9y
2012-12-14 13:16:04 +01:00
Vo Minh Thu
3667e3c619
[IMP] module loading: removed unnecessary indentation, added comments.
...
bzr revid: vmt@openerp.com-20121214105820-9nlgzu9pm7cvh1pz
2012-12-14 11:58:20 +01:00
Olivier Dony
1565e8c708
[IMP] ir.ui.menu: deleting a menu should orphan its children w/o corrupting the `parent_store` struct: test + fix
...
ir.ui.menu was recently changed to use _parent_store,
which precludes using ondelete=set null for the parent_id
column. We nevertheless need to be certain that menus
can always be deleted but *never* cascade-deleted,
due the possible presence of user-created menus.
Overriding menu.unlink() is therefore necessary,
and care must be taken to bypass the default menu
visibility (using the `ir.ui.menu.full_list` context
flag while doing so)
bzr revid: odo@openerp.com-20121213145821-u2ipdvffu00rsgdg
2012-12-13 15:58:21 +01:00
Olivier Dony
90c0eea54a
[IMP] ir.ui.menu: enable `parent_store` to allow using the `child_of` operator efficiently when loading the menu hierarchy
...
The menu loading logic in openerp-web was adapted to use
`child_of`.
bzr revid: odo@openerp.com-20121212210451-40ew3lp5wgps64gy
2012-12-12 22:04:51 +01:00
Olivier Dony
e660b70ecb
[IMP] orm: do not warn about missing ondelete cascade rule if ondelete is restrict - that's safe as well
...
bzr revid: odo@openerp.com-20121212210247-emrz5rf9ewcwdggu
2012-12-12 22:02:47 +01:00
Olivier Dony
9aa0701836
[FIX] res.users: whitelist recently added `tz_offset` field so that users can read it on their own record (even the anonymous user)
...
bzr revid: odo@openerp.com-20121212210137-u0vwkth5wt0au6qc
2012-12-12 22:01:37 +01:00
Olivier Dony
e493303e18
[REVERT] Undo r.4617, introduced a bug in menu hierarchy retrieval
...
Browsing the menu data as super-user is not correct
because when we load the children menu the ORM
recursively calls menu.search(), this time as
admin, hence the groups of the admin are applied
or submenus, instead of the groups of the user.
The patch was also un-necessary, so there is no
reason to keep it.
r.4617 = chs@openerp.com-20121129172145-0ionmbffc72hwxoa
bzr revid: odo@openerp.com-20121212210027-i5yn1uyzmfho0jh0
2012-12-12 22:00:27 +01:00
Vo Minh Thu
eb0fcc35d2
[FIX] check_field_access_rights: ignore nonexisting fields
...
It seems name_alias is requested but does not exist.
bzr revid: vmt@openerp.com-20121212151509-22494edob4e3fqaf
2012-12-12 16:15:09 +01:00
Vo Minh Thu
1a4fd71880
[FIX] test_fields: _all_columns must be modified similarly to _columns.
...
(Because of the newly added method check_field_access_rights().)
bzr revid: vmt@openerp.com-20121212134755-ykfdykqepwzti5uf
2012-12-12 14:47:55 +01:00
Vo Minh Thu
9d2afcae3f
[IMP] orm: check groups-based access rights on model fields in read() and write().
...
The commented-out tests present in test_acl.py now pass.
Other tests now fail :-(.
bzr revid: vmt@openerp.com-20121212113647-11y3buulifg6tyhj
2012-12-12 12:36:47 +01:00
Quentin (OpenERP)
c8d9c5e73b
[MERGE] branch removing a typo in a view
...
bzr revid: qdp-launchpad@openerp.com-20121212105146-5xfqsqaqu086t7wh
2012-12-12 11:51:46 +01:00
Launchpad Translations on behalf of openerp
2e7f68e09f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212043903-maiyd94p4ifgdqew
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212044145-k216g0bcavdlf2o3
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212045414-tgg69aaw4dz72b0p
2012-12-12 04:54:14 +00:00
Antony Lesuisse
1db5e67ed4
[MERGE] autoinstall at least one dependency must be to install by rco
...
bzr revid: al@openerp.com-20121211185310-jq6cci7740n54b4a
2012-12-11 19:53:10 +01:00
Christophe Simonis
ea542472c9
[FIX] res.partner: column "address" does not exists anymore.
...
bzr revid: chs@openerp.com-20121211184624-b7v3ffn0jsoa1jbq
2012-12-11 19:46:24 +01:00
Christophe Simonis
74b431298e
[FIX] remove res.partner.address model
...
bzr revid: chs@openerp.com-20121211182934-up3sxi0pcw20qrit
2012-12-11 19:29:34 +01:00
Vo Minh Thu
559e2ff23c
[FIX] demo: add the group_partner_manager group to the demo user (needed to pass the test_acl sanity check).
...
bzr revid: vmt@openerp.com-20121211144903-737sc04h41hmzaro
2012-12-11 15:49:03 +01:00
Raphael Collet
fbc37241cc
[IMP] modify the condition to auto-install a module: at least one dependency must be 'to install'
...
bzr revid: rco@openerp.com-20121211144010-3bbszb3ajxr3doup
2012-12-11 15:40:10 +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
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
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
Sanjay Gohel (Open ERP)
223d8f984b
[MERGE]merge with trunk
...
bzr revid: sgo@tinyerp.com-20121211063706-wefc8qt6zu24vvnl
2012-12-11 12:07:06 +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
c4fcf264c0
[IMP] workers request count on exit
...
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +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
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Christophe Simonis
236df95b22
merge upstream
...
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Thibault Delavallée
733cb0d96a
[MERGE] Sync with trunk, because conflicting with ir_ui_menu lastly udpated.
...
bzr revid: tde@openerp.com-20121210132204-39p7chispvogelux
2012-12-10 14:22:04 +01:00
Christophe Simonis
507c02aaa2
[REV] close_socket is back in netsvc.py
...
bzr revid: chs@openerp.com-20121210132133-m1z2hb72y1r1wsei
2012-12-10 14:21:33 +01:00
Sanjay Gohel (Open ERP)
8de8537c1e
[IMP]add tracked attribute on fields
...
bzr revid: sgo@tinyerp.com-20121210131100-v88knep1or2s5o03
2012-12-10 18:41:00 +05:30
Thibault Delavallée
3446b35874
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121210125418-l8ntl5o5mnb2dq3h
2012-12-10 13:54:18 +01:00
Anand Patel (OpenERP)
b3ab5a63ae
[MERGE] Merged with latest trunk
...
bzr revid: pan@tinyerp.com-20121210084122-n7qyuh8hm6jvgmd9
2012-12-10 14:11:22 +05:30
Thibault Delavallée
f0abd6f49e
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121210083805-1t45n6xxmptpo28o
2012-12-10 09:38:05 +01:00
Nimesh (Open ERP)
480e116b40
[MERGE] with trunk
...
bzr revid: nco@tinyerp.com-20121210070332-6h5qnlcf4whjv7p5
2012-12-10 12:33:32 +05:30
Sanjay Gohel (Open ERP)
ee756acff1
[MERGE]with trunk
...
bzr revid: sgo@tinyerp.com-20121210050740-m2tofymj14oqjohl
2012-12-10 10:37:40 +05:30
Launchpad Translations on behalf of openerp
798e44b1e4
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121210043632-9tdic74gwliyynmq
2012-12-10 04:36:32 +00:00
Antony Lesuisse
96f632224f
[IMP] workers document defaults
...
bzr revid: al@openerp.com-20121209225349-k0f9jpg7n0nxc70t
2012-12-09 23:53:49 +01:00
Antony Lesuisse
0801f22e04
[IMP] workers setproctitle if available
...
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse
cf31a12d94
[IMP] workers cron dont keep cursors
...
need for saas and demo
bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse
97ab217893
[IMP] workers cron logging and chorus
...
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse
099ae0f70c
[IMP] workers better logging
...
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse
a4fcf06301
[FIX] temporary fix workers cron for missing openerp.addons.base
...
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse
2f1f17ead9
[IMP] fields warning display args to locate them
...
bzr revid: al@openerp.com-20121209193952-ukk0aie3d8fg18q2
2012-12-09 20:39:52 +01:00
Antony Lesuisse
17ec9a3422
[FIX] workers graceful shutdown
...
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse
ae45df93a4
misc
...
bzr revid: al@openerp.com-20121209190543-83hmvyfcu1af7wiv
2012-12-09 20:05:43 +01:00
Antony Lesuisse
c41d63f300
netrpc flip default, backward compatible for a few days
...
bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
2012-12-09 19:56:51 +01:00
Antony Lesuisse
0cfa89dff7
netrpc flip default
...
bzr revid: al@openerp.com-20121209185442-1kgtc0hvds4fpng0
2012-12-09 19:54:42 +01:00
Antony Lesuisse
3d3eac7c50
service cleanups, more wizard removal
...
bzr revid: al@openerp.com-20121209184632-hp9b9fbbn9g4h2lw
2012-12-09 19:46:32 +01:00
Antony Lesuisse
0ef9f2e4b6
[MERGE] trunk
...
bzr revid: al@openerp.com-20121209182643-9fv5ge2b2r2hrpbv
2012-12-09 19:26:43 +01:00
Antony Lesuisse
5790312d65
netsvc, netrpc, wizardcleanup
...
bzr revid: al@openerp.com-20121209181536-au8u47557i45wizl
2012-12-09 19:15:36 +01:00
Antony Lesuisse
f4977b1f44
cron registrymanager removal
...
bzr revid: al@openerp.com-20121209175300-rhwf9n0y29o7ct19
2012-12-09 18:53:00 +01:00
Antony Lesuisse
42f292af93
cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready.
...
Nota: If we replace sequence signaling for cache invalidation with pg
listen/notify in the future, we will use the same mechanism for more accurate
cron timing.
bzr revid: al@openerp.com-20121209170447-zs0k3jazokylwvar
2012-12-09 18:04:47 +01:00
Antony Lesuisse
d7d1fe562c
[IMP] dbname on localthread for logging
...
bzr revid: al@openerp.com-20121209034910-0iv3mek8860yts3i
2012-12-09 04:49:10 +01:00
Antony Lesuisse
603009f5bc
[FIX] duplicate database
...
bzr revid: al@openerp.com-20121209030348-iyh2zz6oseuu14c6
2012-12-09 04:03:48 +01:00
Antony Lesuisse
f224ce1d8b
[IMP] cli first command testjs
...
bzr revid: al@openerp.com-20121209024618-cae0ux1vmo38ccwr
2012-12-09 03:46:18 +01:00
Antony Lesuisse
a6700e0e3f
[MERGE] multiprocess signaling
...
trying trunk, feature branch fails with Address already in use
bzr revid: al@openerp.com-20121208210954-pi55sib4x7eyamem
2012-12-08 22:09:54 +01:00
Antony Lesuisse
3d2a09a973
multiprocessing signaling manually backported from 6.1
...
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Antony Lesuisse
e11aa2d37b
[MERGE] trunk
...
bzr revid: al@openerp.com-20121208173012-upufsxqur04r0242
2012-12-08 18:30:12 +01:00
Fabien Pinckaers
c9d430c32c
[IMP] small improvement readonly type on ir.actions
...
bzr revid: fp@tinyerp.com-20121208163040-uzdnu0f6rg3gba6y
2012-12-08 17:30:40 +01:00
Fabien Pinckaers
26570ab15e
[IMP] no black backgrounds, keep transparency
...
bzr revid: fp@tinyerp.com-20121208131628-kvea5im5vlprj02r
2012-12-08 14:16:28 +01:00
Launchpad Translations on behalf of openerp
a325343c42
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208045847-0s126yjr8uwtmumb
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208045953-wihh2b6ioie9o11i
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208052110-nf16120fhniyh9zh
2012-12-08 05:21:10 +00:00
Olivier Dony
fce8cf7a4c
[MERGE] orm: remove deprecated OIDS clause in CREATE TABLE sql, courtesy of Christophe Chauvet, Syleam
...
The WITH/WITHOUT OIDS option is deprecated and considered
useless since PostgreSQL 8.1:
http://www.postgresql.org/docs/8.4/static/runtime-config-compatible.html#GUC-DEFAULT-WITH-OIDS
"WITH OIDS" could actually hurt performance
bzr revid: odo@openerp.com-20121207164840-2huk2qs1k1mmea5p
2012-12-07 17:48:40 +01:00
Christophe CHAUVET
82b17c82a4
[IMP] Remove completly the OIDS, cause WITHOUT OIDS is activate by default
...
bzr revid: christophe.chauvet@syleam.fr-20121207162110-75hbq71zc6ufeby9
2012-12-07 17:21:10 +01:00
Thibault Delavallée
bb598cd105
[CLEAN] orm: added quote around a forgottent table name; cleaned a bit some code and added comments, removed dead code.
...
bzr revid: tde@openerp.com-20121207162019-ec1x7a38vw2rrqze
2012-12-07 17:20:19 +01:00
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