l10n-brazil icon indicating copy to clipboard operation
l10n-brazil copied to clipboard

[14.0][ADD] l10n_br_account_fleet

Open marcelsavegnago opened this issue 1 year ago • 6 comments

This pull request introduces a new module for Brazilian Localization Account Fleet. The most important changes include the addition of a README file, a manifest file, and necessary view modifications to integrate the account and fleet modules.

Documentation and Metadata:

  • l10n_br_account_fleet/README.rst: Added a comprehensive README file with badges, usage instructions, bug tracker information, credits, and contribution guidelines.
  • l10n_br_account_fleet/__manifest__.py: Added the manifest file defining the module's metadata, dependencies, and data files.
  • l10n_br_account_fleet/readme/CONTRIBUTORS.rst: Added contributors information.
  • l10n_br_account_fleet/readme/DESCRIPTION.rst: Added a description of the module's functionality and implementation details.
  • l10n_br_account_fleet/readme/USAGE.rst: Added simple usage instructions.

View Modifications:

  • l10n_br_account_fleet/views/account_move.xml: Added XML view modifications to integrate fleet fields into the invoice lines form view.

Setup:

  • setup/l10n_br_account_fleet/odoo/addons/l10n_br_account_fleet: Added a symbolic link for the module.
  • setup/l10n_br_account_fleet/setup.py: Added a setup script for the module.

marcelsavegnago avatar Jun 28 '23 18:06 marcelsavegnago

acho que só falta arrumar o readme e deixar claro a motivação que levou a por o campo no formulário, conforme você explicou no telegram

antoniospneto avatar Jun 29 '23 03:06 antoniospneto

acho que só falta arrumar o readme e deixar claro a motivação que levou a por o campo no formulário, conforme você explicou no telegram

Feito

marcelsavegnago avatar Jun 29 '23 13:06 marcelsavegnago

Olá @marcelsavegnago talvez vale a pena segurar um pouco esse PR. Pois eu tinha aberto uma RFC para deixar opcional isso de editar os invoices pelo form. Para empresas do simples estaria legal fazer pela visão de lista. Ai teria que pensar um pouco como a gente faz isso (tipo com um grupo). Tou melhorando os testes no l10_br_account antes de cogitar essa mudança... Bem a gente tem que ver se a gente consegue fazer antes de migrar o não. Mas se a gente faz depois aí dobra o trabalho ou corta um pouco a compatibildade entre a v14 e a v16... Vamos ver. Mas talvez vale a pena esperar um pouco para ver o que dá para fazer... O que vc acha?

rvalyi avatar Jun 30 '23 17:06 rvalyi

Olá @marcelsavegnago talvez vale a pena segurar um pouco esse PR. Pois eu tinha aberto uma RFC para deixar opcional isso de editar os invoices pelo form. Para empresas do simples estaria legal fazer pela visão de lista. Ai teria que pensar um pouco como a gente faz isso (tipo com um grupo). Tou melhorando os testes no l10_br_account antes de cogitar essa mudança... Bem a gente tem que ver se a gente consegue fazer antes de migrar o não. Mas se a gente faz depois aí dobra o trabalho ou corta um pouco a compatibildade entre a v14 e a v16... Vamos ver. Mas talvez vale a pena esperar um pouco para ver o que dá para fazer... O que vc acha?

Grande @rvalyi . Sim, eu lembro. Está nesta issue https://github.com/OCA/l10n-brazil/issues/1678.

Talvez o caminho seja fazer igual o cadastro de contas contábeis. A inserção ser inline e ter um botão setup no final que ai sim abriria o form. O que acha ? Ser opcional, eu só entendo que ficaria pouco prático se fosse em algum parâmetro na empresa.

marcelsavegnago avatar Jul 01 '23 17:07 marcelsavegnago

talvez poderia ter um padrão por grupo de usuário (tem empresas do regime normal que definitivamente a pessoa vai preferir o forma) e com um botão sim...

rvalyi avatar Jul 03 '23 02:07 rvalyi

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar May 05 '24 12:05 github-actions[bot]