Commit Graph

36809 Commits

Author SHA1 Message Date
Olivier Dony a25933be83 [IMP] res.currency: better/working default values
bzr revid: odo@openerp.com-20111005002956-1tfe5u13qid3intk
2011-10-05 02:29:56 +02:00
Olivier Dony 5cc7c4002e [IMP] res.currency: name_search() implementation to match name_get()
bzr revid: odo@openerp.com-20111005002416-vz0vzfpb2uosxu4c
2011-10-05 02:24:16 +02:00
Antony Lesuisse 7342b8079e [FIX] debian logfile name
bzr revid: al@openerp.com-20111005001643-ngs7quhipn79gauu
2011-10-05 02:16:43 +02:00
Antony Lesuisse 3fe0d08772 [FIX] some catgories and complexity
bzr revid: al@openerp.com-20111004231832-8hx5233nm031nuhs
2011-10-05 01:18:32 +02:00
Antony Lesuisse 5dd1e2e43c [FIX] complexity default, and base category
bzr revid: al@openerp.com-20111004231534-ay78ghc46ihb91mx
2011-10-05 01:15:34 +02:00
Olivier Dony 982b2a0894 [FIX] orm: typo in computation of Model._original_module
bzr revid: odo@openerp.com-20111004225439-xnb77gtbl77onysm
2011-10-05 00:54:39 +02:00
Antony Lesuisse 2e00f144ec [MERGE] basesetup-dynamic-stw
bzr revid: al@openerp.com-20111004223410-pbwkn5k4zq9ze1mj
2011-10-05 00:34:10 +02:00
Antony Lesuisse 69b916b144 [MERGE] fetchmail local mta option by stw
bzr revid: al@openerp.com-20111004222640-ako0cjw414c5lz72
2011-10-05 00:26:40 +02:00
Olivier Dony de6b69f654 [REM] edi: moved edi to a separate addon
bzr revid: odo@openerp.com-20111004205254-82krwzabg0wuf2ka
2011-10-04 22:52:54 +02:00
Olivier Dony bfdbbb51cb [FIX] orm.export_data: 'module' column is required when creating external IDs
The 'module' field of ir.model.data is required, so we
we need to set it when auto-generating ir.mode.data
entries. This acts as the namespace of the record.
Because we don't want exported records to look like they
belong to an existing module (and risk being garbage
collected at the next module update), we put these
auto-generated names in a reserved '__export__' module
namespace.

bzr revid: odo@openerp.com-20111004205140-duaww77ng4qmktj2
2011-10-04 22:51:40 +02:00
Olivier Dony edf68f510c [REM] orm: annoying INFO log lines
bzr revid: odo@openerp.com-20111004204800-f4470vy0ou3ugxnm
2011-10-04 22:48:00 +02:00
Olivier Dony 51b1201daa [IMP] orm: remember Model._original_module when constructing inheritance
ORM Models already have a _module attribute that contains the
name of the module that declared this class, however
sometimes we also need the name of the module that
declared this model the first time.
This will be stored in _original_module and is the
name of the module to which the first parent with 
the same _name belongs to.

bzr revid: odo@openerp.com-20111004204705-8z9o70n1ynpvng3i
2011-10-04 22:47:05 +02:00
niv-openerp 15a6b81dbe [fix] just return a promise where necessary
bzr revid: nicolas.vanhoren@openerp.com-20111004161116-6pylm16ty6v69szu
2011-10-04 18:11:16 +02:00
Xavier Morel 318ec9998b [IMP] use .children(selector) rather than .find('> ' + selector)
bzr revid: xmo@openerp.com-20111004155918-c2vy0rwkesvdkmli
2011-10-04 17:59:18 +02:00
Xavier Morel 49de0f4640 [FIX] stupidity: if insert a line in a list with more than 5 records (no padding), since the new line does not have a @data-id yet it's going to remove it immediately.
select line to remove before inserting new one

