odoo/openerp/report
Martin Trigaux f3e7afaaca [MERGE] [FIX] res_font: make it works in multiworker environment
res_font model gains family, path and mode field
Basic fonts embedded in pdf (Helvetica, Times and Courier) are data
Fix reports using font names to be valid (eg: DejaVu Sans Bold -> DejaVuSans-Bold)
default_get of res_company does not scan the filesystem anymore
family field is new name_get font for res_font (more user friendly)
Domain on displayed font to only 'normal ones' (not bold or italic)
Handle fonts in 'book' mode as normal in setTTFontMapping
Relax constraint on res_font to unique family and name ('name' was actually family before)
font_scan is called on 'reload fonts' action button and for each report rendering
font_scan is lazy when loaded from report and scanning the filesystem only if no font recorded in filesystem
'/dev/null' in font path is used to add fonts in the list but not loaded by reportlab
Scanning the filesystem triggers clear_caches
clear_cache resets the list of found fonts to empty list to make font_scan call to reload the full list (when redering a report on any worker, will always get the updated font list after a scan)
Add access rights for fonts (read everybody, create admin, call font_scan as superuser in report rendering)
Remove font hack with BaseCustomTTFonts, rely fully on the system fonts
Use glob instead of listdir (needed for path like '/usr/share/fonts/TTF/*')
Make warning message from reportlab more self-explaining.

Also make the runbot green (which is nice)

bzr revid: mat@openerp.com-20131209171338-o796pldia9da3kt2
2013-12-09 18:13:38 +01:00
..
printscreen [REF] no longer use openerp.pooler. 2013-03-27 12:10:14 +01:00
pyPdf [REM] Deleted .apidoc lines. 2013-02-12 15:24:10 +01:00
render [MERGE] [FIX] res_font: make it works in multiworker environment 2013-12-09 18:13:38 +01:00
__init__.py [REF] removed nested import openerp. 2013-03-27 16:47:14 +01:00
common.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
custom.py [REF] no longer use openerp.pooler. 2013-03-27 12:10:14 +01:00
int_to_text.py [REM] unnecessary parens 2012-12-14 13:38:03 +01:00
interface.py [FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family 2013-12-09 13:57:05 +01:00
misc.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
preprocess.py [REF] openerp.report: use the recommended syntax to raise error and never use empty except:. 2012-02-08 18:02:17 +01:00
print_fnc.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
print_xml.py [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static 2013-03-29 15:07:23 +01:00
report_sxw.py [FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family 2013-12-09 13:57:05 +01:00