8000 [17.0][MIG] account_move_cutoff by petrus-v · Pull Request #340 · OCA/account-closing · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[17.0][MIG] account_move_cutoff #340

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

Open
wants to merge 9 commits into
base: 17.0
Choose a base branch
from

Conversation

petrus-v
Copy link
@petrus-v petrus-v commented Apr 9, 2025

migrate from version 14.0

petrus-v and others added 8 commits April 9, 2025 15:58
Using this module cuttoff happens while posting
entries based on start/end date defined on invoice lines

Co-authored-by: Damien Crier <Damien.crier@foodles.co>
action_post is not called better to overload _post on account.move model
* exposing default cutoff method using default odoo features
* allow to forward product attribute on account move line
  to make better analysis
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-closing-14.0/account-closing-14.0-account_move_cutoff
Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_move_cutoff/
@petrus-v petrus-v force-pushed the 17.0-mig-account_move_cutoff branch 3 times, most recently from 62929ab to 65cbe54 Compare April 10, 2025 13:36
(
0,
0,
Command.create(

Choose a reason for hiding this comment

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

question: what's the reason for using Command.create?

Copy link
Author

Choose a reason for hiding this comment

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

I feel it's easier to read code Command.create({}) than a tuple (0, 0, {}) result is the same !

Choose a reason for hiding this comment

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

I didn't know about that, is this available in 14? 👍

Copy link
Author
@petrus-v petrus-v Apr 11, 2025

Choose a reason for hiding this comment

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

@petrus-v petrus-v force-pushed the 17.0-mig-account_move_cutoff branch from 65cbe54 to a0fe40a Compare April 11, 2025 08:55
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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.

7 participants
0