Commit Graph

525 Commits

Author SHA1 Message Date
Fabien Meghazi 5436e4fea8 [ADD] Added support for ETag in Binary#image
[REM] Removed kanban hack using Date#getDate() in url

bzr revid: fme@openerp.com-20120618154710-luw8bt50bjtdlj7t
2012-06-18 17:47:10 +02:00
Fabien Meghazi 1ce9ec0718 [IMP] Improved hidden file uploads usage
bzr revid: fme@openerp.com-20120613100516-1opf05g81icwuwbr
2012-06-13 12:05:16 +02:00
Fabien Meghazi 080c6d014c [FIX] Fixed http header Content-Disposition for non-ascii filenames
lp bug: https://launchpad.net/bugs/993036 fixed

bzr revid: fme@openerp.com-20120611131822-rr5m8qzr68ujjoda
2012-06-11 15:18:22 +02:00
Xavier Morel 4ed79f3457 [FIX] rename ir.actions.url to match action's type
bzr revid: xmo@openerp.com-20120608101714-lf3o4mmvllmi4ge0
2012-06-08 12:17:14 +02:00
Xavier Morel 6c4568c548 [FIX] mis-handling of url actions in sidebar
bzr revid: xmo@openerp.com-20120608090619-494wipr0pfekq6ex
2012-06-08 11:06:19 +02:00
niv-openerp 629ffe9370 fixed bug with ir.actions.url
bzr revid: nicolas.vanhoren@openerp.com-20120607140822-bsljpmaqnbg5m2pm
2012-06-07 16:08:22 +02:00
niv-openerp 53d4fcad83 [FIX] problem with ir.actions.url in some cases
lp bug: https://launchpad.net/bugs/1003923 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120607135412-0uzquukg21pbm492
2012-06-07 15:54:12 +02:00
Vidhin Mehta (OpenERP) 2a51b719c9 [REM]removed print statement.
bzr revid: vme@tinyerp.com-20120607123329-ae2yks21e4iu4i09
2012-06-07 18:03:29 +05:30
Vidhin Mehta (OpenERP) b92d420e56 [IMP]remove tuple.
bzr revid: vme@tinyerp.com-20120607122952-u3ifuam13bendtbj
2012-06-07 17:59:52 +05:30
Vidhin Mehta (OpenERP) ff00c0f635 [IMP]Dashboard items added.
bzr revid: vme@tinyerp.com-20120607103029-0iumqrzigswzpny8
2012-06-07 16:00:29 +05:30
Xavier Morel 85f95e6858 [FIX] handling of empty domains, context and view_id in action descriptors
* Some literal actions (not stored) provide an empty string for
  domains and contexts instead of (respectively) an empty array or an
  empty dict literal inside the string. Treat those case as nothing
  being provided.
* Likewise some literal actions provide nonsensical (but falsy, but
  not False) values for view_id (such as an empty list). Yield a
  ``False`` view_id for all falsy ``view_id`` received (``0`` should
  not be a valid view_id, so ``False`` works)

bzr revid: xmo@openerp.com-20120606123508-ndh3jpzw1nabf98n
2012-06-06 14:35:08 +02:00
Xavier Morel 5b6aed9576 [FIX] handling of empty lines in CSV file being imported (ignore them)
lp bug: https://launchpad.net/bugs/941977 fixed

bzr revid: xmo@openerp.com-20120606103353-k8z51yhp9j1u2irp
2012-06-06 12:33:53 +02:00
Ravi Gohil (Open ERP) 47815f1c0a [FIX] Performed boolean check for context and domain and removed redundant condition: (Maintenance Case : 574769)
bzr revid: rgo@tinyerp.com-20120521095011-4ji9wf6efbhr4yry
2012-05-21 15:20:11 +05:30
Ravi Gohil (Open ERP) b39904ad4a [FIX] To prevent the leak when domain and context passed blank and view_id is passed as blank list by the server action : (Maintenance Case : 574769)
bzr revid: rgo@tinyerp.com-20120517102359-7u10pq22ynd3219k
2012-05-17 15:53:59 +05:30
Xavier Morel 98362c1624 [FIX] context and domain of an action being added to a dashboard
* The action's context and domain are needed because they are
  explicitly ignored by those codepaths when the action is ultimately
  executed in the dashboard, and their data are needed: such flags as
  group_by_no_leaf may be set in the action's context, or things like
  the leads/opportunities filters which need to remain in the
  dashboard view.

* On the other hand, some keys in the action's context may be
  detrimental to the correct behavior of the action in the dashboard,
  one such key (group) is the search_default_*: these default values
  for the search view may have been unset by the user before adding to
  the dashboard, we must not add them back. And since the dashboard
  will instantiate a full action/view manager for each action there
  will be (empty) search views which will try to make use of those
  defaults.

As a result, add the action's context and domain to those of the
research while *creating* the dashboard action/section, *but* filter
out search_default_* context keys while doing so.

If new problematic context keys are discovered, they should be added
to the filter.

bzr revid: xmo@openerp.com-20120516153309-3eq957p1pbj99fun
2012-05-16 17:33:09 +02:00
Xavier Morel bac9bbf263 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120515070556-l2ew6ixbup3u56md
2012-05-15 09:05:56 +02:00
Raphael Collet 73e7da8dce [MERGE] trunk-report-name-tpa (pick a better file name when saving a report)
bzr revid: rco@openerp.com-20120509150110-6gx73y1vbjksm64h
2012-05-09 17:01:10 +02:00
Xavier Morel 6b2efcbeb9 [ADD] new implementation of saving current search to new filter
bzr revid: xmo@openerp.com-20120508162137-b3qu0os79zl5wz0w
2012-05-08 18:21:37 +02:00
Christophe Simonis 3658063fa0 [FIX] rename cookie when direct login
bzr revid: chs@openerp.com-20120507130256-czruw5y9riqhg20z
2012-05-07 15:02:56 +02:00
Xavier Morel e7ab44929f [MERGE] from trunk
bzr revid: xmo@openerp.com-20120419081213-m3fhofkgydj6gp1m
2012-04-19 10:12:13 +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 eac3ebb87e [MERGE] trunk
bzr revid: nicolas.vanhoren@openerp.com-20120406123856-vpw1mk9rq642ur6n
bzr revid: al@openerp.com-20120406140537-z5em6fgqv8cnyj1t
2012-04-06 16:05:37 +02:00
Xavier Morel e7e7548869 [MERGE] new searchview
fp orders

bzr revid: xmo@openerp.com-20120406120250-dlwt0kvt0y1e2snr
2012-04-06 14:02:50 +02:00
Turkesh Patel (Open ERP) f4848e106e [IMP] Improved code for set the name of pdf report
bzr revid: tpa@tinyerp.com-20120405103613-0q1dizma6lrg2si3
2012-04-05 16:06:13 +05:30
niv-openerp 6b8e4e0832 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405081401-pmd3e12tzar3yubg
2012-04-05 10:14:01 +02:00
Xavier Morel 9678b25a9b [FIX] encoding issues when concatenating CSS or paths which may contain non-ascii
The concatenator tries to only work with bytes without ever wondering
what is in the byte bucket: files are read to `str`, concatenated with
`str` (via join) and returned as `str`, usually considered to be utf-8
encoded. It's the author's job to correctly encode files to utf-8.

So far so good.

