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

[ADD] accountant: Added Custom duty on Import and Export Transactions #653

Draft
wants to merge 2 commits into
base: 18.0
Choose a base branch
from

Conversation

ptpu-odoo
Copy link

@ptpu-odoo ptpu-odoo commented Mar 20, 2025

With this Commit

  • To facilitate the Indian integration for custom duty calculations, the following configurations are required:

    • Input two accounts and one journal ID for processing custom duty charges.
    • These accounts and the journal will be used to compute the journal entry for custom duty expenses.
  • Vendor Bill Processing A dedicated functionality is provided for vendor bills that meet the following criteria:

    • The bill must be already posted.
    • It must belong to one of the following categories:
      • Overseas
      • Special Economic Zone (SEZ)
      • Deemed Export
  • Price Unit Calculation in INR

    • The price unit will be converted into Indian Rupees (INR).
    • The calculation will include:
    • Custom duty charges
    • Additional tax amount
  • Journal Entry Creation

    • Upon confirmation, a journal entry will be generated based on the computed data from the Bill of Entry wizard.
  • Navigation to Journal Entry

    • After confirmation, a stat button will appear.
    • Clicking this button will redirect the user to the journal entry page for review and verification.

With this Commit
================

- To facilitate the Indian integration for custom duty calculations, the
  following configurations are required:
   - Input two accounts and one journal ID for processing custom duty charges.
   - These accounts and the journal will be used to compute the journal entry
     for custom duty expenses.

- Vendor Bill Processing
  A dedicated functionality is provided for vendor bills that meet the
  following criteria:
   - The bill must be already posted.
   - It must belong to one of the following categories:
      - Overseas
      - Special Economic Zone (SEZ)
      - Deemed Export

- Price Unit Calculation in INR
   - The price unit will be converted into Indian Rupees (INR).
   - The calculation will include:
   - Custom duty charges
   - Additional tax amount

- Journal Entry Creation
   - Upon confirmation, a journal entry will be generated based on the
     computed data from the Bill of Entry wizard.

- Navigation to Journal Entry
   - After confirmation, a stat button will appear.
   - Clicking this button will redirect the user to the journal entry page
     for review and verification.
@robodoo
Copy link

robodoo commented Mar 20, 2025

Pull request status dashboard

With this Commit
================

- Added test cases to ensure functionality and reliability.
- Improved the conditional display of the Bill of Entry button by validating the
  Import-Export setting from the configuration menu.
- Refactored and optimized code for better maintainability and performance.
@ptpu-odoo ptpu-odoo force-pushed the 18.0-accoutant-custom-duty-ptpu branch from 221588d to c71342a Compare March 21, 2025 09:26
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