Skip to content

feat(stock): Auto-generate item codes based on item details - #31

Merged
vjFaLk merged 4 commits into
Bloomstack:stagingfrom
Alchez:item-code-gen
Jun 28, 2019
Merged

feat(stock): Auto-generate item codes based on item details#31
vjFaLk merged 4 commits into
Bloomstack:stagingfrom
Alchez:item-code-gen

Conversation

@Alchez

@Alchez Alchez commented Jun 11, 2019

Copy link
Copy Markdown
Contributor

Ref: TASK-2019-00143

Depends on https://github.com/DigiThinkIT/delta9/pull/160 and Bloomstack/erpnext#211.


Additions:

  • Items imported will get auto-generated Item Codes as following:

    Item Code = a + b + c + d + e, where

    • a = abbreviated Company; all caps.
    • b = abbreviated Brand; all caps.
    • c = abbreviated Item Group; all caps.
    • d = abbreviated Item Name; all caps.
    • e = variant ID number; increments if combination already exists.
  • On New Item form, set/update item code whenever Item Name, Item Group or Brand is changed.

@Alchez
Alchez requested review from neilLasrado and vjFaLk June 11, 2019 09:16
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 11, 2019 09:16 Destroyed
@Alchez Alchez changed the title Item code gen feat(stock): Auto-generate item codes based on item details Jun 11, 2019
Comment thread bloomstack_core/hook_events/item.py Outdated
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 13, 2019 09:07 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 13, 2019 09:30 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 14, 2019 00:54 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 15, 2019 01:07 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 16, 2019 01:05 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 17, 2019 01:05 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 17, 2019 07:15 Destroyed
@vjFaLk

vjFaLk commented Jun 17, 2019

Copy link
Copy Markdown
Contributor

@Alchez

We should have a toggle for this. Existing clients (D9) will have their workflow broken.

@vjFaLk
vjFaLk temporarily deployed to Tugboat June 18, 2019 00:09 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 19, 2019 00:39 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 20, 2019 00:10 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 21, 2019 00:12 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 22, 2019 00:10 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 23, 2019 00:09 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 24, 2019 00:09 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 25, 2019 00:20 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 26, 2019 00:10 Destroyed
@vjFaLk
vjFaLk temporarily deployed to Tugboat June 27, 2019 00:11 Destroyed
@vjFaLk
vjFaLk merged commit 0b15ed9 into Bloomstack:staging Jun 28, 2019
@Alchez
Alchez deleted the item-code-gen branch June 28, 2019 08:46
@dti-deploy

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants