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: Use get_all instead of get_list for child doctype #28538

Merged
merged 5 commits into from
Nov 26, 2021

Conversation

ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Nov 24, 2021

Student Attendance marking from the tool not working:

image

Use get_all instead of get_list for child doctype queries. This change is required to avoid the permission error due to the change made in frappe/frappe#14526

Also fixed incorrect "fetch from" value in Course Schedule doctype for Instructor Name

@ruchamahabal
Copy link
Member Author

Not fixing sider issues for query builder. Not useful.

@codecov
Copy link

codecov bot commented Nov 24, 2021

Codecov Report

Merging #28538 (5ae8e64) into develop (9c913c9) will decrease coverage by 0.03%.
The diff coverage is 14.28%.

@@             Coverage Diff             @@
##           develop   #28538      +/-   ##
===========================================
- Coverage    55.26%   55.23%   -0.04%     
===========================================
  Files         1119     1119              
  Lines        66672    66673       +1     
===========================================
- Hits         36847    36827      -20     
- Misses       29825    29846      +21     
Impacted Files Coverage Δ
...student_attendance_tool/student_attendance_tool.py 0.00% <0.00%> (ø)
erpnext/education/api.py 28.97% <14.28%> (ø)
erpnext/payroll/doctype/gratuity/gratuity.py 86.66% <100.00%> (ø)
...tch_item_expiry_status/batch_item_expiry_status.py 69.23% <0.00%> (-25.00%) ⬇️
...payroll/doctype/income_tax_slab/income_tax_slab.py 83.33% <0.00%> (-16.67%) ⬇️
...t/payroll/doctype/payroll_period/payroll_period.py 64.81% <0.00%> (-5.56%) ⬇️
...xt/stock/report/stock_analytics/stock_analytics.py 91.08% <0.00%> (-2.98%) ⬇️
...eorder_level/itemwise_recommended_reorder_level.py 90.38% <0.00%> (-1.93%) ⬇️
erpnext/stock/reorder_item.py 76.06% <0.00%> (-1.71%) ⬇️
erpnext/stock/report/stock_ageing/stock_ageing.py 88.32% <0.00%> (-1.46%) ⬇️
... and 18 more

@ruchamahabal
Copy link
Member Author

No other instances found in:

  • HR
  • Payroll
  • Projects
  • CRM
  • Education
  • Non Profit

@ruchamahabal ruchamahabal changed the title fix(Student Attendance Tool): Use get_all instead of get_list for child doctype fix: Use get_all instead of get_list for child doctype Nov 26, 2021
@ruchamahabal ruchamahabal merged commit ca8dec0 into frappe:develop Nov 26, 2021
@ruchamahabal
Copy link
Member Author

@Mergifyio backport version-13-hotfix

@mergify
Copy link
Contributor

mergify bot commented Nov 26, 2021

backport version-13-hotfix

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 26, 2021
* fix(Student Attendance Tool): Use `get_all` instead of `get_list` for child doctype

* fix(Course Schedule): incorrect fetch from value

* fix: sider

* fix(Gratuity): Use `get_all` instead of `get_list` for child doctype

(cherry picked from commit ca8dec0)
ruchamahabal added a commit that referenced this pull request Nov 26, 2021
…28577)

* fix(Student Attendance Tool): Use `get_all` instead of `get_list` for child doctype

* fix(Course Schedule): incorrect fetch from value

* fix: sider

* fix(Gratuity): Use `get_all` instead of `get_list` for child doctype

(cherry picked from commit ca8dec0)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
conncampbell pushed a commit to conncampbell/erpnext that referenced this pull request Jan 9, 2022
)

* fix(Student Attendance Tool): Use `get_all` instead of `get_list` for child doctype

* fix(Course Schedule): incorrect fetch from value

* fix: sider

* fix(Gratuity): Use `get_all` instead of `get_list` for child doctype
conncampbell pushed a commit to conncampbell/erpnext that referenced this pull request Jan 9, 2022
)

* fix(Student Attendance Tool): Use `get_all` instead of `get_list` for child doctype

* fix(Course Schedule): incorrect fetch from value

* fix: sider

* fix(Gratuity): Use `get_all` instead of `get_list` for child doctype
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

1 participant