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

refactor: timesheet #25701

Merged
merged 13 commits into from
May 20, 2021
Merged

Conversation

anupamvs
Copy link
Contributor

@anupamvs anupamvs commented May 13, 2021

  • Added Activity Type, Description Field in Sales Invoice Timesheet for more context of the activity.

  • Introduced Currency, Customer, and Exchange Rate fields in Timesheet.
    image

  • Updated the list view of Timesheet.
    image

  • link_formatters for Project field.
    image

  • added Timesheet in auto_cancel_exempted_doctypes.

  • Unlinking the Timesheet on cancel of SI.

  • Don't allow the user to fetch timesheet for Credit Note.

  • Made Sales Invoice Timesheet fields read-only.

  • added auto rate conversion while fetching timesheets in SI.

  • Added base currency label in Activity Type
    image

  • Multi-Currency in Timesheet and restructuring the fields.
    image

@anupamvs anupamvs force-pushed the timesheet-refactor branch 3 times, most recently from 7837567 to 03fe75b Compare May 13, 2021 12:24
@anupamvs anupamvs force-pushed the timesheet-refactor branch 5 times, most recently from f132b41 to e2980b0 Compare May 14, 2021 14:10
Copy link
Member

@ruchamahabal ruchamahabal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. If Billing Rate and Costing Rate are set in the Activity Type, and the timesheet currency != base currency, then the rate should be converted based on the standard exchange rate into timesheet currency.
  2. In a timesheet, if a Project is selected in parent and the child item’s project is not the same as the parent, add a server-side validation.
  3. Check the timesheet -> salary slip flow is working fine or not when timesheet currency is different. Add test case if possible.
  4. Add test cases for:
    • Timesheet not fetched/linked for Credit Notes.
    • Sales Invoice unlinked from timesheet on SI cancellation.

erpnext/projects/doctype/timesheet/timesheet.js Outdated Show resolved Hide resolved
erpnext/patches/v13_0/update_timelogs.py Outdated Show resolved Hide resolved
erpnext/projects/doctype/timesheet/timesheet.py Outdated Show resolved Hide resolved
erpnext/accounts/doctype/sales_invoice/sales_invoice.py Outdated Show resolved Hide resolved
erpnext/accounts/doctype/sales_invoice/sales_invoice.py Outdated Show resolved Hide resolved
erpnext/accounts/doctype/sales_invoice/sales_invoice.py Outdated Show resolved Hide resolved
erpnext/patches.txt Outdated Show resolved Hide resolved
- show timesheet billing amounts in doc currency
@ruchamahabal ruchamahabal merged commit 722cfdb into frappe:version-13-hotfix May 20, 2021
anupamvs pushed a commit to anupamvs/erpnext that referenced this pull request May 21, 2021
anupamvs pushed a commit to anupamvs/erpnext that referenced this pull request May 21, 2021
This was referenced May 21, 2021
anupamvs pushed a commit to anupamvs/erpnext that referenced this pull request Jun 2, 2021
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.

3 participants