Import ClientFlow production v4928.1.5.132.4
This commit is contained in:
14
config/company_profiles/blif/email_intents.yaml
Normal file
14
config/company_profiles/blif/email_intents.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
email_intents:
|
||||
SEND_INFO:
|
||||
label: Enviar informação
|
||||
allow_prices: true
|
||||
allow_visit_promise: false
|
||||
MEETING_REQUEST:
|
||||
label: Pedido de reunião/visita
|
||||
allow_prices: false
|
||||
allow_visit_promise: false
|
||||
expected_reply: Confirmar disponibilidade internamente e sugerir chamada/videochamada como alternativa.
|
||||
SUPPORT:
|
||||
label: Suporte técnico
|
||||
allow_prices: false
|
||||
require_human_validation: true
|
||||
51
config/company_profiles/blif/labels.yaml
Normal file
51
config/company_profiles/blif/labels.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
profile_name: BLIF
|
||||
|
||||
actions:
|
||||
NO_ACTION:
|
||||
label: Sem ação necessária
|
||||
description: A oportunidade não tem ação operacional pendente.
|
||||
OPEN_TASK:
|
||||
label: Abrir tarefa pendente
|
||||
description: Existe uma tarefa ativa ligada a esta oportunidade.
|
||||
VALIDATE_FISCAL_CUSTOMER:
|
||||
label: Validar cliente fiscal
|
||||
description: Confirmar ou associar o cliente fiscal correto antes de documentos oficiais.
|
||||
RECONCILE_DOCUMENTS:
|
||||
label: Confirmar documento encontrado
|
||||
description: Existe evidência por decidir na reconciliação.
|
||||
CREATE_JASMIN_QUOTE:
|
||||
label: Criar/enviar orçamento
|
||||
description: Criar ou associar orçamento antes de pagamento ou fatura.
|
||||
CONFIRM_PAYMENT:
|
||||
label: Confirmar pagamento
|
||||
description: Confirmar pagamento com base no orçamento/fatura associado.
|
||||
SEND_INVOICE:
|
||||
label: Enviar fatura ao cliente
|
||||
description: Emitir/enviar fatura depois do pagamento confirmado.
|
||||
CONFIRM_ORDER:
|
||||
label: Confirmar encomenda
|
||||
description: Validar encomenda para avançar preparação.
|
||||
PREPARE_ORDER:
|
||||
label: Preparar encomenda / Odoo
|
||||
description: Criar ou validar venda/preparação no Odoo.
|
||||
WAIT_PRODUCTION:
|
||||
label: Aguardar produção
|
||||
aliases: ["Aguardar WH/OUT"]
|
||||
ui_legacy_label: Aguardar WH/OUT
|
||||
# label: Aguardar WH/OUT
|
||||
description: Aguardar estado da encomenda/WH-OUT no Odoo; WH/MO é detalhe técnico.
|
||||
SHIP_ORDER:
|
||||
label: Enviar encomenda
|
||||
description: Validar/concluir expedição quando a encomenda estiver pronta.
|
||||
FOLLOW_UP_PAYMENT:
|
||||
label: Follow-up pagamento
|
||||
description: Acompanhar pagamento pendente conforme condição comercial.
|
||||
FOLLOW_UP:
|
||||
label: Acompanhar oportunidade
|
||||
description: Rever estado e próximo contacto.
|
||||
CLOSE_OPPORTUNITY:
|
||||
label: Concluir oportunidade
|
||||
description: Fatura enviada, pagamento confirmado e WH/OUT concluído; concluir/fechar a oportunidade.
|
||||
REVIEW:
|
||||
label: Rever processo
|
||||
description: Resolver inconsistência antes de avançar.
|
||||
26
config/company_profiles/blif/ui.yaml
Normal file
26
config/company_profiles/blif/ui.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
opportunity_cards:
|
||||
right:
|
||||
- next_action
|
||||
- operational_map
|
||||
- quick_finance
|
||||
- commercial_terms
|
||||
- fiscal_association_collapsed
|
||||
- followup
|
||||
- stage_change
|
||||
- advanced_correction_collapsed
|
||||
left:
|
||||
- customer_contact
|
||||
- fiscal_readiness
|
||||
- shipping_readiness
|
||||
- documents
|
||||
- products
|
||||
- odoo
|
||||
- tasks
|
||||
- messages
|
||||
- timeline
|
||||
quick_actions:
|
||||
- CONFIRM_PAYMENT
|
||||
- SEND_INVOICE
|
||||
- PREPARE_ORDER
|
||||
- SHIP_ORDER
|
||||
- FOLLOW_UP_PAYMENT
|
||||
53
config/company_profiles/blif/workflow.yaml
Normal file
53
config/company_profiles/blif/workflow.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
company: blif
|
||||
profile_name: BLIF
|
||||
version: blif-flow-2026-06-28
|
||||
|
||||
defaults:
|
||||
payment_terms: before_shipping
|
||||
delivery_terms: carrier
|
||||
follow_up_delay_days: 3
|
||||
|
||||
documents:
|
||||
quote:
|
||||
label: Orçamento
|
||||
legacy_aliases: [proforma]
|
||||
invoice:
|
||||
label: Fatura
|
||||
|
||||
payment_terms:
|
||||
before_shipping: Antes do envio
|
||||
after_delivery: Após entrega
|
||||
agreement: Conforme acordo
|
||||
undefined: A definir
|
||||
|
||||
delivery_terms:
|
||||
carrier: Transportadora
|
||||
pickup: Levantamento
|
||||
install_partner: Eletricista/instalador do cliente
|
||||
undefined: A definir
|
||||
|
||||
commercial_stages:
|
||||
- {code: NEW_LEAD, label: Novo pedido}
|
||||
- {code: INFO_SENT, label: Informação enviada}
|
||||
- {code: QUOTE_SENT, label: Orçamento enviado}
|
||||
- {code: WAITING_PAYMENT, label: A aguardar pagamento}
|
||||
- {code: PAYMENT_CONFIRMED, label: Pagamento confirmado}
|
||||
- {code: ODOO_ORDER_CREATED, label: Encomenda confirmada / em execução}
|
||||
- {code: WON, label: Concluído}
|
||||
- {code: LOST, label: Perdido}
|
||||
- {code: REVIEW, label: Rever}
|
||||
|
||||
followups:
|
||||
types:
|
||||
quote: Orçamento enviado
|
||||
payment: Pagamento pendente
|
||||
review: Cliente a analisar
|
||||
generic: Follow-up genérico
|
||||
delays_days: [1, 2, 3, 5, 7, 14]
|
||||
|
||||
rules:
|
||||
critical_guards:
|
||||
- nif_conflict_blocks_finance
|
||||
- no_duplicate_send
|
||||
- payment_confirmation_requires_audit
|
||||
- external_document_customer_mismatch_blocks_auto_action
|
||||
14
config/company_profiles/default/email_intents.yaml
Normal file
14
config/company_profiles/default/email_intents.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
email_intents:
|
||||
SEND_INFO:
|
||||
label: Enviar informação
|
||||
allow_prices: true
|
||||
allow_visit_promise: false
|
||||
MEETING_REQUEST:
|
||||
label: Pedido de reunião/visita
|
||||
allow_prices: false
|
||||
allow_visit_promise: false
|
||||
expected_reply: Confirmar disponibilidade internamente e sugerir chamada/videochamada como alternativa.
|
||||
SUPPORT:
|
||||
label: Suporte técnico
|
||||
allow_prices: false
|
||||
require_human_validation: true
|
||||
51
config/company_profiles/default/labels.yaml
Normal file
51
config/company_profiles/default/labels.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
profile_name: BLIF
|
||||
|
||||
actions:
|
||||
NO_ACTION:
|
||||
label: Sem ação necessária
|
||||
description: A oportunidade não tem ação operacional pendente.
|
||||
OPEN_TASK:
|
||||
label: Abrir tarefa pendente
|
||||
description: Existe uma tarefa ativa ligada a esta oportunidade.
|
||||
VALIDATE_FISCAL_CUSTOMER:
|
||||
label: Validar cliente fiscal
|
||||
description: Confirmar ou associar o cliente fiscal correto antes de documentos oficiais.
|
||||
RECONCILE_DOCUMENTS:
|
||||
label: Confirmar documento encontrado
|
||||
description: Existe evidência por decidir na reconciliação.
|
||||
CREATE_JASMIN_QUOTE:
|
||||
label: Criar/enviar orçamento
|
||||
description: Criar ou associar orçamento antes de pagamento ou fatura.
|
||||
CONFIRM_PAYMENT:
|
||||
label: Confirmar pagamento
|
||||
description: Confirmar pagamento com base no orçamento/fatura associado.
|
||||
SEND_INVOICE:
|
||||
label: Enviar fatura ao cliente
|
||||
description: Emitir/enviar fatura depois do pagamento confirmado.
|
||||
CONFIRM_ORDER:
|
||||
label: Confirmar encomenda
|
||||
description: Validar encomenda para avançar preparação.
|
||||
PREPARE_ORDER:
|
||||
label: Preparar encomenda / Odoo
|
||||
description: Criar ou validar venda/preparação no Odoo.
|
||||
WAIT_PRODUCTION:
|
||||
label: Aguardar produção
|
||||
aliases: ["Aguardar WH/OUT"]
|
||||
ui_legacy_label: Aguardar WH/OUT
|
||||
# label: Aguardar WH/OUT
|
||||
description: Aguardar estado da encomenda/WH-OUT no Odoo; WH/MO é detalhe técnico.
|
||||
SHIP_ORDER:
|
||||
label: Enviar encomenda
|
||||
description: Validar/concluir expedição quando a encomenda estiver pronta.
|
||||
FOLLOW_UP_PAYMENT:
|
||||
label: Follow-up pagamento
|
||||
description: Acompanhar pagamento pendente conforme condição comercial.
|
||||
FOLLOW_UP:
|
||||
label: Acompanhar oportunidade
|
||||
description: Rever estado e próximo contacto.
|
||||
CLOSE_OPPORTUNITY:
|
||||
label: Concluir oportunidade
|
||||
description: Fatura enviada, pagamento confirmado e WH/OUT concluído; concluir/fechar a oportunidade.
|
||||
REVIEW:
|
||||
label: Rever processo
|
||||
description: Resolver inconsistência antes de avançar.
|
||||
26
config/company_profiles/default/ui.yaml
Normal file
26
config/company_profiles/default/ui.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
opportunity_cards:
|
||||
right:
|
||||
- next_action
|
||||
- operational_map
|
||||
- quick_finance
|
||||
- commercial_terms
|
||||
- fiscal_association_collapsed
|
||||
- followup
|
||||
- stage_change
|
||||
- advanced_correction_collapsed
|
||||
left:
|
||||
- customer_contact
|
||||
- fiscal_readiness
|
||||
- shipping_readiness
|
||||
- documents
|
||||
- products
|
||||
- odoo
|
||||
- tasks
|
||||
- messages
|
||||
- timeline
|
||||
quick_actions:
|
||||
- CONFIRM_PAYMENT
|
||||
- SEND_INVOICE
|
||||
- PREPARE_ORDER
|
||||
- SHIP_ORDER
|
||||
- FOLLOW_UP_PAYMENT
|
||||
53
config/company_profiles/default/workflow.yaml
Normal file
53
config/company_profiles/default/workflow.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
company: blif
|
||||
profile_name: BLIF
|
||||
version: blif-flow-2026-06-28
|
||||
|
||||
defaults:
|
||||
payment_terms: before_shipping
|
||||
delivery_terms: carrier
|
||||
follow_up_delay_days: 3
|
||||
|
||||
documents:
|
||||
quote:
|
||||
label: Orçamento
|
||||
legacy_aliases: [proforma]
|
||||
invoice:
|
||||
label: Fatura
|
||||
|
||||
payment_terms:
|
||||
before_shipping: Antes do envio
|
||||
after_delivery: Após entrega
|
||||
agreement: Conforme acordo
|
||||
undefined: A definir
|
||||
|
||||
delivery_terms:
|
||||
carrier: Transportadora
|
||||
pickup: Levantamento
|
||||
install_partner: Eletricista/instalador do cliente
|
||||
undefined: A definir
|
||||
|
||||
commercial_stages:
|
||||
- {code: NEW_LEAD, label: Novo pedido}
|
||||
- {code: INFO_SENT, label: Informação enviada}
|
||||
- {code: QUOTE_SENT, label: Orçamento enviado}
|
||||
- {code: WAITING_PAYMENT, label: A aguardar pagamento}
|
||||
- {code: PAYMENT_CONFIRMED, label: Pagamento confirmado}
|
||||
- {code: ODOO_ORDER_CREATED, label: Encomenda confirmada / em execução}
|
||||
- {code: WON, label: Concluído}
|
||||
- {code: LOST, label: Perdido}
|
||||
- {code: REVIEW, label: Rever}
|
||||
|
||||
followups:
|
||||
types:
|
||||
quote: Orçamento enviado
|
||||
payment: Pagamento pendente
|
||||
review: Cliente a analisar
|
||||
generic: Follow-up genérico
|
||||
delays_days: [1, 2, 3, 5, 7, 14]
|
||||
|
||||
rules:
|
||||
critical_guards:
|
||||
- nif_conflict_blocks_finance
|
||||
- no_duplicate_send
|
||||
- payment_confirmation_requires_audit
|
||||
- external_document_customer_mismatch_blocks_auto_action
|
||||
Reference in New Issue
Block a user