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

feat: common party accounting #27039

Merged
merged 13 commits into from
Aug 26, 2021

Conversation

nextchamp-saqib
Copy link
Member

@nextchamp-saqib nextchamp-saqib commented Aug 19, 2021

The PR incorporates the solution of this app for handling scenarios where sales invoices/purchase invoices are to be made against suppliers/customers

The solution proposed by the app is to:

  • Create a journal entry on the submission of Sales Invoices against a customer which has the primary role of a supplier.
  • The journal entry will reconcile the newly created sales invoice and converts the invoice balance into an advance against the supplier
  • This advance can be used to reconcile purchase invoices against the supplier

A new doctype Party Link is introduced to link a customer with a supplier.

CleanShot 2021-08-19 at 18 05 15@2x

A new toggle is added to accounts settings to enable/disable the automatic creation of the journal entry.


Thanks @ahmadpak for the solution!


Docs: https://docs.erpnext.com/docs/v13/user/manual/en/accounts/articles/common_party_accounting

@ahmadpak
Copy link
Contributor

My pleasure @nextchamp-saqib

erpnext/controllers/accounts_controller.py Outdated Show resolved Hide resolved
erpnext/controllers/accounts_controller.py Outdated Show resolved Hide resolved
erpnext/controllers/accounts_controller.py Outdated Show resolved Hide resolved
@deepeshgarg007 deepeshgarg007 merged commit e2af9d5 into frappe:develop Aug 26, 2021
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 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