Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Want to manually edit rml, but which file

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
invoicermlreport
2 Respostas
10255 Visualizações
Avatar
Julian Isaac
/usr/lib/pymodules/python2.7/openerp-server/addons/account_invoice_layout/report/special_message_invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/account_invoice_layout/report/report_account_invoice_layout.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/account/report/account_print_invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/report_intrastat/report/invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/hr_timesheet_invoice/report/cost_ledger.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/hr_timesheet_invoice/report/account_analytic_profit.rml
/usr/share/pyshared/openerp-server/addons/account_invoice_layout/report/special_message_invoice.rml
/usr/share/pyshared/openerp-server/addons/account_invoice_layout/report/report_account_invoice_layout.rml
/usr/share/pyshared/openerp-server/addons/account/report/account_print_invoice.rml
/usr/share/pyshared/openerp-server/addons/report_intrastat/report/invoice.rml
/usr/share/pyshared/openerp-server/addons/hr_timesheet_invoice/report/cost_ledger.rml
/usr/share/pyshared/openerp-server/addons/hr_timesheet_invoice/report/account_analytic_profit.rml

I'd like to work on a better layout for our invoices, but unsure which file to change. Above I've searched for *.rml and then filtered through a grep for 'invoice'. Which of these files would be the one I need to change and do I need to do anything additional after editing the file (compile, build... ??)?

1
Avatar
Cancelar
Avatar
patrick
Melhor resposta

You might want to keep your modified file separate from the default ones.

Procedure you want to follow:

  • Create new module, with your report
  • upload module to /addons directory
  • install the module within openERP
  • change the path for the specific document/report at:

    • Settings -> Actions -> Reports
    • Search for the document you changed and click on it
    • Click on the button 'Edit'
    • Modify the text behind 'Report File'.

    Example: The location is addons/my_module/report/myrep.rml. So you type my_module/report/myrep.rml

Hopefully the above procedures are clear enough for you to fix your issue.

1
Avatar
Cancelar
Julian Isaac
Autor

Thanks Patrick, but it's still not clear to me whether I should be starting from the addons folder under "/usr/share/pyshared/openerp-server/" or the one under "/usr/lib/pymodules/python2.7/openerp-server/". It doesn't look like one is a link to the other...

Andreas Maertens

Seems like you should take that one from: /usr/share/. The other one is for libarys (/usr/lib/)

patrick

I use the addon from /usr/lib/.... All my own modules are placed there, and I don't have any issues. Just use sudo cp -r <source>/ /usr/lib/pymodules/python2.7/openerp/addons/ to copy your own module there.

Julian Isaac
Autor

OK, well I tried putting the new module into the /usr/lib... path and it didn't show up. Added the module to /usr/share... path and it appeared after updating the module list. So I guess the answer to the first part of the question (for me at least) is create the new module dir under "/usr/share/pyshared/openerp-server/addons"

Andreas Maertens

So is my solution correct? Please mark it to help other users find the right things quicker. ;)

Chris Dennis

Does anyone have a complete example of a very simple new module that they can share? One that just has a modified report would be ideal. I've looked at what documentation I can find, and learning how to create an add-on seems like a lot of work just to change the text of a report.

Avatar
Andreas Maertens
Melhor resposta

The one you search for is: /usr/share/pyshared/openerp-server/addons/account/report/account_print_invoice.rml

As patrik said it is better to create a new addon.

0
Avatar
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Proper way to customize Invoice reports on Odoo 7
invoice rml report
Avatar
Avatar
Avatar
2
mar. 15
9957
Replace invoice template with my own rml file
invoice rml report template
Avatar
4
dez. 23
15850
[18.0] invoice report looks OK when previewing but fonts scaled up and sections overlap when printed Resolvido
invoice report
Avatar
Avatar
Avatar
2
jun. 25
3216
How to print the doc no. (Purchase Order no. or invoice no.) on each page of PDF report Resolvido
rml report
Avatar
Avatar
Avatar
3
jul. 24
9370
Group Invoice Lines by Sales Order
invoice report
Avatar
Avatar
Avatar
Avatar
Avatar
4
mai. 24
6896
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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