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
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
4cb3685f70
[IMP] compare to None by identity
...
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +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
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
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +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
Thibault Delavallée
3446b35874
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121210125418-l8ntl5o5mnb2dq3h
2012-12-10 13:54:18 +01:00
Thibault Delavallée
f0abd6f49e
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121210083805-1t45n6xxmptpo28o
2012-12-10 09:38:05 +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
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
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
3f34f24c02
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121206090241-vpbmp1fwd6gcddev
2012-12-06 10:02:41 +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
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
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
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
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
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
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
Hardik
6c3825fadd
[MERGE]with latest trunk
...
bzr revid: hsa@tinyerp.com-20121130060512-rs5rwyh37pstgu8x
2012-11-30 11:35:12 +05:30
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
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
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
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
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
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
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
Fabien Pinckaers
9f0e0cb0dd
[IMP] small improvement translation tree view
...
bzr revid: fp@tinyerp.com-20121126215826-uw4gn2o4m9klz9ny
2012-11-26 22:58:26 +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
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
Khushboo Bhatt (Open ERP)
1e1dc49126
[IMP/MERGE]merge HSA branch with minor changes.
...
bzr revid: kbh@tinyerp.com-20121123101028-1v8rxbphfk8l15o2
2012-11-23 15:40:28 +05:30
Hardik
3111962858
[IMP]In sequencea when enter 0 in increment number field, it should raised error
...
bzr revid: hsa@tinyerp.com-20121123093315-v645vyqanm80q5xb
2012-11-23 15:03:15 +05:30
Antony Lesuisse
a4e5ddcbb2
[MERGE] trunk
...
bzr revid: al@openerp.com-20121122234236-9egsahi6g7rhmbvr
2012-11-23 00:42:36 +01:00
Turkesh Patel (Open ERP)
16a5675fbe
[IMP] improved typo.
...
bzr revid: tpa@tinyerp.com-20121121072240-wzj3rujgzf63s6fc
2012-11-21 12:52:40 +05:30
Turkesh Patel (Open ERP)
72a4ccff72
[IMP] add filter for create and delete access in serch view of record rules.
...
bzr revid: tpa@tinyerp.com-20121121063248-41j8t56wc17hiw7f
2012-11-21 12:02:48 +05:30
RGA(OpenERP)
3fd4adbc5e
Merge with trunk
...
bzr revid: rgaopenerp-20121121054804-6n8o1r0sr1f7cbvc
2012-11-21 11:18:04 +05:30
Raphael Collet
6bbac26ffb
[IMP] ir_confir_parameter: add parameter 'force' in method 'init' to reinitialize existing parameters
...
This is useful when creating a new database from a dump (reinitialize database.uuid, etc.)
bzr revid: rco@openerp.com-20121119110206-la2yaohf7wmi9yx2
2012-11-19 12:02:06 +01:00
RGA(OpenERP)
9edcf62112
Merge with turnk
...
bzr revid: rgaopenerp-20121119054725-4bfc90t8eyre6xip
2012-11-19 11:17:25 +05:30
Olivier Dony
91e2d25cdd
[MERGE] ir.filters now have @is_default and a corresponding API adaptation
...
Client code usually calls get_filters() to get the list of filters for
a particular model, and then create_or_replace() to manage these filters.
In both cases a new @is_default attribute is now available - the idea
being that the default filter is always applied when a view is newly
opened. Global (user_id = False) filters are replaced by user-specific
filters when there are any.
bzr revid: odo@openerp.com-20121109140828-gpuifdjwrmefg5n2
2012-11-09 15:08:28 +01:00
RGA(OpenERP)
32c674b214
Merge with trunk
...
bzr revid: rgaopenerp-20121109131004-od104pup53dk9ru9
2012-11-09 18:40:04 +05:30
Xavier Morel
4a4fc38d5e
[FIX] nuke ir.model.data caches before starting imports
...
Otherwise a previous validation (or 2) will poison the cache and the
import itself will fail even though the validation succeeeded (and
importing with no validation would have succeeded), as the orm cache
doesn't take DB rollbacks in account.
bzr revid: xmo@openerp.com-20121109113951-p3qgg6m5g7poay5e
2012-11-09 12:39:51 +01:00
Olivier Dony
384a95461a
[IMP] ir_filters: use "shared filters" to designate global filters, to match the UI
...
bzr revid: odo@openerp.com-20121108092822-l8bog0ow0m0ey0b8
2012-11-08 10:28:22 +01:00
RGA(OpenERP)
83d3ff99bd
[FIX] translation tree view
...
bzr revid: rgaopenerp-20121107140706-dwy1l9381qrl6fb9
2012-11-07 19:37:06 +05:30
Xavier Morel
59301c655f
[MERGE] from server
...
bzr revid: xmo@openerp.com-20121107111011-9q0c8kbuype5a8l6
2012-11-07 12:10:11 +01:00
Fabien Meghazi
c71ce60400
[IMP] ir.translation, raise exception when trying to translate fields when no extra language is installed.
...
bzr revid: fme@openerp.com-20121106162753-6eqbhnwqhjgeun78
2012-11-06 17:27:53 +01:00
Xavier Morel
18f885b10f
[FIX] recursive conversion of o2ms in import
...
added new test cases from gkr
bzr revid: xmo@openerp.com-20121106084206-1cckepflh9h4g1yv
2012-11-06 09:42:06 +01:00
Xavier Morel
5bd939f0ac
[REM] useless intermediate lambdas in default values
...
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Antonin Bourguignon
c0cbbc3b03
[IMP] define a name_get() that includes the complete hierarchy of menus
...
also improve code style (var names)
bzr revid: abo@openerp.com-20121029104636-6psw5ucyjy3zoyro
2012-10-29 11:46:36 +01:00
Olivier Dony
4c591fa606
[FIX] ir_attachment: fix regression when counting attachments (OPW 576295)
...
Cherry-pick forward-port of rev-id odo@openerp.com-20120816154020-5s6wbwfb5l2xsnyv
from 6.1. Fixes regression introduced by r.4069.
bzr revid: odo@openerp.com-20121024124709-28w8rh8xnelvuhwg
2012-10-24 14:47:09 +02:00
Vo Minh Thu
749ee11eb2
[MERGE] removed a few warnings.
...
bzr revid: vmt@openerp.com-20121022132759-64qupagcv9cdqnkq
2012-10-22 15:27:59 +02:00
Jigar Amin
4e35350f3c
[MERGE] Sync with trunk
...
bzr revid: jam@tinyerp.com-20121017043806-3z0d69nqzy9v3ojr
2012-10-17 10:08:06 +05:30
Mayur Maheshwari (OpenERP)
43eaf2a51e
[MERGE]: Merge with lp:openobject-server
...
bzr revid: mma@tinyerp.com-20121016054451-ciq04vauebotgoe5
2012-10-16 11:14:51 +05:30
Antony Lesuisse
8fa8551f01
[FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files
...
bzr revid: al@openerp.com-20121013120924-xix9cbozm8kda7rj
2012-10-13 14:09:24 +02:00
Mayur Maheshwari (OpenERP)
e1dfd1fadc
[IMP]all: imporve string state to status
...
bzr revid: mma@tinyerp.com-20121012122419-mtiw3wpxlcbl4y1r
2012-10-12 17:54:19 +05:30
Twinkle Christian (OpenERP)
d33dd7b48a
[MERGE]Merge with trunk-fix-warning branch
...
bzr revid: tch@tinyerp.com-20121011100404-9pau3ltdpvcjph0y
2012-10-11 15:34:04 +05:30
Twinkle Christian (OpenERP)
2f8236bdd1
[FIX]Fix warning:no translation for language en_US
...
bzr revid: tch@tinyerp.com-20121011090232-i0lo4eelz74seja9
2012-10-11 14:32:32 +05:30
Xavier Morel
7a7876d4a8
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154605-u16f57fnck148ued
2012-10-10 17:46:05 +02:00
Xavier Morel
10345423b1
[FIX] treat imported datetime as local to the context-provided or user's datetime
...
bzr revid: xmo@openerp.com-20121009085446-obfpn4c5r250zonc
2012-10-09 10:54:46 +02:00
Xavier Morel
35c0e73eb4
[FIX] m2m command in import
...
command helpers create a single command, still need the list around commands
and the tests would have caught it, if I'd run them...
bzr revid: xmo@openerp.com-20121009070934-7i1hxuzumdu8x1jy
2012-10-09 09:09:34 +02:00
Xavier Morel
afee5b63ee
[IMP] use readable relation helper to generate a '6' m2m command
...
bzr revid: xmo@openerp.com-20121008133311-ejaix536syks41oo
2012-10-08 15:33:11 +02:00
Xavier Morel
443b5b9767
[FIX] missing translation mark on exception message
...
bzr revid: xmo@openerp.com-20121008133116-da2n77kbk9evaa7g
2012-10-08 15:31:16 +02:00
Xavier Morel
12f4150195
[IMP] avoid reimplementing (ir.model.data).get_object_reference() by hand, caught by odo
...
bzr revid: xmo@openerp.com-20121008133006-zsjdvax07zsrjwm6
2012-10-08 15:30:06 +02:00
Xavier Morel
00c7d9f4c0
[FIX] incorrect views spec in relational fields 'more info' action, spotted by odo
...
bzr revid: xmo@openerp.com-20121008132054-y57mg2rhxg6hkx2s
2012-10-08 15:20:54 +02:00
Xavier Morel
53786034e3
[FIX] docstring typo for name of converter methods on ir_fields, following odo review
...
bzr revid: xmo@openerp.com-20121008131545-u5sdlolmmgr8db2y
2012-10-08 15:15:45 +02:00
Xavier Morel
350d365ba0
[IMP] remove docstring for cr, uid following odo review
...
bzr revid: xmo@openerp.com-20121008131407-5hnxkn17lycfoqzu
2012-10-08 15:14:07 +02:00
Raphael Collet
5a971eca90
[FIX] ir: small fix to handle missing models when upgrading
...
bzr revid: rco@openerp.com-20121005102003-16vbr0aive2mbtid
2012-10-05 12:20:03 +02:00
Xavier Morel
27f15d8af8
[IMP] 'more info' actions from relational fields conversion
...
link to ir.model.data if failing to link with database or external ids
bzr revid: xmo@openerp.com-20121004151753-wuyra1fjo31ur56g
2012-10-04 17:17:53 +02:00
Xavier Morel
8b4b31108d
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154523-2h49kpxk4wqkxcy4
2012-10-10 17:45:23 +02:00
Xavier Morel
67a9cf851c
[IMP] use moreinfo key to provide more info as to what the boolean and date value should look like
...
bzr revid: xmo@openerp.com-20121004123237-p5ht1uozaobxn8b7
2012-10-04 14:32:37 +02:00
Xavier Morel
e77fad774b
[IMP] error messages for datetime error
...
bzr revid: xmo@openerp.com-20121004115822-54mzaeqi05h0p4ve
2012-10-04 13:58:22 +02:00
Olivier Dony
aa6672b2af
[MERGE] Unify PO extraction system between server/addons and web + minor cleanup
...
bzr revid: odo@openerp.com-20121004074420-c0b2xxxyn5etto2i
2012-10-04 09:44:20 +02:00
Olivier Dony
2a96eb4944
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121003161807-3nwp7kvc3s2eh2xf
2012-10-03 18:18:07 +02:00
Olivier Dony
d2f3bbf4bc
[REV] Undo header template extraction
...
bzr revid: odo@openerp.com-20121003161641-9zodo9ks2bqjjjfd
2012-10-03 18:16:41 +02:00
Olivier Dony
1a541b2b69
[REV] Revert removal of ir.wizard.menu, still useful to create menuitems for custom models
...
bzr revid: odo@openerp.com-20121003142006-t1soc5xprdbcvice
2012-10-03 16:20:06 +02:00
Xavier Morel
b9b19f61ea
[FIX] if a selection label is empty, return the value in a selection import message
...
bzr revid: xmo@openerp.com-20121003115949-sgsouhcmboascjbl
2012-10-03 13:59:49 +02:00
Xavier Morel
1e4a677f05
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154436-wz29sdkbs9vvhjba
2012-10-10 17:44:36 +02:00
Xavier Morel
5d64088c8c
[IMP] use generic header template in form views
...
also small reindent in view with fucked-up indentation
bzr revid: xmo@openerp.com-20121002142721-u9hlw4ob04wahu50
2012-10-02 16:27:21 +02:00
Olivier Dony
e35992cc53
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121001144941-16d8mbi5475c3tyb
2012-10-01 16:49:41 +02:00
Xavier Morel
aed20ca5d7
[FIX] conversion and validation of date and datetime field imports
...
bzr revid: xmo@openerp.com-20121001134330-za8hqctrghmw08i4
2012-10-01 15:43:30 +02:00
Xavier Morel
84332d8aad
[FIX] type error when providing a non-integer for a default database id
...
bzr revid: xmo@openerp.com-20121001130530-yf6pzuxdi3s09tji
2012-10-01 15:05:30 +02:00
Fabien Pinckaers
f6ff157ca5
[MERGE] active of ACLs, courtesy of akretion
...
bzr revid: fp@tinyerp.com-20120929114236-lru7p4ibuclbn5nr
2012-09-29 13:42:36 +02:00
Olivier Dony
d8c74879e8
[REM] Remove unused ir.wizard.menu and ir.wizard.screen - internal wizards used for config, now gone ; some lint cleanup
...
bzr revid: odo@openerp.com-20120928122206-iynu3ilsurzecwde
2012-09-28 14:22:06 +02:00
Olivier Dony
722bb4461d
[ADD] ir.translation: add separate view file - missing in previous commits
...
bzr revid: odo@openerp.com-20120928094355-rjx12zjju09tmyew
2012-09-28 11:43:55 +02:00
Xavier Morel
87af7a6365
[FIX] replace warnings capture by explicitly returning a list of warnings from converters
...
makes converter code noisier, but ultimately simpler without having access to dynamically scoped variables
bzr revid: xmo@openerp.com-20120927144341-j1dx3e0epf3i5ja6
2012-09-27 16:43:41 +02:00
Xavier Morel
f39730e918
[FIX] make conversion errors for floats and integers more predictable
...
Python turns out to have changed the wording of the messages between 2.6 and 2.7
also, these messages need to be translatable *and* use the human-readable field name
bzr revid: xmo@openerp.com-20120927103452-cvgv3e8dsvcvnics
2012-09-27 12:34:52 +02:00
Xavier Morel
e61dc50934
[IMP] convert empty import fields to False values without going through converters
...
simplifies the converter methods by avoiding redundant emptiness checks
bzr revid: xmo@openerp.com-20120925155915-82p2s6stpww37p5n
2012-09-25 17:59:15 +02:00
Xavier Morel
d5c69fa87e
[FIX] use lists instead of iterators in BaseModel._extract_records
...
* although it does use an explicit external index, it turns out the
code is less complex
* the rewrapping of (many) iterators on top of one another ended up
blowing Python's stack during ``next`` calls, which Python does
*not* like
* added a 900-ish import test file to check for these things
bzr revid: xmo@openerp.com-20120925135955-oielhopegnefyctm
2012-09-25 15:59:55 +02:00
Xavier Morel
e6c8f1739a
[ADD] 'more info' action to m2o, o2m and m2m linking failures
...
bzr revid: xmo@openerp.com-20120925074256-18puerjbfo3om265
2012-09-25 09:42:56 +02:00
Xavier Morel
f143902d1a
[IMP] allow converters to add data to import messages, formalize message keys
...
bzr revid: xmo@openerp.com-20120924150417-c2y7g7vdsfz66363
2012-09-24 17:04:17 +02:00