Deepesh Garg
328b9431b2
fix: Taxes getting overriden from mapped to target doc
...
(cherry picked from commit 4720969ce6 )
2022-04-01 04:14:07 +00:00
Saqib Ansari
a9f24859ad
Merge pull request #30514 from frappe/mergify/bp/version-13-hotfix/pr-30461
...
fix(asset): do not validate warehouse on asset purchase (backport #30461 )
2022-03-31 21:08:51 +05:30
rohitwaghchaure
dbb872aeb4
Merge pull request #30530 from frappe/mergify/bp/version-13-hotfix/pr-30527
...
feat: minor, pick list item reference on delivery note item table (backport #30527 )
2022-03-31 21:04:02 +05:30
Rohit Waghchaure
a74198f974
test: test case to check pick list name has mapped or not
...
(cherry picked from commit 2f51011f91 )
2022-03-31 14:53:52 +00:00
Rohit Waghchaure
c92df4eed3
feat: minor, pick list item reference on delivery note item table
...
(cherry picked from commit 2f63ae2ee9 )
2022-03-31 14:53:51 +00:00
Saqib Ansari
8416dc713c
fix: unexpected keyword argument 'pluck'
2022-03-31 16:32:01 +05:30
Marica
70485a6afc
Merge pull request #30517 from frappe/mergify/bp/version-13-hotfix/pr-30509
...
fix: Add non-existent Item check and cleanup in `validate_for_items` (backport #30509 )
2022-03-31 15:55:46 +05:30
marination
40a154e64d
fix: (test) change expected exception due to https://github.com/frappe/frappe/pull/16454
...
(cherry picked from commit 93f6346cea )
2022-03-31 09:23:47 +00:00
marination
84247e91f3
fix: Add non-existent Item check and cleanup in validate_for_items
...
- Added a validation if invalid item code ia passed via data import/API, etc.
- Used DB APIs instead of raw sql
- Separated checks into separate functions
- Added return types to functions
- Better variable naming and removed redundant utils import in function
(cherry picked from commit 982a246eec )
2022-03-31 09:23:46 +00:00
Saqib Ansari
a51b32b7e0
fix: merge conflicts
2022-03-31 14:19:53 +05:30
Saqib Ansari
b4a10d571f
fix(test): Item MacBook does not exist
...
(cherry picked from commit 4623a1bc57 )
2022-03-31 08:46:17 +00:00
Saqib Ansari
c36b5d9ab8
perf: skip warehouse validation for non-stock items
...
(cherry picked from commit 199a6da960 )
# Conflicts:
# erpnext/controllers/accounts_controller.py
2022-03-31 08:46:16 +00:00
Saqib Ansari
ad91d57a41
perf: skip warehouse validation for non-stock items
...
(cherry picked from commit 6528218ac3 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
2022-03-31 08:46:15 +00:00
Saqib Ansari
00cb0d0294
fix(asset): do not validate warehouse on asset purchase
...
(cherry picked from commit 136466d255 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
2022-03-31 08:46:13 +00:00
Saqib Ansari
9ffe34757e
Merge pull request #30455 from frappe/mergify/bp/version-13-hotfix/pr-30419
...
fix: move item tax to item tax template patch (backport #30419 )
2022-03-31 12:43:15 +05:30
Saqib Ansari
1a169c9dc5
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-30419
2022-03-31 12:02:15 +05:30
mergify[bot]
22ec1a4996
fix: enable row deletion in reference table ( #30492 )
...
(cherry picked from commit 500870b2b0 )
Co-authored-by: rahib-hassan <rahib.hassan10@gmail.com >
2022-03-30 16:37:00 +05:30
Anoop
3f3717952c
fix: cast array slice index integer while splitting serial_nos array ( #30468 )
2022-03-30 16:36:15 +05:30
mergify[bot]
c7d8d60de6
fix: explicitly check if additional salary is recurring while fetching components for payroll (backport #30489 ) ( #30491 )
...
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-03-30 15:07:56 +05:30
Saqib Ansari
6397456ba6
Merge pull request #30484 from frappe/mergify/bp/version-13-hotfix/pr-30470
...
fix: credit limit validation in delivery note (backport #30470 )
2022-03-30 14:57:49 +05:30
mergify[bot]
46e6d16c49
fix: Dont set idx while adding WO items to Stock Entry (backport #30377 ) ( #30485 )
...
* fix: Dont set `idx` while adding WO items to Stock Entry
- `idx` must be computed by base document's `self.append()` function, so do not set it
(cherry picked from commit a787ebb732 )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
* chore: Remove redundant idx query and value setting
- idx can be removed from `select_columns` as it is already in the main query
- setting idx to '' is not required as it is not used further
(cherry picked from commit 639d380c1f )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
* test: idx mapping correctness
(cherry picked from commit fa3b953cf7 )
* fix: Linter
(cherry picked from commit b5ad626d23 )
* fix: resolve conflicts
Co-authored-by: marination <maricadsouza221197@gmail.com >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-30 12:05:26 +05:30
Saqib Ansari
c9cd3ee9aa
fix: credit limit validation in delivery note
...
(cherry picked from commit c122882884 )
2022-03-30 05:39:15 +00:00
mergify[bot]
39ff7b0b06
fix: validate 0 transfer qty in stock entry ( #30476 ) ( #30479 )
...
(cherry picked from commit b80fac03af )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-29 18:18:13 +05:30
Ankush Menat
eedfee367c
Merge pull request #30478 from ankush/format_v13
...
style: bulk formatting (v13 port)
2022-03-29 17:51:30 +05:30
Ankush Menat
14c8386040
chore: ignore black formatting commit in blame
2022-03-29 17:31:43 +05:30
Ankush Menat
c07713b860
style: bulk format code with black
...
v13 port because otherwise backports will result in conflicts always
2022-03-29 17:29:34 +05:30
Ankush Menat
7cc84dcbb4
ci: pin click for black ( #30464 )
...
[skip ci]
2022-03-29 17:26:42 +05:30
Ankush Menat
68ded18a23
ci: force black formatting (pre-commit)
2022-03-29 17:26:26 +05:30
mergify[bot]
00ad515ac7
fix: use name for links not item_code (backport #30462 ) ( #30463 )
...
* fix: use `name` for links not `item_code` (#30462 )
(cherry picked from commit 76dce2eddc )
# Conflicts:
# erpnext/selling/report/item_wise_sales_history/item_wise_sales_history.py
* fix: conflicts
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-29 17:16:31 +05:30
mergify[bot]
6b3bdb2e9e
fix: dont check for failed repost while freezing (backport #30472 ) ( #30473 )
...
* fix: dont check for failed repost while freezing (#30472 )
[skip ci]
(cherry picked from commit b12fe0f15b )
# Conflicts:
# erpnext/stock/utils.py
* fix: conflicts
[skip ci]
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-29 13:56:15 +05:30
Deepesh Garg
8e59e67197
Merge pull request #30385 from deepeshgarg007/quotation_gst
...
fix(India): Auto tax fetching based on GSTIN
2022-03-29 10:25:57 +05:30
mergify[bot]
659fa7a190
fix: bom valuation - handle lack of LPP ( #30454 ) ( #30457 )
...
(cherry picked from commit 8dff4d66a4 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-28 18:36:12 +05:30
Raffael Meyer
471a3279b9
fix(lead): reload address and contact before updating their links (Backport #29966 ) ( #29968 )
...
* fix(lead): reload address and contact before updating their links
They might have changed since they were created. Backport of #29966 .
* refactor: reload contact after insert
2022-03-28 18:01:00 +05:30
Saqib Ansari
3142e6f188
fix: move item tax to item tax template patch
...
(cherry picked from commit 936267c934 )
2022-03-28 12:05:23 +00:00
Ankush Menat
7f3651a938
fix: update picked qty on cancellation
...
(cherry picked from commit 69ae2661d2 )
2022-03-28 10:44:53 +05:30
Deepesh Garg
8fb56d57bb
Merge pull request #30438 from deepeshgarg007/amount_to_pay
...
fix: Incorrect default amount to pay for POS invoices
2022-03-27 18:00:42 +05:30
Deepesh Garg
156416bcc3
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into quotation_gst
2022-03-27 17:28:42 +05:30
Deepesh Garg
a044e92687
fix: Incorrect default amount to pay for POS invoices
2022-03-27 13:02:31 +05:30
Saqib Ansari
99dc1ecd2d
Merge pull request #30435 from frappe/mergify/bp/version-13-hotfix/pr-30420
...
fix: unsupported operand type(s) for +=: 'int' and 'NoneType' (backport #30420 )
2022-03-26 20:00:07 +05:30
Saqib Ansari
bd171fbd42
fix: unsupported operand type(s) for +=: 'int' and 'NoneType'
...
(cherry picked from commit 5450542fdb )
2022-03-26 13:46:24 +00:00
Rucha Mahabal
020a4269ae
fix(Expense Claim): validate advances after setting totals
2022-03-25 23:43:46 +05:30
Rucha Mahabal
84de986c5a
fix(test): add function for getting advances for claim
2022-03-25 23:43:46 +05:30
Rucha Mahabal
e783e3f93e
fix: do not update status to Paid if sanctioned amount is 0
2022-03-25 23:43:46 +05:30
Rucha Mahabal
ed0a685e0e
chore: sort imports
2022-03-25 23:43:46 +05:30
Rucha Mahabal
7d3c211b1f
test: expense claim against fully and partially paid advances
2022-03-25 23:43:46 +05:30
Rucha Mahabal
961e691bdc
fix: Expense Claim conditions for Paid status
...
- status doesn't change to Paid if the entire required amount is already covered via linked advances
- status doesn't change to Paid if the claim is partially paid via advances
- patch to update such uncancelled claims to Paid
2022-03-25 23:43:46 +05:30
Deepesh Garg
c2b2b3962a
Merge pull request #30429 from deepeshgarg007/transaction_issue
...
fix: Check for onload property
2022-03-25 21:51:07 +05:30
Deepesh Garg
71402b43a7
fix: Check for onload property
2022-03-25 21:49:19 +05:30
Deepesh Garg
0740158431
Merge pull request #30395 from deepeshgarg007/pos_write_off
...
fix: Write off amount wrongly calculated in POS Invoice
2022-03-25 20:56:19 +05:30
mergify[bot]
8b5fe164fd
fix: show subassembly table always ( #30422 ) ( #30423 )
...
[skip ci]
(cherry picked from commit 0534cf6c9c )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-25 19:04:22 +05:30