-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][FIX] l10n_br_sale_stock: Caso do Pedido de Venda Sem Operação ou Internacional não deve incluir os Dados Fiscais do Brasil #3325
Conversation
Hi @renatonlima, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pela linha da operação fiscal tb não funcionaria?
valeu @mileo , ao alterar um Pedido que tem Operação Fiscal para Vazio os campos nas Linhas passam para Invisíveis na Visão, dessa forma o Usuário não tem como apagar, o melhor talvez seja que ao apagar o campo no cabeçalho do objeto também seja apagado na linhas( ou "limpar" todos campos Fiscais?), mas para evitar erros eu estou utilizando o campo que o Usuário tem acesso e define que aquele objeto não deve ter Operação Fiscal. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Não pensei muito se teria uma forma melhor, mas me parece uma melhoria razoável já
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 15dd760. Thanks a lot for contributing to OCA. ❤️ |
Case without Fiscal OP.
Caso do Pedido de Venda Sem Operação ou Internacional não deve incluir os Dados Fiscais do Brasil.
Aqui ainda não está sendo incluído o teste porque ocorre um erro com o método Default do stock.picking como precisei alterar isso vou fazer em outro PR logo em seguida, assim deve facilitar a revisão.
EDIT.: Esse PR está buscando extrair partes das alterações do PR de Extração para o sale_stock_picking_invoicing #2955
cc @rvalyi @renatonlima @marcelsavegnago @mileo @antoniospneto