create or update article category from import file #56
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs specification
nice to have
question
ready to go
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Foodsoft/foodsoft#56
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Until now article import ignore article category and uses by default the old category if not nil.
Wishful would be:
create article category if not exists and assign to article
update article (add to updated_article_pairs) if category updated
models:
article.rb -> unequal_attributes
supplier.rb -> sync_from_file
in view:
add checkbox to include category update/creation
Ist Done.