-
Notifications
You must be signed in to change notification settings - Fork 3
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
Category-rework: Implementation #524
Conversation
|
|
apps/mappings/queues.py
Outdated
if workspace_general_settings.import_items: | ||
items_sync_method = [SYNC_METHODS['ITEM']] | ||
if destination_sync_methods: | ||
destination_sync_methods = destination_sync_methods.append(SYNC_METHODS['ITEM']) if destination_sync_methods else items_sync_method |
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.
a=[1]
a=a.append(2)
a
print(a)
None
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 workspace_general_settings.import_categories or workspace_general_settings.import_items:
destination_sync_methods = []
if workspace_general_settings.import_categories:
destination_sync_methods.append(SYNC_METHODS['ACCOUNT'])
if workspace_general_settings.import_items:
destination_sync_methods.append(SYNC_METHODS['ITEM'])
|
* Disabling categories when import-items in disabled * sub-module changes * adding latest chahnges * adding latest submodule commit * remooving unnecessary changes * Removing old code + test (#530) * Reomving old code * removing code * lint fix * new commit * changing sub module commit * adding test * adding test * lint fix * adding test to increase cov * adding migration script * removing the construct test * lint fix * resolve comments
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## import-categories-0 #524 +/- ##
======================================================
Coverage ? 96.26%
======================================================
Files ? 60
Lines ? 4470
Branches ? 0
======================================================
Hits ? 4303
Misses ? 167
Partials ? 0 |
* Category-rework: scheduling * adding items support for scheduling * resloving comment * lint fix * Category-rework: Implementation (#524) * Category-rework: Implementation * adding sync_methods as array * adding charts_of_accounts support * sub module commit change * script changes * cahnges for chart-of-accounts * sub module commit changes * lint fix * sub module commit change * resolving comments * Disabling categories when import-items in disabled (#527) * Disabling categories when import-items in disabled * sub-module changes * adding latest chahnges * adding latest submodule commit * remooving unnecessary changes * Removing old code + test (#530) * Reomving old code * removing code * lint fix * new commit * changing sub module commit * adding test * adding test * lint fix * adding test to increase cov * adding migration script * removing the construct test * lint fix * resolve comments * chanign sub module commit * fixing projects scheduling logic * changes for disabling logic * sub module commit changes * changing sub module to master
No description provided.