Commit Graph
48827 Commits
Author SHA1 Message Date
Xavier Morel f0ad5fedac [IMP] move .replaceWith() back into renderElement
* Better formalizes repeated calls to renderElement
* Makes setElement cleaner and less surprising to call

bzr revid: xmo@openerp.com-20120612132120-egsg4kr5n2riv4zk
2012-06-12 15:21:20 +02:00
Xavier Morel 32b7228318 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120612122522-i837e6qsu53230i4
2012-06-12 14:25:22 +02:00
Xavier Morel 250ae50514 [FIX] box-shadow mixin
bzr revid: xmo@openerp.com-20120612121947-67c59hg3fmzwanp3
2012-06-12 14:19:47 +02:00
Xavier Morel d2f7ddb43e [ADD] doc for backbone-ish APIs
bzr revid: xmo@openerp.com-20120611150702-r4c9kyxmu8m7g4c0
2012-06-11 17:07:02 +02:00
Xavier Morel d6f3764645 [REM] declarative elements binding, not sure there's much point and can add later
bzr revid: xmo@openerp.com-20120611144108-pw8pz5p06prsikxe
2012-06-11 16:41:08 +02:00
Xavier Morel b19354ae20 [TEST] getValue/events as a callable
bzr revid: xmo@openerp.com-20120611125454-nli5gkds9ffksmdm
2012-06-11 14:54:54 +02:00
Xavier Morel c64d8859a0 [TEST] declarative events delegation
bzr revid: xmo@openerp.com-20120611124824-w83h6betknrajyte
2012-06-11 14:48:24 +02:00
Xavier Morel 2a9bd73a83 [TEST] Widget#$ shortcut
bzr revid: xmo@openerp.com-20120611120818-apsawz6kypnpc5m3
2012-06-11 14:08:18 +02:00
Xavier Morel c531cb96ca [TEST] Wisget#renderElement with template
bzr revid: xmo@openerp.com-20120611114849-dwk4erae5f1tyc6o
2012-06-11 13:48:49 +02:00
Xavier Morel a0c5057dba [TEST] Widget#renderElement with no template specified, fix Widget#make's handling of attributes
bzr revid: xmo@openerp.com-20120611113238-wz516g9tl0xp1igd
2012-06-11 13:32:38 +02:00
Xavier Morel 772bed66f3 [TEST] Widget#proxy, with both String and Function arguments
bzr revid: xmo@openerp.com-20120611094840-mtilgirzwlhkl2qc
2012-06-11 11:48:40 +02:00
Xavier Morel 3f1757869c [IMP] make searchview base widget not inherit from OldWidget anymore
bzr revid: xmo@openerp.com-20120611091857-wcpc2oqywoc0gg51
2012-06-11 11:18:57 +02:00
Xavier Morel 5c701e2b1d [FIX] behavior of OldWidget for new Widget implementation
bzr revid: xmo@openerp.com-20120611091820-m5gm67psqeh1xxx8
2012-06-11 11:18:20 +02:00
Xavier Morel 26ec50e060 [FIX] bug in new 'proxy' implementation revealed by searchview tests
bzr revid: xmo@openerp.com-20120611091803-kzo5j5t8p82gwr6i
2012-06-11 11:18:03 +02:00
Xavier Morel 2a25772d21 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120611085042-a8t7g7f2rd15jzii
2012-06-11 10:50:42 +02:00
Xavier Morel 8121627ff0 [FIX] broken unit tests
bzr revid: xmo@openerp.com-20120611085019-hk9hz31yctmr5qcn
2012-06-11 10:50:19 +02:00
Fabien Meghazi b69ad45904 [ADD] Added oe_form_field_one2many classname
bzr revid: fme@openerp.com-20120612115205-3wj6odknj61qpvit
2012-06-12 13:52:05 +02:00
Raphael Collet fcca76b487 [MERGE] trunk-first_10_clicks-psi (add group to enable task delegation)
bzr revid: rco@openerp.com-20120612095835-iisiv73hqbhe9l9w
2012-06-12 11:58:35 +02:00
Raphael Collet b152336fe4 [MERGE] trunk-module_image_on_form-psi (improve module form view)
bzr revid: rco@openerp.com-20120612093229-h6wd4g8iqoqnx217
2012-06-12 11:32:29 +02:00
Raphael Collet d4bfc8df5b [IMP] module: rename field 'image' to 'icon_image' (leaving 'image' for other kinds of module images)
bzr revid: rco@openerp.com-20120612091041-fpamk1r8b4e42k9v
2012-06-12 11:10:41 +02:00
Raphael Collet fc7f6da6de [FIX] module form view: fix field label
bzr revid: rco@openerp.com-20120612090513-sl8v5io7lzk3ubts
2012-06-12 11:05:13 +02:00
Raphael Collet b9cff8ac28 [MERGE] from trunk
bzr revid: rco@openerp.com-20120612085325-aqpysyfp7e202r44
2012-06-12 10:53:25 +02:00
Fabien Meghazi 396aede019 [FIX] Fixed some hidden classes problem, improved binary image field's styling
bzr revid: fme@openerp.com-20120612081812-5w6e2bmg0pl6ou12
2012-06-12 10:18:12 +02:00
Fabien Meghazi 4cc23e0e0b [FIX] Fixed form@version support in FormViewRenderingEngine
bzr revid: fme@openerp.com-20120612081058-djm5yz1sccdlnm10
2012-06-12 10:10:58 +02:00
Launchpad Translations on behalf of openerp b871639070 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612045555-2irdwxgtdcfdho23
2012-06-12 04:55:55 +00:00
Olivier Dony a2038328f1 [MERGE] Repair RNG validation, enable rendering check, fix validation in update mode
- RNG validation restored for non 7.0-style views
- RNG schema document now cached for faster validation
- Extra view validation now performed by forcing a rendering
  of each created/updated view via fields_view_get, including
  inherited views
