Deepesh Garg
fa0984f192
Merge pull request #31234 from frappe/mergify/bp/version-13-hotfix/pr-31218
...
fix(India): GSTIN filter in GSTR-1 report (backport #31218 )
2022-06-06 11:45:41 +05:30
Deepesh Garg
3ea2c95768
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31223
2022-06-06 10:42:48 +05:30
Deepesh Garg
23d94c135f
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31231
2022-06-06 10:42:41 +05:30
Deepesh Garg
66bc9a974e
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31218
2022-06-06 10:42:28 +05:30
Deepesh Garg
91716e9c26
Merge pull request #31238 from frappe/mergify/bp/version-13-hotfix/pr-31217
...
ci: stale apt cache (backport #31217 )
2022-06-06 10:06:41 +05:30
Ankush Menat
2db12d7bfa
ci: stale apt cache ( #31217 )
...
(cherry picked from commit c7efa3b44d )
2022-06-06 04:03:14 +00:00
Devin Slauenwhite
f4a4dacb22
chore: linter
...
(cherry picked from commit b061ea4cd2 )
2022-06-06 03:37:41 +00:00
Devin Slauenwhite
ef22337a9b
fix: display currencies in validation message.
...
(cherry picked from commit 3a1c923e76 )
2022-06-06 03:37:40 +00:00
Deepesh Garg
15712c742b
fix(India): Supplies from composite dealer not showing up
...
(cherry picked from commit db07831db7 )
2022-06-06 03:30:59 +00:00
Deepesh Garg
b3cbcd871b
fix: Parent dimension filters in orders
...
(cherry picked from commit 3f376cc3a5 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
2022-06-06 03:29:07 +00:00
Deepesh Garg
abe9fe70ce
fix(India): GSTIN filter in GSTR-1 report
...
(cherry picked from commit f0ac394d6e )
2022-06-06 03:28:38 +00:00
marination
3b2a8bf837
feat: Track progress in Log Batch/Job wise
...
- This was done due to stale reads while the background jobs tried updating status of the log
- Added a table where all bom jobs within log will be tracked with what level they are processing
- Cron job will check if table jobs are all processed every 5 mins
- If yes, it will prepare parents and call `process_boms_cost_level_wise` to start next level
- If pending jobs, do nothing
- Current BOM Level is being tracked that helps adding rows to the table
- Individual bom cost jobs (that are queued) will process and update boms > will update BOM Update Batch table row with list of updated BOMs
2022-06-02 13:41:56 +05:30
mergify[bot]
b31709c793
fix: Pluralize year text instead of optional bracket (backport #31210 ) ( #31212 )
...
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
Co-authored-by: Mohammad Hussain Nagaria <34810212+NagariaHussain@users.noreply.github.com >
2022-06-01 16:47:02 +05:30
mergify[bot]
3a718c7d5f
fix: re-validate warehouse after 'update items' (backport #31203 ) ( #31206 )
...
fix: re-validate warehouse after 'update items' (#31203 )
(cherry picked from commit c84e11ac82 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-06-01 15:24:55 +05:30
mergify[bot]
8b985d632f
test: fix attendance tests for unmarked days (backport #31205 ) ( #31208 )
...
test: fix attendance tests for unmarked days (#31205 )
* test: fix attendance tests for unmarked days
* chore: remove unused import
(cherry picked from commit 536f1dfc4b )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-06-01 14:15:59 +05:30
mergify[bot]
4aeb448fea
fix: remove leave policy assignment creation patch (backport #31097 ) ( #31204 )
...
* fix: remove leave policy assignment creation patch (#31097 )
(cherry picked from commit d4b9cc0242 )
# Conflicts:
# erpnext/patches.txt
* chore: fix conflicts
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-06-01 12:46:17 +05:30
Deepesh Garg
910ab405ae
Merge pull request #31188 from frappe/mergify/bp/version-13-hotfix/pr-31088
...
feat(india): Check E-way Bill Status before Cancellation. (backport #31088 )
2022-05-31 21:41:54 +05:30
Frappe PR Bot
56070c7b86
chore(release): Bumped to Version 13.32.0
...
# [13.32.0](https://github.com/frappe/erpnext/compare/v13.31.1...v13.32.0 ) (2022-05-31)
### Bug Fixes
* add list view settings for Gratuity ([e4426ad ](e4426addeb ))
* amount precision for Tax Exemption Proof Submission ([bb04e4b ](bb04e4b6de ))
* component pay calculation ([b1e119d ](b1e119d97d ))
* conflicts ([cdb884b ](cdb884bbf2 ))
* conflicts ([c02a89d ](c02a89db4d ))
* conflicts ([6aa6114 ](6aa6114757 ))
* date filter on quality inspection report (backport [#31148 ](https://github.com/frappe/erpnext/issues/31148 )) ([#31164 ](https://github.com/frappe/erpnext/issues/31164 )) ([f19747c ](f19747cee0 ))
* Exchange rate reste to 1 on making mapped doc ([91863c7 ](91863c7457 ))
* Gratuity status not updated on salary slip submission ([0a014ed ](0a014edd7a ))
* HRA Exemption calculation in case of multiple salary structure assignments ([de8f5f8 ](de8f5f87d0 ))
* Improve button labels in Warehouse (backport [#31101 ](https://github.com/frappe/erpnext/issues/31101 )) ([#31150 ](https://github.com/frappe/erpnext/issues/31150 )) ([d891394 ](d891394dc8 ))
* **india:** duplicate qrcode and hide button ([#31154 ](https://github.com/frappe/erpnext/issues/31154 )) ([f40100d ](f40100d483 ))
* Job Opening linked to Staffing Plan cannot be created/updated if there are existing employees ([b4a3a53 ](b4a3a533c8 ))
* **pos:** freeze screen while processing pos invoices ([#30850 ](https://github.com/frappe/erpnext/issues/30850 )) ([a7bf236 ](a7bf236c28 ))
* skip existing batch number during autogen (backport [#31140 ](https://github.com/frappe/erpnext/issues/31140 )) ([#31144 ](https://github.com/frappe/erpnext/issues/31144 )) ([a380bae ](a380bae298 ))
* Tax Declaration tests and amount precision ([1e728df ](1e728df54c ))
* validation message ([096ae21 ](096ae210e1 ))
### Features
* Auto accrue loan interest for backdated term loans ([89c4d51 ](89c4d518e1 ))
* live preview of naming series on naming series tool (backport [#31141 ](https://github.com/frappe/erpnext/issues/31141 )) ([#31146 ](https://github.com/frappe/erpnext/issues/31146 )) ([fd2f3b9 ](fd2f3b9061 ))
* provision to exclude exploded items in the BOM (backport [#29450 ](https://github.com/frappe/erpnext/issues/29450 )) ([#31174 ](https://github.com/frappe/erpnext/issues/31174 )) ([50d338d ](50d338df30 ))
v13.32.0
2022-05-31 13:22:25 +00:00
Ankush Menat
683256eccc
Merge pull request #31197 from frappe/version-13-hotfix
...
chore: weekly release for version-13
2022-05-31 18:50:44 +05:30
marination
e6ad56cd68
chore: Limit Update Cost jobs & db_update only if changed values
...
- If `Update Cost` job is ongoing, then block creation of new ones since all BOMs are updated
- `db_update` in `calculate_rm_cost` only if changed values to reduce redundant row updates
- Misc: Use variable for batch size
2022-05-31 16:01:22 +05:30
Rucha Mahabal
cdb884bbf2
fix: conflicts
2022-05-31 13:11:32 +05:30
Rucha Mahabal
2c26ab599a
test: HRA Exemption in Proof Submission
...
(cherry picked from commit ed1ba677d6 )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
bb04e4b6de
fix: amount precision for Tax Exemption Proof Submission
...
(cherry picked from commit cfe2f8cac1 )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
66deee1582
test: set country to India before running regional tests
...
(cherry picked from commit 2e98e9e0b9 )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
1e728df54c
fix: Tax Declaration tests and amount precision
...
(cherry picked from commit 00adda7c8d )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
c1f6f11e91
test: HRA Exemption in Employee Tax Exemption Declaration
...
(cherry picked from commit 5e96a46c87 )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
b1e119d97d
fix: component pay calculation
...
(cherry picked from commit 2b65c9616f )
2022-05-31 13:11:32 +05:30
Rucha Mahabal
de8f5f87d0
fix: HRA Exemption calculation in case of multiple salary structure assignments
...
(cherry picked from commit 34925a3a8c )
# Conflicts:
# erpnext/regional/india/utils.py
2022-05-31 13:11:32 +05:30
maharshivpatel
622d25e126
feat(india): Improve E-way Bill Cancellation. ( #31088 )
...
(cherry picked from commit a8f98f3f96 )
2022-05-31 06:45:23 +00:00
Deepesh Garg
99917af73f
Merge pull request #31156 from frappe/mergify/bp/version-13-hotfix/pr-30850
...
fix(pos): freeze screen while processing pos invoices (backport #30850 )
2022-05-31 10:56:32 +05:30
Deepesh Garg
698c9ed3bc
Merge pull request #31186 from frappe/mergify/bp/version-13-hotfix/pr-31127
...
feat: Auto accrue loan interest for backdated term loans (backport #31127 )
2022-05-31 10:28:38 +05:30
Deepesh Garg
3344823b7d
Merge pull request #31185 from frappe/mergify/bp/version-13-hotfix/pr-31184
...
fix(accounts): Ignore Cancelled GL Entries (backport #31184 )
2022-05-31 10:28:27 +05:30
Deepesh Garg
89c4d518e1
feat: Auto accrue loan interest for backdated term loans
...
(cherry picked from commit 96d8b1ef3c )
2022-05-31 04:28:29 +00:00
Mitchy25
d8531f20a0
Ignore Cancelled GL Entries
...
Profitability Analysis includes 'is_cancelled' GL Entries which means that the profit numbers are incorrect. This change will ensure that the profit figures ignore cancelled GL Entries.
(cherry picked from commit a0c412a0dd )
2022-05-31 04:19:35 +00:00
Rucha Mahabal
2fe54e5435
chore: add Interview doctypes to HR workspace ( #31181 )
2022-05-30 18:26:20 +05:30
mergify[bot]
0759a8aee3
chore: remove unused bill no & date from purchase receipt (backport #31163 ) ( #31177 )
...
chore: remove unused bill no & date from purchase receipt (#31163 )
(cherry picked from commit 08bf0baaae )
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com >
2022-05-30 15:50:04 +05:30
mergify[bot]
50d338df30
feat: provision to exclude exploded items in the BOM (backport #29450 ) ( #31174 )
...
* feat: provision to exclude exploded items in the BOM (#29450 )
(cherry picked from commit b75b00fefc )
* fix(ux): "New Version" button BOM
"duplicate" technically creates a new version but that's not intuitive
at all.
* fix: only erase BOM when do_not_explode is set
* fix: allow non-explosive recrusive BOMs
Recursion should be allowed as long as child item is not "exploded"
further by a BOM.
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-05-30 15:43:49 +05:30
Ankush Menat
eb8d30fe06
chore: remove framework tests from erpnext
...
Similar tests exist in FW and this is failing because someone updated
the translations
2022-05-30 15:42:34 +05:30
mergify[bot]
7767dc1ee3
chore: update translation fr for BOM (backport #31126 ) ( #31165 )
...
* chore: update translation fr for BOM (#31126 )
* fix: update translation
* fix: fr translation for BOM
(cherry picked from commit ce8e05146e )
* chore: format
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-05-29 22:10:46 +05:30
marination
bced6a07b4
fix: (auto-merge) Use frappe.log_error instead of doc.log_error
...
- The latter is only on develop
2022-05-27 22:06:12 +05:30
marination
6d65e2bab4
fix: Safe cast row.rate (in case of faulty exploded items, edge case but oh well)
2022-05-27 22:01:26 +05:30
marination
767a775709
perf: get_next_higher_level_boms
...
- Separate getting dependants and checking if they are valid (loop within loop led to redundant processing that slowed down function)
- Adding to above, the same dependant(parent) was repeatedly processed as many children shared it. Expensive.
- Use a parent-child map similar to child-parent map to check if all children are resolved
- `map.get()` reduced time: 10 mins -> 0.9s~1 second (as compared to `get_cached_doc` or query)
- Total time: 17 seconds to process 6599 leaf boms and 4.2L parent boms
- Previous Total time: >10 mins (I terminated it due to not wanting to waste time XD)
2022-05-27 21:16:07 +05:30
mergify[bot]
f19747cee0
fix: date filter on quality inspection report (backport #31148 ) ( #31164 )
...
fix: date filter on quality inspection report (#31148 )
* fix: date filter
fix from date to to date filter btw those days
* fix: remove unnecessary conditions
Co-authored-by: Ankush Menat <ankushmenat@gmail.com >
(cherry picked from commit 7ff8acac51 )
Co-authored-by: MOHAMMED NIYAS <76736615+niyazrazak@users.noreply.github.com >
2022-05-27 17:32:24 +05:30
marination
12f0a9a183
chore: Change BOM Progress field types to Long Text
2022-05-27 17:05:29 +05:30
Rucha Mahabal
b98f3647ec
Merge pull request #31162 from frappe/mergify/bp/version-13-hotfix/pr-31160
...
fix: Gratuity status not updated on salary slip submission (backport #31160 )
2022-05-27 15:49:08 +05:30
Rucha Mahabal
c02a89db4d
fix: conflicts
2022-05-27 15:30:29 +05:30
Rucha Mahabal
6aa6114757
fix: conflicts
2022-05-27 15:11:49 +05:30
marination
a26da58718
feat: Only update exploded items rate and amount
...
- Generate RM-Rate map from Items table (will include subassembly items with rate)
- Function to reset exploded item rate from above map
- `db_update` exploded item rate only if rate is changed
- Via Update Cost, only update exploded items rate, do not regenerate table again
- Exploded Items are regenerated on Save and Replace BOM job
- `calculate_exploded_cost` is run only via non doc events (Update Cost button, Update BOMs Cost Job)
2022-05-27 15:10:50 +05:30
Rucha Mahabal
30cbe8feb6
test: make holiday list before running gratuity tests
...
(cherry picked from commit c9e070393d )
2022-05-27 09:36:21 +00:00
Rucha Mahabal
e4426addeb
fix: add list view settings for Gratuity
...
(cherry picked from commit 79b0aede00 )
# Conflicts:
# erpnext/payroll/doctype/gratuity/gratuity.json
2022-05-27 09:36:21 +00:00