Olivier Dony
a7653e7eab
[IMP] gen_translations: better error msg when msgcat appears to be missing
...
bzr revid: odo@openerp.com-20120206154345-2emx6l0z47xiie4m
2012-02-06 16:43:45 +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
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
Xavier Morel
5f7d98ef25
[FIX] translations loading for preloaded modules
...
* Connection needs to initialize itself with preloaded modules (from
openerp._modules currently)
* Fix load_modules to load translations for everything, but only load
modules which are not preloaded
lp bug: https://launchpad.net/bugs/927147 fixed
bzr revid: xmo@openerp.com-20120206134155-n9sqcsi3cnc5a1hl
2012-02-06 14:41:55 +01:00
Quentin (OpenERP)
59e001fc8d
[FIX] l10n_ch: EDI test was failing in purchase order because the case where post_number field is not filled was not handled in _check_postal_num
...
bzr revid: qdp-launchpad@openerp.com-20120206124054-717q1covuo6992kw
2012-02-06 13:40:54 +01:00
Quentin (OpenERP)
a634bb35be
[IMP] account: print journal report layout improvements
...
bzr revid: qdp-launchpad@openerp.com-20120206123334-x70j7nzwo6vq5i5s
2012-02-06 13:33:34 +01:00
Xavier Morel
607f8e9c34
[IMP] mark loading string for translation
...
bzr revid: xmo@openerp.com-20120206114709-to4tgrd048wsyr2z
2012-02-06 12:47:09 +01:00
Quentin (OpenERP)
f06bde8978
[MERGE] l10n_ch. Merged new fixes and enhancements made by c2c. Thanks for the contribution
...
bzr revid: qdp-launchpad@openerp.com-20120206114533-fvh7kagc8r8ln1hb
2012-02-06 12:45:33 +01:00
Fabien Meghazi
18167a53a1
[IMP] Improved font-size styling
...
bzr revid: fme@openerp.com-20120206112816-n25hrta15ph0ivp0
2012-02-06 12:28:16 +01:00
Xavier Morel
e531b738e4
[FIX] sorting of lists embedded in forms (o2m, m2m)
...
lp bug: https://launchpad.net/bugs/927349 fixed
bzr revid: xmo@openerp.com-20120206104231-kh6or08jcqhlanzq
2012-02-06 11:42:31 +01:00
Xavier Morel
e6f2c03b85
[FIX] style for sort indicator in lists embedded in forms (o2m, m2m)
...
bzr revid: xmo@openerp.com-20120206104138-fiq81k8v4ttf86j3
2012-02-06 11:41:38 +01:00
Xavier Morel
6ebf8face0
[ADD] sorting support in buffered datasets
...
bzr revid: xmo@openerp.com-20120206103259-nt3wjmt9w9k7kegy
2012-02-06 11:32:59 +01:00
Quentin (OpenERP)
7385106b97
[FIX] account, print journal reports: fixed active_ids and blank lines at the beginning of each report
...
bzr revid: qdp-launchpad@openerp.com-20120206102700-egpw5evtssnke54u
2012-02-06 11:27:00 +01:00
Fabien Meghazi
cdf22b95cd
[IMP] Make 'Customer Invoices' form friendly to the new web client
...
@invisible uses display:none on the new web client thus the element
do not occupy space in the layout. No exception.
lp bug: https://launchpad.net/bugs/926565 fixed
bzr revid: fme@openerp.com-20120206102254-cfotem3g34cfxbrb
2012-02-06 11:22:54 +01:00
Xavier Morel
7b25f9d4c7
[UP] update underscore
...
bzr revid: xmo@openerp.com-20120206101215-yutyc4dv2p1qgxtu
2012-02-06 11:12:15 +01:00
Xavier Morel
ae273f2414
[IMP] move DataSetSearch#sort to DataSet#sort
...
bzr revid: xmo@openerp.com-20120206094648-1pq0y6oczk8uzzw6
2012-02-06 10:46:48 +01:00
Xavier Morel
b21eb64306
[FIX] selection state does not survive list content reload, so global checkbox should not either
...
global checkbox should be deselected after e.g. sidebar actions, or sorting the list
lp bug: https://launchpad.net/bugs/927139 fixed
bzr revid: xmo@openerp.com-20120206091143-gpljqsldg6xx508r
2012-02-06 10:11:43 +01:00
Launchpad Translations on behalf of openerp
6d43ac8611
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205050448-n6mu7me3032ety5q
2012-02-05 05:04:48 +00:00
Launchpad Translations on behalf of openerp
dbd909539b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120204052908-aafm0v5b5u2zzsse
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205044838-266rlchio2rc58yh
2012-02-05 04:48:38 +00:00
Launchpad Translations on behalf of openerp
5eaf046488
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120203053745-orlweqvnx6zwiy6i
bzr revid: launchpad_translations_on_behalf_of_openerp-20120204052830-xb8tt6iuixn8p8ow
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205044816-711tbu0ejkwplssg
2012-02-05 04:48:16 +00: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
Quentin (OpenERP)
4840e5cf87
[IMP] account, taxes report: added an option to print the detail (accounts) or not
...
bzr revid: qdp-launchpad@openerp.com-20120203162619-obs2ygr45jtpl3g0
2012-02-03 17:26:19 +01:00
Quentin (OpenERP)
e069b998a7
[FIX] account: fixed yaml test
...
bzr revid: qdp-launchpad@openerp.com-20120203151423-3y9afk6r0p01xsey
2012-02-03 16:14:23 +01:00
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
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
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
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
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
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
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
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