- Fixed fields_view_get when called during module update, i.e.
  while modules are only partially loaded - it will now only
  consider views belonging to already loaded modules only

bzr revid: odo@openerp.com-20120611203431-syzqe4n2jbrqv17u
2012-06-11 22:34:31 +02:00
Olivier Dony c12e32ca24 [MERGE] Fixes for @version attr in recently modified 7.0-style forms
A corresponding server-side fix including improved validation
is being merged at the same time

bzr revid: odo@openerp.com-20120611202701-xhcx9vppv9qkj9bf
2012-06-11 22:27:01 +02:00
Olivier Dony 31b9bee006 [IMP] orm: improved @version spec validation for inherited views
bzr revid: odo@openerp.com-20120611173132-3ioptod9jwxttopc
2012-06-11 19:31:32 +02:00
Olivier Dony d496a2cb23 [FIX] *: Correct @version spec in new-style forms, after FP's recent merge
bzr revid: odo@openerp.com-20120611161014-19p6rd5qpkmmijmg
2012-06-11 18:10:14 +02:00
niv-openerp d369945699 [IMP] added warning messages in o2m when using an unsupported type of view, also removed form view handling in o2m
bzr revid: nicolas.vanhoren@openerp.com-20120611160729-wtqg0o0ry12pyi04
2012-06-11 18:07:29 +02:00
niv-openerp 1ddac412b7 [fix] added sortable false in o2m & m2m
bzr revid: nicolas.vanhoren@openerp.com-20120611152819-rk9zeosndxjrajfa
2012-06-11 17:28:19 +02:00
Fabien Pinckaers ef0b0aae83 [IMP] form layout of invoice
bzr revid: fp@tinyerp.com-20120611144737-pa5q8r4bi3i6726w
2012-06-11 16:47:37 +02:00
Fabien Pinckaers 57ee27b86c fix
bzr revid: fp@tinyerp.com-20120611144223-9ha9jwaabmeawgb5
2012-06-11 16:42:23 +02:00
Olivier Dony 6006aa28c6 [REM] auction,project_messages,base_synchro: remove empty dir after disabling LP translations - modules removed in 7.0
bzr revid: odo@openerp.com-20120611125803-vuqyxbewnxmdyq7a
2012-06-11 14:58:03 +02:00
Purnendu Singh (OpenERP) 3daedd56c2 [MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20120611124702-f45l1i7kqzjs7sua
2012-06-11 18:17:02 +05:30
Olivier Dony 2126f83a35 [IMP] modules, ir.ui.view: improve view validation + avoid validation errors during updates
As of 7.0, RNG validation is not possible for form views
that have a version attribute equal to "7.0", due to the
allowed usage of HTML syntax mixed with the regular OpenERP
view syntax. RNG validation is still enabled for regular
form views (@version missing or less than "7.0"), and for
all other views types.
Validation of 7.0 form views should be improved with the
addition of an assertion-based schema, still to be done.
 
The above is also complemented with an explicit call to fields_view_get()
during view installation, in order to immediately verify
that the updated view hierarchy does not cause any
issue when loaded along with its related views (i.e
parent and siblings, for inheriting views).
In addition to that, fields_view_get() will now only
consider loading views that belong to modules that have
already been loaded. This avoids a lot of validation errors
during a module update operation, which runs on top of
an existing database with all previous views visible,
even those whose module is not loaded yet.

bzr revid: odo@openerp.com-20120611122758-qcw9xdhupl24busq
2012-06-11 14:27:58 +02:00
Olivier Dony 5fd5165c20 [REVERT] db: revert incorrect change to auto_install logic
The auto_install flag means that the module will be automatically
installed as soon as all its dependencies are satisfied.
It does *not* mean that the module will be automatically installed
upon database creation. It can be used for that purpose by
setting it on a module that has no dependencies however.

bzr revid: odo@openerp.com-20120611103653-l7x0xxdqo4wixjvl
2012-06-11 12:36:53 +02:00
Fabien Pinckaers b2f173d4b2 [IMP] purchase form view
bzr revid: fp@tinyerp.com-20120611101935-d2a4nm62x4al1nyu
2012-06-11 12:19:35 +02:00
Fabien Pinckaers 1c5c914789 [IMP] sale form view
bzr revid: fp@tinyerp.com-20120611100757-20fcsrkts3ussa2r
2012-06-11 12:07:57 +02:00
Fabien Pinckaers ca2e0deff5 [MERGE] cleaning all form views
bzr revid: fp@tinyerp.com-20120611100052-e2u8augm7kkc0uyr
2012-06-11 12:00:52 +02:00
Fabien Pinckaers 755fc6c38b [IMP] removing unused tag
bzr revid: fp@tinyerp.com-20120611092652-5yfyl1h2tymnl8ge
2012-06-11 11:26:52 +02:00
Fabien Meghazi 7a59717977 [ADD] Added !important to oe_form_invisible
bzr revid: fme@openerp.com-20120611092641-cp0m7w2a41917r9h
2012-06-11 11:26:41 +02:00
Fabien Meghazi 3f6a65ea01 [REM] Removed openerp.log
bzr revid: fme@openerp.com-20120611091909-269ukzc2gftkwuma
2012-06-11 11:19:09 +02:00
Fabien Pinckaers 8bb17f1f3c [merge] improved all form views
bzr revid: fp@tinyerp.com-20120611091438-9txh9avm142tses1
2012-06-11 11:14:38 +02:00
Fabien Pinckaers 84fe3e7ba6 temporarily removing checks
bzr revid: fp@tinyerp.com-20120611091031-sfear1x3c574tvpw
2012-06-11 11:10:31 +02:00
niv-openerp fdb47f7f7c [IMP] Improved projects view to use a kanban view for project members.
bzr revid: nicolas.vanhoren@openerp.com-20120611090902-mtpokdqfdgihckew
2012-06-11 11:09:02 +02:00
niv-openerp 153375fd35 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120604121500-sgfni3iokvm8dh1p
bzr revid: nicolas.vanhoren@openerp.com-20120611090838-vmi2softfyfvv299
2012-06-11 11:08:38 +02:00
Fabien Pinckaers d19aa69747 merge
bzr revid: fp@tinyerp.com-20120611090802-a85fuvi9kkb15nju
2012-06-11 11:08:02 +02:00
niv-openerp fcb1d3f124 [IMP] Improved partners' view, changed kanban view of children to be more usable.
bzr revid: nicolas.vanhoren@openerp.com-20120611090702-46szixayu6bsnzxy
2012-06-11 11:07:02 +02:00
Fabien Pinckaers 9a7573dd7f [IMP] removing layout="manual"
bzr revid: fp@tinyerp.com-20120611090701-57jr0v6oxnbuocwc
2012-06-11 11:07:01 +02:00