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

fix(ux): Add tabs in Item #31284

Merged
merged 1 commit into from Jun 8, 2022
Merged

fix(ux): Add tabs in Item #31284

merged 1 commit into from Jun 8, 2022

Conversation

rmehta
Copy link
Member

@rmehta rmehta commented Jun 8, 2022

image

@codecov
Copy link

codecov bot commented Jun 8, 2022

Codecov Report

Merging #31284 (5c69378) into develop (c3f2201) will increase coverage by 0.10%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop   #31284      +/-   ##
===========================================
+ Coverage    63.40%   63.50%   +0.10%     
===========================================
  Files          986      986              
  Lines        67440    67457      +17     
===========================================
+ Hits         42759    42838      +79     
+ Misses       24681    24619      -62     
Impacted Files Coverage Δ
...t/product_bundle_balance/product_bundle_balance.py 79.54% <0.00%> (-15.91%) ⬇️
...rpnext/accounts/doctype/shareholder/shareholder.py 80.00% <0.00%> (-10.00%) ⬇️
...saction/incorrect_balance_qty_after_transaction.py 88.37% <0.00%> (-9.31%) ⬇️
erpnext/hr/doctype/job_offer/job_offer.py 82.92% <0.00%> (-4.88%) ⬇️
erpnext/accounts/party.py 78.43% <0.00%> (-4.21%) ⬇️
...ext/stock/doctype/stock_entry/stock_entry_utils.py 93.33% <0.00%> (-2.32%) ⬇️
erpnext/stock/reorder_item.py 73.33% <0.00%> (-1.67%) ⬇️
erpnext/portal/utils.py 27.69% <0.00%> (-1.54%) ⬇️
...pnext/accounts/report/gross_profit/gross_profit.py 80.24% <0.00%> (-1.24%) ⬇️
erpnext/support/doctype/issue/issue.py 64.25% <0.00%> (-0.97%) ⬇️
... and 32 more

@rmehta rmehta merged commit b29edb3 into frappe:develop Jun 8, 2022
@chechani
Copy link

chechani commented Jun 8, 2022

Thanks to include the Tab item doctype that deserves TabBreak field most ..

We found 3 issues in Item Doctype after updating

  1. There is a link field for Doctype Billing Type, which is not there in the System.
  2. There are 2 details tab
  3. No data can be seen in any of the details Tab & Dashboard Tab refer screenshot

Screenshot 2022-06-08 at 20 31 00

Screenshot 2022-06-08 at 20 31 56

Screenshot 2022-06-08 at 20 32 09

Screenshot 2022-06-08 at 20 32 14

@rmehta
Copy link
Member Author

rmehta commented Jun 8, 2022

@chechani did you add new tabs via customize form?

@chechani
Copy link

chechani commented Jun 8, 2022

No, It's a fresh install for testing without any customisation. In Item doctype, the Hubsync field (why does it exist?) is already there through the customisation hence Details tab is visible twice probably. Details Tab is visible sometimes and sometimes not that is an issue if we create a new doctype too and we created an issue already about that frappe/frappe#16645 .

Our observation is that if you refresh the page Details page will be visible definitely and hence we have a workaround through a client script to refresh the page for a doctype that has a tabbreak field.

@ankush
Copy link
Member

ankush commented Jun 9, 2022

Faced this locally as well, seems like a problem with tabs, not just this PR. (no errors or anyhing, some tabs just dont load)

Screenshot 2022-06-09 at 12 56 36 PM

@rmehta
Copy link
Member Author

rmehta commented Jun 9, 2022

https://github.com/frappe/frappe/pull/17108/files#diff-1dc5b7a41767010f76111c10a9c3680d518f6bc395aa0a35c8b530c4bb8db3dfL6 should fix it

@chechani
Copy link

chechani commented Jun 9, 2022

@rmehta , it worked well! Thanks a lot and salute to you!

@yadavyk
Copy link
Contributor

yadavyk commented Jun 14, 2022

Use case : While creating template item, the "maintain stock" checkbox has to be unchecked so that item variants can be created. However upon checking "maintain stock" , the inventory tab hides. GIF for reference :

inventory_tab

@rmehta , is this intentional ?

@rmehta
Copy link
Member Author

rmehta commented Jun 14, 2022

@yadavyk will push a fix

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.

None yet

4 participants