Commit Graph

126 Commits

Author SHA1 Message Date
Xavier Morel 95db288939 [FIX] list view pager
bzr revid: xmo@openerp.com-20120410112656-nced0rr1j4zf9lvy
2012-04-10 13:26:56 +02:00
Xavier Morel e6b4688014 [HACK] display non-functional pager in list view as well
bzr revid: xmo@openerp.com-20120410103830-vt3x8ijm3gvhi8t9
2012-04-10 12:38:30 +02:00
Xavier Morel 789672bdc9 [FIX] also unfuck just as retarded handling of global buttons in form view
bzr revid: xmo@openerp.com-20120410075914-d7632s7v7bpjseg4
2012-04-10 09:59:14 +02:00
Xavier Morel 59a107a90c [FIX] unfuck retarded handling of global buttons in list view
bzr revid: xmo@openerp.com-20120410074801-bepzklcdi7g3sx7k
2012-04-10 09:48:01 +02:00
Antony Lesuisse 77ec66a20e bye bye page view
bzr revid: al@openerp.com-20120409205334-tbgk3fz7q7q60o3t
2012-04-09 22:53:34 +02:00
Antony Lesuisse 16ea7ae148 listview refactor part2
bzr revid: al@openerp.com-20120409201647-97r7h4nd3lid42si
2012-04-09 22:16:47 +02:00
Antony Lesuisse 4e40395d3c listview css
bzr revid: al@openerp.com-20120409200334-24j00uopwpofpbq3
2012-04-09 22:03:34 +02:00
Antony Lesuisse d88e13dcfa form temp donty hide buttens
bzr revid: al@openerp.com-20120409195047-thi24ozzlz2yvr7z
2012-04-09 21:50:47 +02:00
Antony Lesuisse dc558a3291 fix reload view
bzr revid: al@openerp.com-20120409194333-u82lb7ru2t395rmn
2012-04-09 21:43:33 +02:00
Antony Lesuisse 518d4ccfb6 listview refactor part1
bzr revid: al@openerp.com-20120409193509-l6kps8m5k78wn1nn
2012-04-09 21:35:09 +02:00
niv-openerp 236d1d2f30 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405162718-rbdyzsh3ssawcoe3
2012-04-05 18:27:18 +02:00
niv-openerp 9834565c65 [imp] refactoring to allow easy usage of embedded view in any view
bzr revid: nicolas.vanhoren@openerp.com-20120405160315-vn2gawdesxuy53b3
2012-04-05 18:03:15 +02:00
Antony Lesuisse 7f1eecc8d3 sidebar removal part1
bzr revid: al@openerp.com-20120401231212-dln0svoqcc0pmpxy
2012-04-02 01:12:12 +02:00
Fabien Meghazi effd8e2ca3 [FIX] "Group" label in list view should be translatable
lp bug: https://launchpad.net/bugs/943973 fixed

bzr revid: fme@openerp.com-20120305184516-6j7ftdnflw6mrb0p
2012-03-05 19:45:16 +01:00
Xavier Morel e178185b4f [MERGE] bug fixes form 6.1 branch
bzr revid: xmo@openerp.com-20120305070634-li0eloj7vhsljguu
2012-03-05 08:06:34 +01:00
Xavier Morel 4b74a35c76 [FIX] list paginator's 'last page' button: not all state was transferred between datasets during paginator configuration
lp bug: https://launchpad.net/bugs/939614 fixed

bzr revid: xmo@openerp.com-20120228101200-atisgrb2fb0eqi1g
2012-02-28 11:12:00 +01:00
Xavier Morel 2b2ae48ea9 [FIX] progressbar fields display in group headers
also, weird computed progress bars (e.g. aggregates) with way too many digits

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

bzr revid: xmo@openerp.com-20120227152739-3pmu3dtqrbzx1x3m
2012-02-27 16:27:39 +01:00
Xavier Morel 739f719ad6 [UP] py.parse 0.2 to py.js 0.4 ~
should probably go through a testing phase (checking its result
against that of eval_domain_and_context) for a while, but apart from
that it's supposed to work.

