Commit Graph
19 Commits
Author SHA1 Message Date
Aaron Bohy 617cfd7dc8 [FIX] web_tests,test_new_api: act_window for new design compatibility
The widget_x2many tour uses the discussion model to test one2many
and many2many widgets. The tour clicks on an item of the menu which
opens the discussion model with the discussion_form_2 view (in create mode).
Then, it clicks on the view_switcher to display the list view, and clicks
on an item of the list to open a previously created record.

In the new design, there is no more view_switcher in form view. This flow
is thus unfeasible. This solution changes the menu action so that it
directly opens the model with the list view, on which we can click on the
record to display in form view.
2015-06-26 09:31:25 +02:00
Aaron Bohy 230af35154 [IMP] web: ViewManager for One2Many and Many2Many fields
This rev. generalizes the notions of FieldOne2Many to FieldX2Many and of One2ManyViewManager
to X2ManyViewManager. The same logic is now applied both for One2Many and Many2Many fields.
This allows Many2Many list and kanban views to have a pager, as the pager is instanciated
by the view, on demand of the ViewManager.
2015-06-25 15:44:42 +02:00
qsm-odoo 2a40c195a5 [FIX] Many2ManyTags and web_tests
Adapt web_tests to the new many2manytag included in the tour widget_x2many
2015-06-19 13:42:15 +02:00
qsm-odoo ac8148cfca [FIX] web, web_tests: update css classnames
Update css classnames used in web.tour.js and add them to corresponding
elements in web
2015-06-17 10:03:03 +02:00
Christophe Matthieu b5ba4b4d70 [FIX] web: form_relational_widgets.js: when a user create a line in a one2many field, the dataset_changed is triggered before the blur of the editable list. Some values (with required for eg) are not valid and the on_change is not triggered, change commit_value to wait the trigger and keep the deferred. 2015-05-26 16:51:09 +02:00
Christophe Matthieu ce114bebd8 [IMP] test_new_api: add field and template to test the X2many communication between web client and server side 2015-05-04 12:24:52 +02:00
Christophe Matthieu 680a174747 [IMP] web_tests: add a tour to test AbstractManyField widget and one2many and many2many python api communication and on change trigger 2015-04-20 10:51:02 +02:00
Géry Debongnie 4fdf74fe21 [IMP] web+addons: improvement to module system
The module system needs to know the dependencies of a given module
before executing the function.  This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.

But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
2015-03-18 09:23:37 +01:00
Géry Debongnie c8a8fec622 [REF] web_X: update to the new module system 2015-03-18 09:01:49 +01:00
Géry Debongnie f563b2a119 [FIX] put the scrollbar back in web/tests
for some reason, the web tests interface loads base.css, in which the .openerp is overflow:hidden, which is not fun in the tests.

The correct fix is actually to remove base.css from the tests, but the way I did it had some problems. So, this is a simple workaround that can be safely removed if base.css is removed from the view.
2014-10-21 09:33:52 +02:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
vta vta@openerp.com 40eceb20a3 [FIX] Fixed on_record_loaded.
bzr revid: vta@openerp.com-20121010100233-tulf3c1fvnt2s85e
2012-10-10 12:02:33 +02:00
Vidhin Mehta (OpenERP) abac1cae45 [IMP]improvements to record load event.
bzr revid: vme@tinyerp.com-20121009123532-bwlrg4ldtprd1w2d
2012-10-09 18:05:32 +05:30
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
niv-openerp 3ebfaedd64 [IMP] removed a lot of OldWidget usage
bzr revid: nicolas.vanhoren@openerp.com-20120814134246-y2awqbt2i1hcan61
2012-08-14 15:42:46 +02:00
Fabien Meghazi ce7fb5bb37 [CHG] Ashes to ashes, dashes to underscores.
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
niv-openerp eab7adeacf [imp] remaining of refactoring for 'openerp'
bzr revid: nicolas.vanhoren@openerp.com-20120417124830-6vy3nsjch3w94rt2
2012-04-17 14:48:30 +02:00
niv-openerp 3002bd091f [imp] removed bunch of old stuff in widget
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01:00
Xavier Morel 0166aeabff [ADD] bunch of tests
bzr revid: xmo@openerp.com-20110920122820-5ql07msi0zjljhxn
2011-09-20 14:28:20 +02:00