Commit Graph

1782 Commits

Author SHA1 Message Date
Christophe Simonis cf4cbd5d3b [MERGE] last forward port of branch saas-4 up to a65a95f 2014-08-28 15:23:14 +02:00
Cedric Snauwaert a65a95fbf7 [FIX] web: fix blur problem in FieldMany2One widget when clicking on autocomplete option inside a wizard 2014-08-26 11:26:28 +02:00
Christophe Matthieu b3aad9f511 [FIX] product: don't display 'create and edit' option on many2many_tag to create variant on product_template. The quick create is confusing for users 2014-08-22 14:20:14 +02:00
Christophe Simonis 5dff035878 [MERGE] forward port of branch saas-5 up to 39bee35 2014-08-20 20:33:17 +02:00
Christophe Simonis c3131317d7 [MERGE] forward port of branch saas-4 up to ddef2dd 2014-08-20 17:57:22 +02:00
Christophe Simonis ddef2dd10a [MERGE] forward port of branch saas-3 up to 8f13e83 2014-08-20 17:51:20 +02:00
fka-odoo 9247c37de7 [FIX] web: rendering issue in mail composer on Firefox
The cleditor width does not include the margins. Setting 100% will make the editable area too large (104%) on Firefox (opw 611700).
Replaced by auto, the default value adviced by CLEditor.
2014-08-19 11:55:53 +02:00
Thibault Delavallée 6389181e8f [FIX] web: CharDomain form widget: fixed change selection
button not correctly displayed depending on the effective_readonly
parameter. It is now correctly computed.

Also added a link to see records when in view mode, instead of not
being able to see the selection if not in edit mode.
2014-08-14 13:10:26 +02:00
Denis Ledoux ae65be2b2a [MERGE] forward port of branch saas-5 up to 0739bc4 2014-08-11 15:58:02 +02:00
Denis Ledoux 0739bc4eda [MERGE] forward port of branch saas-4 up to 7ecaab9 2014-08-11 15:31:04 +02:00
Denis Ledoux 7ecaab9fe2 [MERGE] forward port of branch saas-3 up to 2f4be42 2014-08-11 15:30:37 +02:00
Denis Ledoux 2f4be42d8c [MERGE] forward port of branch 7.0 up to 3632949 2014-08-11 15:28:54 +02:00
Denis Ledoux 3632949cff [FIX] web: image fields re-render on next/previous
By default, on binary images read, the server returns the binary size
This is possible that two images have the exact same size
Therefore we trigger the change in case the image value hasn't changed
So the image is re-rendered correctly
2014-08-11 14:39:50 +02:00
Thibault Delavallée 765beaa0c9 [FIX] web: form view: priority and kanban widgets cleaning, now more like classic form widgets (edit mode: use set_value, view mode: perform a write) 2014-08-11 10:44:21 +02:00
Olivier Dony 494ecc620f [MERGE] Foward-port saas-5 up to ee4df1e 2014-08-01 14:24:07 +02:00
Cedric Snauwaert 5ddc0305cd [FIX] web: fix tooltip that were stuck visible
tooltip stuck visible should be removed on click + remove tooltip container except for modal in order to prevent them for staying visible in some rare occasion
2014-07-31 17:33:27 +02:00
Olivier Dony bcd9456db5 [REVERT] 8b41906: disabled all on_change on new record form
This reverts commit 8b41906bf8.
2014-07-25 12:45:21 +02:00
Martin Trigaux 8b41906bf8 [FIX] web: avoid trying to access to deleted record message when change password
The onchange call can be made with empty ids list (which would fail). opw 610810
2014-07-24 12:12:33 +02:00
Martin Trigaux f9d43e83c6 [FIX] web: correct rev 680f955
Missing backport of commit f652402 for buffered dataset
Again, should not be forwardported
2014-07-23 12:31:25 +02:00
Anaël Closson 680f9554b4 [FIX] web: reload after wizard when record has been removed cause exception
If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.
2014-07-22 13:18:00 +02:00
Simon Lejeune 239144d519 [FIX] view_form: use the reference of menu from the instance, not from the widget ancestors
Fixes #1024: when using a formview on a non trivial way, the reference of the menu using the widget ancestors may be wrong
2014-07-11 11:51:54 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Christophe Simonis 1f57528bc6 [MERGE] forward port of branch saas-5 up to 8dfd5ea 2014-06-27 16:14:40 +02:00
Martin Trigaux 95cff0ba34 [FIX] view_form: backport of commit 180212b999 (opw 609787) 2014-06-27 15:43:11 +02:00
Cédric Snauwaert f909ae9170 Merge pull request #784 from odoo-dev/saas-5-tooltip-fix-csn
[FIX]tooltip: fix various display problems with the tooltip
2014-06-26 13:56:12 +02:00
Cedric Snauwaert 3781167f9b [FIX]tooltip: fix various display problems with the tooltip 2014-06-26 11:19:37 +02:00
tfossoul 45a120d030 [FIX] KanbanSelection: Reload the record_id on form view
When you are on a form view, you click on a left/right arrow(on the top-right of the view) to pass to the next records. If you click on the widget to change the kanban_state, the widget will change the state of the previous record and not for the current because the record_id is not reset
2014-06-26 09:55:26 +02:00
Christophe Simonis e862ff7033 [MERGE] forward port of branch saas-5 up to 4cb5381
Conflicts:
	openerp/addons/base/module/wizard/base_module_upgrade_view.xml
