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

[9.0] account mass reconcile (migration of account_easy_reconcile and account_advanced_reconcile) #136

Merged

Conversation

mdietrichc2c
Copy link
Contributor

PR to migrate to 9.0 both account_easy_reconcile and account_advanced_reconcile.

A few points:

  • both modules were merged as account_mass_reconcile, since both are more often than not used jointly.
  • partial reconciliations are still done by the advanced reconcile method, but they are not displayed anymore ; this is due to the changes in 9.0 to the reconciliation system, which only offers a "set" of reconciled entries for full reconciliations.

@mdietrichc2c mdietrichc2c force-pushed the 9.0-account-easy-advanced-reconcile branch from 1d98bcc to 719f8dd Compare April 13, 2016 13:00
@mdietrichc2c mdietrichc2c force-pushed the 9.0-account-easy-advanced-reconcile branch 2 times, most recently from 1a236b7 to 97dbfd0 Compare April 14, 2016 08:32
@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.0% when pulling 70529d1 on mdietrichc2c:9.0-account-easy-advanced-reconcile into 053266c on OCA:9.0.

@mdietrichc2c mdietrichc2c changed the title [WIP] 9.0 account mass reconcile [9.0] account mass reconcile (migration of account_easy_reconcile and account_advanced_reconcile) Apr 14, 2016
@mdietrichc2c
Copy link
Contributor Author

I finished fixing the tests and a view not displaying correctly.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.0% when pulling 70529d1 on mdietrichc2c:9.0-account-easy-advanced-reconcile into 053266c on OCA:9.0.

@mdietrichc2c mdietrichc2c mentioned this pull request Apr 15, 2016
28 tasks
get_module_resource('account', 'test',
'account_minimal_test.xml'),
{}, 'init', False, 'test')
self.rec_history_obj = self.registry('mass.reconcile.history')
Copy link
Member

Choose a reason for hiding this comment

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

you can use self.env thus remove the self.cr and self.uid

@mdietrichc2c mdietrichc2c force-pushed the 9.0-account-easy-advanced-reconcile branch from efbbcd8 to 6b0c30e Compare April 18, 2016 13:00
@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.0% when pulling 1cd9c52 on mdietrichc2c:9.0-account-easy-advanced-reconcile into 053266c on OCA:9.0.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.0% when pulling 1cd9c52 on mdietrichc2c:9.0-account-easy-advanced-reconcile into 053266c on OCA:9.0.

@@ -46,7 +45,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-reconcile/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/bank-statement-reconcile/issues/new?body=module:%20account_easy_reconcile%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`here <https://github.com/OCA/bank-statement-reconcile/issues/new?body=module:%20account_mass_reconcile%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Copy link
Member

Choose a reason for hiding this comment

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

@yvaucher
Copy link
Member

Almost good, some security model access are not on the right group. Otherwise, a bit of nitpicking.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.404% when pulling 0fbbd01 on mdietrichc2c:9.0-account-easy-advanced-reconcile into 053266c on OCA:9.0.


@api.one
@api.multi
Copy link
Member

Choose a reason for hiding this comment

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

note that api.multi is implicit with api.depends

@yvaucher
Copy link
Member

👍 Thanks for the fix and the work done here. For me it's ready to be merged. My lasts comments are optional.

@guewen
Copy link
Member

guewen commented Apr 28, 2016

👍

@jgrandguillaume
Copy link
Member

Hi,

Thanks for the work ! I've made functional tests and it work for all methods of the module.

LGTM 👍

@jgrandguillaume jgrandguillaume merged commit 1495fe9 into OCA:9.0 May 3, 2016
tschanzt pushed a commit to tschanzt/account-reconcile that referenced this pull request May 10, 2019
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.

5 participants