-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Conversation
Use assert Remove .keys() No space before colon PEP8/Flake8 : getting closer to compliancy
….get('type', '-')
…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
245f5cd
to
b580c26
Compare
b580c26
to
53d39bb
Compare
@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", |
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.
"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: |
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.
if not company.cutoff_taxes: | |
if not company.accrual_taxes: |
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.
missing test coverage on taxes
Replaced by #268 |
original PR #73
cc/ @alexis-via , @jbaudoux