Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: E-WayBill for Subcontracting (#2210)
* fix: options for child_doctype not ending with Item * fix: custom fields and overrides for tax related fields in stock entry * fix: custom fields and overrides for tax related fields in subcontracting receipt * fix: custom fields and overrides for tax related fields in subcontracting order * fix: doctypes to be treated as sales_doctype * fix: redundant functionality * feat: e-waybill setup in stock entry * feat: e-waybill setup in subcontracting receipt * feat: e-waybill setup in subcontracting order * fix: required changes for e-waybill setup * fix: minor fix * test: test case to validate e-waybill generation in stock entry * fix: updated doctypes for e-waybill generation * fix: field renaming * fix: e-waybill functionality not required in subcontracting order * fix: constant for subcontracting doctypes * fix: different function for subcontracting doctypes * fix: minor fix * fix: custom field refactor * fix: use stock_entry_purpose * fix: invalid hooks * fix: consistent with items table * fix: company gstin fetched from company * fix: change in transporter fields * fix: common class for tax calculation * fix: new class for taxes controller * fix: common functions for doctype events * fix: taxes in subcontracting receipt dosen't depend on purchase_order * fix: module for backend validations * fix: changes related to e-waybill * fix: minor fixes * fix: grand total field added and client-side events * refactor: improved readability * fix: validate same gstin * fix: change in fieldname * fix: changes related to address for e-waybill * fix: query for taxes and charges * fix: changes as per review * fix: update patch for custom field creation * fix: linters * fix: Merge branch 'develop' of github.com:resilient-tech/india-compliance into e-way_bill_for_subcontracting * fix: set item wise tax rates * refactor: remove code duplicacy * fix: fields not at item level in some doctypes * fix: updated test records * fix: skip validation for subcontracting doctypes * fix: rename taxes table * fix: changes to support gst tax type * refactor: modular implementation * fix: fields reordering * fix: modular implementation for consistency with BOE * fix: taxes not calculated properly * fix: field_map should be instance variable and update tax_amount properly * fix: override doctype class not to be used * fix: commonify subcontracting overrides * refactor: taxes controller, similar for frontend and backend * chore: move item events in respective client script files * fix: gst_tax_type not set in taxes table * fix: use grand total field as rounding not done * fix: redundant field * fix: e_waybill fields for subcontracting order not required * fix: update doc from server_side * fix: changes to taxes controller as per review * fix: error message, formatting, correct query for subcontracting e-Waybill * fix: extensible address fields for stock entry and related changes * fix: minor fix * fix: set bill_from_address value when company changes * fix: address displays should be virtual field * fix: review and make fixes for property setters and fields * fix: changes as per review * fix: changes as per reivew in JS * fix: changes to transaction validation as per review * fix: style for text_editor * fix: update all address fields * fix: fields mapping for modular implementation * fix: update gst details on change of supplier * fix: minor fixes for e-waybill generation * fix: fetch party details on change of supplier * fix: load tax details correctly in subcontracting transactions * fix: changes to validate subcontracting transaction * fix: use correct gst category for stock entry * fix: changes as per review with testing * test: fix failing test cases * fix: dashboard links related to e-Waybill * fix: updated test records of e-Waybill for stock entry * test: better error messages and ensure test cases pass --------- Co-authored-by: ljain112 <ljain112@gmail.com> Co-authored-by: Smit Vora <smitvora203@gmail.com> (cherry picked from commit 48ca23d) # Conflicts: # india_compliance/gst_india/doctype/e_waybill_log/e_waybill_log.json # india_compliance/gst_india/utils/e_waybill.py
- Loading branch information