Commit Graph
29869 Commits
Author SHA1 Message Date
Xavier Morel 9853c3a23f [FIX] incompatibility between dhtmlx.Scheduler and dhtmlx.Chart, bug in dhtmlx.Chart when first data serties contains the value 0 in some places, race condition in graph addon
bzr revid: xmo@openerp.com-20110620170922-9443v3gtqza3vu2z
2011-06-20 19:09:22 +02:00
Xavier Morel ec186dfb7d [FIX] race condition between graph view loading and search request: View.start() should return a promise if it makes an async call, so caller (ViewManager in this case) knows when the graph view is ready for action
Also inherit from View

bzr revid: xmo@openerp.com-20110620143946-tv0qx84e0y06zxu7
2011-06-20 16:39:46 +02:00
Xavier Morel 2397a86d19 [MEH] whitespace changes PyCharm insists on making when I open dhtmlxChart
bzr revid: xmo@openerp.com-20110620130457-2eooal5w8opt3pn7
2011-06-20 15:04:57 +02:00
Xavier Morel fd89c4d708 [FIX] bug in dhtmlxChart in case of stacked bar chart where the first series contains a value of 0
bzr revid: xmo@openerp.com-20110620130427-kghvj8gbjth4z1aw
2011-06-20 15:04:27 +02:00
Kunal Chavda (OpenERP) d44a542efb [IMP]implement code for there is no data than show axis and pass element_id instead of view_id.
bzr revid: kch@tinyerp.com-20110620121525-kq2rw54ouu3fo8da
2011-06-20 17:45:25 +05:30
Xavier Morel ca34076fbd [IMP] rollback namespace-alteration to dhtmlXChart, fix dhtmlxscheduler and dhtmlxgantt to not fuck up the root dhtmlx namespace (which is what breaks chart)
bzr revid: xmo@openerp.com-20110620100557-zya9u6a3zuhhs0c3
2011-06-20 12:05:57 +02:00
Xavier Morel 0aedbd386c [FIX] use Number.toFixed instead of doing decimal rounding by hand
bzr revid: xmo@openerp.com-20110620075502-3p1v1asit32ti9um
2011-06-20 09:55:02 +02:00
Xavier Morel 31d0418f89 [FIX] basic technical and guidelines fixes
bzr revid: xmo@openerp.com-20110620064004-gdqiay9jw74vryj2
2011-06-20 08:40:04 +02:00
Xavier Morel f9fad97b47 [IMP] try to improve naming slightly
bzr revid: xmo@openerp.com-20110620063848-qltrrdm88v1ww3cy
2011-06-20 08:38:48 +02:00
Xavier Morel 872f7e163d [IMP] invert tests and bail out early in order to reduce excessive nesting of functions
bzr revid: xmo@openerp.com-20110617133156-g3fk9f386tdrdcje
2011-06-17 15:31:56 +02:00
Xavier Morel 5e516e5331 [IMP] move COLOR_PALETTE to toplevel constant, so it does not have to be recreated every time we go through the corresponding function
bzr revid: xmo@openerp.com-20110617132550-b5add9fv7xuxjilz
2011-06-17 15:25:50 +02:00
Xavier Morel 57bd9de502 [IMP] reduce variable scopes: move instance variables to function scopes, remove unneeded temps, move variables to inner function scopes.
Variable scopes should be as small as possible (but no smaller) in order to make their data flow easy to understand

bzr revid: xmo@openerp.com-20110617132222-p0jabvioctjcn9o4
2011-06-17 15:22:22 +02:00
Xavier Morel 413054ce53 [IMP] use object literals when possible: clearer lower amount of noise, and clearer relations between the object and its components
bzr revid: xmo@openerp.com-20110617115559-n89evkkufc3f8k9t
2011-06-17 13:55:59 +02:00
Xavier Morel 8ad063965d [FIX] do not use for...in to iterate on arrays, avoid using it to iterate on object as well. Use _.each in either cases. See doc for rationale
bzr revid: xmo@openerp.com-20110617115226-21meg23d0tg43wgv
2011-06-17 13:52:26 +02:00
Xavier Morel ff50ec6407 [FIX] syntax highlighting settings on a pair of code blocks
bzr revid: xmo@openerp.com-20110617102931-85kof2qm1m5psnwl
2011-06-17 12:29:31 +02:00
Xavier Morel 23d76c574f [FIX] Assigning variables to themselves is a NOOP in Javascript, and just noise
bzr revid: xmo@openerp.com-20110617093259-eltod1l1ytsyq82h
2011-06-17 11:32:59 +02:00
Xavier Morel 485adfdef9 [FIX] avoid reusing variables in completely different contexts, especially function parameters. Also avoid declaring the same variables multiple times in the same function, either split the usage into different variables (if it's reuse) or declare only once (if it's alternate initialization)
bzr revid: xmo@openerp.com-20110617093222-8mx8tkshkcave3g1
2011-06-17 11:32:22 +02:00
Xavier Morel c5e061fec9 [FIX] don't make explicit boolean comparisons without identity
In javascript, '0 == false', '1 == true' and even '"1" == true'. Either use variables directly in a boolean context, or use type-strict equality (===) to ensure the variable is an actual boolean, not some other type coerced to a boolean

