-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
base: 16.0
Are you sure you want to change the base?
Conversation
…an be not initialized
… 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
Currently translated at 100,0% (39 of 39 strings) Translation: account-closing-10.0/account-closing-10.0-account_invoice_accrual Translate-URL: https://translation.odoo-community.org/projects/account-closing-10-0/account-closing-10-0-account_invoice_accrual/de/
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
6792bb6
to
02999b3
Compare
02999b3
to
4271026
Compare
cc/ @jbaudoux , @rousseldenis |
copy=False, | ||
help="Link to the Accrual Journal Items.", | ||
) | ||
to_be_reversed = fields.Boolean("To be reversed") |
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.
FIXME: depend on OCA/account-financial-tools#1725
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 |
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.
depends on #283
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. |
Replaced by #271 |
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. |
This PR can be closed as replaced by #271 |
No description provided.