'stdlib' stuff (datetime.date.today, datetime.timedelta,
time.localtime, time.time, time.strftime) still need to be
written. Isn't there also a dateutil.relativedeleta somewhere?

Anyway that needs to be done and the various evaluation contexts need
to be defined, but the valuator itself should mostly work.

bzr revid: xmo@openerp.com-20120227073721-nkgeiqacbzch8xev
2012-02-27 08:37:21 +01:00
Xavier Morel a55e7148e3 [FIX] correctly set dataset index when selecting a record in list view, so switching to page/form switches to the first selected record, not the first record of the page
lp bug: https://launchpad.net/bugs/939314 fixed

bzr revid: xmo@openerp.com-20120223145157-rkkwg6pwcr6hh7st
2012-02-23 15:51:57 +01:00
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
Xavier Morel a7354829cd [CNG] make forms worse but pagination not break in case of manyrecords
bzr revid: xmo@openerp.com-20120209170748-l70q7grxgsumha2i
2012-02-09 18:07:48 +01:00
Xavier Morel b21eb64306 [FIX] selection state does not survive list content reload, so global checkbox should not either
global checkbox should be deselected after e.g. sidebar actions, or sorting the list

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

bzr revid: xmo@openerp.com-20120206091143-gpljqsldg6xx508r
2012-02-06 10:11:43 +01:00
Fabien Meghazi 5e7b30e996 [FIX] Do not FormView#do_show() twice on cold do_load_state()
bzr revid: fme@openerp.com-20120201154442-gwbdm99wy8qahwie
2012-02-01 16:44:42 +01:00
Xavier Morel 309dccbc1f [FIX] if no list limit is specified anywhere, default to 80 on listview initialization
lp bug: https://launchpad.net/bugs/923805 fixed

bzr revid: xmo@openerp.com-20120201131848-b0a0ity490s548c3
2012-02-01 14:18:48 +01:00
Xavier Morel b50afe59fb [FIX] don't forget to set py.bool in context of py.eval/py.evaluate
py.eval really needs to automatically have builtins in its evaluation context...

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

