P. Christeas
d4f82fbd8c
ir.module: Fix after e3770843a, don't call removed function
...
bzr revid: xrg@linux.gr-20110608120407-6ydgv7ibgf9cb139
2011-06-08 15:04:07 +03:00
P. Christeas
49fbcdb70a
ir.translation: select restriction must be an SQL constraint
...
select fields validate themselves in ORM, through _check_selection_field_value(),
which /retrieves/ the .selection list and checks if value to be written
is among possible ones. This, however, is very expensive for models that
have variable selection lists (eg. ones that require an SQL query).
In fact, for ir.translation, the query would be repeat for every single
write() to ir.translation. The 'lang' field is actually a reference for
res.lang.code (not the .id, sadly), so let SQL implement the constraint
for us.
bzr revid: xrg@linux.gr-20110608093254-ua66p5co6dc203zs
2011-06-08 12:32:54 +03:00
P. Christeas
28e3960004
Revert "[IMP] translation: Added two columns to ir_translation to fix the res_ids after loading is done."
...
This reverts commit a78cd642cd956afe3f3cee54558b214549f0a9a5.
Conflicts:
openerp/addons/base/ir/ir_translation.py
openerp/tools/translate.py
bzr revid: xrg@linux.gr-20110608092941-f2ycamq0k52y4nc8
2011-06-08 12:29:41 +03:00
Launchpad Translations on behalf of openerp
01dcbe5313
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110607043504-fva0ovzg24qy3nqd
2011-06-07 04:35:04 +00:00
Fabien Meghazi
514db0be98
[ADD] Rename feature in dashboards
...
bzr revid: fme@openerp.com-20110606142927-lkg4badlh5u18vgd
2011-06-06 16:29:27 +02:00
Fabien Meghazi
9de40c4451
[ADD] Add Widget feature in dashboards
...
bzr revid: fme@openerp.com-20110606133424-7ffjdm5kbvktht9k
2011-06-06 15:34:24 +02:00
Vo Minh Thu
00c2b7172b
[MERGE] use drawCentredString instead of drawString for report header.
...
bzr revid: vmt@openerp.com-20110606123941-26v9uoetil2gc8ox
2011-06-06 14:39:41 +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
Vo Minh Thu
cdf9746d8e
[MERGE] res_widget: remove res.widget.user entries when user deleted.
...
bzr revid: vmt@openerp.com-20110606111057-g97n2woy1ljyt67k
2011-06-06 13:10:57 +02:00
Fabien Meghazi
dc91f906f7
[FIX] Field's set_value method can now change 'touched' property
...
bzr revid: fme@openerp.com-20110606111044-tnc0cgw3s7cowf1e
2011-06-06 13:10:44 +02:00
Vo Minh Thu
4b88138b59
[IMP] make sure all _constraints methods can receive a context arg.
...
bzr revid: vmt@openerp.com-20110606105826-cq1epnpfnzm3yofa
2011-06-06 12:58:26 +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
niv-openerp
71be1175c3
[fix] possible problem in css for login
...
bzr revid: nicolas.vanhoren@openerp.com-20110606102657-291n0feeeu48cugb
2011-06-06 12:26:57 +02:00
niv-openerp
43b2695cfd
[fix] possible mistake in css
...
bzr revid: nicolas.vanhoren@openerp.com-20110606102630-jex9p4i49272lxkn
2011-06-06 12:26:30 +02:00
niv-openerp
00a46f8582
[merge]
...
bzr revid: nicolas.vanhoren@openerp.com-20110606102116-g5l6u9j6icdrh2xh
2011-06-06 12:21:16 +02:00
niv-openerp
69edae4391
[imp] improved css of login
...
bzr revid: nicolas.vanhoren@openerp.com-20110606101947-nqbx1jcz3uj5oav2
2011-06-06 12:19:47 +02:00
niv-openerp
95e176c3e8
[imp] improved css of login
...
bzr revid: nicolas.vanhoren@openerp.com-20110606101947-5kwn2j3il0ronlhr
2011-06-06 12:19:47 +02:00
niv-openerp
8193d8967d
[imp] improved login css
...
bzr revid: nicolas.vanhoren@openerp.com-20110606094955-kblpspk99t960y9m
2011-06-06 11:49:55 +02:00
niv-openerp
645b31eb43
[imp] improved login css
...
bzr revid: nicolas.vanhoren@openerp.com-20110606094955-ycyoltk5q9dl7q65
2011-06-06 11:49:55 +02:00
Vo Minh Thu
6a2b93ea0d
[REF] res_company: as part of the previous commit:
...
- dont use methods when plain values are ok (in _constraints),
- dont duplicate strings if it is not necessary.
bzr revid: vmt@openerp.com-20110606094338-58zoutk86hm0j68s
2011-06-06 11:43:38 +02:00
niv-openerp
0a4a4e799a
[imp] implemented logout + improved login design
...
bzr revid: nicolas.vanhoren@openerp.com-20110606090454-b2t5wun7vgcj5qb6
2011-06-06 11:04:54 +02:00
Fabien Meghazi
837c1646a9
[ADD] Working "Change layout" dashboard feature
...
bzr revid: fme@openerp.com-20110606101305-451lum3hj0twzvhq
2011-06-06 12:13:05 +02:00
Fabien Meghazi
b5793ebe2c
[ADD] Change layout icons for dashboard
...
bzr revid: fme@openerp.com-20110606101238-dxmce0kb5cr21rfe
2011-06-06 12:12:38 +02:00
niv-openerp
bd7f70b379
[imp] implemented logout + improved login design
...
bzr revid: nicolas.vanhoren@openerp.com-20110606090454-b19vgrwvlj6v2fp6
2011-06-06 11:04:54 +02:00
Vo Minh Thu
641f3a88f3
[MERGE] "%s" % a + b should be "%s" % (a + b).
...
bzr revid: vmt@openerp.com-20110606081752-crltlidap2t1hloj
2011-06-06 10:17:52 +02:00
niv-openerp
93f1a1bef9
[merge] small fix & design improvements to o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20110606075321-tsfb34dylcccp0c5
2011-06-06 09:53:21 +02:00
niv-openerp
f2dca934a3
[imp] put set_embedded_view in openerp.base.View
...
bzr revid: nicolas.vanhoren@openerp.com-20110606075243-7b97zrb84qdfo4eu
2011-06-06 09:52:43 +02:00
niv-openerp
147ca86660
[fix] typo
...
bzr revid: nicolas.vanhoren@openerp.com-20110606075043-cvabf3ex95k0z6af
2011-06-06 09:50:43 +02:00
Vo Minh Thu
f2770c9ac4
[FIX] netrpc_server: close as soon as possible the socket, and do it after a communication-level exception.
...
lp bug: https://launchpad.net/bugs/785009 fixed
bzr revid: vmt@openerp.com-20110606074856-e726j4klc5ljiq5w
2011-06-06 09:48:56 +02:00
niv-openerp
7abcaedafc
[merge] o2m improvements
...
bzr revid: nicolas.vanhoren@openerp.com-20110606074023-2nsa1mzpolud9516
2011-06-06 09:40:23 +02:00
niv-openerp
872520df3d
[fix] fixed problem with list view in o2m not loading at startup
...
bzr revid: nicolas.vanhoren@openerp.com-20110606073935-vnloqd0wrf61pprv
2011-06-06 09:39:35 +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
Launchpad Translations on behalf of openerp
552afb10c5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110603044017-yoke5zwvpebyo93o
bzr revid: launchpad_translations_on_behalf_of_openerp-20110604045342-rkt8o6e65uyj8kjd
bzr revid: launchpad_translations_on_behalf_of_openerp-20110605043539-vvllkcbozllrdlg7
bzr revid: launchpad_translations_on_behalf_of_openerp-20110606043718-0i2770ro7c0oho9t
2011-06-06 04:37:18 +00:00
P. Christeas
a2557925b6
yaml_import: fix ambiguous syntax at end of report
...
When finishing a YAML import, the syntax ["str %d" % int + int] turns
out to be ambiguous and is resolved as [ ("str %d" % int) + int],
leading to a:
TypeError: cannot concatenate 'str' and 'int' objects
This had been first fixed in commit f46966e044d18a644 (2010-06-30)
(cherry picked from commit cc0c584e5dfbf672d51f61e7207047f357e31471)
bzr revid: xrg@linux.gr-20110605135116-ie2h7gnvnx2kpdoy
2011-06-05 16:51:16 +03:00
Vo Minh Thu
ce5d00e03b
[REF] res_lang: removed unused variable.
...
lp bug: https://launchpad.net/bugs/791756 fixed
bzr revid: vmt@openerp.com-20110603085758-ji277jy5mbn9wq3t
2011-06-03 10:57:58 +02:00
Fabien Meghazi
82d7cefef2
[ADD] Save Dashboard's custom views with "Undo" button support
...
bzr revid: fme@openerp.com-20110601134800-d9j48t4f287pokr6
2011-06-01 15:48:00 +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
Vo Minh Thu
b681b0ec75
[ADD] tools/config: started tests.
...
bzr revid: vmt@openerp.com-20110601115055-idoid8p0pnkfci38
2011-06-01 13:50:55 +02:00
Vo Minh Thu
4b3aa9c764
[FIX] modules/loading: revert a change where db.initialize was removed:
...
- it should be removed
- but some code will test if the ir_module_module table exists
- and will force the demo data.
bzr revid: vmt@openerp.com-20110601113353-hdmyl4is9poss8hh
2011-06-01 13:33:53 +02:00
Fabien Meghazi
778b43b2de
[FIX] Do not call success_callback if none given
...
bzr revid: fme@openerp.com-20110601105652-wmtapmthal3yi9h6
2011-06-01 12:56:52 +02:00
Olivier Dony
a270d19d81
[IMP] ir.ui.view.custom: order by create_date descending
...
This way search(limit=1) will give you the latest customization for
a given user. This can be used by client side to allow multiple
customizations with multi-level undo.
bzr revid: odo@openerp.com-20110601105209-vtgf73reh90uipct
2011-06-01 12:52:09 +02:00
Olivier Dony
c5f4eab14a
[IMP] board: board.fields_view_get now returns the "custom_view_id" if there was one
...
This can be used by client side to display special features
regarding customization, like "Undo" buttons, etc.
bzr revid: odo@openerp.com-20110601103802-swxqe17bts7rqn2k
2011-06-01 12:38:02 +02:00
Olivier Dony
c491593b57
[IMP] project_mrp: improved project description
...
bzr revid: odo@openerp.com-20110601103631-6ei1ugahbwe1ibpq
2011-06-01 12:36:31 +02:00
Quentin (OpenERP)
7d60eddba8
[IMP] account, analytic accounting: added group by state on analytic accounts
...
bzr revid: qdp-launchpad@openerp.com-20110601102021-pe3ixdhuwd410g0j
2011-06-01 12:20:21 +02:00
Quentin (OpenERP)
26d85afab6
[IMP] account: added access rights for model_account_treasury_report
...
bzr revid: qdp-launchpad@openerp.com-20110601091116-iysfehqoj7r2hlue
2011-06-01 11:11:16 +02:00
niv-openerp
7c1c638fe5
[merge]
...
bzr revid: nicolas.vanhoren@openerp.com-20110601082448-chl92evsk00di5sr
2011-06-01 10:24:48 +02:00
niv-openerp
61a9b05a58
[IMP] Added first setup for embedded views.
...
bzr revid: nicolas.vanhoren@openerp.com-20110601082358-adg1u4evi7s08iqf
2011-06-01 10:23:58 +02:00
Vo Minh Thu
6d1753a734
[FIX] tools/config: properly cast config file values.
...
bzr revid: vmt@openerp.com-20110601074400-hv1jrgoqw2ji0yah
2011-06-01 09:44:00 +02:00