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

<BUG> "Services" break workflow - Sales Order Status will not set to DONE

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
deliverybugsales_orderdone
3 Respostas
7773 Visualizações
Avatar
Damian Phang

I noticed that if you have a service, for example, a delivery service, in a sale order line it will break the whole workflow. Status of the sale order will be left at sale order instead of being set to DONE despite having already received the payment and delivered the product.

Try this: #1 - Set a product as service #2 - Set to make to stock/make to order (doesn't really matter, it will break the workflow anyway) #3 - create a new order #4 - Add a simple product, add the delivery service #5 - confirm the order, receive the payment, deliver the product. #6 - Go to Sales Order and you will see status still being set to "Sales Order" and not "Done"

Repeat the above without the delivery service and you will see that it is now set to complete.

How do we fix this?

2
Avatar
Cancelar
Avatar
ACLENYON Sprl
Melhor resposta

Confirmed, same behaviour with last night's build. Any progress on your side?

Found the issue: It lies on line 272 in sale_stock.py:

if (not line.procurement_id) or (line.procurement_id.state=='done'):

line.procurement_id.state goes to 'done' only for stockable product when the delivery is completed. This is not the case for 'service' or 'product'. A fix is to change the line to:

if (line.product_id.type=='consu' or line.product_id.type=='service' or (not line.procurement_id) or (line.procurement_id.state=='done')):

Problem is fixed

0
Avatar
Cancelar
Avatar
Alexandros Katsonis
Melhor resposta

I just want to point out that the bug still exists in OpenErp Version 7.0-20140804-231303. When ever a service is sold the status of the Sales Order remains "Sales Order" and never goes to Done.

I installed the mrp_jit (Just In Time Scheduling) module but nothing changed.

The next step is to edit the file sale_stock.py but I'm concerned about updates. Won't updates rewrite the sale_stock.py file? Anyone found another solution?

Thank you in avance.

0
Avatar
Cancelar
Avatar
Santi
Melhor resposta

I had the same problem. Sale Orders state didn't change to "Done" after delivering the shipment and paying the invoice. 

After installing mrp_jit (Just In Time Scheduling) module, my problem was solved....it changes the state of the Services to "Done" whichj allows the Sale Order state to change to "Done" as well. I'm not 100% sure what else this module does though...

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
Need Help Managing Partial Deliveries/Backorders | Can't see 'Reserved' and 'Done
delivery partial backorder done
Avatar
0
jun. 24
2088
Sale order line date on delivery date.
delivery sales_order order.lines commitmentdate
Avatar
Avatar
Avatar
2
jun. 23
4817
Error when editing Adress in new Contact
contacts edit bug sales_order odoo16features
Avatar
Avatar
2
out. 23
1688
In a multiple society environnement why the user of the child company can't create sales order in sales app
sales crm error bug sales_order
Avatar
Avatar
1
ago. 18
3628
Error with Check Status
delivery
Avatar
0
set. 25
828
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