Commit Graph
42758 Commits
Author SHA1 Message Date
Olivier Dony 968decea96 [IMP] npybabel.py: comment w/ rationale for not using iterparse() in qweb extraction
bzr revid: odo@openerp.com-20120206153217-27ns8rl6q0198vqk
2012-02-06 16:32:17 +01:00
Olivier Dony 59801aff1d [IMP] gen_translation: report missing msgcat + minor cleanup
- exit if msgcat command is missing
- use consistent command substitution style
- pass --force-po to msgcat to avoid spurious error messages in the subsequent mv call

bzr revid: odo@openerp.com-20120206150428-79egnnip967l9h33
2012-02-06 16:04:28 +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
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
Xavier Morel e719558c79 [ADD] values restriction pattern for notebook/@tabpos
bzr revid: xmo@openerp.com-20120131154023-lbxqpdirjk9df694
2012-01-31 16:40:23 +01:00
Launchpad Translations on behalf of openerp ffb184bf1f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202055834-tscy1is5mn7c1qbo
2012-02-02 05:58:34 +00:00
Vo Minh Thu ee988a8955 [IMP] tests: export all the tests in a single suite.
bzr revid: vmt@openerp.com-20120201164404-yvnf30okqyj69sfy
2012-02-01 17:44:04 +01:00
Fabien Meghazi eddfc1a56a [IMP] Upgraded jQuery UI from 1.8.9 to 1.8.17
lp bug: https://launchpad.net/bugs/916342 fixed

bzr revid: fme@openerp.com-20120201163312-htze3vpzb3opgnoy
2012-02-01 17:33:12 +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
Raphael Collet c7334387a5 [MERGE] lp:917213 (l10n_fr: new taxes)
bzr revid: rco@openerp.com-20120201123744-gxre5ore2ub8sw9f
2012-02-01 13:37:44 +01:00
Fabien Meghazi 0839b0e4ee [FIX] QWeb template inheritance done right
bzr revid: fme@openerp.com-20120201122926-poh3q2157ra9tzjd
2012-02-01 13:29:26 +01:00
Ronald Portier 64773ba357 [FIX] drop database fails when done before connecting to server.
lp bug: https://launchpad.net/bugs/924783 fixed

bzr revid: ronald@therp.nl-20120201113759-wi2kogl2x1lsxk7g
2012-02-01 12:37:59 +01:00
Olivier Dony 0c71b22f81 [FIX] purchase: remove incorrect PO-based stock move valuation for incoming shipments
As discussed on bug 923191, the current override
is incorrect because it will silently replace the cost
of incoming stock moves with PO prices for products w/
standard costing - this should only concern products
with average costing for which no cost was manually
provided.
And in fact we can completely remove this override
because even for products with average costing,
the PO prices are already provided as default cost 
prices in the picking/move reception wizard, so
the PO price is already taken into account and the
cost will never be missing.
Thanks to Graeme Gellatly for the excellent
analysis!

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

bzr revid: odo@openerp.com-20120201113724-y18fna1v7z6kxka4
2012-02-01 12:37:24 +01:00
Olivier Dony 7d8e648eaf [IMP] edi: exclude sample code in EDI web template from being translated
bzr revid: odo@openerp.com-20120201111908-ewah9yl2acre5a9h
2012-02-01 12:19:08 +01:00
Raphael Collet c0534b0100 [MERGE] l10n_fr_rib: improve check of RIB and IBAN (contrib from Akretion)
bzr revid: rco@openerp.com-20120201110507-ztz2ss626svv2jl6
2012-02-01 12:05:07 +01:00
Raphael Collet 32bfeb684a [MERGE] l10n_be: rewrite wizard Annual Listing of VAT
bzr revid: rco@openerp.com-20120201102133-kdu1ajkbpxoyqe5r
2012-02-01 11:21:33 +01:00
Alexis de Lattre d3d72dc943 Add related field currency_id on res.partner.bank.
Display it in the corresponding tree and form views.