2014-06-22 15:36:10 +02:00
Christophe Simonis 4cb5381dee [MERGE] forward port of branch saas-4 up to 1f20f61 2014-06-22 15:33:22 +02:00
Christophe Simonis 1f20f61ab4 [MERGE] forward port of branch saas-3 up to 75884c3 2014-06-22 15:30:57 +02:00
Christophe Simonis 75884c3e1a [MERGE] forward port of branch 7.0 up to 7e85786 2014-06-22 13:44:30 +02:00
Jacques-Etienne Baudoux 7e85786b83 web: do not select the first result if click on search more
When searching for a record in a m2o field, if we click on 'search more' we loose the focus on the field and select the first suggestion (which triggers potential on_change). This prevents the selection for this case.
2014-06-20 17:41:09 +02:00
Martin Trigaux bccd75796e [IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields 2014-06-20 14:11:21 +02:00
Mehul Mehta a6b9413a78 [ADD] Add a icon for remove pictures from product and partner 2014-06-20 12:52:24 +02:00
Christophe Simonis eef6330c55 [MERGE] forward port of branch saas-5 up to adf07a9 2014-06-19 16:23:32 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Christophe Simonis 5087612d1d [MERGE] forward port of branch saas-3 up to bf53aed 2014-06-19 15:44:07 +02:00
Christophe Simonis bf53aeda94 [MERGE] forward port of branch 7.0 up to e5533d0 2014-06-19 15:32:32 +02:00
Denis Ledoux a32e989fba [FIX] web: save date(time) field value on key enter in editable list
In editable list, on keypress enter, the _next method is called, saving the current line and starting the edition of the next one
The _next is triggered before the date(time) field change event, and, therefore, the saved value of the date(time) field is the old one
2014-06-17 12:56:13 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi ba3ce4753b Set form views default @version="7.0" 2014-06-11 14:03:20 +02:00
Géry Debongnie af58bc5914 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-06-11 10:10:58 +02:00
Thibault Delavallée 43f9b18183 [FIX] web: form_view: fixed event variable name in chardomain widget (hidden in chrome but make the widget crash in firefox) 2014-06-11 08:56:42 +02:00
Christophe Simonis a7c2125735 [MERGE] forward port of branch saas-4 up to 6b8e972 2014-06-10 13:15:46 +02:00
Christophe Simonis 6b8e9727e5 [MERGE] forward port of branch saas-3 up to 4601d85 2014-06-10 12:29:47 +02:00
Christophe Simonis 4601d85944 [MERGE] forward port of branch 7.0 up to 6fdb783 2014-06-10 11:49:14 +02:00
Christophe Simonis ab9ac783db [FIX] web: many2many field handle "no_create" option 2014-06-05 13:46:53 +02:00
Géry Debongnie 5cc8f9ca42 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-28 10:37:16 +02:00
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Olivier Dony fd21abd847 [MERGE] Forward-port latest saas-3 bugfixes, up to 30f43da 2014-05-27 17:18:43 +02:00
Olivier Dony 30f43daa3b [MERGE] Forward-port of latest 7.0 bugfixes, up to aeaa826 2014-05-27 16:50:02 +02:00
Mohammed Shekha 26cb208903 [FIX]Refixed the issue of o2m record duplication 2014-05-27 19:35:09 +05:30
Thibault Delavallée a26a0e6d30 [FIX] web: chardomain widget: fixed selection of some records in a list (bad domain formatting), fixed domain evaluation tah is done server-side instead of through a stringigy. 2014-05-27 13:31:12 +02:00
Mohammed Shekha 477fa85e55 [FIX]Fixe the issue o2m record duplication. 2014-05-27 10:10:06 +05:30
etenesaca 2097af20b7 * Deleted: oe_m2o_dropdown_option_no_results_to_show AND REUSED oe_m2o_dropdown_option
* Deleted: manually translation in es.po
2014-05-26 11:51:24 -05:00
Géry Debongnie 8159f4a18c [IMP] improves searchview appendTo
after some thought, the extra method insert was not really necessary.
It was at first a way to force the user to give two nodes to determine
where the searchview and the drawer were to be inserted.  However,
the second node can be omitted, a perfectly reasonable default is
to append the drawer just after the searchview.

Then, the role of insert is exactly the same as appendTo, so it makes
sense to override appendTo and remove insert.  Simpler, and the job is done.
2014-05-22 09:55:04 +02:00
etenesaca bd8b2e9002 Optimized search fields from m2o
Added translation of the message
Now this style of message in a CSS class and not use HTML tags
2014-05-20 21:16:52 -05:00
etenesaca 49657b28e6 Now when a search is conducted in the fields and not m2o results have a message saying "No results to show" since the show nothing will display the user is confused 2014-05-20 14:58:40 -05:00
Géry Debongnie 7c6c720425 [IMP] better architecture for searchview/drawer
Before, the searchview and the searchview drawer had to be instantiated by
the user and appended separately to their correct place.  Now, the
searchview is responsible for creating/destroying the drawer, and the
user is responsible for correctly using the insert method with
the node where the searchview/drawer are to be inserted.
2014-05-20 15:27:44 +02:00
Géry Debongnie 1c32d93115 [FIX] correctly display the searchview/drawer (addon web)
the searchview has been splitted in two widgets: SearchView and
SearchViewDrawer.  They are dependent of each other, so a drawer
has to be created for each searchview.  This was not the case in
some form views (inline, created by a wizard).
2014-05-20 11:41:28 +02:00
Thibault Delavallée 7d5de8d90d [IMP] dropdownselection widget renamed kanban state selection
bzr revid: tde@openerp.com-20140508153418-hs6ix3qouy1fu482
2014-05-08 17:34:18 +02:00
Thibault Delavallée 750cc768c1 [CLEAN] web: cleaned priority widget implementation: cleaned xml / js code
bzr revid: tde@openerp.com-20140508140545-kkogxe1dhbh7ryrk
2014-05-08 16:05:45 +02:00
Thibault Delavallée dae5ee484a [CLEAN] web: cleaned dropdown selection widget implementation: cleaned css and js code.
bzr revid: tde@openerp.com-20140508123347-ye6pvk1uo5jargec
2014-05-08 14:33:47 +02:00
Barad Mahendra d9f8f11541 [IMP]improve the widget for dropdown selection and priority
bzr revid: mba@tinyerp.com-20140508055735-ekt5gh7w119w2i2j
2014-05-08 11:27:35 +05:30
Barad Mahendra d3410a6924 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140507104547-p7pmav8pez08zf1h
2014-05-07 16:15:47 +05:30
Thibault Delavallée 80c77d0355 [FIX] web: view_form: fixed effective_readonly behavior of the
binary multi files widget. The option to add an attachment should
be available only in edit mode.

lp bug: https://launchpad.net/bugs/1314974 fixed

bzr revid: tde@openerp.com-20140505145138-x9iwzp74ha2q0bp2
2014-05-05 16:51:38 +02:00
Gery Debongnie 132ccb7180 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502123355-9dqpwq1g9rrpisxj
2014-05-02 14:33:55 +02:00
Antony Lesuisse 5e21a4235d [MERGE] saas-4 up to dle@openerp.com-20140501121915-q88k37nd25ietw8c
bzr revid: al@openerp.com-20140501172508-tjennzht30ktw3nz
2014-05-01 19:25:08 +02:00
Richard Mathot (OpenERP) 03cfbf0f46 [MERGE] from lp:openerp-web
bzr revid: rim@openerp.com-20140430080103-tc4a9ow7rwp3b5nk
2014-04-30 10:01:03 +02:00
Kunal Chavda (OpenERP) 6f51331d52 [MERGE][FIX] Position of m2o autocompletion on too small and non scrollable screens
bzr revid: rim@openerp.com-20140429112237-jdnd04gr1t2qot5r
2014-04-29 13:22:37 +02:00
Chirag Dodiya (OpenERP) 775e553d5a [IMP]Improved code for add <p> tag
bzr revid: cod@tinyerp.com-20140425101340-znewo5agt8vdl5mw
2014-04-25 15:43:40 +05:30
Chirag Dodiya (OpenERP) 616c20a0f7 [MRG]Merge lp:openerp-web
bzr revid: cod@tinyerp.com-20140425061936-csz156gyzu0holkw
2014-04-25 11:49:36 +05:30
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Cedric Snauwaert 8ddf7a21b7 [FIX]calendar tooltip attachment container
bzr revid: csn@openerp.com-20140423145235-ajph1xj2l492q1sy
2014-04-23 16:52:35 +02:00
Denis Ledoux 5ff7146e15 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 4179 revid:dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g
bzr revid: dle@openerp.com-20140417101315-2pjn31wb7ald3qe4
bzr revid: dle@openerp.com-20140417161003-g3mchwrucp6ab8tu
bzr revid: dle@openerp.com-20140422160712-iq4yur3jmw5n01ar
2014-04-22 18:07:12 +02:00
Christophe Simonis 8a1b43be67 [MERGE] forward port of branch saas-4 up to revid 3981 dle@openerp.com-20140418151400-1g98vljq3cjv0czs
bzr revid: chs@openerp.com-20140422094727-7hi9bv3wm1bi0ov9
2014-04-22 11:47:27 +02:00
Cedric Snauwaert 115c586e0a [FIX]tooltip: fix bootstrap bug when using auto placement and element was removed before the tooltip actually show resulting in an error
bzr revid: csn@openerp.com-20140418152511-f11mzqefa791vgl2
2014-04-18 17:25:11 +02:00
Denis Ledoux b250c5f9f5 [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 4003 revid:dle@openerp.com-20140417161003-g3mchwrucp6ab8tu
bzr revid: dle@openerp.com-20140418151400-1g98vljq3cjv0czs
2014-04-18 17:14:00 +02:00
Martin Trigaux fa4e285be7 [FIX] FieldMany2One: avoid error when saving changes in popup from a related fields (opw 606601)
bzr revid: mat@openerp.com-20140418092033-mvqng3thuy61kfoq
2014-04-18 11:20:33 +02:00
Kunal Chavda (Open ERP) 8b2bc4da90 [MERGE]with latest.
bzr revid: kch@tinyerp.com-20140418084142-d8lm531l8dyk7roo
2014-04-18 14:11:42 +05:30
Cedric Snauwaert 4aec292e5c [FIX]tooltip: when not in debug mode, display tooltip in form view with bootstrat as well
bzr revid: csn@openerp.com-20140417140452-afqwxqv8pbvpbs3m
2014-04-17 16:04:52 +02:00
Gery Debongnie 8ae48fae7d [IMP] simplify the stat button html structure (one less span) (addon web)
bzr revid: ged@openerp.com-20140417133630-q001n7sjrt9xw0to
2014-04-17 15:36:30 +02:00
Denis Ledoux 7c668d8eac [FIX] web: double click on save button was trying to save the data two times if there is some latency, event target should be used instead of delegate target
bzr revid: dle@openerp.com-20140417101217-3fwnm76qne6f1vwk
2014-04-17 12:12:17 +02:00
Denis Ledoux f928ba4f10 [FIX] web: double click on save button was trying to save the data two times if there is some latency
bzr revid: dle@openerp.com-20140417101000-6gtyxntkm5d7zcoy
2014-04-17 12:10:00 +02:00
Cedric Snauwaert 77172b410b [MERGE]merge with latest trunk
bzr revid: csn@openerp.com-20140417090153-m6d65ubew0wlr9ic
2014-04-17 11:01:53 +02:00
Cedric Snauwaert 347985e050 [FIX]tooltip: overwrite bootstrap default for tooltip
bzr revid: csn@openerp.com-20140417085954-mirh4eeotsorlyeo
2014-04-17 10:59:54 +02:00
Cedric Snauwaert 7990c39127 [FIX]modal: button were not showing in calendar
bzr revid: csn@openerp.com-20140416151543-im41f9rpqj6ll742
2014-04-16 17:15:43 +02:00
Denis Ledoux ecd96fc0a6 [ADD] web: in view form, when opening a many2one, use get_formview_action method of orm to get the window action to open
bzr revid: dle@openerp.com-20140416143548-i5l6kl00ixgd9x4w
2014-04-16 16:35:48 +02:00
Thibault Delavallée cbd17e3a9f [FIX] char_domain widget: better use of options to compute the model in which
we want to select records.

bzr revid: tde@openerp.com-20140416133402-k3qjrtieevfxz743
2014-04-16 15:34:02 +02:00
Barad Mahendra 756e2a56b8 [REV]unwanted changes
bzr revid: mba@tinyerp.com-20140416105227-nk3q8bq15wwcsgrh
2014-04-16 16:22:27 +05:30
Cedric Snauwaert 20556abc08 [MERGE]clean and refactored tooltip from branch trunk-tipsy-to-boostrap
bzr revid: csn@openerp.com-20140416102659-vft9tfuqmax0qx3q
2014-04-16 12:26:59 +02:00
Mohammed Shekha 91930b470d [FIX]Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.web.form.FormWidget and hence DefaultFieldmanager will nto having view attribute, instead of calling self.view.do_onchange, trigger changed_value which is going to do the same job.
bzr revid: msh@tinyerp.com-20140416083857-sug0k4a28nkvgg27
2014-04-16 14:08:57 +05:30
Thibault Delavallée 482638ab27 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140416082917-lnqc60vm3cid3gl6
2014-04-16 10:29:17 +02:00
Christophe Simonis 457b877160 [MERGE] forward port of branch saas-3 up to revid 4000 dle@openerp.com-20140415130951-ckuv8nsl17qkb300
bzr revid: chs@openerp.com-20140415142910-c3fqzce7wju83f5e
2014-04-15 16:29:10 +02:00
Thibault Delavallée f39fb269a4 [FIX] chardomain field: fixed button action
bzr revid: tde@openerp.com-20140415135145-1wks35wufs9b1etq
2014-04-15 15:51:45 +02:00
Thibault Delavallée 02d07ac47e [ADD] web: form: added char domain widget coming from mass_mailing. This widget
is used to compute the number of records according ot a domain, and to allow
selecting documents.

bzr revid: tde@openerp.com-20140415133914-v8fm6wn7up9ds85i
2014-04-15 15:39:14 +02:00
Denis Ledoux f8d5ef0f80 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr
bzr revid: dle@openerp.com-20140415101427-a6r7lgy50x9bdah3
bzr revid: dle@openerp.com-20140415130951-ckuv8nsl17qkb300
2014-04-15 15:09:51 +02:00
Thibault Delavallée 654700fb36 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140408150638-saavkesrvi58jce1
bzr revid: tde@openerp.com-20140411075558-bhjojsbsivb6erq3
bzr revid: tde@openerp.com-20140414090314-jt83lipdphehyz4e
bzr revid: tde@openerp.com-20140415094006-3zmwct81mqx17mb8
2014-04-15 11:40:06 +02:00
Barad Mahendra 16e024512d [Merge]with trunk
bzr revid: mba@tinyerp.com-20140415093106-xb91mel6e85mjwel
2014-04-15 15:01:06 +05:30
Cedric Snauwaert 280caaa95c [MERGE]change modal windows to only use bootstrap3
bzr revid: csn@openerp.com-20140411132934-iodyidypjxb7v9ug
2014-04-11 15:29:34 +02:00
Barad Mahendra c28afcf88e [IMP]fix typo
bzr revid: mba@tinyerp.com-20140411130708-2pymt9n3qovpcmlu
2014-04-11 18:37:08 +05:30
Cedric Snauwaert c8607c8b81 [FIX]few cosmetic of code
bzr revid: csn@openerp.com-20140411122753-qzxb29uwkw89mrxs
2014-04-11 14:27:53 +02:00
Rashmin Lumbhani (OpenERP) daf69ced12 [IMP]add blocked reason dialog
bzr revid: rlu@tinyerp.com-20140411122320-o0zmebvaz0985mrx
2014-04-11 17:53:20 +05:30
Barad Mahendra 850b4f198a [Merge]with trunk
bzr revid: mba@tinyerp.com-20140408123619-j3qv10fsnrxqn6a9
bzr revid: mba@tinyerp.com-20140411045426-dngn51p0qw4nduig
2014-04-11 10:24:26 +05:30
Cedric Snauwaert 049539809d [FIX]modal strict to bootstrap: no resize and only use 3 size, large-medium-small instead of changing width of modal
bzr revid: csn@openerp.com-20140410151940-w0m1ljjqgo0eysgp
2014-04-10 17:19:40 +02:00
Cedric Snauwaert 964e94f8a8 [FIX]forgot to open a dialog
bzr revid: csn@openerp.com-20140410121122-y0a8l1hzd01af8bn
2014-04-10 14:11:22 +02:00
Christophe Simonis e521085fff [MERGE] forward port of branch saas-3 up to revid 3997 dle@openerp.com-20140409093616-3060or02z8zmv8tm
bzr revid: chs@openerp.com-20140410105525-m68vejubszroawfm
2014-04-10 12:55:25 +02:00
Cedric Snauwaert e95ca69113 [REF]add bootstrap modal window based, cleaned, refactored from trunk-ui-to-boostrap-modal branch
bzr revid: csn@openerp.com-20140410100631-5v6a71oi5wyunbda
2014-04-10 12:06:31 +02:00
Thibault Delavallée ab12151b58 [FIX] web: fixed fieldbarchart, now accepting JSON; fixed statinfo, now properly managing values
bzr revid: tde@openerp.com-20140408123922-tqg2t3it3sm2dw44
2014-04-08 14:39:22 +02:00
Thibault Delavallée a43998c41f [IMP] web: stat buttons: some CSS fixes + added barchart button
that display a barchart. Whoo.

bzr revid: tde@openerp.com-20140408113107-y9zstny6a0ybi38l
2014-04-08 13:31:07 +02:00
Thibault Delavallée a74eb749ae [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140401100513-e4iglorrxnj0ne8j
bzr revid: tde@openerp.com-20140403122017-zl668mpi0w5gwps0
bzr revid: tde@openerp.com-20140408083733-8plf5daah4c8yxxx
2014-04-08 10:37:33 +02:00
Martin Trigaux 506c08a9af [MERGE] [FIX] many2manytags: make sure the selected tag is added to the field when searched (opw 606045)
bzr revid: mat@openerp.com-20140408082758-zb2acpbfv2r6xidg
2014-04-08 10:27:58 +02:00
Christophe Simonis f1d3f2a0c4 [MERGE] forward port of branch saas-3 up to revid 3995 chs@openerp.com-20140407144625-jfimvsx4mgrkztqv
bzr revid: chs@openerp.com-20140407161728-ccudwnqo970ac8ay
2014-04-07 18:17:28 +02:00
Anael Closson d62c9cea68 [FIX] OPW 606045 - view_form: add a m2m tag from search_create_popup doesn't add tag to field
bzr revid: acl@openerp.com-20140407154510-5vxckvf1vpsvl96e
2014-04-07 17:45:10 +02:00
Barad Mahendra 002f33961e [IMP]fix typo
bzr revid: mba@tinyerp.com-20140403132033-4b5yj6uy0mfokao5
2014-04-03 18:50:33 +05:30
Barad Mahendra debd43e78c [Merge]with trunk
bzr revid: mba@tinyerp.com-20140331091837-ysy7r74256f83kqv
bzr revid: mba@tinyerp.com-20140403123846-rfcktmyc3drda5y5
2014-04-03 18:08:46 +05:30
Mohammed Shekha f9d143c216 [FIX]Fixed the issue of duplicated one2many lines, weired behavior when you add one2many line and then add another line withour filling required field and then click on save, then remove added one2many line for which we didn't filled required data and then save it, you will get duplicated lines.
bzr revid: msh@tinyerp.com-20140403070844-6ogpdursukue2zoh
2014-04-03 12:38:44 +05:30
Denis Ledoux c0db6aec56 [FIX] web: do not reload record on dialog close if the wizard return an action
bzr revid: dle@openerp.com-20140402165008-y19pnbb35eerrnwx
2014-04-02 18:50:08 +02:00
Denis Ledoux f652402dd7 [FIX] web: read_ids of data.js use method search_read if check_access_rule option is true.
This fix is related to revision 3985 revid:dle@openerp.com-20140326142040-pls0dk2kd03z55ro, which did not worked for buffered dataset (virtual one2many line in view form
search_read is used instead of read to not return records for which we lose the access rights

bzr revid: dle@openerp.com-20140327112456-iyceuf9dnn07hwke
2014-03-27 12:24:56 +01:00
Thibault Delavallée 423f81bf5c [IMP] view_form: Many2One: when choosing not to have the possibility
of creating values in a many2one, also avoid displaying an 'error displayer'
that allow to create a new record.

bzr revid: tde@openerp.com-20140327103809-nmvc4102y4kp8v1r
2014-03-27 11:38:09 +01:00
Denis Ledoux 7acaaf5894 [FIX] web: use search_read instead of read on form reload and record reload in list, to check if the user can still read the record
bzr revid: dle@openerp.com-20140326142040-pls0dk2kd03z55ro
2014-03-26 15:20:40 +01:00
Denis Ledoux 649ef3ed21 [REVERT] 4164 revid:dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8: this fix actually works in saas-3, but not in 7.0, as search_read method is not part of the orm
bzr revid: dle@openerp.com-20140326123513-jkful2m1n2zjgdmv
2014-03-26 13:35:13 +01:00
Denis Ledoux 162ad1c0f1 [FIX] web: on record reload (form & list view), use search_read instead of read, to check if the user can still read the record (security rules)
bzr revid: dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8
2014-03-26 12:30:36 +01:00
Barad Mahendra 002f663d29 [IMP]imrpove the style of dropdodwnselection
bzr revid: mba@tinyerp.com-20140320055524-szvqd1d8i2sgpe2l
2014-03-20 11:25:24 +05:30
Gery Debongnie 8ac730074a [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140319090153-aczgy9uqqw72702x
2014-03-19 10:01:53 +01:00
Gery Debongnie f4cfed3f0e [IMP] improves the look of the stat buttons in form view: the statinfo widget displays the information on two lines, the padding/margin/width have been adjusted. (addon web)
bzr revid: ged@openerp.com-20140319085718-9v1l3pb43ee6qws6
2014-03-19 09:57:18 +01:00
Barad Mahendra 0c621f4776 [IMP]improve the dropdown selection widget
bzr revid: mba@tinyerp.com-20140318132948-85nnbkbwqri8gnld
2014-03-18 18:59:48 +05:30
Kersten Jeremy af8147fc95 [FIX] Display placeholder on IE9.
The hack was not working since we migrate jQuery 1.8 to 1.9 because $.browser has been removed.

bzr revid: jke@openerp.com-20140318130655-yqgj851enc0293hr
2014-03-18 14:06:55 +01:00
Christophe Simonis 541a5d3f82 [MERGE] forward port of branch saas-2 up to revid 3904 chs@openerp.com-20140318112743-tqv492026y2pnbff
bzr revid: chs@openerp.com-20140318115516-sn3laxqseam1oz3f
2014-03-18 12:55:16 +01:00
Christophe Simonis acb010a985 [MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-18 12:27:43 +01:00
Barad Mahendra 955f6c4cd7 [IMP]improve dropdown
bzr revid: mba@tinyerp.com-20140318092012-4ch33v0e4ej88t2z
2014-03-18 14:50:12 +05:30
Barad Mahendra 90a3059c4e [Merge]with trunk
bzr revid: mba@tinyerp.com-20140318084350-816ejedablhvr2ms
2014-03-18 14:13:50 +05:30
Gery Debongnie e8198d74b6 [IMP] various tweaks to stat_button, to fix issues mentioned in code review. This is mostly cosmetic cleanups, only notable change is that stat_button is now a proper html button instead of a label (addon web)
bzr revid: ged@openerp.com-20140317152710-c33q8kua33o001la
2014-03-17 16:27:10 +01:00
Gery Debongnie af61fd53bc [IMP] removes the tooltip when mouse hovers over a 'percentpie' widget (addon web)
bzr revid: ged@openerp.com-20140314142155-u8suij5tikxwd0zi
2014-03-14 15:21:55 +01:00
Gery Debongnie d849c6521d [IMP] removes the 'stat_button' widget and modifies button to fulfill that role. Now, a button with a class 'oe_stat_button' will be displayed differently (look in form views) (addon web). Also removes the useless widget x2many
bzr revid: ged@openerp.com-20140314134456-wy6ya3zz72zx3yo2
2014-03-14 14:44:56 +01:00
Martin Trigaux 53922c9593 [FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)
bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4
2014-03-14 14:28:54 +01:00
Martin Trigaux 08e07af590 [FIX] pager: do not try to toggle the visibility if the pager do not exists yet
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-14 12:27:09 +01:00
Gery Debongnie 500fc0790c [IMP] chooses better color for the percentpie widget in form view
bzr revid: ged@openerp.com-20140313141216-o3w9ykphm0nuo61q
2014-03-13 15:12:16 +01:00
Gery Debongnie d2637811de [IMP] adds PercentPie and X2Many widgets to formview. PercentPie takes a field 'float' and displays a read-only pie chart to visualize the corresponding percent. X2Many takes a 1tomany or a manytomany field and display a read only string '<number of records> <label>'
bzr revid: ged@openerp.com-20140313124843-d4tc5zdz3lx2r8kt
2014-03-13 13:48:43 +01:00
Martin Trigaux 71d8f8f1c4 [FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching
bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu
2014-03-13 13:38:11 +01:00
Gery Debongnie 0a71d06be3 [IMP] work in progress on stats buttons. The goal is to allow buttons with dynamic/statistical informations in form views (addon web)
bzr revid: ged@openerp.com-20140312132213-hclaw6jc87u220zq
2014-03-12 14:22:13 +01:00
Xavier ALT c033e5a535 [FIX] web: on SearchPopup creation concat build context even if we have initial_ids
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context

lp bug: https://launchpad.net/bugs/1209295 fixed

bzr revid: mat@openerp.com-20140311091522-03imwd5rj3rmwapl
2014-03-11 10:15:22 +01:00
Martin Trigaux 618c8b9100 [FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)
bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-07 15:12:57 +01:00
Denis Ledoux 1761704af2 [FIX] web: view form fieldselection, use name_search instead of cascading search and name_get
One rpc call won
Moreover, res_company in server overwrite name_search for company field in res users preferences, to display all allowed companies of the user, and not just the one allowed by record rules, so the user can change to the companies he is allowed to.

bzr revid: dle@openerp.com-20140304173838-c7uimmey8gvi3b64
2014-03-04 18:38:38 +01:00
Mahendra Barad (OpenERP) 5b2993b0ca [Merge]with trunk
bzr revid: mba@tinyerp.com-20140228131907-byupoh7m80vbw5yl
2014-02-28 18:49:07 +05:30
Mahendra Barad (OpenERP) da18856463 [IMP]fix typo
bzr revid: mba@tinyerp.com-20140226111646-e8f7lnawrw082i03
2014-02-26 16:46:46 +05:30
Mahendra Barad (OpenERP) 4a220f70c9 [IMP]priority widget on click star
bzr revid: mba@tinyerp.com-20140226100509-ra9n6ia24b7ofc22
2014-02-26 15:35:09 +05:30
Mahendra Barad (OpenERP) d8544c4960 [IMP]improve the tooltip on star
bzr revid: mba@tinyerp.com-20140221132956-w6vrflrta8rn51sf
2014-02-21 18:59:56 +05:30
Mahendra Barad (OpenERP) cdf0d28469 [IMP]fix typo
bzr revid: mba@tinyerp.com-20140221122146-p5uopfg2djso3ii2
2014-02-21 17:51:46 +05:30
Kunal Chavda (Open ERP) 1434c34bba [MERGE]With latest trunk.
bzr revid: kch@tinyerp.com-20140221062327-zbfqjr0asc4mrr2l
2014-02-21 11:53:27 +05:30