mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 16:12:53 +00:00
When a Document Naming Rule is configured in QI with a condition based on the company, the system was not passing the company value properly. As a result, the naming rule condition was skipped and the document name was generated using the default series. This fix ensures that the company is passed correctly so that the configured Document Naming Rule is evaluated and applied as expected.