Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Заказать демонстрацию
  • Цены
  • Поддержка

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Бухгалтерия
  • Склад
  • PoS
  • Проекты
  • MRP
All apps
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Set up WebKit Reporting in OpenERP 7, but still loading .rml Reports...

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
rmlheaderwebkitmacowkhtml2pdf
1 Ответить
6628 Представления
Аватар
NSC

Dear Community,

can you explain me how OpenERP 7 can be still loading default .rml report templates after having set up WebKit? I have just read several documentation and I think I considered everything:

  • Installed wkhtml2pdf
  • entered webkit_path in technical settings
  • installed the following modules: base_headers_webkit, invoice_webkit, purchase_order_webkit
  • disabled reload from attachment option

I have just checked the reports service registration (Settings --> Actions --> Reports) and the report I want to test is indeed replaced with the webkit one. There is no clue left to it, but nevertheless, when pressing invoice print button, the system loads the default .rml template. What do I have to do else for having the system load the webkit maco replacements?

0
Аватар
Отменить
aharoen

Have you been create html template version of your report?

Jaakko Komulainen

Have you tried creating a new invoice or copy an existing invoice after you installed the new modules?

Аватар
NSC
Автор Лучший ответ

@aharoen: If I am honest, I do not know what you mean with your comment... I hope you can explain me...

I only set up the community's predefined webkit replacements for the reports I need. I expected that they are completely finished replacing the old .rml ones and that I can simply edit the .maco file to customize them. That's why I did not install them inside OpenERP's general addon directory, but in my own additional addon folder already containing other custom modules made by me.

I read several documentation what I have to do to get webkit running and I followed all steps. Maybe, there is little information missing which seems to go without saying, but I do not know about. I wonder how the system can still print the old .rml report, if all connection to it was replaced by webkit replacements...

Could this simply be a module update thing? - Yesterday, I downloaded some bzr branches to my additional addon folder (yes, this is entered in openerp config, too), but although having changed rights and owner of these branches, logged off my database, restarted openerp service, logged in again, updated all modules, I was not able to see them in module management to install them. I use Ubuntu 12.04. I think, openerp has got a real problem with its module update functionality: For example, I did some test overrides for some reporting services to replace the standard .rml files. These are inside my addon folder and only installed into one special database. When changing the database (I logged off this database and into another one), the system was searching for these replacing reports, although they were not installed into this database ??? I was not able to work with this new database, before having completely removed these services from my addon folder ???

@Jaakko Komulainen: For such kinds of tests I always duplicate a preconfigured template database with no data and special modules installed so far. So I first had to set up webkit and afterwards, I created a new test invoice, pressed the print button and the old .rml report appeared.

0
Аватар
Отменить
NSC
Автор

I found the reason myself: wkhtmltopdf is buggy for linux and it has not been maintained for a quite long time. Although release notes claim that no GUI components are required to successfully execute the lib, when executing it in shell, it tells that it can not find any GUI components. Installing GUI components on a server system - for what??? No, definitely not for me. Furthermore, webkit appears to be very troublesome when multipage reports are required. These two reasons brought me away from my wish to base my reporting on webkit.

NSC
Автор

I was doing some testing during the last days and decided for the following reporting solution - using Open Office Report Designer's conversion logic by hand:

  1. Download Open Office Report Designer module from OpenERP Apps Page and extract it somewhere to your client
  2. Download report (sxw file) you want to customize to your client (addons-Folder --> <module> --> report) (best is to put it here: base_report_designer/openerp_sxw2rml)
  3. Open downloaded sxw file with OpenOffice or LibreOffice.
  4. Now you can comfortably do your layout changes, insert additional fields, remove fields not desir
Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
OpenERP Reports - How to reduce space between Company Header and Text Body Решено
rml header
Аватар
1
мар. 23
9479
How to create dynamic header footer in webkit openerp
header webkit
Аватар
Аватар
1
мар. 15
5268
RML Header adaptation and data field names
rml header
Аватар
0
мар. 15
4235
Varying table alignment while using pto and pto_header in rml
rml header table
Аватар
Аватар
1
сент. 16
4810
Odoo 7 get always wrong active_id in rml header
rml header odoo8
Аватар
0
нояб. 15
4445
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo – это набор бизнес-модулей с открытым исходным кодом, который закроет все потребности вашей компании: CRM, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

Odoo сочетает в себе простоту использования и полную интеграцию всех бизнес-процессов в одной системе.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now