Commit Graph

60949 Commits

Author SHA1 Message Date
Raffael Meyer
eae36c2d67 fix(i18n): translate get_label results at presentation with DocType context (#57217) 2026-08-21 23:19:36 +02:00
Jatin3128
275844d496 fix(journal-entry): avoid full grid re-render per row in set_exchange_rate (#58328)
refresh() loops over every row in the accounts child table and calls
set_exchange_rate() for each one. That function unconditionally ended
with frm.refresh_field("accounts"), rebuilding the whole grid (header,
pagination, current page) on every single row. For large child tables
this makes opening the form scale badly with row count.

Use grid.refresh_row(cdn) instead, which only re-renders the row that
actually changed and is a no-op for rows outside the current page.

Measured on a 1000-row Journal Entry: ~8.5s to first rendered row and
~7.9s of blocked main thread before this fix, ~2.3s and ~1.9s after.
2026-08-21 01:57:04 +05:30
Mihir Kandoi
624d402143 fix(projects): respect permissions in timesheet billing summary (#58320) 2026-08-20 09:43:18 +00:00
Mihir Kandoi
2328e6da94 fix: changing product bundle warehouse should change packed items war… (#58316) 2026-08-20 12:35:04 +05:30
Mihir Kandoi
941baffdda fix: correct to and from date filters in timesheet billing summary re… (#58317) 2026-08-20 04:12:30 +00:00
Pandiyan P
7faadb8282 fix: stop doubling totals in timesheet billing summary (#58311) 2026-08-20 02:26:23 +00:00
Mihir Kandoi
e8b214e7d3 chore: remove mistakenly committed file (#58310) 2026-08-19 15:49:02 +00:00
Mihir Kandoi
8320c77694 fix(manufacturing): scope secondary items to job card (#58260) 2026-08-19 20:53:53 +05:30
Mihir Kandoi
696f0df811 fix(stock): update pick list status for product bundles (#58306) 2026-08-19 20:52:47 +05:30
Mihir Kandoi
deeb787f57 fix(stock): support shared target UOM conversions (#58305) 2026-08-19 18:29:59 +05:30
Mihir Kandoi
478a2f4f4b fix(stock): ignore future stock during batch reservation (#58303) 2026-08-19 12:50:26 +00:00
Mihir Kandoi
cfca71782e fix(stock): preserve item UOM conversion factor (#58299) 2026-08-19 11:45:43 +00:00
Mihir Kandoi
f4ef7fdbcc fix(stock): preserve zero return incoming rates (#58302) 2026-08-19 11:45:29 +00:00
Mihir Kandoi
e5cd30c5ab fix(setup): handle Transaction Deletion Record CSV edge cases (#58300)
Co-authored-by: Pedro Barbosa <barbosamaverickv8@gmail.com>
2026-08-19 17:12:16 +05:30
Mihir Kandoi
8eeb0196e4 fix(stock): show backdated batches in stock entry (#58301) 2026-08-19 11:33:31 +00:00
rohitwaghchaure
d07f4bb857 feat: percentage based BOM (#58292)
* feat: percentage based BOM, fixed qty components and component qty tolerance

* fix: mandatory percentages, fixed qty explosion keys and expected qty aggregation

* fix: percentage BOM incompatible with semi FG tracking, fixed qty in production plan explosion

* refactor: remove component_qty_tolerance from Manufacturing Settings

* refactor: drop fixed qty components and consumption tolerance, keep percentage-based BOM only
2026-08-19 17:03:20 +05:30
Mihir Kandoi
2524af4758 fix: new docs should refetch incoming rates (#58097) 2026-08-19 12:36:22 +05:30
Sudharsanan Ashok
3a6e17a03d fix(stock): fetch item stock UOM in stock reconciliation (#58284) 2026-08-19 10:27:07 +05:30
Diptanil Saha
d070a1daa1 Merge pull request #58286 from diptanilsaha/template-text-context-escaping
fix: escape interpolated values in text positions across portal and desk templates
2026-08-19 02:30:23 +05:30
diptanilsaha
8d4c10871d fix: read project from url argument in project portal script 2026-08-19 02:06:25 +05:30
diptanilsaha
449c90f05f fix: escape event subject in crm activities template 2026-08-19 02:06:24 +05:30
diptanilsaha
96f51092a0 fix: escape help article title, description and category on support page 2026-08-19 02:06:22 +05:30
diptanilsaha
02434ee98c fix: escape partner introduction and address details in partner pages 2026-08-19 02:06:21 +05:30
diptanilsaha
09e1c6024d fix: escape project name and task subject in project portal templates 2026-08-19 02:06:20 +05:30
diptanilsaha
e88164e8c7 fix: escape items preview in transaction row template 2026-08-19 02:06:19 +05:30
diptanilsaha
a5aec7ed84 fix: escape party name and contact display on order page 2026-08-19 02:06:17 +05:30
Diptanil Saha
25dfcb17c8 fix: escape on status image for workstations in production status (#58279) 2026-08-18 17:58:23 +00:00
Diptanil Saha
a667cd7cc6 Merge pull request #58273 from diptanilsaha/template-output-escaping
fix: escape interpolated values in portal, print and desk templates
2026-08-18 23:09:09 +05:30
diptanilsaha
93d6ccd041 refactor: build document links with get_form_link in form scripts 2026-08-18 22:49:47 +05:30
diptanilsaha
cfb664804c refactor: build document links with get_form_link in report formatters 2026-08-18 22:49:45 +05:30
diptanilsaha
57c2887ab4 fix: escape attribute values in shared client side templates 2026-08-18 22:49:43 +05:30
diptanilsaha
09eae9886a fix: escape activity type in project dashboard template 2026-08-18 22:49:41 +05:30
diptanilsaha
79284d8430 fix: escape item and document values in manufacturing preview templates 2026-08-18 22:49:39 +05:30
diptanilsaha
ffb7a708e4 fix: escape item, warehouse and label values in form grid templates 2026-08-18 22:49:28 +05:30
diptanilsaha
0541635f48 fix: escape item image url and item name in item image print formats 2026-08-18 22:49:26 +05:30
diptanilsaha
dc7822b319 fix: escape item image url in compact item print description 2026-08-18 22:49:24 +05:30
diptanilsaha
303c4f9081 fix: escape help article route on support page 2026-08-18 22:49:23 +05:30
diptanilsaha
9a4cb48429 fix: escape partner logo url and partner name in partner pages 2026-08-18 22:49:22 +05:30
diptanilsaha
53394478d9 fix: escape pathname and document name in transaction row link 2026-08-18 22:49:10 +05:30
diptanilsaha
0b1dd6cccf fix: encode image url and escape alt text in shared media macros 2026-08-18 22:49:09 +05:30
diptanilsaha
a3032f2f66 fix: serialize document values with tojson in rfq portal script 2026-08-18 22:49:07 +05:30
diptanilsaha
c42d653da5 fix: render terms and conditions through sanitize_html on order page 2026-08-18 22:49:06 +05:30
diptanilsaha
bc0fd611d4 fix: escape forum topics and get started sections on help page 2026-08-18 22:49:05 +05:30
diptanilsaha
5c4fb99f68 fix: urlencode project name in project portal page and script 2026-08-18 22:49:03 +05:30
diptanilsaha
4c0f0299ea fix: escape assigned user full name in project portal row templates 2026-08-18 22:49:02 +05:30
Mihir Kandoi
d91fce90c7 fix: use user data fields hook (#58274) 2026-08-18 16:07:06 +00:00
MochaMind
f6ab73d5ac fix: sync translations from crowdin (#58225) 2026-08-18 10:15:01 +00:00
Mihir Kandoi
27b06fcb61 fix(accounts): match returns to source invoice items (#58250) 2026-08-18 08:14:48 +00:00
rohitwaghchaure
b68324ce78 fix: work order finish dialog with process loss qty from job card (#58256)
* fix(manufacturing): cap job card completed qty by previous operation and show process loss on finish dialog

* fix: revert job card finish dialog changes
2026-08-18 13:26:56 +05:30
Pandiyan P
1fa057b943 fix: skip covered rows when ordering from the mrp report (#58249)
* test: cover the rows that have nothing left to order in the mrp report

a row whose requirement is already met by stock or by an order placed earlier
fails the order it is selected for, takes the rows beside it down with it, and
what rounding leaves behind of it is ordered as if it were a real quantity. the
work order made from a row of the schedule also has to keep the work in progress
warehouse the company keeps for it.

* fix: skip covered rows when ordering from the mrp report

a row whose requirement is already met by stock or by orders that were placed
earlier nets down to a required qty of zero. making an order from it threw
"Qty To Manufacture cannot be 0", and since nothing caught it, none of the other
selected rows were created either. such rows are now left alone, and selecting
only covered rows says so instead of failing.

the quantity ordered stays the one that is still needed. taking the planned qty
instead would order everything that stock and the open orders already cover. it
is read at the precision an order stores it in, so what is left of a covered row
after all the subtracting does not become an order line of its own.
2026-08-18 11:22:18 +05:30