On runbot, there's apparently an issue in some CSS files in some cases
on the runbot: `web_dir` finds itself to be typed `unicode` (because
it contains non-ascii characters? Not sure at all), as a result
`re.sub` will decode the corresponding file data when trying to inject
the dir as replacement and the CSS reader will return a `unicode`
object.

Then, when concat_files try to compute the checksum it will need bytes
thus re-encode everything using the default codec (ascii) and the
non-ascii character(s) will blow up the encoding with a
UnicodeEncodeError.

Solution:

* Assume CSS files can contain non-ascii characters (they can, and
  do), decode them using `utf-8` to get `unicode` strings in the CSS
  reader
* Inject web_dir as usual via replacement, this still yields a
  `unicode` object (a `str` web_dir will simply be decoded using the
  ASCII codec, a non-ascii web_dir should have been decoded to
  `unicode` using sys.getfilesystemencoding)
* Cleanly re-encode evrything to utf-8, so that the code outside the
  reader only ever manipulates 8-bit "byte" strings

bzr revid: xmo@openerp.com-20120405070711-vjyw8g4mge2goyik
2012-04-05 09:07:11 +02:00
Xavier Morel 45c48d6842 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120403110724-a6z2wrnxgf8jbspx
2012-04-03 13:07:24 +02:00
Thibault Delavallée 8cefe9a5e1 [MERGE] Merged with main web
bzr revid: tde@openerp.com-20120402072422-tsjaxjbfrngqnodp
bzr revid: tde@openerp.com-20120403071448-x3ng76yc17pcy266
2012-04-03 09:14:48 +02:00
Antony Lesuisse d2e213844a [FIX] edi loading, partially revert commit 2226 revid:nicolas.vanhoren@openerp.com-20120217134701-7t3iklv6ndv30hln
bzr revid: al@openerp.com-20120402140020-a4d8nd6rnp625l9w
2012-04-02 16:00:20 +02:00
Thibault Delavallée a3a5ea21ed [IMP] Propagated ir.ui.menu new fields name change.
bzr revid: tde@openerp.com-20120330125928-ku9oqpb0pq4ehu6m
2012-03-30 14:59:28 +02:00
Turkesh Patel (Open ERP) f8510eee62 [IMP] Improved code to show need action counter
bzr revid: tpa@tinyerp.com-20120330105731-ss03y3l4fi5mq3jd
2012-03-30 16:27:31 +05:30
niv-openerp a15c065071 [rollback 2367] due to blocking bug during login
bzr revid: nicolas.vanhoren@openerp.com-20120326104430-0tntoj5k6n578n49
2012-03-26 12:44:30 +02:00
niv-openerp 2059123918 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120326095842-mf8v3nhizeqcfp8j
2012-03-26 11:58:42 +02:00
Xavier Morel 7353e02e2e [MERGE] from trunk
bzr revid: xmo@openerp.com-20120322143331-iajlifomw1hohbht
2012-03-22 15:33:31 +01:00
Fabien Meghazi 9678e570e4 [REM] Removed height=100% from html homepage
bzr revid: fme@openerp.com-20120322132617-q6a4f0am02g2tayh
2012-03-22 14:26:17 +01: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
Olivier Dony 601da46064 [FIX] manifest flag 'active' was renamed to 'auto_install' a while ago
The change occurred in server at revision 3989
and in addons at revision 6451, but had never
been done in openerp-web.
One indirect consequence was that the 'base'
modules was not considered auto-installable
anymore and its CSS files were not loaded on
web, causing layout issues, namely in the
modules kanban view.

Server rev 3989 = al@openerp.com-20120130211001-ytqx759fl920uegc
Addons rev 6451 = al@openerp.com-20120130211812-w0wu42hdu4l7koc4

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

bzr revid: odo@openerp.com-20120314181853-kzr6lgqxxcz7rreu
2012-03-14 19:18:53 +01:00
Fabien Meghazi e125dd5f63 [WIP] Form v2
bzr revid: fme@openerp.com-20120312153452-x6zhyeheu4579ak3
2012-03-12 16:34:52 +01:00
Xavier Morel 6501553263 [MERGE] synchronous db-creation call, significantly simplified db creation code
also removed custom blockUI and error management hooks since it's now a perfectly standard RPC call and webclient is already available

bzr revid: xmo@openerp.com-20120309140536-21u2ked9oc7eaie5
2012-03-09 15:05:36 +01:00
Olivier Dony 56ab278178 [MERGE] One more merge from 6.1 branch
bzr revid: xmo@openerp.com-20120307153105-nh5wbzwjnn8g880o
bzr revid: odo@openerp.com-20120307164049-ocu8jsyt19sbxsqr
2012-03-07 17:40:49 +01:00
Fabien Meghazi c0439810ef [FIX] Add to dashboard domain & context merging problems
bzr revid: fme@openerp.com-20120307160503-w1mha79xiznl4x6h
2012-03-07 17:05:03 +01:00
Xavier Morel 9a646fce10 [ADD] permanent loading of saved filters
When selecting a saved filter, its data is now saved inside the
searchview's state, and re-used any time there's a search performed
(until the filter is replaced or the search view is cleared).

Some cleanup of the support code for loading filters
(SearchView.get_filters) also had to be performed in order not to fill
contexts with (potentially incorrect) crap in case the filter is
re-saved.

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

bzr revid: xmo@openerp.com-20120307120323-pub0yuwjqk1r3y0p
2012-03-07 13:03:23 +01:00
Vo Minh Thu bfb9896ddd [FIX] database/create replaced by blocking database/create_database
(so we can use a multi-workers OpenERP server; otherwise polling
on the server would hit different workers resulting in errors).

bzr revid: vmt@openerp.com-20120307104632-w6cs6nxf04ltcpf1
2012-03-07 11:46:32 +01:00
Fabien Meghazi 34b03bd24d [FIX] Can't add to dashboard a view that includes a 'group_by'
lp bug: https://launchpad.net/bugs/948097 fixed

bzr revid: fme@openerp.com-20120306205955-zqgtbgtz1gtix4w9
2012-03-06 21:59:55 +01:00
Xavier Morel 532e60a007 [FIX] dependencies handling in modules listing of web client
* Correctly fetch dependencies from server
* Switch topological sort to a more formal algorithm (and test it)

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

bzr revid: xmo@openerp.com-20120306142010-zflycbrj4aq41mv3
2012-03-06 15:20:10 +01:00
Xavier Morel 10ba2bb9b1 [FIX] take dependencies in account when ordering modules for loading
bzr revid: xmo@openerp.com-20120305142948-2pkrgl8koizhcfbu
2012-03-05 15:29:48 +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
Antony Lesuisse e7f72af654 [IMP] menu load action
bzr revid: al@openerp.com-20120229095345-ll5rbc3h4m7f29as
2012-02-29 10:53:45 +01:00
Xavier Morel e6f5d4c211 [ADD] Model API, reimplement DataSet/DataSetSearch on top of it (as much as possible)
TODO: traversal state API, removing even more method (e.g. completely remove DataSet.call in the Python API)

