Перейти к содержимому
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
Об этом форуме
Помощь

Edit invoice template in Odoo 8

Подписаться

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

Этот вопрос был отмечен
invoiceqwebeditodooV8
10 Ответы
57357 Представления
Аватар
TVDC

I've read multiple threads about customizing reports in Odoo 8, but could find an answer to my question:

How can we edit the invoice template in Odoo 8? In OpenERP7 we used make files to edit invoices, but it seems that webkit is obsolete.

Trying to change the document type from PDF to Webkit did not help as we were unable to locate the .mako files.

We tried the qWeb editor as suggested in this thread (https://www.odoo.com/forum/help-1/question/is-there-any-way-to-preview-webkit-report-layout-while-coding-maybe-wysiwyg-editor-52307#answer-52417), but this only edits the layout.

We need to be able to add variables (BBA structured ref, expiration date, dank details,...) and the PDF wich is attached to the outgoing mail template should also be updated.

Any ideas?

3
Аватар
Отменить
TVDC
Автор

It seems that I can only comment on my own post... David, you helped me a lot. However I'm still unable to edit the footer... I tried to adapt company details under settings > Companies > Companies, tried to toggle "Custom footer" under Report Configuration, but nothing helps... Another issue is that the language of the attached PDF does not change when I set the customer to another language. The email template does however update the language.

David Birchmier

Hi TVDC, I'm not certain on the resolution for the language issue but I can try to help with the footer issue. This is where you need to modify the footer: http://screencast.com/t/HXvAsREi Does that help?

TVDC
Автор

Hi David, indeed I found that before. But unfortunately, it does not update the report. Even after toggling "custom footer". I think i'm missing some detail somewhere...

David Birchmier

Very strange. It does work for me after I CHECKBOX the custom footer. What is the name of the report you're trying to print? Is it just the standard "Invoices" one?

Yenthe Van Ginneken (Mainframe Monkey)

Can you make a word document of what you want to achieve? I will try to help you.

TVDC
Автор

Hi, just fyi as this was urgent for us we outsourced this job to a freelancer who has way more Odoo skills than me. He fixed it, but I have no idea how :)

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

Hi TVDC,

I'll try to help out as I was also very confused about this when I first started working with Odoo v8. 

The short answer is:

1) You can use  "HTML" and edit the template via the visual WYSIWIG editor. To do this, locate the invoice you wish to modify and change the default from PDF to HTML.  Now open ANY invoice. Select Print > Invoices (or whatever you named your invoice). From here a new window will appear and an "EDIT" button will appear in the upper left. Click EDIT and change what you wish. I personally found this far too restrictive to accomplish what I wanted. I wound up with option #2.

2) Option #2 is to use QWeb. QWeb is Odoo v8's new templating system. To do this go back to Settings > Reports > Invoices (or whatever the name of your invoice is) and select "Search QWeb Views". There will be two options here. Select the one with the suffix _document 
On this screen you can edit the raw HTML / XML as you see fit.

You will see lots of talk around these forums of RML. My understanding is that this is Odoo's OLD method of modifying invoices. You should ignore everything other than QWeb or editiing it via the WYSIWIG editor. (The two options I listed above)

I have tried to include more detail in another post where I had a similiar question, here:
https://www.odoo.com/forum/help-1/question/modifying-invoice-templates-creating-multiple-invoice-templates-in-odoo-v8-71588 

6
Аватар
Отменить
Аватар
Coskun Istanbulluoglu
Лучший ответ

Hello,

I am using Odoo Online version.

How can we add new fields in the invoice document? I know that it is possible to add new fields with Odoo Studio.

For example, I want to add total weight of the products in the footer. How to do that?

0
Аватар
Отменить
Аватар
José Carlos
Лучший ответ

Hello all, I was trying to follow the instructions above mentioned, but dispite I can see the header and the footer needed when I have the Invoice in HTML, whenever I change it to PDF, I print the invoice and I have no header or footer.


I am using odoo 8 and I am not an expert in odoo.


Any thoughts?


Regards

0
Аватар
Отменить
Аватар
Paulo Lima
Лучший ответ

The Option#2 is quite effective, thanks

0
Аватар
Отменить
Не оставайтесь в стороне – присоединяйтесь к обсуждению!

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

Регистрация
Похожие посты Ответы Просмотры Активность
Invoice Odoo 8 - How to have the subtotal with taxe in Invoice report
invoice qweb odooV8
Аватар
0
авг. 16
4206
printing "sale.order" fields in account.invoice pdf (qweb) Решено
pdf invoice qweb odooV8
Аватар
Аватар
3
янв. 21
8760
how we design custom report in odoov8.0
invoice qweb reports odooV8
Аватар
Аватар
1
окт. 15
6340
Odoo 8 Invoice HTML/Qweb: sticky footer?
invoice qweb html odooV8
Аватар
Аватар
2
сент. 15
5237
How to solving missing header & footer images in qweb?
qweb odooV8
Аватар
Аватар
Аватар
Аватар
Аватар
4
мая 23
11864
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • 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