mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-25 21:05:19 +00:00
feat(rfq): add accounting dimensions support to Request for Quotation
- Add `cost_center` field and `accounting_dimensions_section` / `dimension_col_break` to Request for Quotation Item DocType so custom accounting dimensions propagate automatically - Register `Request for Quotation Item` in `accounting_dimension_doctypes` hook - Map `cost_center` from Material Request → RFQ in `make_request_for_quotation` - Map `cost_center` from RFQ → Supplier Quotation in `make_supplier_quotation_from_rfq` and `create_rfq_items` (portal flow) - Map `cost_center` in `get_item_from_material_requests_based_on_supplier` (MR-based RFQ flow) - Add test cases to verify cost_center propagation through the MR → RFQ → SQ chain Fixes #55855 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -596,6 +596,7 @@ accounting_dimension_doctypes = [
|
||||
"Account Closing Balance",
|
||||
"Supplier Quotation",
|
||||
"Supplier Quotation Item",
|
||||
"Request for Quotation Item",
|
||||
"Payment Reconciliation",
|
||||
"Payment Reconciliation Allocation",
|
||||
"Payment Request",
|
||||
|
||||
Reference in New Issue
Block a user