Marica
c5bda9cb09
Merge pull request #31344 from frappe/mergify/bp/version-13-hotfix/pr-31341
...
fix: Supplied Qty not updated on Stock Entry cancel (backport #31341 )
2022-06-13 23:24:49 +05:30
Marica
6064ca6fed
test: Pass "yes" instead of 1 for is_subcontracted in create_purchase_order
2022-06-13 21:06:04 +05:30
marination
86a0ba5c9f
test: PO Supplied Qty reset on cancel/submit
...
(cherry picked from commit b8f468cb4f )
2022-06-13 15:13:54 +00:00
marination
79b20622c9
fix: Supplied Qty not updated on Stock Entry cancel
...
- Loop over PO supplied items and update them as data from SE will exclude a row if supplied qty becomes 0 on cancel
- Use DB API insteaf of raw SQL
(cherry picked from commit fa1d9d548e )
2022-06-13 15:13:53 +00:00
mergify[bot]
5d0f271451
fix: update fr translation (backport #31232 ) ( #31334 )
...
* fix: update fr translation (#31232 )
* update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* Update fr.csv
update typo
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* fix: Use elision instead of HTML code equivalent
* fix: Use elision instead of HTML code equivalent (pt 2)
* fix: Use elision/single quote instead of HTML code equivalent (pt 3)
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 83367bfe5e )
* fix: Accidental '=' instead of comma
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-13 12:18:46 +05:30
Marica
1e6e652988
Merge pull request #31314 from frappe/mergify/bp/version-13-hotfix/pr-31303
...
fix: locale Currency and Float setting in update_employee (backport #31303 )
2022-06-13 10:49:29 +05:30
Marica
ff770bbf04
Merge pull request #31321 from frappe/mergify/bp/version-13-hotfix/pr-31320
...
fix(UX): use doc.status for Job Card status (backport #31320 )
2022-06-13 10:30:05 +05:30
Ankush Menat
78473b8d99
fix(UX): use doc.status for Job Card status ( #31320 )
...
- Use doc.status directly for indicator - single source of truth
- Update status to cancelled when doc is cancelled
(cherry picked from commit 39ec0aca95 )
2022-06-13 10:04:53 +05:30
Deepesh Garg
977d6969d5
Merge pull request #31318 from frappe/mergify/bp/version-13-hotfix/pr-31295
...
fix: update Period Closing Voucher per Company (backport #31295 )
2022-06-11 23:44:22 +05:30
mergify[bot]
50a4c2e9dc
refactor: remove add_fetch (backport #31315 ) ( #31319 )
...
* refactor: remove add_fetch (#31315 )
- Sales Team already had fetch from set up
- Set up fetch from on sales partner in sales transaction
Reason for removal: the JS code applies arbitrarily to any field called "sales_person"
(cherry picked from commit 1646fbe478 )
# Conflicts:
# erpnext/selling/sales_common.js
* chore: conflicts
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-10 18:30:50 +05:30
hendrik
5ebbe81543
fix: update Period Closing Voucher per Company
...
Validate period closing voucher company-wise
(cherry picked from commit 74b274f555 )
2022-06-10 09:23:36 +00:00
Deepesh Garg
395f86f42b
Merge pull request #31310 from frappe/mergify/bp/version-13-hotfix/pr-31294
...
fix(India): Incorrect taxable in GSTR-3B report (backport #31294 )
2022-06-10 14:27:20 +05:30
Deepesh Garg
9e0cb2a467
Merge pull request #31262 from frappe/mergify/bp/version-13-hotfix/pr-30155
...
fix: Add cost center in loan document (backport #30155 )
2022-06-10 13:16:33 +05:30
Deepesh Garg
1aaca097b3
chore: Linting Issues
2022-06-10 12:51:16 +05:30
Deepesh Garg
309bdf257d
Merge pull request #31139 from frappe/mergify/bp/version-13-hotfix/pr-31102
...
feat: Add german translations (backport #31102 )
2022-06-10 12:42:10 +05:30
Deepesh Garg
4c9422fb1b
chore: resolve conflicts
2022-06-10 12:39:12 +05:30
RJPvT
391ed9c567
fix: locale Currency and Float setting in update_employee
...
In fieldtypes locale settings (example NL) . and , changes whereby the field is inproperly filled
(cherry picked from commit 17887cde71 )
2022-06-10 06:05:51 +00:00
Deepesh Garg
95f8784ea9
chore: Resolve conflicts
2022-06-10 10:59:46 +05:30
Deepesh Garg
176a6722e5
chore: cleanup
...
(cherry picked from commit 50aafdbe99 )
2022-06-10 05:19:55 +00:00
Deepesh Garg
e5d2c59929
fix(India): Incorrect taxable in GSTR-3B report
...
(cherry picked from commit 20f568c159 )
2022-06-10 05:19:54 +00:00
Deepesh Garg
384ce92b4b
Merge pull request #31307 from frappe/mergify/bp/version-13-hotfix/pr-31216
...
fix: Trial Balance failing to ignore Finance Book (backport #31216 )
2022-06-10 00:10:23 +05:30
Sun Howwrongbum
894f945be7
fix: typo in sql condition
...
(cherry picked from commit ee2949aa3f )
2022-06-09 15:05:15 +00:00
Deepesh Garg
44642dba39
chore: Linting Issues
...
(cherry picked from commit b9dbb36d0e )
2022-06-09 15:05:14 +00:00
Sun Howwrongbum
00371f4a22
fix: Trial Balance failing to ignore Finance Book
...
(cherry picked from commit 48bde2de2a )
2022-06-09 15:05:14 +00:00
mergify[bot]
fb9b302ecf
fix: Reset represents company on disabling internal customer and supplier (backport #31302 ) ( #31306 )
...
fix: Reset represents company on disabling internal customer and supplier (#31302 )
(cherry picked from commit c13e5ad741 )
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2022-06-09 19:20:53 +05:30
mergify[bot]
77e4755c1f
fix: update ru translate (backport #31200 ) ( #31304 )
...
* fix: update ru translate (#31200 )
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
fix logic
* Update ru.csv
* Update ru.csv
* Update ru.csv
(cherry picked from commit 2675751d6c )
# Conflicts:
# erpnext/translations/ru.csv
* fix: Merge conflicts
Co-authored-by: Vladislav <integration.into.society@gmail.com >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-09 19:16:48 +05:30
Marica
bb431bb21f
Merge pull request #31299 from frappe/mergify/bp/version-13-hotfix/pr-31296
...
fix: misaligned columns in print format of AR/AP report (backport #31296 )
2022-06-09 18:31:20 +05:30
Marica
48de5ab62a
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31296
2022-06-09 18:09:09 +05:30
Marica
3816ae21bb
Merge pull request #31078 from marination/v13-perf-bom-update-tool
...
perf: BOM Update Tool (backport)
2022-06-09 17:51:28 +05:30
meaziz
9347cbbc9f
chore: Asset Arabic translation Fix ( #31221 )
...
Update ar.csv
Fix Translation arabic translation that caused an error when submitting an asset if user language was arabic
2022-06-09 17:43:31 +05:30
ruthra kumar
81e32e2855
fix: misaligned columns in print format of AR/AP report
...
(cherry picked from commit bbaa14af16 )
2022-06-09 12:06:11 +00:00
mergify[bot]
9f6b32af12
fix(ux): hide new version btn on unsaved BOM (backport #31297 ) ( #31298 )
...
fix(ux): hide new version btn on unsaved BOM (#31297 )
(cherry picked from commit d9a5213952 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-06-09 17:22:50 +05:30
marination
5a08850aa1
chore: Less hacky tests, versioning (replace bom) and clearing log data (update cost)
...
- Remove `auto_commit_on_many_writes` in `update_cost_in_level()` as commits happen every N BOMs
- Auto commit every 50 BOMs
- test: Remove hacky `frappe.flags.in_test` returns
- test: Enqueue `now` if in tests (for update cost and replace bom)
- Replace BOM: Copy bom object to `_doc_before_save` so that version.py finds a difference between the two
- Replace BOM: Add reference to version
- Update Cost: Unset `processed_boms` if Log is completed (useless after completion)
- test: `update_cost_in_all_boms_in_test` works close to actual prod implementation (only call Cron job manually)
- Test: use `enqueue_replace_bom` so that test works closest to production behaviour
Co-authored-by: Ankush Menat <ankushmenat@gmail.com >
2022-06-09 16:56:19 +05:30
Marica
7a868a46d5
Merge branch 'version-13-hotfix' into v13-perf-bom-update-tool
2022-06-09 13:33:52 +05:30
mergify[bot]
633a4521e4
fix: Use frappe.as_unicode to decode output of redis module list (backport #31282 ) ( #31283 )
...
fix: Use `frappe.as_unicode` to decode output of redis module list (#31282 )
- As of redis 7, a list is added to the result of fetching the module list
- This list cannot be "decoded",so use `frappe.as_unicode` that handles bytes as well as other types
(cherry picked from commit 2832731601 )
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-08 18:12:02 +05:30
Saqib Ansari
8a4c9d1238
fix(asset): failing test case ( #31277 )
2022-06-08 14:12:59 +05:30
Marica
8656020c00
Merge branch 'version-13-hotfix' into v13-perf-bom-update-tool
2022-06-08 14:09:51 +05:30
marination
289d65a4ed
chore: get_valuation_rate sider fixes
...
- Use qb instead of db.sql
- Don't use `args` as argument for function
- Cleaner variable names
2022-06-08 14:08:45 +05:30
marination
b529a610fb
test: Fix test_update_bom_cost_in_all_boms
...
- Use base_rate for assertions as rate is subject to change due to conversion factor (USD)
2022-06-08 14:08:12 +05:30
marination
c7accb9c33
test: Util to update cost in all BOMs
...
- Utility to update cost in all BOMs without cron jobs or background jobs (run immediately)
- Re-use util wherever all bom costs are to be updated
- Skip explicit commits if in test
- Specify company in test records (dirty data sometimes, company wh mismatch)
- Skip background jobs queueing if in test
2022-06-08 14:07:34 +05:30
Ganga Manoj
dfbfe403e9
fix: Depreciate Asset before generating GL Entries on sale ( #30759 )
2022-06-08 09:35:43 +05:30
mergify[bot]
e69bff0caa
fix: Auto Insert Item Price If Missing when discount & blank UOM (backport #31168 ) ( #31267 )
...
fix: Auto Insert Item Price If Missing when discount & blank UOM (#31168 )
* fix: Auto Insert Item Price If Missing when discount and blank UOM
fixes wrong item price insert when discount is used and adds uom=stock_uom instead of blank as price is converted to stock uom
* unit tests added for item with discount
I have added test for auto_insert_price where discount is used.
* unit test issue fixed
fixed make_sales_order as some of the test that depended on it were failing due to passing of incorrect parameters.
Co-authored-by: Ankush Menat <me@ankush.dev >
(cherry picked from commit b3ccc4bfb9 )
Co-authored-by: maharshivpatel <39730881+maharshivpatel@users.noreply.github.com >
2022-06-07 16:04:00 +05:30
Ankush Menat
0e53edfd49
test: sales register report with conditions ( #31266 )
2022-06-07 16:03:29 +05:30
mergify[bot]
6d99b5a95a
fix: purchase invoice standalone return GLEs (backport #31209 ) ( #31263 )
...
* test: create stock test mixin for assertion/utils
(cherry picked from commit 293eb8d722 )
# Conflicts:
# erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
# erpnext/stock/tests/test_utils.py
* fix: purchase invoice return GLe
voucher_wise_stock_value contains tuples and the condition was looking
for string, so it's never triggered.
Caused by https://github.com/frappe/erpnext/pull/24200
(cherry picked from commit 7726271e2a )
* chore: conflicts
Co-authored-by: Ankush Menat <me@ankush.dev >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-07 15:43:37 +05:30
Deepesh Garg
f087246e38
Merge pull request #31261 from frappe/mergify/bp/version-13-hotfix/pr-31258
...
fix: Close unsecured terms loans (backport #31258 )
2022-06-07 14:52:47 +05:30
Deepesh Garg
c19dfbe98a
fix: Add cost center in loan document
...
(cherry picked from commit 5d66cc4c4a )
# Conflicts:
# erpnext/loan_management/doctype/loan_interest_accrual/loan_interest_accrual.py
# erpnext/patches.txt
2022-06-07 08:40:48 +00:00
Deepesh Garg
ef8483d2ea
chore: Resolve conflicts
2022-06-07 14:10:44 +05:30
Deepesh Garg
8cb85fa90b
Merge pull request #31260 from frappe/mergify/bp/version-13-hotfix/pr-31233
...
fix: Reverse provisional entries on Purchase Invoice cancel (backport #31233 )
2022-06-07 14:03:44 +05:30
Rucha Mahabal
d433784171
fix: only fetch membership expiry if not already set in member.js ( #31259 )
2022-06-07 14:01:12 +05:30
Deepesh Garg
d6d1d79ba0
fix: Close unsecured terms loans
...
(cherry picked from commit 815141bf57 )
# Conflicts:
# erpnext/loan_management/doctype/loan/loan.py
2022-06-07 08:24:23 +00:00