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

[MIG] - migrate account_cutoff_accrual_picking into account_cutoff_picking #261

Closed
wants to merge 16 commits into from

Conversation

sbejaoui
Copy link
Contributor

@sbejaoui sbejaoui commented Sep 5, 2023

original PR #73

cc/ @alexis-via , @jbaudoux

Alexis de Lattre and others added 11 commits September 5, 2023 12:29
Use assert
Remove .keys()
No space before colon
PEP8/Flake8 : getting closer to compliancy
…a single warning left !

Add translation template files.
Allow use of the cutoff modules by Accountant (and not only Financial manager)
Set default cutoff date to last day of previous fiscal year
Move button to generate lines to account_cutoff_base module
Block deletion of 'done' cutoff
Use accounting configuration page instead of company form view
Code clean-up and minor fixes
@sbejaoui sbejaoui force-pushed the 16.0-account_cutoff_picking-sbj branch 2 times, most recently from 245f5cd to b580c26 Compare September 5, 2023 10:34
@sbejaoui sbejaoui force-pushed the 16.0-account_cutoff_picking-sbj branch from b580c26 to 53d39bb Compare September 5, 2023 10:44
@rousseldenis
Copy link
Contributor

@alexis-via @sbejaoui @jbaudoux Could we find an agreement on changes for this one as this make me frighten about mixing implementations? Thanks


{
"name": "Account Cut-off Picking",
"version": "16.0.1.2.0",
"category": "Accounting",
"version": "16.0.1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"version": "16.0.1.0.0",
"version": "16.0.2.0.0",

tax_read = self.env["account.tax"].browse(tax_line["id"])
tax_cutoff_account_id = tax_read[tax_account_field_name]
if not tax_cutoff_account_id:
if not company.cutoff_taxes:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if not company.cutoff_taxes:
if not company.accrual_taxes:

Copy link
Contributor

Choose a reason for hiding this comment

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

missing test coverage on taxes

@jbaudoux
Copy link
Contributor

Replaced by #268

@sbejaoui sbejaoui closed this Oct 23, 2023
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.

7 participants