bzr revid: xmo@openerp.com-20120227135626-yxqh0gc6jwrdkshs
2012-02-27 14:56:26 +01:00
Antony Lesuisse 73becbfe0b [IMP] sass2scss taken from ~cto-openerp/+junk/sass2scss with minor cleanups
bzr revid: al@openerp.com-20120223234806-8tg83pph08dsvqie
2012-02-24 00:48:06 +01:00
Xavier Morel 12825e4122 [FIX] correctly handle the user's menu_id being set to an action with domain=False (literally)
that's a bit stupid, but apparently people do set their menu action to a dashboard...

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

bzr revid: xmo@openerp.com-20120223134612-3sm2e4yq3hbjqnz7
2012-02-23 14:46:12 +01:00
Antony Lesuisse bfee2b7ae2 [FIX] database get_list use wsgi hostname
bzr revid: al@openerp.com-20120221185739-7utcld4kcnf39fg5
2012-02-21 19:57:39 +01:00
Antony Lesuisse a0493e2e48 [FIX] database get_list use wsgi hostname
bzr revid: al@openerp.com-20120221185853-6qjxwktk7pnehz9w
2012-02-21 19:58:53 +01:00
niv-openerp 8036408be5 [imp] made the body css properties be included only in full web-client mode
bzr revid: nicolas.vanhoren@openerp.com-20120220095238-lxwtctbpo46ekpul
2012-02-20 10:52:38 +01:00
niv-openerp feaade623a [imp] put openerp into body
bzr revid: nicolas.vanhoren@openerp.com-20120217110152-x66rfhyfkqao04k0
2012-02-17 12:01:52 +01:00
niv-openerp 39d514678c [imp] repaired illogic al's code
bzr revid: nicolas.vanhoren@openerp.com-20120217105636-61tk67zbx9calc1b
2012-02-17 11:56:36 +01:00
Fabien Meghazi a95db7c28c [FIX] Fix one million bugs in IE8
bzr revid: fme@openerp.com-20120213135611-ndrboz8urcg6kclu
2012-02-13 14:56:11 +01:00
Xavier Morel 919cf2a51f [FIX] get_last_modified in case no file is provided
lp bug: https://launchpad.net/bugs/931293 fixed

bzr revid: xmo@openerp.com-20120213091049-thhwo5fzadsy4671
2012-02-13 10:10:49 +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 3b565386c2 [IMP] move all the making-stuff-conditional-based-on-other-stuff code to a dedicated method of the WebClient controller
provides a single point of configuration if/when we decide to change the cache-control stuff, mostly

bzr revid: xmo@openerp.com-20120210141338-3aib9ls3b72gr4ez
2012-02-10 15:13:38 +01:00
Xavier Morel 10f215ef35 [IMP] conditional GET for concatenated JS and CSS files
bzr revid: xmo@openerp.com-20120210140021-uh5t5egr00dxdwr8
2012-02-10 15:00:21 +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 77065685ca [FIX] don't blow up filters management if a filter uses an invalid syntax (or an unknown variable) and can't be evaluated
bzr revid: xmo@openerp.com-20120209161542-whs5ye637lijas26
2012-02-09 17:15:42 +01:00
Olivier Dony affdaf2566 [FIX] Application Tiles now heed the custom menu domain, just like the nain menu
This makes both behaviors consistent
and allows the portal module to work
properly.

bzr revid: odo@openerp.com-20120209141339-c2vs0lrx7ws6plzs
2012-02-09 15:13:39 +01:00
Xavier Morel c120ee72a6 [CNG] don't filter out function fields from import or export, only readonly fields
bzr revid: xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi
2012-02-09 10:02:14 +01:00
Xavier Morel fda65c7c69 [FIX] menus handling in case user has no menu_id
also add comments to explain some strange-looking code's behavior

bzr revid: xmo@openerp.com-20120209083554-2b8d8qlzz8y9fhan
2012-02-09 09:35:54 +01:00
Antony Lesuisse 98bd34a2eb [FIX] better fix for portal menu using res.users._menu_id reverting 2107 revid:al@openerp.com-20120203132249-pbkdci0q5fxz1k33
bzr revid: al@openerp.com-20120208001305-ef3c2w7a222ph7v0
2012-02-08 01:13:05 +01:00
Fabien Meghazi 739b0d4861 [FIX] Binary#save_as does not send context. Breaks some accounting downloadable reports.
Example of broken report was : Accounting > Reporting > Legal Reports > Belgium Statements > Periodical VAT Declaration

