From: Alex <ppae@yandex.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] OpenERP + шрифты Date: Wed, 13 Jul 2016 12:54:20 +0300 Message-ID: <1551821468403660@web26o.yandex.ru> (raw) In-Reply-To: <201607122134.41244@ruslandh> Установить шрифты получилось. Спасибо. Проблему это не решило. При выводе на печать документа в OpenERP 7.0 вместо русских букв печатаются квадратики. Пример: https://yadi.sk/i/l_YvTcKJtFfZ2 База PostgreSQL, кодировка базы utf-8. В экранных формах самой программы никаких проблем с русским языком. В выгружаемых в PDF документах есть затруднения. *.rml файлы в оригинальных версия аддонов OpenERP не содержат явно указанной кодировки. Руками правлю файлы *.rml в каталогах /usr/lib/python2.7/site-packages/openerp/addons (пока не разобрался как сделать конвеерную замену фразы в файлах, разбросанных по дереву каталогов) В начале файла дописываю вместо <?xml version="1.0"?> <?xml version="1.0" encoding="utf-8" ?> Проблему это тоже пока не решило. Либо сильно промазываю с выбором файлов *.rml Либо аддоны вкачиваются прямо в базу PostgreSQL Вопрос. Если есть идеи, прошу подсказать, как заставить OpenERP корректно выводить на печать русские надписи. -- Rgrds, Alex Predelin
prev parent reply other threads:[~2016-07-13 9:54 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-12 10:28 Alex 2016-07-12 18:34 ` Hihin Ruslan 2016-07-13 9:54 ` Alex [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1551821468403660@web26o.yandex.ru \ --to=ppae@yandex.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git