Commit Graph

42992 Commits

Author SHA1 Message Date
Quentin (OpenERP) edbaa302c2 [IMP] account: improved print journal report + added a dedicated RML for sale/purchase journal printing. Based on the same parser, this new report additionaly print information about VAT. From an original idea and parts of code of Noviat.
bzr revid: qdp-launchpad@openerp.com-20120203145320-og4k4p008qybdcfc
2012-02-03 15:53:20 +01:00
Raphael Collet 3af06d4c3f [MERGE] from trunk
bzr revid: rco@openerp.com-20120203133947-ev7o3vz28k39261m
2012-02-03 14:39:47 +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
Xavier Morel 5182f41d60 [FIX] jquery-ui reference in mobile client
lp bug: https://launchpad.net/bugs/926014 fixed

bzr revid: xmo@openerp.com-20120203125132-9crn5qgjqweoeg3a
2012-02-03 13:51:32 +01:00
Atul Patel (OpenERP) 96bde4a4a2 [FIX]base_calendar: Remove date field in EXTRAFIELDS for caldav synchronization.
bzr revid: atp@tinyerp.com-20120203124214-uvi4l4gep1y23ck1
2012-02-03 18:12:14 +05:30
Raphael Collet 6ae335382c [MERGE] lp:897556 (portal: improve tooltip)
bzr revid: rco@openerp.com-20120203102251-2atlvh1qgcxid6ze
2012-02-03 11:22:51 +01:00
Raphael Collet 19f2963374 [IMP] portal: improve tooltip
bzr revid: rco@openerp.com-20120203101536-j7ig24rkwwduvdt8
2012-02-03 11:15:36 +01:00
Raphael Collet 4395b5d7c6 [MERGE] from trunk
bzr revid: rco@openerp.com-20120203101208-pjt250tn8yqa26r8
2012-02-03 11:12:08 +01:00
Xavier Morel 68189e9243 [FIX] don't right-align number fields in form view
bzr revid: xmo@openerp.com-20120203084906-xmhbmhdkamfbx0zo
2012-02-03 09:49:06 +01:00
Xavier Morel 4939d6631a [IMP] error reporting in domain evaluation
bzr revid: xmo@openerp.com-20120203084852-ogaxcye1pltfwtvv
2012-02-03 09:48:52 +01:00
Raphael Collet e33ce2e84a [MERGE] lp:923884 (account: fix generation of journal codes to avoid infinite loop)
bzr revid: rco@openerp.com-20120203084622-b3vctd1djh8itkjd
2012-02-03 09:46:22 +01:00
Raphael Collet 091f19951f [MERGE] lp:925355 (import_google: remove size limit on selection field)
bzr revid: rco@openerp.com-20120203084045-t9toj9v9oy62q4jy
2012-02-03 09:40:45 +01:00
Kuldeep Joshi (OpenERP) 8d0a0a93a2 [FIX]survey : give access right to employee user
lp bug: https://launchpad.net/bugs/925359 fixed

bzr revid: kjo@tinyerp.com-20120203084009-nitbh42w9fw466sj
2012-02-03 14:10:09 +05:30
Divyesh Makwana (Open ERP) bf7c5f68f0 [IMP] account : Improved the code.
bzr revid: mdi@tinyerp.com-20120203062323-7snclf0vtc73dsai
2012-02-03 11:53:23 +05:30
Divyesh Makwana (Open ERP) f0dbcdcfe7 [IMP] account : Improved the code.
bzr revid: mdi@tinyerp.com-20120203060547-opr31t6snhhxk47c
2012-02-03 11:35:47 +05:30
Kuldeep Joshi (OpenERP) 227d7bb427 [FIX] import_google: remove size from selection field
lp bug: https://launchpad.net/bugs/925355 fixed

