Commit Graph
44193 Commits
Author SHA1 Message Date
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
MVA 90aab905b6 [REF] remove false certificate and remove wrong space in the wizard_moodle
bzr revid: mva@openerp.com-20120202151253-xlmo3jpl54uip0ji
2012-02-02 16:12:53 +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
Raphael Collet 9eb78435ad [IMP] base_module_doc_rst: simplify wizard actions in xml
bzr revid: rco@openerp.com-20120202142824-1b8trrv4l3m8k95p
2012-02-02 15:28:24 +01:00
MVA 6e0ce679d5 [REF] correct some space
bzr revid: mva@openerp.com-20120202135501-mx4n5a857mimx1q5
2012-02-02 14:55:01 +01:00
Christophe Simonis c0e9e2970c [IMP] proxy mode require werkzeug (let the exception propagate up)
bzr revid: chs@openerp.com-20120202131813-lgfy0tzy94entyu8
2012-02-02 14:18:13 +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) e30d5e8320 [FIX]base_module_doc_rst: remove context
bzr revid: kjo@tinyerp.com-20120202121351-hi9vxkuh7uh4nm28
2012-02-02 17:43:51 +05:30
Jiten (OpenERP) a9aaad2257 [RES] Resolve conflict from view-editor.js.
bzr revid: jra@tinyerp.com-20120202113456-wqpffa9mdpinmbby
2012-02-02 17:04:56 +05:30
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
Jiten (OpenERP) 8a5593dcc6 [Merge] Merged from openerp-web.
bzr revid: jra@tinyerp.com-20120202112015-9f102yl1a9dukq6b
2012-02-02 16:50:15 +05:30
MVA 0009e6b63f [REF] change to required=true the email registration field
bzr revid: mva@openerp.com-20120202105542-40z8qffgbmmv1av8
2012-02-02 11:55:42 +01:00
Kuldeep Joshi (OpenERP) 580bd71dc7 [FIX] base_module_record,base_module_doc_rst: change to osv.osv_memory
bzr revid: kjo@tinyerp.com-20120202102713-a0y7medo4izgrd71
2012-02-02 15:57:13 +05:30
Jiten (OpenERP) 596b0bb4cb [IMP] Improved code for set model automatic when add/create new field.
bzr revid: jra@tinyerp.com-20120202102146-h9fbr5vxc1b5g8dj
2012-02-02 15:51:46 +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
MVA 936f530e4e [REF] create new method of existing code and add some helps in the wizard
bzr revid: mva@openerp.com-20120202095155-9f92tpny7mrl7asq
2012-02-02 10:51:55 +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
MVA 1f1a953707 [REF] correct some bugs in check_confirm method
bzr revid: mva@openerp.com-20120202080208-onyhr20r3hcnbw8h
2012-02-02 09:02:08 +01:00
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
Alexis de Lattre 188a937227 Add function _prepare_invoice(), which builds the dict containing the values of the invoice that will be created.
Remove function _inv_get() ; developers should inherit _prepare_invoice() now.

bzr revid: alexis@via.ecp.fr-20120201183123-kih36wb5ipoqvlc6
2012-02-01 19:31:23 +01:00
Alexis de Lattre d4842703e2 Remove the "ids" argument from the function _prepare_order_line_invoice_line because it is not needed in our _prepare_* functions.
bzr revid: alexis@via.ecp.fr-20120201182809-e842pbb9t4bx97y9
2012-02-01 19:28:09 +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
MVA 9432c99ca8 [IMP] add create user when confirm registration
bzr revid: mva@openerp.com-20120201134933-16zg145ombsulrab
2012-02-01 14:49:33 +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