bzr revid: xmo@openerp.com-20110617092436-s8b5v4v5ytbonvi1
2011-06-17 11:24:36 +02:00
Xavier Morel 933272263b [IMP] simplify summing: use the += operator to avoid redundancies and excessively long lines
bzr revid: xmo@openerp.com-20110617091354-nus2mw3r7g2bvbrr
2011-06-17 11:13:54 +02:00
Xavier Morel 7ed58deec7 [FIX] remove trailing commas in object literals
bzr revid: xmo@openerp.com-20110617091344-mlal79a9poagjwm3
2011-06-17 11:13:44 +02:00
Xavier Morel ceda49fbad [FIX] terminate statements missing semicolons
bzr revid: xmo@openerp.com-20110617091335-r9k07mr5m5lp9f0o
2011-06-17 11:13:35 +02:00
Xavier Morel 3bbb11353a [FIX] non-instance should all be declared with 'var'
See doc for rationale

bzr revid: xmo@openerp.com-20110617090746-z35n4jsdqvicoa9h
2011-06-17 11:07:46 +02:00
Xavier Morel 691a6b48d2 [MERGE] graph and trunk
bzr revid: xmo@openerp.com-20110616132347-nxv0fw4oe163q6au
2011-06-16 15:23:47 +02:00
Xavier Morel c76f481088 [IMP] Prevent application titles from wrapping
bzr revid: xmo@openerp.com-20110616112614-ti3uhbqevreru4ng
2011-06-16 13:26:14 +02:00
Vo Minh Thu c9167c7d7a [MERGE] OSX handling of socket shutdown.
bzr revid: vmt@openerp.com-20110616104752-ypavxntrnl8jd1td
2011-06-16 12:47:52 +02:00
Xavier Morel 012c93ae40 [IMP] OSX handling of socket shutdown in TinySocketClientThread
When the client closes its socket, on OSX it closes the server one as well, leading to an errno.ENOTCONN when trying to shut it down.

Also use the unified socket-closing function to handle tinysocket

