Skip to content
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][l10n_br_fiscal][l10n_br_account] mail thread e message_post #3032

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

rvalyi
Copy link
Member

@rvalyi rvalyi commented Apr 22, 2024

Lá no inicio da v12 o l10n_br_fiscal.document herdava do mail.thread e eu acabei tirando alegando que pela herança do account.move não era preciso...

Até que na verdade é desejável sim: agora que implementamos a possibilidade de encaixar vários documentos fiscais num mesmo account.move, é desejável que cada documento fiscal tenha o mail.thread dele. Mas eu implementei um sistema onde cada vez que é postado algo no chatter de um documento fiscal, o message_post acontece tambem para todos account.move relacionados, de forma que continua possível seguir o historico de cada documento fiscal a partir do chatter dos account.move relacionados.
Essa ideia tinha sido me passado pelo
Akim Juillerat da C2C no ano passado: https://twitter.com/akim_c2c/status/1671934029946404964

A vantagem desse design vai ficar mais clara em outros PRs a seguir...

@OCA-git-bot
Copy link
Contributor

Hi @renatonlima,
some modules you are maintaining are being modified, check this out!

@rvalyi rvalyi force-pushed the 14.0-mail-thread branch from 7c7c8c4 to bc7a012 Compare April 22, 2024 23:01
@rvalyi rvalyi changed the title 14.0 mail thread [14.0][l10n_br_fiscal][l10n_br_account] mail thread e message_post Apr 22, 2024
Copy link
Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mileo
Copy link
Member

mileo commented Apr 24, 2024

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-3032-by-mileo-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Apr 24, 2024
Signed-off-by mileo
@OCA-git-bot
Copy link
Contributor

It looks like something changed on 14.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 14.0-ocabot-merge-pr-3032-by-mileo-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 7d63de3 into OCA:14.0 Apr 24, 2024
5 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c826979. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants