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

Update base model methods #88

Merged

Conversation

NileshPant1999
Copy link
Contributor

No description provided.

@NileshPant1999 NileshPant1999 changed the base branch from function-to-populate-purchase-invoice to master November 17, 2023 20:16
@NileshPant1999 NileshPant1999 changed the base branch from master to function-to-populate-purchase-invoice November 17, 2023 20:17
Copy link

Tests Skipped Failures Errors Time
22 0 💤 0 ❌ 0 🔥 2.750s ⏱️

@codecov-commenter
Copy link

Codecov Report

Attention: 80 lines in your changes are missing coverage. Please review.

Comparison is base (0840c89) 74.35% compared to head (b7328f4) 72.47%.

Files Patch % Lines
apps/sage300/exports/base_model.py 10.84% 74 Missing ⚠️
apps/sage300/exports/helpers.py 28.57% 5 Missing ⚠️
apps/sage300/helpers.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                            Coverage Diff                            @@
##           function-to-populate-purchase-invoice      #88      +/-   ##
=========================================================================
- Coverage                                  74.35%   72.47%   -1.89%     
=========================================================================
  Files                                         63       64       +1     
  Lines                                       2679     2757      +78     
=========================================================================
+ Hits                                        1992     1998       +6     
- Misses                                       687      759      +72     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Tests Skipped Failures Errors Time
22 0 💤 0 ❌ 0 🔥 2.532s ⏱️


return cost_code_id

def get_cost_type_id_or_none(expense_group: AccountingExport, lineitem: Expense, dependent_field_setting: DependentFieldSetting, project_id: str, cost_code_id: str):
Copy link
Contributor

Choose a reason for hiding this comment

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

remove _or_none

Copy link

Tests Skipped Failures Errors Time
22 0 💤 0 ❌ 0 🔥 2.616s ⏱️

@NileshPant1999 NileshPant1999 merged commit 75a246c into function-to-populate-purchase-invoice Nov 27, 2023
1 check passed
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