bzr revid: fme@openerp.com-20120208103935-cv9nn9kg1vssosgm
2012-02-08 11:39:35 +01:00
Olivier Dony 2e8f622f45 [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20120206153300-ql0qo3mf0j4x05n9
2012-02-06 16:33:00 +01:00
Olivier Dony 1e2b11a7b2 [FIX] typo in menu loading code changed in previous revision
lp bug: https://launchpad.net/bugs/926408 fixed

bzr revid: odo@openerp.com-20120204001404-82kaxklke0olehko
2012-02-04 01:14:04 +01:00
Antony Lesuisse 355e2d6e38 [FIX] use regular recursive menu loading because it breaks portal
bzr revid: al@openerp.com-20120203132249-pbkdci0q5fxz1k33
2012-02-03 14:22:49 +01:00
Olivier Dony 7ebc5bdba3 [IMP] refactored translation system to merge web translations with addons translations
- Moved the web *.po files to /i18n to be consistent
  with the addons convention. Using /po was considered
  for a while because it played better with LP's auto-
  detection of PO Templates, but that is not necessary
  anymore, we now have full control on LP templates.

- In order to support addons that contain translations
  for both the web addon and the regular addon part,
  both kinds of translations are now merged in a single
  addon/i18n/addon.pot file. Terms that are used by
  the web part are now marked with a PO annotation:
     #. openerp-web
  so the web client can recognize them and only load
  the relevant translations in the browser memory.
  This is important because a complete PO file can
  be rather large, e.g. account/i18n/de.po = 400KB.

- The web translation export scripts were updated to
  behave properly for addons that have a non-web
  part, and will merge the web translation in the
  original POT file, annotating the web translations
  as needed. These scripts are Unix-only and meant
  to be used by OpenERP packagers when needed.

- The GetText spec says that PO auto-comments indicating
  the source location have this form:
   #: /path/to/file:lineno
  However OpenERP's POT export system defaults to a modified
  version of this format with an extra 'type' field:
   #: type:/path/to/file:lineno
  The babel extractors we use have the GetText format 
  hardcoded so a small patch is needed on the server
  to make it more lenient and accept the standard
  source annotation, defaulting to 'code' type.
  This does not matter for openerp-web, but makes sure
  the server will not fail to load the new PO files 
  that contain openerp-web translations with standard
  annotations.
  The patch for making the server more lenient was
  checked in trunk at revision 4002 
  rev-id odo@openerp.com-20120202143210-05p1w24t6u77cyv8

- The existing translation sync and export wizards for
  regular addons have not been updated to consider
  web addons, so for the time being we will have
  to export regular addons terms first, and run the
  web export script (gen_translations.sh) on the
  addons directory afterwards. This could be improved
  later.

As soon as this change is merged we will have to
perform a full update of addons translation
templates in order to include the web terms as well.

bzr revid: odo@openerp.com-20120202145603-ffo0il0qnfp3r6gt
2012-02-02 15:56:03 +01:00
Xavier Morel b52e034c43 [IMP] docstring for fix_view_modes
bzr revid: xmo@openerp.com-20120131095651-a249eben5d8xjkvd
2012-01-31 10:56:51 +01:00
Xavier Morel c5c224752f [FIX] CSS paths adaptation when running openerp-web (python side) in Windows
lp bug: https://launchpad.net/bugs/920938 fixed

bzr revid: xmo@openerp.com-20120127113033-5jb9bcfothcd30ly
2012-01-27 12:30:33 +01:00
Xavier Morel 53274ea397 [FIX] handling of encoding of field names when serializing to export data files
lp bug: https://launchpad.net/bugs/921470 fixed

bzr revid: xmo@openerp.com-20120125162558-1lfs3xb5xi35xjym
2012-01-25 17:25:58 +01:00
Fabien Meghazi 1d077e0a95 [IMP] id special case, keep original @type
bzr revid: fme@openerp.com-20120125112325-xup3ol7ns99l02rp
2012-01-25 12:23:25 +01:00
Fabien Meghazi 4ffe5f5545 [FIX] Special case id fields
lp bug: https://launchpad.net/bugs/919184 fixed

bzr revid: fme@openerp.com-20120125111628-vsz6mwptd7bm8hlm
2012-01-25 12:16:28 +01:00
Xavier Morel ad461e18b4 [FIX] onchange: handlers can return 'False' instead of en empty dict when they don't want to return anything, don't blow up
lp bug: https://launchpad.net/bugs/920443 fixed

bzr revid: xmo@openerp.com-20120123144605-j2jqvaelro0dv28f
2012-01-23 15:46:05 +01:00
Xavier Morel 2e856ca443 [IMP] add ~ISO timestamps to db dump filenames
bzr revid: xmo@openerp.com-20120123100744-k8qatd18p18hd8y5
2012-01-23 11:07:44 +01:00
Antony Lesuisse 7d22e1eb8c [FIX] revert html_template is used by other modules. commit 2012 revid:nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
bzr revid: al@openerp.com-20120122233202-moq81q35qddjtlw8
2012-01-23 00:32:02 +01:00
Xavier Morel ee0c76d2c5 [ADD] support for 'domain' key in result of onchange handlers
bzr revid: xmo@openerp.com-20120120110543-29ebq5u0ghp32hkv
2012-01-20 12:05:43 +01:00
Xavier Morel 9b54bdeb18 [ADD] dynamic view: handle setting domains via onchange
lp bug: https://launchpad.net/bugs/911676 fixed

bzr revid: xmo@openerp.com-20120120105608-zjbam8ki4uoqer5v
2012-01-20 11:56:08 +01:00
Xavier Morel ccde5e2f5e [REM] unused imports mistakenly added in revision xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
bzr revid: xmo@openerp.com-20120119155425-kud19lwt56du1ym9
2012-01-19 16:54:25 +01:00
Xavier Morel f9cbad5bf6 [FIX] correctly display crash manager in case of report error
lp bug: https://launchpad.net/bugs/917227 fixed

bzr revid: xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
2012-01-19 15:48:37 +01:00
Christophe Simonis c078d23d16 [FIX] avoid blank page when the database assigned to the session has been removed
bzr revid: chs@openerp.com-20120119143057-pbqdh15jptyc7y0a
2012-01-19 15:30:57 +01:00
Xavier Morel 03c5fd00a2 [MERGE] various style and code improvements, and overly broad exception handlers fixes
bzr revid: xmo@openerp.com-20120119095236-0ge089y2yhpcz8h3
2012-01-19 10:52:36 +01:00
Florent Xicluna 3ec4ad3201 [REF] code review.
bzr revid: florent.xicluna@gmail.com-20120119085213-94b2p3268q25bni2
2012-01-19 09:52:13 +01:00
niv-openerp 3e7c98f5e5 [imp] cleared main html
bzr revid: nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
2012-01-18 17:17:35 +01:00
Vo Minh Thu 75b3fc0907 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Xavier Morel aeebcf3dcc [FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body:
bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
2012-01-17 15:02:13 +01:00
Xavier Morel e99358e2fa [IMP] Xml2JSON: remove useless class indirection and unused methods
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
2012-01-17 10:47:48 +01:00
Vo Minh Thu 3203d264ae [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120116110631-lrzp6uxsjki7by22
2012-01-16 12:06:31 +01:00
Vo Minh Thu 1497062ba1 [IMP] Removed the openerp.addons prefix when loading modules
in stand-alone mode. Changed the import web.common to relative import
(because the the import-hook in the server is not able to load
modules with self-referential import).

bzr revid: vmt@openerp.com-20120116104329-k68li2vul4b3j7ry
2012-01-16 11:43:29 +01:00
Xavier Morel c54d3337e6 [FIX] avoid having the XML concatenator blow up when passed an empty list of files ~/projects/tiny/web/current
turns out ElementTree has a hard time XML-serializing ``None`` (who'd
have guessed...), which is what it gets told to do when concat_xml is
called with an empty list of files.

Return an empty string and no timestamp (should probably be one there
at some point, but...) and fix the QWeb loader to not do anything when
it gets an empty template file.

bzr revid: xmo@openerp.com-20120113150641-6i3ot1jg7r3kpw3d
2012-01-13 16:06:41 +01:00
Xavier Morel a76f6d2a4e [FIX] concatenated JS files blowing up when not terminated with a semicolon
If the final semicolon of an openerp module is forgotten and the next
file starts with an expression (such as a parens, because it's a
third-party module using the module pattern, see Backbone.js or jQuery
for examples), the JS parser will not perform semicolon insertion and
will instead try to execute the module's wrapper/initializer function
by passing it whatever follows it (generally an other function).

This usually results in an error and stuff blowing out everywhere for
no obvious reason.

Concatenation of JS files now adds an explicit semicolon between files
(ideally it should only add one if it's missing, but that would
require backtracking in the file while skipping comments &etc, can't
be arsed and double-semicolons don't hurt much) to avoid this issue.

bzr revid: xmo@openerp.com-20120113150110-47j90oishtjrib7s
2012-01-13 16:01:10 +01:00
Xavier Morel c89d45b658 [IMP] display a warning and disable excel export option when XLWT is not installed
lp bug: https://launchpad.net/bugs/915347 fixed

bzr revid: xmo@openerp.com-20120113090611-lmiu5y7y7b9td8hg
2012-01-13 10:06:11 +01:00
vishmita fb7d6b2111 [FIX]attachment without fname_attachment.
lp bug: https://launchpad.net/bugs/909069 fixed

bzr revid: vja@vja-desktop-20120111125501-3jh2u9oyvt92ble9
2012-01-11 18:25:01 +05:30
Xavier Morel d54a196811 [IMP] correctly handle filenames in list view binaries
bzr revid: xmo@openerp.com-20120110155020-ab02qb0ktlfxnwvb
2012-01-10 16:50:20 +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 ee9a9558c0 [IMP] add doc to Binary.saveas, and rename a field for clarity
bzr revid: xmo@openerp.com-20120110143518-ircd8x1feyf5rquf
2012-01-10 15:35:18 +01:00
niv-openerp 0f724c68f8 [imp] added method to call a model method with kwargs
bzr revid: nicolas.vanhoren@openerp.com-20120106103219-4t633kov3hsz50tj
2012-01-06 11:32:19 +01:00
niv-openerp 2f1dace76a [fix] rollback 1873 & 1871 to correct bugs related to login page & dialogs
bzr revid: nicolas.vanhoren@openerp.com-20120104155329-tfk6gt4mjhme82od
2012-01-04 16:53:29 +01:00
niv-openerp f2cf2066a2 [imp] changed declaration of body
bzr revid: nicolas.vanhoren@openerp.com-20120104130952-61ti896e6pxgorps
2012-01-04 14:09:52 +01:00
niv-openerp dcef579eae [imp] modified web client to be a div instead of a body
bzr revid: nicolas.vanhoren@openerp.com-20120104113555-yiudv22gxr4s3k6k
2012-01-04 12:35:55 +01:00
niv-openerp c6a2601c0c [imp] nivified web client
bzr revid: nicolas.vanhoren@openerp.com-20120104091222-y5m7sacecxu1zmeb
2012-01-04 10:12:22 +01:00
Antony Lesuisse 9d6ed7815d [FIX] decorator error
bzr revid: al@openerp.com-20111227193900-caazj8yj28hw009n
2011-12-27 20:39:00 +01:00
Antony Lesuisse c59ad9cc1d [MERGE] crashmanager openerp entreprise bth/rlo/chs
bzr revid: al@openerp.com-20111227155915-4s3fmuqzce9733il
2011-12-27 16:59:15 +01:00
Roberto López López (OpenERP) 7b2ece8ddc merge
bzr revid: rlo@openerp.com-20111222115243-ht5rqa4j5bl7ie96
2011-12-22 12:52:43 +01:00
Roberto López López (OpenERP) b3f7278d12 [IMP] working crash dialog
bzr revid: rlo@openerp.com-20111221171137-flojvtf10547ekfl
2011-12-21 18:11:37 +01:00
Christophe Simonis 9b5949e2c5 [ADD] specific url for direct login
bzr revid: chs@openerp.com-20111220150556-ffcaeae94w195gmt
2011-12-20 16:05:56 +01:00
Xavier Morel 75409e349a [FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration
The default configuration for OpenERP Web standalone (launched via the
openerp-web script) is single-threaded for log-readability purposes.

web.common.controllers.main.Proxy.load has been added to wrap a
request to an HTTP handler inside a JSON (and/or JSONP) request, the
initial implementation was to perform a full HTTP call *from within an
HTTP handler to itself*.

Since the server is single-threaded and its only thread is already
busy, it can't handle the new request, and the client deadlocks.

Replaced this crap by also-crap-but-slightly-less-so: instantiating a
Werkzeug test client using the root application and proxying the
request through that. Avoids creating a new request from the server,
therefore does not deadlock.

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

bzr revid: xmo@openerp.com-20111219145759-m10zgo3tcd6zjhcu
2011-12-19 15:57:59 +01:00
Xavier Morel 2989c829f7 [FIX] exclude function fields from import_compatible export and from all imports
bzr revid: xmo@openerp.com-20111216114941-fr6wsfabxfqf86xw
2011-12-16 12:49:41 +01:00
Antony Lesuisse d315489256 [FIX] session cookie and logout
bzr revid: al@openerp.com-20111216012542-svbiuf64x017wll5
2011-12-16 02:25:42 +01:00
Antony Lesuisse 8721df9d54 [IMP] massive connection deferrization, json works again
bzr revid: al@openerp.com-20111216004402-q6v26822swarra7r
2011-12-16 01:44:02 +01:00
Antony Lesuisse 2fd2f299b4 [MERGE] trunk
bzr revid: al@openerp.com-20111215184305-3yxw54l91psrz5d6
2011-12-15 19:43:05 +01:00
Antony Lesuisse 31e65bdddf partial rework to merge trunk
bzr revid: al@openerp.com-20111215120732-is7pab5e5rsfqpj0
2011-12-15 13:07:32 +01:00
Kunal Chavda (OpenERP) f1e25838b6 [FIX]Fixed code for showing size of upload file.
lp bug: https://launchpad.net/bugs/901068 fixed

bzr revid: kch@tinyerp.com-20111215102910-zjyp5rsp3wbugoyu
2011-12-15 15:59:10 +05:30
Olivier Dony 9835cebe19 [MERGE] Use the new authenticate() API instead of login()
Using the new authenticate() API instead allows to pass
a user-agent environment along with the credentials.
The main use for the UA environment at this point is
to pass the base URL used to login, so that the server
may initialize its "web.base.url" global config parameters

bzr revid: odo@openerp.com-20111213161554-jbtrp94aatcnibne
2011-12-13 17:15:54 +01:00
Xavier Morel 35895bde21 [FIX] regenerate action's views key if it is empty, not just if it's absent
lp bug: https://launchpad.net/bugs/903062 fixed

bzr revid: xmo@openerp.com-20111212101121-ljjmq6phxgse0qjq
2011-12-12 11:11:21 +01:00
Antony Lesuisse 78d3e74263 [IMP] remove yield easier debug
bzr revid: al@openerp.com-20111207140644-5e60tbovfhxdx4r9
2011-12-07 15:06:44 +01:00
Xavier Morel edcbc3830e [MERGE] trunk
bzr revid: xmo@openerp.com-20111207091404-1zdmhmsnvhveq7c4
2011-12-07 10:14:04 +01:00
Xavier Morel 41e8b3f92c [FIX] correctly send context during graph's fields_get
lp bug: https://launchpad.net/bugs/898636 fixed

bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
2011-12-06 12:31:41 +01:00
Fabien Meghazi ce41e645f7 [IMP] Better variable naming in xml2json
bzr revid: fme@openerp.com-20111201092823-mbwyp8tjla9k2xf3
2011-12-01 10:28:23 +01:00
Fabien Meghazi a7a4f50aef [FIX] Preserve kanban views whitespaces
bzr revid: fme@openerp.com-20111130123154-nhh6sj21s38ejsb5
2011-11-30 13:31:54 +01:00
Roberto López López (OpenERP) 940500782a [ADD] new view definition for page
bzr revid: rlo@openerp.com-20111129140409-mzelxhp40w5y093k
2011-11-29 15:04:09 +01:00
Xavier Morel 86c553cdbc [FIX] keyword args are not supported by the model RPC proxies lib, switch search() call to *args long form
lp bug: https://launchpad.net/bugs/894335 fixed

bzr revid: xmo@openerp.com-20111124154601-h7zqxub2n5y8z7nv
2011-11-24 16:46:01 +01:00
Fabien Meghazi 66d11b95f4 [ADD] Added possibility to add actions to dashboards from searchviews filters
bzr revid: fme@openerp.com-20111123215356-wspyu61u6ad1vois
2011-11-23 22:53:56 +01:00
Xavier Morel 69dba424e7 [IMP] error messages during database creation failure, with thanks to Serpent Consulting
bzr revid: xmo@openerp.com-20111121102141-95si5svzfycon9ob
2011-11-21 11:21:41 +01:00
Xavier Morel e6f0378bd8 [FIX] display user login in static home page
lp bug: https://launchpad.net/bugs/887969 fixed

bzr revid: xmo@openerp.com-20111118111521-7dem9bsa3z0fy3ej
2011-11-18 12:15:21 +01:00
Serpent Consulting Services 09dd34bd06 [FIX] DB creation failure : Better message attached to the exception
lp bug: https://launchpad.net/bugs/885664 fixed

bzr revid: support@serpentcs.com-20111116201946-n3lkqtjgb0x3psa8
2011-11-17 01:49:46 +05:30
Fabien Meghazi 2bd2ef2cf3 [IMP] Keep domain and context source string in fields view get
bzr revid: fme@openerp.com-20111114205012-toweif7lkr54cv4e
2011-11-14 21:50:12 +01:00
Xavier Morel 266cbd3f88 [FIX] database restoration
Leftover CherryPy code (cherrypy's file wrapper —
cherrypy._cpreqbody.Part — gives access to the underlying data stream
via the `file` attribute, Werkzeug uses the `stream` attributes and
proxies all file methods through the FileStorage, just remove the
indirection)

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

bzr revid: xmo@openerp.com-20111114125106-zymon3zb4umlwhr2
2011-11-14 13:51:06 +01:00
Kunal Chavda (OpenERP) f119de785c [FIX]Fixed code for export xls null values should not shown in spreadsheet.
lp bug: https://launchpad.net/bugs/885117 fixed

bzr revid: kch@tinyerp.com-20111110130950-ap52c2x6fgklkuz2
2011-11-10 18:39:50 +05:30
Xavier Morel 611705d7f1 [FIX] do not display reverse fields of o2ms in import compat
bzr revid: xmo@openerp.com-20111109163232-w9oda8eqo3gyin4q
2011-11-09 17:32:32 +01:00
Xavier Morel 4635ef654c [FIX] always remove database ID from import-compatible exports
bzr revid: xmo@openerp.com-20111109151133-xchgr9jr507jtv98
2011-11-09 16:11:33 +01:00
Christophe Simonis 6e735ccbbe merge upstream
bzr revid: chs@openerp.com-20111103111333-93bu8xdgs30ry5ig
bzr revid: chs@openerp.com-20111108154541-dsz5sjnf7xwihg06
2011-11-08 16:45:41 +01:00
Christophe Simonis 2ae078e58c [FIX] mergecss: allow spaces after (
bzr revid: chs@openerp.com-20111108145214-ahdaiyk0f616zq74
2011-11-08 15:52:14 +01:00
Christophe Simonis 7eebc26519 [FIX] absolutify relative uris when merging css files
bzr revid: chs@openerp.com-20111103144738-u5oewg8bo81yync5
2011-11-03 15:47:38 +01:00
Serpent Consulting Services ff7dbe4941 [FIX] DB creation failure : Better message attached to the exception
lp bug: https://launchpad.net/bugs/885664 fixed

bzr revid: support@serpentcs.com-20111103131116-ryc0710gm170drx9
2011-11-03 18:41:16 +05:30
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00
Xavier Morel b45b7ad22c [IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24 16:06:58 +02:00
Xavier Morel 7de9c3ebd1 [FIX] report data should hold everything returned in the datas key from the report action, except for the ids. Not just form
lp bug: https://launchpad.net/bugs/879298 fixed

bzr revid: xmo@openerp.com-20111021143232-7nde37eqwh1h9n3r
2011-10-21 16:32:32 +02:00
Xavier Morel 8773fca3a8 [FIX] if an action descriptor does not have a view_type attribute, behave as if it was 'form'
bzr revid: xmo@openerp.com-20111021104312-0d21m130wkedabfn
2011-10-21 12:43:12 +02:00
Antony Lesuisse 11b5c602ce [IMP] html_template more generic use js
bzr revid: al@openerp.com-20111018202429-7aulbfuyze4vcbck
2011-10-18 22:24:29 +02:00
Antony Lesuisse da7e08aa1b [IMP] html_template more generic
bzr revid: al@openerp.com-20111018201337-tuh6wglp1qrixx5h
2011-10-18 22:13:37 +02:00
niv-openerp 6ce8a18fbe [fix] context problem in accounting
lp bug: https://launchpad.net/bugs/871771 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111018155733-45xhk7hg2xsmj26h
2011-10-18 17:57:33 +02:00
Christophe Simonis 5ea774f883 [IMP] use authenticate() method to log the user in
bzr revid: chs@openerp.com-20111013143339-dtasfi7kvvn7wusq
2011-10-13 16:33:39 +02:00
Christophe Simonis f3573d844e [IMP] use login_env for login
bzr revid: chs@openerp.com-20111012161208-yto1rang9znmoh4i
2011-10-12 18:12:08 +02:00
Xavier Morel 548a809ff5 [FIX] downloading files from an unsaved/in-memory wizard
fallback on default_get if record does not exist in db, as for e.g. Thunderbird and Outlook plugins

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

bzr revid: xmo@openerp.com-20111017145849-p8dq0eprkru4xtl1
2011-10-17 16:58:49 +02:00
Antony Lesuisse b945c0be65 [MERGE] js and css enumeration and loading by chs
bzr revid: al@openerp.com-20111017145430-a7i3d3yo8fhjhg39
2011-10-17 16:54:30 +02:00
Christophe Simonis 6e93a38f88 [FIX] web: correctly concat_file when no debug
bzr revid: chs@openerp.com-20111014152946-r307ol34kdlq5qrs
2011-10-14 17:29:46 +02:00
Turkesh Patel (Open ERP) 360a1e50e3 [FIX] Fixed the issue of attachment file which can't open after save as
lp bug: https://launchpad.net/bugs/872707 fixed

bzr revid: tpa@tinyerp.com-20111014110942-9yk1cmeu8swtrcjj
2011-10-14 16:39:42 +05:30
Xavier Morel a12c082d55 [IMP] modules have quite a number of fields we don't need, get only the name
bzr revid: xmo@openerp.com-20111006153959-mft8gh1g08s4vzqz
2011-10-06 17:39:59 +02:00
Xavier Morel 18ec203641 [IMP] use sets for modules to load instead of value-less dicts
bzr revid: xmo@openerp.com-20111006153622-i6g5pmk25dal358e
2011-10-06 17:36:22 +02:00
Antony Lesuisse bfb7cb0d6e [FIX] compute modules list fixed
bzr revid: al@openerp.com-20111006143457-i74b719vjic34ie4
2011-10-06 16:34:57 +02:00
Xavier Morel 69c6913915 [FIX] forgot to filter installed modules outside
bzr revid: xmo@openerp.com-20111006093430-knl8fcjh4avc2dvh
2011-10-06 11:34:30 +02:00
Xavier Morel c73c70550f [FIX] originally correct to-be-merged code broken during merge
bzr revid: xmo@openerp.com-20111006081119-zyzazce6fkc8oq0q
2011-10-06 10:11:19 +02:00
Antony Lesuisse 0d79dca93f [IMP] cleanup of web.common
bzr revid: al@openerp.com-20111005175826-7fzk3wesvz198kpm
2011-10-05 19:58:26 +02:00
Antony Lesuisse caec244322 [MERGE] fixmodloading by chs
bzr revid: al@openerp.com-20111005172010-ii718o6v1oe6gijk
2011-10-05 19:20:10 +02:00
Fabien Meghazi 1cde2fa2de [FIX] Fixed addons path for binaries. Improved placeholder.
bzr revid: fme@openerp.com-20111005155740-ufdr7lwp4abpsfsu
2011-10-05 17:57:40 +02:00
Christophe Simonis 847ee8333d [FIX] correct module loading in local mode
bzr revid: chs@openerp.com-20111005095505-vepaqeupdn5qywcc
2011-10-05 11:55:05 +02:00
Antony Lesuisse 4ec1113d94 [IMP] deprecate web_preload in favor of --load, server_wide_modules config option
bzr revid: al@openerp.com-20110930201018-aw9s26iqyd6rns05
2011-09-30 22:10:18 +02:00
Antony Lesuisse 3a4c322e83 [FIX] consider typeless action as ir.actions.act_window_close
bzr revid: al@openerp.com-20110928224705-cf4dwwrz85oqv8y8
2011-09-29 00:47:05 +02:00
Antony Lesuisse 5dfc14d359 [IMP] web_preload js part
bzr revid: al@openerp.com-20110927111402-teb8bpavj4atghle
2011-09-27 13:14:02 +02:00
Christophe Simonis 6b8d98b54a [FIX] correct the js-ification of module list to preload
bzr revid: chs@openerp.com-20110927085947-ip3jv93fb5pvqth3
2011-09-27 10:59:47 +02:00
Christophe Simonis 1d2d17a365 [MERGE] merge upstream + code adaptation to revid:al@openerp.com-20110927001435-vttw23epyru5gm0b
bzr revid: chs@openerp.com-20110927085435-pipko7w752conp3a
2011-09-27 10:54:35 +02:00
Antony Lesuisse 5e303d0ea4 [IMP] web_preload python-side
bzr revid: al@openerp.com-20110927001435-vttw23epyru5gm0b
2011-09-27 02:14:35 +02:00
Antony Lesuisse 211713396a [IMP] multiple addons-path
bzr revid: al@openerp.com-20110926125330-9ddpet3tdho3gq2o
2011-09-26 14:53:30 +02:00
Christophe Simonis 4261f1ad11 merge upstream
bzr revid: chs@openerp.com-20110926112623-q68d3tebr80qt6l9
2011-09-26 13:26:23 +02:00
Xavier Morel 47094e8adb [ADD] import
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
2011-09-26 12:14:40 +02:00
Xavier Morel 25c38ca653 [IMP] move more import logic to javascript
bzr revid: xmo@openerp.com-20110923122202-hnp6o1ybwgugive4
2011-09-23 14:22:02 +02:00
Xavier Morel f42cacc5c1 [IMP] handle lines to skip in import preview
bzr revid: xmo@openerp.com-20110923095609-ogxc6q3wnd0tez8v
2011-09-23 11:56:09 +02:00
Xavier Morel 8d0a65ec94 [IMP] handle switch indicating whether the CSV file being imported has headers
bzr revid: xmo@openerp.com-20110923094500-0jn0tb3fgix9j8wg
2011-09-23 11:45:00 +02:00
Xavier Morel a7a71dea83 [IMP] split import check result in two different templates, wait before everything's ready to setup autocompletes and check required fields & al
bzr revid: xmo@openerp.com-20110923092346-007j09xf5wfzq9zo
2011-09-23 11:23:46 +02:00
Xavier Morel 99cd8a01a3 [REM] most of the fields-manipulation crapola of Import.detect_data, have headers be a simple list(str)
bzr revid: xmo@openerp.com-20110923085924-4gq1g660mcmb8bus
2011-09-23 10:59:24 +02:00
Xavier Morel baf367d0e1 [IMP] move fetching of fields for import to javascript. Also extraction of required fields
bzr revid: xmo@openerp.com-20110923083341-xa3sg2t053zonlsm
2011-09-23 10:33:41 +02:00
Xavier Morel 6a931ae104 [ADD] checkbox for the user to specify that his file does *not* have column headers
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
2011-09-22 17:27:04 +02:00
Xavier Morel 099b18ace6 [REM] redundant call to do_check_req_field: it's already called from on_change_check
bzr revid: xmo@openerp.com-20110922094058-yhy6re1l679fg42m
2011-09-22 11:40:58 +02:00
niv-openerp 54014f0473 [fix] problem when user does not enter correct password
bzr revid: nicolas.vanhoren@openerp.com-20110921130549-pbdjgtufjjo5pens
2011-09-21 15:05:49 +02:00
Christophe Simonis 01eff42ca2 [ADD] key in manifest allowing auto loading of modules
bzr revid: chs@openerp.com-20110920154358-gpv2ahph6gbtlmiy
2011-09-20 17:43:58 +02:00
Kunal Chavda (OpenERP) 288b0336cc [MERGE]Merge with trunk upto revision no 1054.
bzr revid: kch@tinyerp.com-20110919052218-lpz4jy6k2bu1inxv
2011-09-19 10:52:18 +05:30
niv-openerp 08143aaab5 [fix] partially solve problem when restituting session and problem with server (disconnected, database dropped, etc...)
bzr revid: nicolas.vanhoren@openerp.com-20110916102555-myvdxf30fl7jpb3a
2011-09-16 12:25:55 +02:00
Kunal Chavda (OpenERP) 8511d9986b [FIX]Remove unnecessary code which affects in importing data.
bzr revid: kch@tinyerp.com-20110915122420-90lur8b4mdjw5bpx
2011-09-15 17:54:20 +05:30
Kunal Chavda (OpenERP) 50567fcb63 [MERGE]Merge with trunk upto revision no 1043.
bzr revid: kch@tinyerp.com-20110915070222-1sw9bpp36s42nvt2
2011-09-15 12:32:22 +05:30
niv-openerp b8d2c86435 [fix] problem with new login, when the user is not really already logged in
bzr revid: nicolas.vanhoren@openerp.com-20110913121038-0x7tifkpzgplk6lb
2011-09-13 14:10:38 +02:00
niv-openerp 754924a122 [fix] some problems with preceding improvement related to login
bzr revid: nicolas.vanhoren@openerp.com-20110913102936-8xjjba5q1gmi8xts
2011-09-13 12:29:36 +02:00
niv-openerp 71e7470847 [imp] modified login to only depend on the session_id to restore a session, this will make some bugs to user_context and password disapear
bzr revid: nicolas.vanhoren@openerp.com-20110913102320-dhw4p91ohyk438d1
2011-09-13 12:23:20 +02:00
Kunal Chavda (OpenERP) df1edc236b [MERGE]Merge with trunk upto revision no 1011.
bzr revid: kch@tinyerp.com-20110913054406-yrjafv0qdzzijizz
2011-09-13 11:14:06 +05:30
Kunal Chavda (OpenERP) 55e3e34872 [FIX]Fixed code for problems in previous commit.
bzr revid: kch@tinyerp.com-20110912125900-flvro2f4qsllik14
2011-09-12 18:29:00 +05:30
Antony Lesuisse 25237f7178 [IMP] move webrelease into addons/web
bzr revid: al@openerp.com-20110909141317-uvo90sxlg8o5w9dx
2011-09-09 16:13:17 +02:00
Kunal Chavda (OpenERP) 555610e41b [FIX]Fixed code for javascript problems as par review.
bzr revid: kch@tinyerp.com-20110909114933-4f0zgiedo9dp865h
2011-09-09 17:19:33 +05:30
Xavier Morel ea82b31286 [FIX] Safari seems to have issue with loading json data in iframes, implement a jsonp-ish system to correctly handle retrieval of import test return data
bzr revid: xmo@openerp.com-20110909105307-2463mzr6micqdvbm
2011-09-09 12:53:07 +02:00
Kunal Chavda (OpenERP) a8467f7b3c [MERGE]Merge with trunk upto revision no 970.
bzr revid: kch@tinyerp.com-20110908103919-0elkj4hdhhgpvx6o
2011-09-08 16:09:19 +05:30
Kunal Chavda (OpenERP) 783904920a [FIX]Fixed code for python related problems as par review.
bzr revid: kch@tinyerp.com-20110908102400-7udk4wzl0blt7jgg
2011-09-08 15:54:00 +05:30
niv-openerp e60032e11c [imp] cosmetic change
bzr revid: nicolas.vanhoren@openerp.com-20110908095913-pgpcd0flc57umgno
2011-09-08 11:59:13 +02:00
niv-openerp cb009f218b [imp] made ids in report overridable by report action
bzr revid: nicolas.vanhoren@openerp.com-20110908095544-77pottqwvarnh2gq
2011-09-08 11:55:44 +02:00
niv-openerp 4e0412f0c3 [imp] updated ids in report
bzr revid: nicolas.vanhoren@openerp.com-20110908095411-eezf69hw64khlx91
2011-09-08 11:54:11 +02:00
niv-openerp 17d1f78682 [imp] updated datas in report
bzr revid: nicolas.vanhoren@openerp.com-20110908095327-23inv0pjwljyktdl
2011-09-08 11:53:27 +02:00
Xavier Morel e13a97446a [FIX] reports: report_type may be missing from the action descriptor, don't rely on it being there
bzr revid: xmo@openerp.com-20110908071415-9gdyvkpwq7i7fxob
2011-09-08 09:14:15 +02:00
Xavier Morel a0a1ea0cfa [FIX] cleanup of toolbar actions during fields_view_get
bzr revid: xmo@openerp.com-20110908070309-bbwmqxmwmmj06srj
2011-09-08 09:03:09 +02:00
Xavier Morel ffa4549555 [IMP] cleanup toolbar actions
bzr revid: xmo@openerp.com-20110907150257-ewan3jhboq0xe710
2011-09-07 17:02:57 +02:00
niv-openerp b4694f6a91 [fix] (x-files mode on) problem with some reports that are not reports (x-files mode off)
bzr revid: nicolas.vanhoren@openerp.com-20110907132320-uf2e5a6crjg04r84
2011-09-07 15:23:20 +02:00
niv-openerp 3b1627b7a4 [fix] problem with xmo and concept of cleaning actions
bzr revid: nicolas.vanhoren@openerp.com-20110907130502-r8a3146hmq8oojvy
2011-09-07 15:05:02 +02:00
Fabien Meghazi 67809aa770 [IMP] Avoid browsers cache problem with autoloaded addons in debug mode
bzr revid: fme@openerp.com-20110907095819-711u6wfcw5gvffvj
2011-09-07 11:58:19 +02:00
Fabien Meghazi e0eec18342 [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
Xavier Morel 2a3cb44782 [ADD] support for zipped reports (code=zlib/reportgz config key) in report downloader
bzr revid: xmo@openerp.com-20110907072818-9ondrxh0q2j0yo7d
2011-09-07 09:28:18 +02:00
Xavier Morel 0b17356d23 [FIX] report action management: correctly download reports
bzr revid: xmo@openerp.com-20110907072358-94qnrzx1ww951shv
2011-09-07 09:23:58 +02:00
Antony Lesuisse 02792660b8 [IMP] factorize view/load part1
bzr revid: al@openerp.com-20110906205438-wk1x6dx2mp103en2
2011-09-06 22:54:38 +02:00
Kunal Chavda (OpenERP) 4c31251a43 [FIX]Fixed code as par rename web from base and read file data problem.
bzr revid: kch@tinyerp.com-20110906130525-axb8e40gc1zya9a3
2011-09-06 18:35:25 +05:30
Kunal Chavda (OpenERP) a9446c53f9 [MERGE]Merge with trunk upto revision no 931.
bzr revid: kch@tinyerp.com-20110906125440-turixz49exf0po30
2011-09-06 18:24:40 +05:30
Xavier Morel fd6b4fde14 [FIX] reintroduce reports mistakenly removed at revision xmo@openerp.com-20110905142455-1nt310pqzyzk69cp
they probably shouldn't have been called Export

bzr revid: xmo@openerp.com-20110906115754-i19nn5oi9fhqpmbd
2011-09-06 13:57:54 +02:00
Xavier Morel 9b82be28f2 [REM] now-unused code, after correctly using FileStorage data for uploaded file
bzr revid: xmo@openerp.com-20110906115507-lo5qblaw4nod11vz
2011-09-06 13:55:07 +02:00
Xavier Morel cd78e540a2 [FIX] binary uploading not correctly werkzeugified
bzr revid: xmo@openerp.com-20110906115316-4kybkc2bowpvkhyn
2011-09-06 13:53:16 +02:00
Xavier Morel 6452b377aa [FIX] nope, base64 has not been renamed web64
bzr revid: xmo@openerp.com-20110906112734-obksfkt2d51kvt6b
2011-09-06 13:27:34 +02:00
Xavier Morel 6d029a4910 [IMP] restrict set of exceptions caught when fetching images
bzr revid: xmo@openerp.com-20110906111226-hx4zh9rjr2fj5sct
2011-09-06 13:12:26 +02:00
Xavier Morel 247cf9886f [IMP] base64 doc indicates that 'encodestring' and 'decodestring' are part of the 'legacy interface'. Use b64encode and b64decode from the 'modern' interface instead
bzr revid: xmo@openerp.com-20110906111218-hktitwp8ia3brzrx
2011-09-06 13:12:18 +02:00
Xavier Morel c96d60ca58 [FIX] image downloading, were not ported to werkzeug
bzr revid: xmo@openerp.com-20110906111157-hyzm016cyjcm0kfn
2011-09-06 13:11:57 +02:00
niv-openerp 05be8f7cc5 [imp] added creation of about message
bzr revid: nicolas.vanhoren@openerp.com-20110905151420-nnjh005ol8dsouhx
2011-09-05 17:14:20 +02:00
niv-openerp 3c5c8b3e66 [imp] lot of fixes after refactoring of base to web
bzr revid: nicolas.vanhoren@openerp.com-20110905140439-n858qs02fwnib5ac
2011-09-05 16:04:39 +02:00
niv-openerp 32441da020 [fix] fix in the model helper
bzr revid: nicolas.vanhoren@openerp.com-20110902155949-29mhv0d8rnl0dzkt
2011-09-02 17:59:49 +02:00
niv-openerp ae91f6400b [imp] added helper to call any method on models
bzr revid: nicolas.vanhoren@openerp.com-20110902152622-marolbq8hkxu6wd0
2011-09-02 17:26:22 +02:00
niv-openerp a20d5479b1 [imp] cleaned ie7 css
bzr revid: nicolas.vanhoren@openerp.com-20110902125701-qkr1a8j5r4m6lc2r
2011-09-02 14:57:01 +02:00
Xavier Morel dbd5acb460 [IMP] don't mess up ordering of fields saved in an exports list
bzr revid: xmo@openerp.com-20110905152442-wcczebz4rk9g7tjd
2011-09-05 17:24:42 +02:00
Xavier Morel 748086e678 [MERGE] bunch of speed and code improvements to import, also make import more flexible (pluggable)
bzr revid: xmo@openerp.com-20110905142455-1nt310pqzyzk69cp
2011-09-05 16:24:55 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00