Deepesh Garg
4a8c42d62b
chore: check only for inter-company transfers
...
(cherry picked from commit 9aa5e20ef7 )
2022-10-12 10:54:15 +00:00
Deepesh Garg
c67bdcf3c6
chore: fix precision condition
...
(cherry picked from commit 49601558c6 )
2022-10-12 10:54:14 +00:00
Deepesh Garg
7a9e7b66ac
chore: Use proper accounts
...
(cherry picked from commit 1c05c004cd )
2022-10-12 10:54:13 +00:00
Deepesh Garg
b966f10711
chore: GL Entries for SLE diff
...
(cherry picked from commit df2a0e265b )
2022-10-12 10:54:11 +00:00
Deepesh Garg
dd26ef96e0
fix: Hanlde rounding loss for internal transfer
...
(cherry picked from commit 6e47fd54a0 )
2022-10-12 10:54:07 +00:00
Deepesh Garg
227ce5f8a2
fix: Incoming rate precision fixes for intra company transfer
...
(cherry picked from commit 083309c056 )
2022-10-12 10:54:06 +00:00
ruthra kumar
0cd1cacc29
fix: get amount in words for debit note
...
(cherry picked from commit 70f6484d9d )
2022-09-20 12:43:45 +00:00
Deepesh Garg
638d6b7177
fix: Rate for internal PI have non stock UOM items
...
(cherry picked from commit 0f655e4430 )
2022-09-12 03:40:23 +00:00
Saqib Ansari
0527393b09
fix(pos): error while consolidating pos invoices
...
(cherry picked from commit 33762dbbac )
2022-09-04 07:56:06 +00:00
Deepesh Garg
4793adfefd
chore: rounded total for cash and non trade discounts
2022-08-29 14:02:18 +05:30
Deepesh Garg
7c85b487cd
fix: Test cases
...
(cherry picked from commit ae3dce0cbd )
2022-08-23 04:50:18 +00:00
Deepesh Garg
20e9599fc1
fix: Cash and non trade discount calculation
...
(cherry picked from commit 3b15966cc9 )
2022-08-23 04:50:17 +00:00
Rohit Waghchaure
7ee75ff762
fix: not able to issue expired batches
...
(cherry picked from commit 795c94384a )
# Conflicts:
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
2022-08-17 09:16:37 +00:00
Sagar Vora
a7d66fa352
fix: set billing_address for purchases in get_party_details
...
(cherry picked from commit a3625b3817 )
2022-08-13 08:00:27 +00:00
Rohit Waghchaure
4e8b39ab3f
fix: incorrect incoming rate set for inter transfer purchase receipt
...
(cherry picked from commit ddd24ea8c8 )
2022-08-09 10:31:14 +00:00
mergify[bot]
0dbfb1589e
fix: specify allowed doctype in queries ( #31765 )
...
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2022-08-03 12:03:53 +05:30
Maharshi Patel
8e23c6ad69
fix: assign duplicate_items_msg outside conditional ( #31639 )
...
duplicate_items_msg was defined inside if the statement of stock_item so when duplicate was found in non_stock_item it raised referenced before assignment
2022-07-20 21:25:36 +05:30
marination
72e8c02ae0
fix: Set Amount in Supplied Item table
2022-07-19 11:47:25 +05:30
Deepesh Garg
1c686c732e
chore: fix query
...
(cherry picked from commit e04e67c6bf )
2022-07-11 15:44:49 +00:00
Deepesh Garg
66c5290dee
chore: Ignore validation
...
(cherry picked from commit 3cf609fab1 )
2022-07-11 15:44:49 +00:00
marination
2a432c22d4
fix: Use fallback conversion factor while setting incoming rate for petty purchase
...
- PIs for petty items (that do not need an Item record) are allowed using Item Name field
- If a different UOM is used in this case, conversion factor stays 0 and causes an error
- Fallback to 1 in `set_incoming_rate` for buying
- Selling will need a proper item, so this change is not needed there
(cherry picked from commit aa043fe961 )
2022-07-05 19:09:36 +00:00
Deepesh Garg
4a5d681c77
chore: use get instead of . operator
...
(cherry picked from commit e54ec4b9b6 )
2022-07-03 08:05:23 +00:00
Deepesh Garg
fd2ec25588
feat: Cash and Non trade discounts in Sales Invoice
...
(cherry picked from commit 169ff5a0dd )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
2022-07-03 08:05:19 +00:00
mergify[bot]
815530650c
fix: dont update RM items table if not required (backport #31408 ) ( #31457 )
...
fix: dont update RM items table if not required (#31408 )
Currently on PO update RM item table is auto computed again and again,
if there was any transfer/consumption against that then it will be lost.
This change:
1. Disables updating RM table if no change in qty of FG was made. Since
RM table can't possibly be different with same FG qty.
2. Blocks update completely if qty is changed and RM items are already
transferred.
(cherry picked from commit dd11f26eba )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-28 10:28:11 +05:30
Ankush Menat
8a4cd2aba1
fix: internal transfer GLE validation
...
(cherry picked from commit 65b21ee7d6 )
2022-06-21 09:02:02 +00:00
Deepesh Garg
4186aafd07
fix: Conversion rate validation for multi-currency invoices
...
(cherry picked from commit d05d15346a )
2022-06-21 03:40:13 +00:00
mergify[bot]
051e5cd741
fix: UOM handling for transaction without item (backport #31389 ) ( #31391 )
...
fix: UOM handling for transaction without item (#31389 )
If invoice is made without item code then UOM, Stock UOM and
conversion_factor all need to be manually added, this is confusing and
leads missing them out leads to errors.
Simplest solution:
- if either UOM exists then set both to same uom conversion factor to
- also set conversion factor based on UOM conversions
(cherry picked from commit 10583eb3ce )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-17 15:11:28 +05:30
Deepesh Garg
37ba550398
fix: Partially Ordered status for quotation
...
(cherry picked from commit 118c786e63 )
# Conflicts:
# erpnext/selling/doctype/quotation/quotation.json
2022-06-14 05:47:57 +00:00
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
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
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
Deepesh Garg
f724f6d1bb
chore: Resolve conflicts
2022-05-25 19:04:20 +05:30
Deepesh Garg
8f969fbd66
test: Update test cases for currency change validation
...
(cherry picked from commit 60915e874d )
# Conflicts:
# erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py
# erpnext/healthcare/doctype/patient_appointment/patient_appointment.py
# erpnext/healthcare/doctype/therapy_plan/therapy_plan.py
# erpnext/non_profit/doctype/membership/membership.py
2022-05-25 11:33:42 +00:00
Deepesh Garg
228f10bf30
fix: Account currency validation for first transaction
...
(cherry picked from commit 80c85dd17c )
# Conflicts:
# erpnext/controllers/accounts_controller.py
2022-05-25 11:33:38 +00:00
mergify[bot]
c3417e4103
fix: discount ledger entry in case of multicurrency invoice ( #31047 )
2022-05-17 12:22:08 +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
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
Saqib Ansari
047c879bec
fix: user can select disabled accounts in taxes table
...
(cherry picked from commit a1e3ae8869 )
2022-05-12 16:37:25 +00:00
marination
56478752e4
fix: Block 0 Qty via Update Items to be consistent with form validation
...
(cherry picked from commit 0c9154389b )
2022-05-11 07:12:29 +00:00
Deepesh Garg
a167f9e17f
test: Update customer in Sales Invoice
...
(cherry picked from commit c38be53ce8 )
2022-04-14 09:40:53 +00:00
Deepesh Garg
9c5f8415bf
fix: Exchange gain and loss on advance jv allocation
...
(cherry picked from commit 31883b699d )
2022-04-14 09:40:53 +00:00
Nabin Hait
e650d99cdd
feat: Ignore permlevel for specific fields
...
(cherry picked from commit 993c6c0de9 )
2022-04-12 10:26:17 +00:00
Deepesh Garg
f6c9f052d2
fix: Deferred Revenue/Expense Account validation
...
(cherry picked from commit 9bf5f76ac8 )
2022-04-11 11:33:33 +00:00
Deepesh Garg
1b25a7fe76
fix: Implicit ignore pricing rule check on returns
2022-04-09 19:20:51 +05:30
Deepesh Garg
3a55cad05f
Merge pull request #30575 from deepeshgarg007/pos_shipping
...
fix: Do not apply shipping rule for POS transactions
2022-04-06 10:00:21 +05:30
Deepesh Garg
95298f0400
fix: Use get instead of dot
2022-04-06 09:27:40 +05:30
Deepesh Garg
c0ebcfb393
fix: Do not apply shipping rule for POS transactions
2022-04-04 20:05:10 +05:30
Rohit Waghchaure
3038a5cd5a
test: test case to validate rejected qty without accepted warehouse
...
(cherry picked from commit ac5df1abbe )
2022-04-04 12:57:04 +00:00
Rohit Waghchaure
157461ed02
fix: if accepted warehouse not selected during rejection then stock ledger not created
...
(cherry picked from commit 0a71cabab1 )
2022-04-04 12:57:04 +00:00