Suraj Shetty
0ab9fc0040
fix: Use directly <a> and style it as button instead of using button
...
Since few email servers (like outlook) strips out link in the button making them unclickable.
(cherry picked from commit a29b92febc )
2022-05-23 06:27:37 +00:00
mergify[bot]
ba76b6419e
fix: Leave Encashment calculations (backport #31062 ) ( #31091 )
...
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-05-23 10:32:41 +05:30
mergify[bot]
c17c260a65
fix: corrective job card creation (backport #31083 ) ( #31084 )
...
* test: simplify job card tests
(cherry picked from commit e625394488 )
* fix: creation of corrective job card fails
This used to fail because sub_operations is a child table that's not
initalized by default till v13, in develop branch we init tables with
empty list.
(cherry picked from commit 66cf9aa344 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-05-21 14:28:27 +05:30
marination
b827c3b3c9
fix: test_work_order_with_non_stock_item
...
- Use the right price list and currency to avoid rate conversion (1000/62.9), since rates are reset correctly now
- Use RM rate based on Price List in BOM. Non stock item has no valuation
2022-05-20 12:34:15 +05:30
marination
9a513fda74
fix: Get fresh RM rate in calculate_rm_cost
2022-05-20 12:23:52 +05:30
marination
faa69c942b
perf: Use cached doc instead of get_doc
...
- Doc is only used to iterate over items(which wont change) and change rate/amount of rows
- These changes are inserted in db via `db_update`, so no harm
- Tested locally: refetching cached doc after db update, reflects fresh data.
2022-05-20 12:23:42 +05:30
marination
d035aa2afb
fix: Call calculate_cost for Draft BOM and typo in argument
2022-05-20 12:23:32 +05:30
marination
cbc52a2e45
fix: DB update child items, remove redundancy, fix perf
...
- Move `get_boms_in_bottom_up_order` in bom update tool’s file
- Remove repeated rm cost update from `update_cost`. `calculate_cost` handles RM cost update
- db_update children in `calculate_cost` optionally
- Don’t call `update_exploded_items` and regenerate exploded items in `update_cost`. They will stay the same (except cost)
2022-05-20 12:23:18 +05:30
marination
87c2b3be0b
perf: get_boms_in_bottom_up_order
...
- Create child-parent map once and fetch value from child key to get parents
- Get parents recursively for a leaf node (get all ancestors)
- Approx. 44 secs for 4lakh 70k boms
2022-05-20 12:20:24 +05:30
ruthra kumar
90b1147365
fix: multiple entries for same payment term
...
(cherry picked from commit e826093150 )
2022-05-20 02:24:23 +00:00
mergify[bot]
f519dc613c
fix: always update item_name for stock entry (backport #31068 ) ( #31071 )
...
fix: always update item_name for stock entry (#31068 )
If item_name is already set and for some reason becomes outdated then
it's not updated in backend.
Fix: always set item_name and stock_uom when fetching item details
(cherry picked from commit 6d6616dbcd )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-05-19 16:02:20 +05:30
mergify[bot]
0efbabe7cf
fix: payments duplicate on pos closing entry (backport #30976 ) ( #31005 )
2022-05-19 14:27:19 +05:30
mergify[bot]
1461d66dda
fix(india): error while parsing e-invoice ( #31061 )
2022-05-18 12:44:24 +05:30
mergify[bot]
95491e1718
fix(india): eway bill cancel api is disabled ( #31060 )
2022-05-18 12:44:07 +05:30
Frappe PR Bot
d9f76478da
chore(release): Bumped to Version 13.30.0
...
# [13.30.0](https://github.com/frappe/erpnext/compare/v13.29.2...v13.30.0 ) (2022-05-17)
### Bug Fixes
* `set_missing_values` in SE and re-use the same on all SE mappings ([fe52c1f ](fe52c1f354 ))
* Add validation for SEZ and Export invoices without payment of taxes ([cb8453d ](cb8453dac8 ))
* allow to use formatting for the field to_discuss in opportunity ([e126d4e ](e126d4e592 ))
* Block 0 Qty via Update Items to be consistent with form validation ([5647875 ](56478752e4 ))
* Calculate totals even though pricing rule is not applied on mapped doc ([678a01d ](678a01d4bd ))
* **charts:** Pass fieldtype for chart data in selling reports ([917e7c3 ](917e7c34af ))
* conflicts ([87fd933 ](87fd93370a ))
* conflicts ([fb62bbf ](fb62bbf61a ))
* disable pricing rules for internal transfers (backport [#31034 ](https://github.com/frappe/erpnext/issues/31034 )) ([#31036 ](https://github.com/frappe/erpnext/issues/31036 )) ([d5eb9fb ](d5eb9fb3fd ))
* discount ledger entry in case of multicurrency invoice ([#31047 ](https://github.com/frappe/erpnext/issues/31047 )) ([c3417e4 ](c3417e4103 ))
* dont fail repost for recoverable errors (backport [#30979 ](https://github.com/frappe/erpnext/issues/30979 )) ([#31023 ](https://github.com/frappe/erpnext/issues/31023 )) ([a019cb6 ](a019cb6caa ))
* **Employee Advance:** Return/Deduction from Salary button visibility (backport [#31011 ](https://github.com/frappe/erpnext/issues/31011 )) ([#31012 ](https://github.com/frappe/erpnext/issues/31012 )) ([5b1d85e ](5b1d85e8bf ))
* Failing accounting dimension patch ([b14a7b8 ](b14a7b8a5d ))
* german translations for Employee ([b9bda04 ](b9bda04a83 ))
* gl entry validation for miniscule loan penalty ([e958ef2 ](e958ef26e0 ))
* hide template items from sales/purchase order ([8b99f43 ](8b99f43c61 ))
* IN time not captured in Attendance through Employee Checkin (backport [#31029 ](https://github.com/frappe/erpnext/issues/31029 )) ([#31031 ](https://github.com/frappe/erpnext/issues/31031 )) ([477bbcc ](477bbcc9e5 ))
* Item rate reset on changing posting date ([#30990 ](https://github.com/frappe/erpnext/issues/30990 )) ([8ef649f ](8ef649f65d ))
* Just add one rate in GST HSN Code ([ed76687 ](ed76687dac ))
* Merge Conflicts ([3abf264 ](3abf26428c ))
* Multiple fixes in GSTR-1 report ([f2cbb70 ](f2cbb70325 ))
* **patch:** avoid checking for return field if it doesnt exits (backport [#30995 ](https://github.com/frappe/erpnext/issues/30995 )) ([#30997 ](https://github.com/frappe/erpnext/issues/30997 )) ([a94b5c0 ](a94b5c0d8b ))
* per_billed for return DN (backport [#30868 ](https://github.com/frappe/erpnext/issues/30868 )) ([#30971 ](https://github.com/frappe/erpnext/issues/30971 )) ([97ea1f5 ](97ea1f5123 ))
* precision loss when transferring (backport [#30834 ](https://github.com/frappe/erpnext/issues/30834 )) ([#31032 ](https://github.com/frappe/erpnext/issues/31032 )) ([fc80a50 ](fc80a50640 ))
* precision of total penalty paid ([ad21853 ](ad21853b01 ))
* precision of total penalty paid ([5c45737 ](5c45737a8f ))
* prevent bypassing forced valuation rate (backport [#30987 ](https://github.com/frappe/erpnext/issues/30987 )) ([#31020 ](https://github.com/frappe/erpnext/issues/31020 )) ([706c19d ](706c19db70 ))
* pro rata calculation for monthly depreciation ([#30989 ](https://github.com/frappe/erpnext/issues/30989 )) ([408d952 ](408d952332 ))
* remove item attribute limit from variant selector (backport [#31026 ](https://github.com/frappe/erpnext/issues/31026 )) ([#31028 ](https://github.com/frappe/erpnext/issues/31028 )) ([1f016e9 ](1f016e9137 ))
* Set actual qty and basic rate in SE on warehouse triggers (`get_warehouse_details`) ([30b0aee ](30b0aee013 ))
* stock analytics report shows incorrect data there's no stock movement in a period (backport [#30945 ](https://github.com/frappe/erpnext/issues/30945 )) ([#30980 ](https://github.com/frappe/erpnext/issues/30980 )) ([295ffb3 ](295ffb3f1a ))
* translation for status filter ([e5f8231 ](e5f8231632 ))
* **translations:** Update ru translations ([#30992 ](https://github.com/frappe/erpnext/issues/30992 )) ([f797005 ](f797005384 ))
* TypeError in add_indicator_for_multicompany (backport [#31042 ](https://github.com/frappe/erpnext/issues/31042 )) ([#31048 ](https://github.com/frappe/erpnext/issues/31048 )) ([e24bb1d ](e24bb1dbf1 ))
* unlink Attendance from Employee Checkins on cancellation (backport [#31045 ](https://github.com/frappe/erpnext/issues/31045 )) ([#31049 ](https://github.com/frappe/erpnext/issues/31049 )) ([e03fe97 ](e03fe97a6e ))
* UOM in HSN-wise summary of outward supply ([cd7d5cd ](cd7d5cdb22 ))
* user can select disabled accounts in taxes table ([047c879 ](047c879bec ))
* validate disabled accounts before posting ledger entries ([515e49b ](515e49bb90 ))
* validate on hold purchase invoices in payment entry ([9fbd170 ](9fbd170fa4 ))
### Features
* add Employee Status filter in leave balance reports ([716b525 ](716b5253a4 ))
* add Link to Opportunity ([#30614 ](https://github.com/frappe/erpnext/issues/30614 )) ([bc23bc7 ](bc23bc738e ))
* request_for_quotation ([db4e264 ](db4e264d92 ))
* request_for_quotation - refactor ([b6a3e69 ](b6a3e693ae ))
* select multiple values for accounting dimension (backport [#31015 ](https://github.com/frappe/erpnext/issues/31015 )) ([#31041 ](https://github.com/frappe/erpnext/issues/31041 )) ([9c21eb5 ](9c21eb5b94 ))
v13.30.0
2022-05-17 07:41:35 +00:00
Ankush Menat
3f8816f2ce
Merge pull request #31050 from ankush/v13_release
...
chore: release
2022-05-17 13:09:46 +05:30
mergify[bot]
e03fe97a6e
fix: unlink Attendance from Employee Checkins on cancellation (backport #31045 ) ( #31049 )
...
* fix: unlink Attendance from Employee Checkins on cancellation (#31045 )
(cherry picked from commit 28fe4f3d54 )
* fix: import missing function
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-05-17 12:35:27 +05:30
mergify[bot]
c3417e4103
fix: discount ledger entry in case of multicurrency invoice ( #31047 )
2022-05-17 12:22:08 +05:30
mergify[bot]
9c21eb5b94
feat: select multiple values for accounting dimension (backport #31015 ) ( #31041 )
...
fix: select multiple values for accounting dimenssion
(cherry picked from commit 69be22ba7c )
Co-authored-by: Rohit Waghchaure <rohitw1991@gmail.com >
2022-05-17 11:56:31 +05:30
mergify[bot]
e24bb1dbf1
fix: TypeError in add_indicator_for_multicompany (backport #31042 ) ( #31048 )
...
fix: TypeError in add_indicator_for_multicompany (#31042 )
Minor fix in add_indicator_for_multicompany
In case of multi-company transactions add (+) buttons in connection dashboard pf customer aren't being loaded due to TypeError (TypeError: e.dashboard.stats_area.removeClass is not a function) created by "frm.dashboard.stats_area.removeClass('hidden');" during the stats section creation.
(cherry picked from commit 867f2c6282 )
Co-authored-by: Deepak <36790711+dpk404@users.noreply.github.com >
2022-05-17 11:54:50 +05:30
Ganga Manoj
408d952332
fix: pro rata calculation for monthly depreciation ( #30989 )
2022-05-17 11:21:10 +05:30
mergify[bot]
d5eb9fb3fd
fix: disable pricing rules for internal transfers (backport #31034 ) ( #31036 )
...
fix: disable pricing rules for internal transfers (#31034 )
* fix: disable pricing rules for internal transfers
* fix: only apply validation on internal transfers
* fix: internal_party_field undefined
(cherry picked from commit 3714e36b44 )
Co-authored-by: Ankush Menat <me@ankush.dev >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-05-16 18:34:39 +05:30
Marica
d7bea97095
Merge pull request #31030 from frappe/mergify/bp/version-13-hotfix/pr-30992
...
fix(translations): Update ru translations (backport #30992 )
2022-05-16 17:35:17 +05:30
Marica
3abf26428c
fix: Merge Conflicts
2022-05-16 17:13:00 +05:30
mergify[bot]
477bbcc9e5
fix: IN time not captured in Attendance through Employee Checkin (backport #31029 ) ( #31031 )
...
* fix: IN time not captured in Attendance through Employee Checkin (#31029 )
(cherry picked from commit 1b7ce9649b )
# Conflicts:
# erpnext/hr/doctype/employee_checkin/test_employee_checkin.py
* fix: conflicts
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-05-16 17:05:26 +05:30
mergify[bot]
fc80a50640
fix: precision loss when transferring (backport #30834 ) ( #31032 )
...
* fix: stock transfer value when precision differs
(cherry picked from commit b1c90e9949 )
# Conflicts:
# erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
* fix: Merge conflicts
* chore: Remove unused `flt` (sider)
Co-authored-by: Ankush Menat <ankush@frappe.io >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-05-16 17:02:47 +05:30
Vladislav
f797005384
fix(translations): Update ru translations ( #30992 )
...
* fix incorrect translation
* Update ru.csv
* Update ru.csv
* Update erpnext/translations/ru.csv
Co-authored-by: Marica <maricadsouza221197@gmail.com >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit af1eab5d54 )
# Conflicts:
# erpnext/translations/ru.csv
2022-05-16 09:49:23 +00:00
mergify[bot]
1f016e9137
fix: remove item attribute limit from variant selector (backport #31026 ) ( #31028 )
...
fix: remove item attribute limit from variant selector
(cherry picked from commit 6bd1cb9235 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-05-16 14:13:38 +05:30
Marica
a0930a5619
Merge pull request #31027 from frappe/mergify/bp/version-13-hotfix/pr-31025
...
fix: hide template items from sales/purchase order (backport #31025 )
2022-05-16 14:11:24 +05:30
Ankush Menat
8b99f43c61
fix: hide template items from sales/purchase order
...
(cherry picked from commit 0e875f5049 )
2022-05-16 08:31:07 +00:00
mergify[bot]
a019cb6caa
fix: dont fail repost for recoverable errors (backport #30979 ) ( #31023 )
...
recoverable erros:
1. timeout
2. lock/deadlocks
(cherry picked from commit 80d959c579 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-05-16 12:08:32 +05:30
mergify[bot]
6adeaa1de6
test: check translation files (backport #31006 ) ( #31007 )
...
This is an automatic backport of pull request #31006 done by [Mergify](https://mergify.com ).
---
<details>
<summary>Mergify commands and options</summary>
<br />
More conditions and actions can be found in the [documentation](https://docs.mergify.com/ ).
You can also trigger Mergify actions by commenting on this pull request:
- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch
Additionally, on Mergify [dashboard](https://dashboard.mergify.com/ ) you can:
- look at your merge queues
- generate the Mergify configuration with the config editor.
Finally, you can contact us on https://mergify.com
</details>
2022-05-16 06:13:32 +00:00
Deepesh Garg
e2028a0d6d
Merge pull request #31021 from frappe/mergify/bp/version-13-hotfix/pr-31010
...
fix: GL entry validation for minuscule loan penalty (backport #31010 )
2022-05-15 23:38:07 +05:30
mergify[bot]
706c19db70
fix: prevent bypassing forced valuation rate (backport #30987 ) ( #31020 )
...
fix: prevent bypassing forced valuation rate
if you edit "margin_rate_or_amount" after saving DN then based on
selected margin the rate gets updated which isn't valuation rate.
(cherry picked from commit ee0a277540 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-05-15 21:15:24 +05:30
Abhinav Raut
ad21853b01
fix: precision of total penalty paid
...
(cherry picked from commit 589dd17e58 )
2022-05-15 15:21:09 +00:00
Abhinav Raut
5c45737a8f
fix: precision of total penalty paid
...
(cherry picked from commit 9a86885c0a )
2022-05-15 15:21:09 +00:00
Abhinav Raut
e958ef26e0
fix: gl entry validation for miniscule loan penalty
...
(cherry picked from commit aef65e7417 )
2022-05-15 15:21:08 +00:00
Deepesh Garg
c7f4a1595a
Merge pull request #30978 from deepeshgarg007/gstr_export_sez_tax_rates
...
fix: Multiple fixes in GST reporting
2022-05-15 20:33:32 +05:30
Deepesh Garg
5b02b5b3cd
chore: Remove unintended changes
2022-05-15 16:42:34 +05:30
Deepesh Garg
ed76687dac
fix: Just add one rate in GST HSN Code
2022-05-15 16:40:33 +05:30
Deepesh Garg
c54c01e0de
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into gstr_export_sez_tax_rates
2022-05-14 21:33:16 +05:30
Rucha Mahabal
c4650160ce
Merge pull request #31014 from frappe/mergify/bp/version-13-hotfix/pr-31013
2022-05-13 22:33:48 +05:30
Rucha Mahabal
64b58ac031
test: employee status filter in leave balance reports
...
(cherry picked from commit 260cfa5d1e )
2022-05-13 16:37:57 +00:00
Rucha Mahabal
e5f8231632
fix: translation for status filter
...
(cherry picked from commit 08fb9a4318 )
2022-05-13 16:37:56 +00:00
Rucha Mahabal
716b5253a4
feat: add Employee Status filter in leave balance reports
...
(cherry picked from commit ed8a49737a )
2022-05-13 16:37:56 +00:00
mergify[bot]
5b1d85e8bf
fix(Employee Advance): Return/Deduction from Salary button visibility (backport #31011 ) ( #31012 )
...
fix(Employee Advance): Return/Deduction from Salary button visibility (#31011 )
(cherry picked from commit 3016ed958e )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-05-13 20:06:26 +05:30
Deepesh Garg
cb8453dac8
fix: Add validation for SEZ and Export invoices without payment of taxes
2022-05-13 18:12:18 +05:30
Deepesh Garg
8af30bcc16
chore: Linting Issues
2022-05-13 18:12:18 +05:30
Deepesh Garg
cd7d5cdb22
fix: UOM in HSN-wise summary of outward supply
2022-05-13 18:12:18 +05:30
Frappe PR Bot
7369db59aa
chore(release): Bumped to Version 13.29.0
...
# [13.29.0](https://github.com/frappe/erpnext/compare/v13.28.0...v13.29.0 ) (2022-05-10)
### Bug Fixes
* Consider paryt and party type as well in group by consolidated view ([189fc89 ](189fc89e2d ))
* disable form save on naming series tool ([#30909 ](https://github.com/frappe/erpnext/issues/30909 )) ([#30910 ](https://github.com/frappe/erpnext/issues/30910 )) ([d60a6cb ](d60a6cb2f8 ))
* double future qty updates ([0db3013 ](0db3013c9b ))
* HSN-wise-summary of outward supplies Updated Report ([3637525 ](363752510e ))
* Ignore loan repayments made from salary slip ([b7e1d40 ](b7e1d40e43 ))
* **india:** invoice type for a debit note e-invoice ([#30948 ](https://github.com/frappe/erpnext/issues/30948 )) ([c46add3 ](c46add3760 ))
* **india:** keyerror while generating e-way bill from an e-invoice ([#30879 ](https://github.com/frappe/erpnext/issues/30879 )) ([98d799e ](98d799e7cc ))
* **india:** re-arrange e-way bill dialog fields ([#30941 ](https://github.com/frappe/erpnext/issues/30941 )) ([7ce5c93 ](7ce5c93f44 ))
* Item Alternative Test ([964de1f ](964de1fc69 ))
* patch for renaming membership settings ([#30929 ](https://github.com/frappe/erpnext/issues/30929 )) ([9189653 ](9189653f2e ))
* **pos:** creating pos returns resets pricing rules & discounts ([#30936 ](https://github.com/frappe/erpnext/issues/30936 )) ([a0e39db ](a0e39db200 ))
* remove check for already allocated earned leaves ([#30931 ](https://github.com/frappe/erpnext/issues/30931 )) ([#30932 ](https://github.com/frappe/erpnext/issues/30932 )) ([80f7d66 ](80f7d66255 ))
* Remove commit from stock entry test. The assertion is not important ([c449b35 ](c449b35cc1 ))
* Set available-for-use date if missing ([#30838 ](https://github.com/frappe/erpnext/issues/30838 )) ([bf2eaec ](bf2eaecb1d ))
* show group warehouse in Sales Order ([#30891 ](https://github.com/frappe/erpnext/issues/30891 )) ([#30893 ](https://github.com/frappe/erpnext/issues/30893 )) ([c458e14 ](c458e14e68 ))
* Show linked time sheets in sales invoice dashboard ([4f4af52 ](4f4af523e0 ))
* sort before picking next stock reco ([e27fb58 ](e27fb58130 ))
* subtract change_amount from paid_amount field on POS Register ([#30937 ](https://github.com/frappe/erpnext/issues/30937 )) ([b7e873b ](b7e873b55d ))
* Unlink and delete batch created from stock reco on cancel ([fc35323 ](fc35323106 ))
* Wrap SLE actual_qty in `flt` to avoid NoneType operation ([d53228b ](d53228b153 ))
### Features
* **HR:** Leave Type configuration to allow over allocation (backport [#30940 ](https://github.com/frappe/erpnext/issues/30940 )) ([#30944 ](https://github.com/frappe/erpnext/issues/30944 )) ([64440fc ](64440fc4fb ))
* **india:** cancel e-way bill is enabled with e-invoicing APIs. ([#30924 ](https://github.com/frappe/erpnext/issues/30924 )) ([4ef2ffd ](4ef2ffd14c ))
* **india:** generate qrcode button for e-invoice ([#30946 ](https://github.com/frappe/erpnext/issues/30946 )) ([7bd5b2b ](7bd5b2ba29 ))
* **india:** store e-way bill auto calculated distance in sales invoice ([#30923 ](https://github.com/frappe/erpnext/issues/30923 )) ([b96f156 ](b96f1565c5 ))
2022-05-13 18:12:18 +05:30