bzr revid: xmo@openerp.com-20110616102624-vixxow6twsx7j84s
2011-06-16 12:26:24 +02:00
tfr@openerp.com c947e50b50 [FIX] repack thunderbird plugin
bzr revid: tfr@openerp.com-20110616102518-yevhd2nyukupt53w
2011-06-16 12:25:18 +02:00
Fabien Meghazi c920f03813 [IMP] Improved form styling
bzr revid: fme@openerp.com-20110616102343-ok9yjkdhag125og9
2011-06-16 12:23:43 +02:00
tfr@openerp.com a8e1dee41c [MERGE] thunderbird fix by tfr and atp lp:778466 lp:785611
bzr revid: tfr@openerp.com-20110616101852-19wwxp7bimwaonp5
2011-06-16 12:18:52 +02:00
Quentin (OpenERP) e121ce7091 [MERGE] context unsuported syntax imp.
bzr revid: qdp-launchpad@openerp.com-20110616095815-jm5w1t2n37dczm4i
2011-06-16 11:58:15 +02:00
Quentin (OpenERP) 672d6bf66e [MERGE] account, profit and loss report: do not show the line 'net profit'/'net loss' if expenses-incomes=0
bzr revid: qdp-launchpad@openerp.com-20110616095339-pwgryz72htbo0hfh
2011-06-16 11:53:39 +02:00
Xavier Morel 20e39be746 [FIX] re-add editable list activation, broken during mobile client merge
bzr revid: xmo@openerp.com-20110616074459-gbs4l0wz7o39un20
2011-06-16 09:44:59 +02:00
Xavier Morel d7d1daa3a0 [IMP] avoid creating pointless empty temp array for concat call
bzr revid: xmo@openerp.com-20110616074300-x5vj8vhhhyb0swej
2011-06-16 09:43:00 +02:00
Atul Patel (OpenERP) 8afb549a9d [IMP]:Minor Improvement for mac os also
bzr revid: atp@tinyerp.com-20110616071534-5afaug9db0e1112g
2011-06-16 12:45:34 +05:30
Atul Patel (OpenERP) fc2bea8034 [FIX]: Update .xpi and .jar as per source code
bzr revid: atp@tinyerp.com-20110616070605-yrxa2e06qd7mpuvp
2011-06-16 12:36:05 +05:30
Atul Patel (OpenERP) 1aaff7c466 [IMP]: More optimized solution
bzr revid: atp@tinyerp.com-20110616065849-7wn217nura6xzbmk
2011-06-16 12:28:49 +05:30
Atul Patel (OpenERP) 5fea7ec991 [FIX]: Use the mozilla API,Get Homedirectory and set path.
bzr revid: atp@tinyerp.com-20110616063302-qk2d0z6c84dzz20i
2011-06-16 12:03:02 +05:30
Launchpad Translations on behalf of openerp 2ed4fafe78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110616043945-7jhj0asfwu9sx5vy
2011-06-16 04:39:45 +00:00
Olivier Dony 1502cdb3aa [IMP] users_ldap: bumped up version number, more doc in module description about the features
bzr revid: odo@openerp.com-20110615173615-q09567qp72tkbr3x
2011-06-15 19:36:15 +02:00
Olivier Dony 59664e0724 [IMP] base_crypt: more doc in module description, mention of conflict with users_ldap
bzr revid: odo@openerp.com-20110615173110-xlt1yo5a1tuzq9dc
2011-06-15 19:31:10 +02:00
Stefan Rijnhart 85ad1beebc [MERGE] users_ldap: support for anonymous binding at company level
Anonymous binding is enabled by having empty names and password
in company LDAP setup. This does NOT permit anonymous binding
for user authentication, which is still forbidden. The anonymous
access will only be used to query the directory for the existence
of the users.
Thanks to Stefan Rijnhart for the idea and implementation!

bzr revid: odo@openerp.com-20110615173006-4wvzpecqx4doyb4l
2011-06-15 19:30:06 +02:00
Vo Minh Thu abb606aa7c [MERGE] orm: _auto_init made of smaller methods, use a metaclass to discover new models.
bzr revid: vmt@openerp.com-20110615160123-7bk8u94y916mdpkj
2011-06-15 18:01:23 +02:00
Vo Minh Thu 55c220f137 [MERGE] [osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110615153954-d0fbws57z2w2r6db
2011-06-15 17:39:54 +02:00
tfr@openerp.com be30988624 [FIX] add index on field of task and task work see bug 771941
bzr revid: tfr@openerp.com-20110615153522-9bveafdai5htahtl
2011-06-15 17:35:22 +02:00
Vo Minh Thu b89dfcb910 [LINT] base_module_record: removed unused import.
bzr revid: vmt@openerp.com-20110615153151-gs8a9gb402uugf71
2011-06-15 17:31:51 +02:00
Vo Minh Thu e4d8e91c4a [MERGE] multi support for function fields.
bzr revid: vmt@openerp.com-20110615152659-1g2s5vc3outecd71
2011-06-15 17:26:59 +02:00
niv-openerp 4f43fc8a4c [imp] some improvements about m2o & m2m
bzr revid: nicolas.vanhoren@openerp.com-20110615150924-j9xqdh4r7zrk72f8
2011-06-15 17:09:24 +02:00
niv-openerp ace804abb5 [imp] replaced "new" button in search/create popup to use the one of the list
bzr revid: nicolas.vanhoren@openerp.com-20110615150658-zuudknekawtz8z1s
2011-06-15 17:06:58 +02:00
niv-openerp e39f52312b [imp] modified search/create popup to allow/disallow multi selection
bzr revid: nicolas.vanhoren@openerp.com-20110615150440-dacg7lgzezte1y7l
2011-06-15 17:04:40 +02:00
psi (Open ERP) 67d6414961 [FIX] mrp_repair, purchase, sale, sale_layout, stock: in view files of these module context was not passed in supported notation
bzr revid: psi@tinyerp.co.in-20110615134831-r2t96wg34dube7n6
2011-06-15 19:18:31 +05:30