Commit Graph

178 Commits

Author SHA1 Message Date
Antony Lesuisse a5aa1bc1a7 notebook styling
bzr revid: al@openerp.com-20120401215507-yxxvpphhm788fq8f
2012-04-01 23:55:07 +02:00
niv-openerp a5a5008b32 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120326142148-tylsg1q3h1ur96m5
2012-03-26 16:21:48 +02:00
niv-openerp 727572ccd6 [imp] get rid of include() in novajs
bzr revid: nicolas.vanhoren@openerp.com-20120326111937-ypu2ah4xiqvpe9b0
2012-03-26 13:19:37 +02:00
niv-openerp 2059123918 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120326095842-mf8v3nhizeqcfp8j
2012-03-26 11:58:42 +02:00
Xavier Morel 1da49a44a5 [MERGE] 6.1 fixes into trunk
bzr revid: xmo@openerp.com-20120322113142-gim4svx01p336nxm
2012-03-22 12:31:42 +01:00
niv-openerp 8c47efd712 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120315153426-ka6b9h14ql0lk9y4
2012-03-15 16:34:26 +01:00
Fabien Meghazi 4b2494bb05 [ADD] Added FormRenderingEngine. Save kitten.
bzr revid: fme@openerp.com-20120314170949-m1wv8eub9u0g9xwb
2012-03-14 18:09:49 +01:00
niv-openerp 4e7796cfee [imp] added some stuff to manage interfaces
bzr revid: nicolas.vanhoren@openerp.com-20120313163719-ez4n7ca4qxus0m9t
2012-03-13 17:37:19 +01:00
niv-openerp 89061adc7d [imp] possible problem with debug & qweb
bzr revid: nicolas.vanhoren@openerp.com-20120313153707-zi6kdlbxz72dit7l
2012-03-13 16:37:07 +01:00
Fabien Meghazi 66e1ce8606 [FIX] Missing date.js CultureInfo's am/pm descriptor causes wrong dates to be sent to server without user's knowledge
lp bug: https://launchpad.net/bugs/938497 fixed

bzr revid: fme@openerp.com-20120308102151-eyr71rzk345f6xji
2012-03-08 11:21:51 +01:00
Xavier Morel 80ebf90a7c [IMP] debug messages of test evaluator
bzr revid: xmo@openerp.com-20120307095732-ckfuowa43i7dkapg
2012-03-07 10:57:32 +01:00
Xavier Morel 98341230a7 [FIX] context evaluation: accumulation of literal and compound context data into evaluated context
bzr revid: xmo@openerp.com-20120307074641-pm5wl9t3cb4l9s64
2012-03-07 08:46:41 +01:00
Xavier Morel 96a5947f75 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120305085606-d60ub93xqdjucfg0
2012-03-05 09:56:06 +01:00
Xavier Morel f8a93bc284 [FIX] update py.js for operators &al, implement basic crummy version of relativedelta
bzr revid: xmo@openerp.com-20120305085532-0vcz6j0m985gjuz1
2012-03-05 09:55:32 +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 12358af73b [IMP] add basic evaluation context to asserter (for domains, so time and datetime are available).
Doesn't really work because kwargs not supported by py.js (see bug #3), so Sales > Reporting > Opportunities analysis does not work

Also current implementation of datetime and time.strftime very incomplete