bzr revid: xmo@openerp.com-20111004155746-q13ieg0q6lsy1uf7
2011-10-04 17:57:46 +02:00
Xavier Morel 74db7dd027 [FIX] correctly handle insertion in empty editable list
bzr revid: xmo@openerp.com-20111004154650-hx56g1lmefhzgf21
2011-10-04 17:46:50 +02:00
Xavier Morel 72b852c2c6 [FIX] insertion position of new lines (in editable lists) in case of lists padded to 5 (empty) lines
bzr revid: xmo@openerp.com-20111004154246-7o1cw016cf9ygem3
2011-10-04 17:42:46 +02:00
Xavier Morel f164496dc4 [FIX] correctly call form field's update_dom in all cases in editable listview
Form fields are extended/replaced in editable list view in order to
handle @invisible and @tree_invisible correctly in editable-list-form
context (base semantics of @invisible are different between listview
and formview, formview's @invisible is listview's @tree_invisible, and
instead of removing element from visible DOM listview's @invisible
only hides the element but it keeps the space it's taking).

As a result, listview editable needs to override Widget.update_dom for
pretty much all form widgets, in order to manage this difference in
behavior.

In case of @tree_invisible, it did so correctly setting and unsetting
its stuff and calling this.super() to execute the widget's actual
update_dom triggers **but it did not do so when the element was really
visible**.

As a result, in editable listview elements would never appear required
(blue background), invalid (red background) or disabled (gray),
although they were correctly set up, because the display layer was
never updated.

bzr revid: xmo@openerp.com-20111004151031-65o0q8e86op7kdks
2011-10-04 17:10:31 +02:00
Olivier Dony f07e1dc558 [IMP] res.company: temporarily comment out res.company edi helpers, needs review
bzr revid: odo@openerp.com-20111004143800-lzca5kp7hng2djee
2011-10-04 16:38:00 +02:00
Vo Minh Thu 68a0858c9c [FIX] orm: a typo made all models treated as if they were transient in check_access_rule().
bzr revid: vmt@openerp.com-20111004143335-7etc6y2kje1y20ef
2011-10-04 16:33:35 +02:00
Olivier Dony 82a4a9de0a [IMP] edi: review/corrected edi logic
bzr revid: odo@openerp.com-20111004143050-wvpp2b9r81cho3m3
2011-10-04 16:30:50 +02:00
Olivier Dony 4900560931 [IMP] res.partner.edi: working edi implementation for res.partner + smoke test
bzr revid: odo@openerp.com-20111004142951-klopyd7zn5sxf65g
2011-10-04 16:29:51 +02:00
Olivier Dony 3a224dfc06 [IMP] res.partner: better context management in name_get/name_search
bzr revid: odo@openerp.com-20111004142540-689vy1exk60druhy
2011-10-04 16:25:40 +02:00
Vaibhav (OpenERP) cb05cf6ce2 [FIX] exception error message.
bzr revid: vda@tinyerp.com-20111004133753-kptuu127azazrmg6
2011-10-04 19:07:53 +05:30
Stephane Wirtel 0815eff444 [FIX] base_setup: fix the xml_id of the default shortcut 'Add More Features'
bzr revid: stw@openerp.com-20111004133613-d2pv1csgin2bwfee
2011-10-04 15:36:13 +02:00
Xavier Morel fb2e7a4a06 [FIX] have form widget elements behave correctly in case of classes with dots. Thanks valentin
bzr revid: xmo@openerp.com-20111004132854-sg8vo4m3b4bvtecf
2011-10-04 15:28:54 +02:00
Xavier Morel 780179e016 [FIX] fetch display mode from calendar view
bzr revid: xmo@openerp.com-20111004124125-34rjj54k2fe0locu
2011-10-04 14:41:25 +02:00
Xavier Morel 29cef016f9 [FIX] re-rendering of a given list's row (e.g. onchange, edition, etc...): 'view' needs to be in the context so the row's color can be computed
bzr revid: xmo@openerp.com-20111004104848-277ajqmaud8oc8hn
2011-10-04 12:48:48 +02:00
Xavier Morel 3190884fa1 [FIX] don't perform a search_read when switching view from list to form
I don't remember why I did that originally, it does not seem to serve any purpose and it causes problems in case of records with binary fields

bzr revid: xmo@openerp.com-20111004102115-lz6kgyiw35vp1t99
2011-10-04 12:21:15 +02:00
Valentin Lab 63cf2019e5 [imp] more efficient selector.
bzr revid: valentin.lab@kalysto.org-20111004102050-http3jvu0sf78fmx
2011-10-04 12:20:50 +02:00
Fabien Meghazi f76b2f55ae [MERGE] ViewManager now triggers do_search() in on_mode_switch()
The views doesn't have to worry about the search in do_show().
They just have to listen to do_search() if they are searchable.

bzr revid: fme@openerp.com-20111004094738-at91ab6a2kkxf8bq
2011-10-04 11:47:38 +02:00
Vaibhav (OpenERP) a9c2e07c73 [FIX] Removed exception of events manipulation fields to compute calendar scheduler.
lp bug: https://launchpad.net/bugs/865945 fixed

bzr revid: vda@tinyerp.com-20111004094009-u1vkb6s0u90629rz
2011-10-04 15:10:09 +05:30
Vo Minh Thu 8dc80c7c7c [MERGE] orm: use directly lxml.etree to generate default views.
bzr revid: vmt@openerp.com-20111004092828-79hhaiwgw4dltimd
2011-10-04 11:28:28 +02:00
Xavier Morel 112710c783 [IMP] move fetching notebook page widget into form widgets registry, thanks Valentin
bzr revid: xmo@openerp.com-20111004085119-ll3x1s2r2akcm8p2
2011-10-04 10:51:19 +02:00
Fabien Meghazi e2b6e03c3c [FIX] Save last search before triggering do_search
bzr revid: fme@openerp.com-20111004075039-n8a30wnuueiwnbwt
2011-10-04 09:50:39 +02:00
Valentin Lab 2bb8cadb4d [imp] notebookpage is now in registry also.
bzr revid: valentin.lab@kalysto.org-20111004074321-b2z121y64yynt948
2011-10-04 09:43:21 +02:00
Valentin Lab 8c1e052007 [fix] use a more solid selector to get $element
bzr revid: valentin.lab@kalysto.org-20111004072424-uwx50578hhafe2xm
2011-10-04 09:24:24 +02:00
Launchpad Translations on behalf of openerp 0a85361db9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050146-bi1cipzsk35qj5sq
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050204-nabcu9izdjhcovhd
2011-10-04 05:02:04 +00:00
Antony Lesuisse 649d172a64 [IMP] packaging remove timestamp, use version
bzr revid: al@openerp.com-20111003181001-bu4y5t8u937wb0a7
2011-10-03 20:10:01 +02:00
Antony Lesuisse fd67e605f4 [FIX] packaging MANIFEST.in sdist includes everything
bzr revid: al@openerp.com-20111003175206-afjurox08f55jafh
2011-10-03 19:52:06 +02:00
Olivier Dony ea019d556f [IMP] yaml_import: make !ref nodes work for m2o values
bzr revid: odo@openerp.com-20111003171302-n1quzvs2pjyn7xr6
2011-10-03 19:13:02 +02:00
Vo Minh Thu 80d917593d [MERGE] ir_values cleanup (and a bugfix).
The main changes are:
- obsolete columns have been removed totally from ir.values (the meta* stuff, and the object column)
- existing columns have been documented, but preserved
- the set() and get() methods are deprecated, and internally delegate their tasks to the new set_action/get_actions and set_default/get_defaults.
- the API is now documented
- the administration UI for ir.values has been split in 2: defaults and action bindings now have their own menus and views
- added some new YAML (smoke-)tests.

bzr revid: vmt@openerp.com-20111003161404-s5wjo99q90oi435q
2011-10-03 18:14:04 +02:00
Vo Minh Thu b04d607ec4 [FIX] ir_values: missing trimming of the condition (as done elsewhere).
bzr revid: vmt@openerp.com-20111003154008-k8dm2r3yhintm0ql
2011-10-03 17:40:08 +02:00
Vo Minh Thu d9b6f5e2d0 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003153509-8mbfg1t8hm92pult
2011-10-03 17:35:09 +02:00
Vo Minh Thu bf3d0d604c [MERGE] properly discard any store function when inheriting a field.
bzr revid: vmt@openerp.com-20111003151355-05uavyp17l5jmipo
2011-10-03 17:13:55 +02:00
Fabien Meghazi e80894b775 [FIX] Fixed error for sidebar-less embedded list views
bzr revid: fme@openerp.com-20111003150049-hty30u42ozakevc8
2011-10-03 17:00:49 +02:00
Fabien Meghazi e5e4ab5739 [FIX] Fixed error for sidebar-less embedded list views
bzr revid: fme@openerp.com-20111003150049-n5xtpo0wjibsrhjx
2011-10-03 17:00:49 +02:00
Vo Minh Thu 9e082fad89 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003145135-5ysm8hpp83wey437
2011-10-03 16:51:35 +02:00
Vo Minh Thu 7b90c7e5de [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003144503-lx28ennrz0mt590g
2011-10-03 16:45:03 +02:00
Olivier Dony 288e8ebcfc [IMP] browse_record._table -> browse_record._model
bzr revid: odo@openerp.com-20111003144049-d6o4igae8mslns5x
2011-10-03 16:40:49 +02:00