bzr revid: kjo@tinyerp.com-20120203054150-homgb5drrzcbnigf
2012-02-03 11:11:50 +05:30
Launchpad Translations on behalf of openerp abf15fba10 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120203053807-iq4rzl2xwon4jab4
2012-02-03 05:38:07 +00:00
Antony Lesuisse ef32ec99ea change module import logging level
bzr revid: al@openerp.com-20120202203109-7d65ibg5d9k7j6ex
2012-02-02 21:31:09 +01:00
Antony Lesuisse fcf84b265c define a useful default logging config, display this config in DEBUG, rename and claen rpc debug to verbose or terse
bzr revid: al@openerp.com-20120202203008-mkafq1oak33z6p6p
2012-02-02 21:30:08 +01:00
Xavier Morel 6165f1834a [REM] project_caldav
lp bug: https://launchpad.net/bugs/923627 fixed

bzr revid: xmo@openerp.com-20120202164905-hfznlark7js0u92j
2012-02-02 17:49:05 +01:00
Raphael Collet a6b78e5268 [MERGE] lp:924327 (subscription: enable more documents on subscription history)
bzr revid: rco@openerp.com-20120202160443-plj4j2dnbxp361p6
2012-02-02 17:04:43 +01:00
Xavier Morel df8af0ec4a [FIX] in load_information_from_description_file, f can be a StringIO (in case of zipped module) and StringIO are not contextmanagers.
So rollback the context management thingie

bzr revid: xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
2012-02-02 16:45:32 +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
Olivier Dony aea1b13412 [IMP] tools.translate: be more lenient and accept standart gettext source annotations
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 for openerp-web's translations
  have the GetText format hardcoded, so it's a good idea
  to be more lenient and allow the standards annotations too.
  We can use a default 'code' type for such cases.

  For openerp-web translations the type does not matter,
  as the translations will be directly loaded by the 
  web engine from the PO files and served in Javascript
 to the browser, with no typing needed.

  This patch simply avoids failing to parse updated PO files
  that will contain standard GetText annotations for the
  openerp-web related terms.

bzr revid: odo@openerp.com-20120202143210-05p1w24t6u77cyv8
2012-02-02 15:32:10 +01:00
Vo Minh Thu 81ee705498 [IMP] logging: use logging.exception() instead of manually formatting the traceback.
bzr revid: vmt@openerp.com-20120202125442-h73uaga3vu2s8upv
2012-02-02 13:54:42 +01:00
Vo Minh Thu 88d2e96317 [IMP] --log-rpc-xxx into --log-request and --log-response.
bzr revid: vmt@openerp.com-20120202122610-r35cxp2y5i63lczg
2012-02-02 13:26:10 +01:00
Kuldeep Joshi (OpenERP) 70096a39ec [FIX] subcription: set _get_document_type method for document_id field
lp bug: https://launchpad.net/bugs/924327 fixed

bzr revid: kjo@tinyerp.com-20120202113216-qpbzcz0fmot9wf3f
2012-02-02 17:02:16 +05:30
Raphael Collet 96e0a5dc16 [MERGE] lp:922621 (account: do not compute foreign_balance for accounts with no secondary currency)
bzr revid: rco@openerp.com-20120202100305-jgo79fgwrpyl41kw
2012-02-02 11:03:05 +01:00
Vo Minh Thu 1ab6f8883c [IMP] logging: _logger.warn() replaced by _logger.warning().
bzr revid: vmt@openerp.com-20120202092634-pylu3098p5c0mays
2012-02-02 10:26:34 +01:00
Vo Minh Thu 5341b5f445 [IMP] logging: _logger.log(DEBUG) replaced by _logger.debug().
bzr revid: vmt@openerp.com-20120202092105-mfufuv97h8zrc2n7
2012-02-02 10:21:05 +01:00
Divyesh Makwana (Open ERP) 858758af47 [FIX] account : COA Creation wizard hangs up
lp bug: https://launchpad.net/bugs/923884 fixed

bzr revid: mdi@tinyerp.com-20120202085255-jpuv9x6i33nnjp8f
2012-02-02 14:22:55 +05:30
Divyesh Makwana (Open ERP) 9b3994db6b [FIX] account : foreign_balance should not be computed for account with no secondary currency
lp bug: https://launchpad.net/bugs/922621 fixed

