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

Function to populate purchase invoice #86

Merged

Conversation

NileshPant1999
Copy link
Contributor

No description provided.

Copy link

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

Copy link

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

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

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

Comparison is base (ba11a87) 75.51% compared to head (75a246c) 72.42%.

Files Patch % Lines
apps/sage300/exports/base_model.py 17.85% 92 Missing ⚠️
apps/sage300/exports/purchase_invoice/models.py 21.87% 25 Missing ⚠️
apps/sage300/exports/helpers.py 28.57% 5 Missing ⚠️
apps/sage300/helpers.py 0.00% 1 Missing ⚠️
sage_desktop_sdk/apis/documents.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           purchace-invoice-model      #86      +/-   ##
==========================================================
- Coverage                   75.51%   72.42%   -3.10%     
==========================================================
  Files                          63       64       +1     
  Lines                        2614     2763     +149     
==========================================================
+ Hits                         1974     2001      +27     
- Misses                        640      762     +122     

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

description = self.get_expense_purpose(accounting_export.workspace_id, lineitem, lineitem.category, advance_setting)

if dependent_field_setting:
cost_category_id = self.get_cost_category_id_or_none(accounting_export, lineitem, dependent_field_setting, job_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

function name seems wrong, it should be get_cost_category_id

Copy link

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

@NileshPant1999 NileshPant1999 merged commit cd14ee3 into purchace-invoice-model 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