bzr revid: xmo@openerp.com-20120301135900-w4aucd5boi9yzmod
2012-03-01 14:59:00 +01:00
Xavier Morel 7e5feece18 [ADD] eval tests for eval_domain_and_context
bzr revid: xmo@openerp.com-20120301130008-dijd6r49js1227by
2012-03-01 14:00:08 +01:00
niv-openerp 7eb12aee74 [imp] renammed render_element
bzr revid: nicolas.vanhoren@openerp.com-20120229110744-0m55gqlme6s225jv
2012-02-29 12:07:44 +01:00
niv-openerp 2da2983533 [imp] renammed tag_name
bzr revid: nicolas.vanhoren@openerp.com-20120229110428-es0fof2fxxa5qzd5
2012-02-29 12:04:28 +01:00
niv-openerp d1498035f0 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120227132024-06p0skdlx1ixbi3g
2012-02-27 14:20:24 +01:00
niv-openerp 51f72851d6 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120227131808-ll7uach6i6cin5b3
2012-02-27 14:18:08 +01:00
niv-openerp aca64bb558 [imp] removed useless function
bzr revid: nicolas.vanhoren@openerp.com-20120227124958-ehlps91290hrwo9o
2012-02-27 13:49:58 +01:00
niv-openerp 080c9ed7fd [imp] renammed niv to nova
bzr revid: nicolas.vanhoren@openerp.com-20120227103715-ez6m5bth0spbuupk
2012-02-27 11:37:15 +01:00
niv-openerp f23a5914ca [imp] cleaned initialization of mixins
bzr revid: nicolas.vanhoren@openerp.com-20120227093413-8qp1vo90500h9lrw
2012-02-27 10:34:13 +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
niv-openerp 7969c1f080 [fix] renammed bind to session_bind
bzr revid: nicolas.vanhoren@openerp.com-20120224145433-c5bunu2fuciqj2uc
2012-02-24 15:54:33 +01:00
niv-openerp 4ff154c308 [imp] switched openerp's class to lib's class
bzr revid: nicolas.vanhoren@openerp.com-20120224145104-iues3wzd4inwywpd
2012-02-24 15:51:04 +01:00
niv-openerp b6f93c8fa6 [fix] some bugs providing the web client to work
bzr revid: nicolas.vanhoren@openerp.com-20120224135859-w937wgm51328dbk1
2012-02-24 14:58:59 +01:00
niv-openerp a2b9874378 [imp] adapted widget to new lib
bzr revid: nicolas.vanhoren@openerp.com-20120224132639-um1aitu3bymnk7wo
2012-02-24 14:26:39 +01:00
niv-openerp fa510462f4 [imp] switched to nivjs
bzr revid: nicolas.vanhoren@openerp.com-20120223161041-mymbna11fsp3bo9m
2012-02-23 17:10:41 +01:00
niv-openerp bd08a5d6e6 [merge] refactoring of ParentedMixin
bzr revid: nicolas.vanhoren@openerp.com-20120222162334-8jkpxt93jd3upo11
2012-02-22 17:23:34 +01:00
Fabien Meghazi 3baa0d7608 [FIX] Widget: correctly check if rendered template is empty
bzr revid: fme@openerp.com-20120222161324-fut6gawp70qff0ev
2012-02-22 17:13:24 +01:00
niv-openerp bd4723f66d [fix] some details
bzr revid: nicolas.vanhoren@openerp.com-20120222102234-k9jjclhmgpalf3qs
2012-02-22 11:22:34 +01:00
niv-openerp a7386b589a [imp] extracted parenting into a mixin
bzr revid: nicolas.vanhoren@openerp.com-20120221163547-i1ii1frqj9b6ddtp
2012-02-21 17:35:47 +01:00
niv-openerp 75d39c7f6a [imp] renammed stop()
bzr revid: nicolas.vanhoren@openerp.com-20120221162912-zheko30qoh84hcoq
2012-02-21 17:29:12 +01:00
niv-openerp 4ee34acbbe [imp] cosmetic changes
bzr revid: nicolas.vanhoren@openerp.com-20120221155806-e6efydx5k7qtppdn
2012-02-21 16:58:06 +01:00
niv-openerp 7fcfcbaddb [imp] changed is_stopped
bzr revid: nicolas.vanhoren@openerp.com-20120221155516-7eczor9bobky9dxq
2012-02-21 16:55:16 +01:00
niv-openerp be66f62357 [imp] changed children
bzr revid: nicolas.vanhoren@openerp.com-20120221155134-lej2ren1troagr72
2012-02-21 16:51:34 +01:00
niv-openerp cdd8489e4c [imp] further refactoring of parents
bzr revid: nicolas.vanhoren@openerp.com-20120221154458-imbqiywuj91mds9c
2012-02-21 16:44:58 +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
niv-openerp a6f6b7fd9d [imp] added setParent
bzr revid: nicolas.vanhoren@openerp.com-20120221152212-yr6iaa2znq37mcsz
2012-02-21 16:22:12 +01:00
Xavier Morel 79a8b39369 [FIX] avoid adding session_id and token fields in form if they are already there, reuse existing fields instead
lp bug: https://launchpad.net/bugs/936704 fixed

bzr revid: xmo@openerp.com-20120220115704-zxo024voy3dxa7qe
2012-02-20 12:57:04 +01:00
niv-openerp 1e9380b8fa [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120217101731-3g9hrhs65qb32pkv
2012-02-17 11:17:31 +01:00
Xavier Morel b79f91a0f5 [FIX] completely destroy the current openerp session on logout (but leave the webclient session), so other tabs using the same session get unlogged
lp bug: https://launchpad.net/bugs/925386 fixed

bzr revid: xmo@openerp.com-20120210164309-lyslwm4t94a4jd7g
2012-02-10 17:43:09 +01:00
Xavier Morel d237ba0a2b [FIX] only try to load CSS, QWeb and JS files if there are new modules to reload, especially as the new conditional requests will blow up when trying to load nothing at all
bzr revid: xmo@openerp.com-20120210145502-gbtq09g75xxt83c4
2012-02-10 15:55:02 +01:00
Xavier Morel 84685f620a [IMP] translations: if en and en_US translate the same term, don't use en's translation
bzr revid: xmo@openerp.com-20120208163948-g7m9dv2xz8fpds7d
2012-02-08 17:39:48 +01:00
Xavier Morel f70b73f244 [FIX] get_any with inheritance
bzr revid: xmo@openerp.com-20120208130651-7mdv7p1qcfgxczon
2012-02-08 14:06:51 +01:00
Xavier Morel f5ee468ca5 [REF] rename Registry#clone to Registry#extend
bzr revid: xmo@openerp.com-20120208124634-qucyuwlangw15nqh
2012-02-08 13:46:34 +01:00
Xavier Morel ff570e8d23 [IMP] have registries remain linked so alterations to a parent registry alters its clone as well (if keys are not overwritten in the child)
bzr revid: xmo@openerp.com-20120208124309-iho04vgae2nz6xix
2012-02-08 13:43:09 +01:00
niv-openerp 44263a42b2 [fix] revert form refactoring branch
bzr revid: nicolas.vanhoren@openerp.com-20120208111110-p2nj0tehupxa0gmz
2012-02-08 12:11:10 +01:00