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

[16.0][MIG] account_invoice_accrual #264

Open
wants to merge 81 commits into
base: 16.0
Choose a base branch
from

Conversation

sbejaoui
Copy link
Contributor

No description provided.

Laetitia Gangloff and others added 30 commits September 19, 2023 22:42
… res_partner * Use default cutoff journal which is on company * Use accrual accounts defined on account_cutoff_accraul_base * Use accounts mapping which is implemented in account_cutoff_base * Adapt test suite
…k invoice if accrual entry is draft * Remove accrual in case of invoice's validation if accrual entry is draft and if entry genereted by the validation is on the same period as accrual * Otherwise, accrual entry is reversed
@sbejaoui sbejaoui force-pushed the 16.0-account_invoice_accrual-sbj branch from 6792bb6 to 02999b3 Compare September 19, 2023 20:54
@sbejaoui sbejaoui force-pushed the 16.0-account_invoice_accrual-sbj branch from 02999b3 to 4271026 Compare September 21, 2023 08:05
@sbejaoui sbejaoui changed the title [WIP][16.0][MIG] account_invoice_accrual [16.0][MIG] account_invoice_accrual Sep 21, 2023
@sbejaoui
Copy link
Contributor Author

cc/ @jbaudoux , @rousseldenis

copy=False,
help="Link to the Accrual Journal Items.",
)
to_be_reversed = fields.Boolean("To be reversed")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment on lines +87 to +94
inv.company_id.default_accrued_revenue_return_account_id
or inv.company_id.default_accrued_revenue_account_id
)
elif inv.move_type == "in_invoice":
account = inv.company_id.default_accrued_expense_account_id
elif inv.move_type == "in_refund":
account = (
inv.company_id.default_accrued_expense_return_account_id
Copy link
Contributor

Choose a reason for hiding this comment

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

depends on #283

Copy link

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 github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 17, 2024
@jbaudoux
Copy link
Contributor

Replaced by #271

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 24, 2024
Copy link

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 github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 28, 2024
@jbaudoux
Copy link
Contributor

This PR can be closed as replaced by #271

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants