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

[10.0] account_check_printing_report_base - refactor #261

Merged

Conversation

JordiBForgeFlow
Copy link
Member

@JordiBForgeFlow JordiBForgeFlow commented May 31, 2019

This PR refactors the method to compute the lines that appear in the check report, so that the dependency with account.invoice is removed.

The old code would not display, for example, the lines corresponding to payments to employee expenses.

The new code relies only on account.move.line and account.partial.reconcile.

@max3903 max3903 added this to the 10.0 milestone May 31, 2019
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

Not working for supplier payments

@AaronHForgeFlow
Copy link
Contributor

It seems to me that this fix is the same as #259 🤔

@JordiBForgeFlow JordiBForgeFlow changed the title [10.0] account_check_printing_report_base - fix paid amount [10.0] account_check_printing_report_base - refactor Jun 3, 2019
@JordiBForgeFlow
Copy link
Member Author

cc @max3903 can you please consider the new changes? This is a significant refactor.

@JordiBForgeFlow JordiBForgeFlow force-pushed the 10.0-account_check_printing-fixes branch from 3cc6b01 to 305bf8f Compare June 3, 2019 14:52
@AaronHForgeFlow AaronHForgeFlow force-pushed the 10.0-account_check_printing-fixes branch from 43fca2a to 89c6f86 Compare June 5, 2019 13:21
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

👍 Functional tests

@JordiBForgeFlow JordiBForgeFlow merged commit f47520c into OCA:10.0 Jun 5, 2019
@MiquelRForgeFlow
Copy link
Contributor

travis ci was red :S

@JordiBForgeFlow
Copy link
Member Author

@aheficent can you incorporate these changes into 11.0 and 12.0 (#241)

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.

6 participants