bzr revid: alexis@via.ecp.fr-20120201100727-007fkyhltwewtbyy
2012-02-01 11:07:27 +01:00
Raphael Collet cf3d3a3e02 [MERGE] from trunk
bzr revid: rco@openerp.com-20120201094400-nmz15394nstyl9av
2012-02-01 10:44:00 +01:00
Raphael Collet 0495dc9413 [IMP] l10n_be: code clean up (mostly spacing and indentation)
bzr revid: rco@openerp.com-20120201090929-wqcu32kme63laecj
2012-02-01 10:09:29 +01:00
Launchpad Translations on behalf of openerp a6be92b62b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201045611-6pg23l4ipzfnlpme
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201051211-pvfvh4f562tv94rj
2012-02-01 05:12:11 +00:00
Launchpad Translations on behalf of openerp 810e73513a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201045532-i8okrs9w77l78yn5
2012-02-01 04:55:32 +00:00
Stefan Rijnhart 5271b9f2ed [ADD] Address format for the Netherlands
bzr revid: stefan@therp.nl-20120131232741-1c0ap325wrmt4638
2012-02-01 00:27:41 +01:00
Antony Lesuisse f2aea7dfc2 [MERGE] ask for login when importing edi file if needed
bzr revid: al@openerp.com-20120131210131-k1141eoel0l3b26c
2012-01-31 22:01:31 +01:00
Antony Lesuisse 60c47d9f98 [FIX] restore support for session action used by edi
bzr revid: al@openerp.com-20120131205152-tbzx37vq3g4nef0p
2012-01-31 21:51:52 +01:00
Xavier Morel b9cb00f8de [IMP] change bounding function of tipsy to try to avoid tooltips being cut off
lp bug: https://launchpad.net/bugs/924286 fixed

bzr revid: xmo@openerp.com-20120131155208-ugzig1m90y4a86gk
2012-01-31 16:52:08 +01:00
Xavier Morel 4bee4fe7fc [ADD] support for id field type in search view
lp bug: https://launchpad.net/bugs/924296 fixed

bzr revid: xmo@openerp.com-20120131140210-b44fs5nfw109v81l
2012-01-31 15:02:10 +01:00
Xavier Morel 1ce98c610f [FIX] selection field default value selection in IE8
for some reason, @selected blows up (probably when converting the XML dom to HTML), but t-attf-selected works

bzr revid: xmo@openerp.com-20120131133807-wm549gl7ilg50uf7
2012-01-31 14:38:07 +01:00
Alexis de Lattre c646827762 [MERGE] with addons-trunk and resolve conflict in base_iban
<> changed to !=
Changed error message

bzr revid: alexis@via.ecp.fr-20120131133657-0gzkk0bcb709ca6f
2012-01-31 14:36:57 +01:00
Raphael Collet ac205cd443 [MERGE] small fixes (typo in tooltip, char field size)
bzr revid: rco@openerp.com-20120131132112-y526k22lrltqnocm
2012-01-31 14:21:12 +01:00
Xavier Morel 11272c4737 [FIX] positioning of hidden file field of binary widget
bzr revid: xmo@openerp.com-20120131125431-sf5w5yxfctiwvk7r
2012-01-31 13:54:31 +01:00
Fabien Meghazi b014335eb2 [FIX] calendar view missing 1/2 hour
lp bug: https://launchpad.net/bugs/922328 fixed

bzr revid: fme@openerp.com-20120131125216-7om1iuhuzdvf6loq
2012-01-31 13:52:16 +01:00
Olivier Dony b281791ff5 [IMP] db dump: correct reference URL in comments
bzr revid: odo@openerp.com-20120131113642-z6z4vs11fcwkyaqq
2012-01-31 12:36:42 +01:00
Olivier Dony f11e1de5eb [FIX] db dump: report errors due to missing password + pass PGPASSWORD even on Unix
Even on Unix systems the PGPASSWORD env var
is necessary when Postgres is configured to
deny unix socket connections or to require
a password anyway. This avoids asking admins
to manually create a ~/.pgpass file in order
to use the dump/restore tools.
Also did some cleanup to ensure the PGPASSWORD
var is removed from the environment as soon
as the operation is done.

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20120131110849-tji6ipjovxc9oi4v
2012-01-31 12:08:49 +01:00
Xavier Morel a6c106365a [REM] unused variables in process
bzr revid: xmo@openerp.com-20120131105846-wvqyxko2lux2gwnj
2012-01-31 11:58:46 +01:00
Raphael Collet eea68d6981 [MERGE] sale, purchase, stock: refactoring of invoice creation (Alexis de Lattre, Raphael Valyi)
bzr revid: rco@openerp.com-20120131105322-80x7fp2u1z5fyo6o
2012-01-31 11:53:22 +01:00