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
[New Feature]Scan Item Barcode label to quick create/update records in items child table #15731
Conversation
c17a647
to
9750d5c
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within a week if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
ad3214c
to
af14918
Compare
@@ -640,7 +640,7 @@ def get_item_details(self, args=None, for_update=False): | |||
'item_name' : item.item_name, | |||
'expense_account' : args.get("expense_account"), | |||
'cost_center' : get_default_cost_center(args, item, item_group_defaults), | |||
'qty' : 0, | |||
'qty' : args.get("qty"), | |||
'transfer_qty' : 0, |
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.
transfer_qty
should be set as well
stock entry controller not inherited from transaction.js, need to call setup barcode scan from transaction.js
when calling frappe.model.set_value(dt,dn,'item_code',xxx), even qty is set, system always reset qty to 0.
af14918
to
8b4cd92
Compare
Some possible gaps, scan field not available on Purchase receipt and also does the scanned bar code get updated in inventory? |
@Zlash65 Zarrar, this PR merged only created field to capture Barcode number at the Item level and related docs. Could you share a gif Screencast of how this will work for multiple items and the item table gets created automatically with scan. If this works like retail stores, it would be a great functionality |
#15329
Scan Barcode field added in
Code cleaned up.