bzr revid: xmo@openerp.com-20120130085557-oqmjs0owgdrwshu0
2012-01-30 09:55:57 +01:00
Xavier Morel eaa1fbca72 [FIX] strange draggable behavior in Chrome 15/Linux
dragging any other row than the first one in a sortable table (table with sequences)
has the row going way to the right of the table, in both editable list views (e.g.
tasks) and relational fields (e.g. Accounting > Configuration > Financial Accounting
> Taxes > Taxes[form] > Child Tax Accounts

bzr revid: xmo@openerp.com-20120127091938-z79e7aj6wjcmfmmz
2012-01-27 10:19:38 +01:00
Xavier Morel 7f1c184bb4 [IMP] invert sorting arrows
http://notes.ericjiang.com/posts/456

bzr revid: xmo@openerp.com-20120125150201-82vkms4pxyn2qbsu
2012-01-25 16:02:01 +01:00
Vaibhav (OpenERP) a93daf3b98 [FIX] helper clone for dragged element.
lp bug: https://launchpad.net/bugs/920349 fixed

bzr revid: vda@tinyerp.com-20120125131528-twjtq49lhzr214vr
2012-01-25 18:45:28 +05:30
Xavier Morel 4a16a74de0 [IMP] only display group paginator if there are more than 80 records in the group
bzr revid: xmo@openerp.com-20120117124312-n4h9r1g9ovk09xli
2012-01-17 13:43:12 +01:00
Xavier Morel 8f4a0277ac [FIX] unbind handlers on records from a collection when the record is removed from the collection or the collection is reset
bzr revid: xmo@openerp.com-20120112170917-n6xadpzkbflk9s2c
2012-01-12 18:09:17 +01:00
Xavier Morel f4efb938e2 [FIX] forgot to forward arguments correctly in xmo@openerp.com-20120112084910-6fxbzbgmv51utyko
bzr revid: xmo@openerp.com-20120112102941-qa596ufk5nlc2nqp
2012-01-12 11:29:41 +01:00
Xavier Morel 12e3ef7fbf [IMP] add lazier proxy method on CallbackEnabled, use it in WebClient and ListView
bzr revid: xmo@openerp.com-20120112084910-6fxbzbgmv51utyko
2012-01-12 09:49:10 +01:00
Fabien Meghazi fe4526b2d8 [MERGE] Merge last trunk
bzr revid: fme@openerp.com-20120111085337-u65f0pyr1n60mkaw
2012-01-11 09:53:37 +01:00
Xavier Morel 2e1c8cceb9 [FIX] broken grouping in list views
bzr revid: xmo@openerp.com-20120111084602-in9dlvig8283g2o7
2012-01-11 09:46:02 +01:00
Fabien Meghazi e9ca86dd63 [IMP] More dataset refactoring
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Fabien Meghazi 652e845321 [IMP] Refactored Dataset#read_ids usage
bzr revid: fme@openerp.com-20120110154500-466y26mkyb947nze
2012-01-10 16:45:00 +01:00
Xavier Morel d98b8b8be0 [ADD] handling of binary fields to the listview
bzr revid: xmo@openerp.com-20120110153905-zxqkze9c4zrkmv2a
2012-01-10 16:39:05 +01:00
Xavier Morel 4cc9cb83ce [IMP] add bin_size flag to listview reads in order not to fetch binary file contents
bzr revid: xmo@openerp.com-20120110143556-ijsmmhvenw93vzfb
2012-01-10 15:35:56 +01:00
Serpent Consulting Services 6f4fc625cf [FIX] List view :- Column should be added for edit icon in group by record.
lp bug: https://launchpad.net/bugs/913485 fixed

bzr revid: support@serpentcs.com-20120109065022-rcdng1w3c6xobxc8
2012-01-09 12:20:22 +05:30
Xavier Morel 01fdd9420f [FIX] reload form (and list) views after sidebar actions
bzr revid: xmo@openerp.com-20111221141953-zovj4tpwse9tfvm9
2011-12-21 15:19:53 +01:00
Xavier Morel 3c11f25e73 [FIX] don't display group paginators in analysis views
bzr revid: xmo@openerp.com-20111221092921-jiluuxyd2cfebxgt
2011-12-21 10:29:21 +01:00
Xavier Morel d206ee9124 [ADD] guide to translations in OpenERP Web
bzr revid: xmo@openerp.com-20111220183521-oo4dvofca1uqmzuy
2011-12-20 19:35:21 +01:00
Xavier Morel 4cb4ac397b [FIX] view node attributes should have precedence over field attributes for a field when they collide
lp bug: https://launchpad.net/bugs/906893 fixed

bzr revid: xmo@openerp.com-20111220152223-vz7ibc1hjydohwk5
2011-12-20 16:22:23 +01:00
niv-openerp f295808ff1 [imp] replaced many usages of setTimeout by async_when
bzr revid: nicolas.vanhoren@openerp.com-20111219162805-0ibqw4hn23imkfuj
2011-12-19 17:28:05 +01:00
Xavier Morel a8286263ff [ADD] lazy translation function, to correctly translate strings in contexts evaluated before the translation db has been loaded
bzr revid: xmo@openerp.com-20111216130000-56qd717d79529opy
2011-12-16 14:00:00 +01:00
Xavier Morel 265d9e1ef4 [ADD] translatable name to views
lp bug: https://launchpad.net/bugs/904989 fixed

bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
2011-12-16 12:20:54 +01:00
Christophe Simonis 160801b0e6 [IMP] handle url for list views
bzr revid: chs@openerp.com-20111215153134-tdwy5y8j7ktm1dzv
2011-12-15 16:31:34 +01:00
Xavier Morel 5e0cf3080d [ADD] form links into list views
bzr revid: xmo@openerp.com-20111215152934-ujciaxk6o1iyorng
2011-12-15 16:29:34 +01:00
Fabien Meghazi 188615a35f [IMP] Use proper name for edit_link option
bzr revid: fme@openerp.com-20111215133800-q8cypwxu7hps21ty
2011-12-15 14:38:00 +01:00
Fabien Meghazi 30373a1307 [FIX] Use event.target instead of event.toElement
bzr revid: fme@openerp.com-20111215123536-wnsbnqakjhflle7x
2011-12-15 13:35:36 +01:00