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(template-discovery): resolve issue with template discovery during… #16

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

MohmdFo
Copy link
Contributor

@MohmdFo MohmdFo commented Oct 16, 2024

… package build and publishing

  • Updated template paths to ensure proper discovery by renaming invoice and receipt templates:
    • invoice1.jinja2 -> default_invoices/quotation_1.jinja2
    • invoice2.jinja2 -> default_invoices/quotation_2.jinja2
    • invoice3.jinja2 -> default_invoices/quotation_3.jinja2
    • invoice4.jinja2 -> default_invoices/quotation_4.jinja2
    • receipt1.jinja2 -> default_invoices/receipt1.jinja2
    • receipt2.jinja2 -> default_invoices/receipt2.jinja2
    • receipt3.jinja2 -> default_invoices/receipt3.jinja2
  • Fixed issues in discovery process within discovery.py and invoice_create.py.
  • Adjusted helper functions in funcs.py to support the new template structure.
  • Modified tests in test_helpers.py to account for the updated paths.
  • Updated development and main requirements to reflect the new changes.

This fix ensures proper template discovery when building and publishing the package.

… package build and publishing

- Updated template paths to ensure proper discovery by renaming invoice and receipt templates:
  - invoice1.jinja2 -> default_invoices/quotation_1.jinja2
  - invoice2.jinja2 -> default_invoices/quotation_2.jinja2
  - invoice3.jinja2 -> default_invoices/quotation_3.jinja2
  - invoice4.jinja2 -> default_invoices/quotation_4.jinja2
  - receipt1.jinja2 -> default_invoices/receipt1.jinja2
  - receipt2.jinja2 -> default_invoices/receipt2.jinja2
  - receipt3.jinja2 -> default_invoices/receipt3.jinja2
- Fixed issues in discovery process within `discovery.py` and `invoice_create.py`.
- Adjusted helper functions in `funcs.py` to support the new template structure.
- Modified tests in `test_helpers.py` to account for the updated paths.
- Updated development and main requirements to reflect the new changes.

This fix ensures proper template discovery when building and publishing the package.
@sepehr-akbarzadeh sepehr-akbarzadeh merged commit a78961a into sageteamorg:main Oct 16, 2024
0 of 5 checks 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.

2 participants