bzr revid: mdi@tinyerp.com-20120202061635-1f6ax1ce6vu6zbbw
2012-02-02 11:46:35 +05:30
Launchpad Translations on behalf of openerp 7e2bb94661 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202055911-xdbu6vwggylcbpq1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202061434-l5xlutw7q5besmme
2012-02-02 06:14:34 +00:00
Antony Lesuisse 91ef8c1c51 [FIX] review according to xmo :)
bzr revid: al@openerp.com-20120201235604-tr5iq676pzk8bi1m
2012-02-02 00:56:04 +01:00
Quentin (OpenERP) 1928854809 [FIX] account: partial revert of commit 6465. Put back the default value on currency field but changed its implementation in order to have it computed thanks to the default journal
bzr revid: qdp-launchpad@openerp.com-20120201160648-kei7wp4radcws0p9
2012-02-01 17:06:48 +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
Olivier Dony e7ccb31154 [REM] web_default_home: removed, translation template disabled, cleaning up
bzr revid: odo@openerp.com-20120201153617-04dpcxwglgfuvbxa
2012-02-01 16:36:17 +01:00
Vo Minh Thu 084af04092 [FIX] import-hook: correctly import the server-wide-module (i.e
use the openerp.addons namespace), and correctly set the submodules in
sys.modules (instead of only the top-level package).

bzr revid: vmt@openerp.com-20120201152710-s7sxlgibwd3lwr5l
2012-02-01 16:27:10 +01:00
Xavier Morel 996578ed49 [IMP] small speed improvement of find_handler (mostly for shallow paths) courtesy of Florent X
bzr revid: xmo@openerp.com-20120201151436-ivq6o0ilpgkeae78
2012-02-01 16:14:36 +01:00
Quentin (OpenERP) 616cea7a6d [FIX] account: removed unknown 'filter' key used in domain and required modifiers
bzr revid: qdp-launchpad@openerp.com-20120201143821-krd014pyh3ix5k0s
2012-02-01 15:38:21 +01:00
Florent Xicluna 228c817c33 [IMP] faster implementation for Root.find_handler.
bzr revid: florent.xicluna@gmail.com-20120201143032-pshpu4uhvl61nr9z
2012-02-01 15:30:32 +01:00
Quentin (OpenERP) 3da9e71711 [FIX] account, invoice: removed the default value of currency_id field, as it should be given by the onchange of journal_id (which has a default value)
bzr revid: qdp-launchpad@openerp.com-20120201141633-mclcw5n7v9c5789h
2012-02-01 15:16:33 +01:00
Raphael Collet c40a0d9234 [IMP] account_bank_statement_extensions: fix warning in data
bzr revid: rco@openerp.com-20120201141244-z10oko61nx27901y
2012-02-01 15:12:44 +01:00
Fabien Meghazi 8abe9402e2 [REM] QWeb: removed xpath support
bzr revid: fme@openerp.com-20120201132217-h2i9a3g082i9ui9y
2012-02-01 14:22:17 +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
Raphael Collet c86ddaad57 [MERGE] lp:924783 (fix dropping database before any connection, contrib from Ronald Portier)
bzr revid: rco@openerp.com-20120201130957-ra3ot62j0bbxjnu1
2012-02-01 14:09:57 +01:00
Fabien Meghazi 01ecdef551 [FIX] Reworked QWeb inheritance (say goodbye to Internet Explorer quirks !)
bzr revid: fme@openerp.com-20120201130630-yadld2l0vcmbg3ea
2012-02-01 14:06:30 +01:00
Raphael Collet bdf04f8ad9 [MERGE] base: adds the format for addresses in the Netherlands (Stefan Rijnhart)
bzr revid: rco@openerp.com-20120201125532-yvp0dgb11mc457y2
2012-02-01 13:55:32 +01:00
Raphael Collet bd566a401b [MERGE] account: add currency field on bank accounts (from Akretion)
bzr revid: rco@openerp.com-20120201125042-cd5omabmubyazd25
2012-02-01 13:50:42 +01:00
Fabien Meghazi ab447a4f13 [FIX] Use childnodes and not the whole extend node
bzr revid: fme@openerp.com-20120201124822-xo1msj0ou09o73uh
2012-02-01 13:48:22 +01:00