Sagar Vora
df0dac5610
perf: cache product bundle items at document level ( #44440 )
...
(cherry picked from commit 6de7320ef4 )
2024-11-29 17:22:51 +00:00
ljain112
bd0f11ef4f
fix: validate sales team to ensure all sales person are enabled
...
(cherry picked from commit 548dbb33eb )
2024-11-20 05:11:35 +00:00
rohitwaghchaure
7eac9cc1db
fix: zero incoming rate for delivery note return ( #43642 )
...
(cherry picked from commit 6087a57b0c )
# Conflicts:
# erpnext/stock/doctype/delivery_note/test_delivery_note.py
2024-10-15 06:28:36 +00:00
Dany Robert
9af2df3810
fix: invalid gp calculation
...
(cherry picked from commit c79851239c )
2024-09-17 06:33:14 +00:00
ljain112
4195c50f02
fix: removed max discount validation for sales return
...
(cherry picked from commit db807d433b )
2024-07-10 07:01:54 +00:00
Akhil Narang
4d34b1ead7
refactor(treewide): formatting and ruff fixes, + manually enabled F401
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev >
2024-04-10 17:13:31 +05:30
Gursheen Anand
8c7d0d4b85
fix: skip max discount validation for rate adjustment
...
(cherry picked from commit 5a3b133d65 )
2024-02-23 07:28:17 +00:00
Rohit Waghchaure
85e6b39e23
perf: timeout for auto material request through reorder level
...
(cherry picked from commit 951023f434 )
# Conflicts:
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
2024-02-05 06:09:53 +00:00
mergify[bot]
06d193ad87
fix: don't set rate for non-stock item in Internal Transfer (backport #39140 ) ( #39168 )
...
* fix: don't set rate for non-stock item in Internal Transfer
(cherry picked from commit e1b0fffd0c )
* test: internal transfer for non-stock item
(cherry picked from commit 57b6a98703 )
# Conflicts:
# erpnext/stock/doctype/delivery_note/test_delivery_note.py
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2024-01-08 11:44:52 +05:30
rohitwaghchaure
3a668bbe96
fix: reposting not fixing valuation rate for sales return using movin… ( #38895 )
...
fix: reposting not fixing valuation rate for sales return using moving average method
2023-12-21 14:13:34 +05:30
rohitwaghchaure
7fdac62393
fix: incoming rate for sales return with Moving Average valuation method ( #38849 )
2023-12-19 18:01:50 +05:30
Gursheen Anand
d7d5317b0e
chore: linting issues
...
(cherry picked from commit 1657337887 )
2023-11-24 04:30:38 +00:00
Gursheen Anand
fd19ac55e3
fix: has_product_bundle util to only check for enabled bundles
...
(cherry picked from commit 3543f86c63 )
2023-11-24 04:30:38 +00:00
mergify[bot]
022f85dd08
fix: e-commerce permissions for address ( #37554 )
...
* fix: E-commerce permissions
(cherry picked from commit f4d74990fe )
# Conflicts:
# erpnext/controllers/selling_controller.py
* chore: conflicts
---------
Co-authored-by: Ankush Menat <ankush@frappe.io >
2023-10-18 17:21:46 +05:30
rohitwaghchaure
643bb0511c
fix: validation message for valuation rate ( #37301 )
2023-10-03 22:56:33 +05:30
Gourav Saini
0f98cc85e9
fix: Allow to make return against sales invoice which has closed sales order
...
fix: Allow to make return against sales invoice which has closed sales order
2023-08-26 18:04:01 +05:30
Nabin Hait
c7391c8a0f
fix: get party details
...
(cherry picked from commit 5a0aacc0b6 )
2023-06-06 16:25:11 +00:00
mergify[bot]
3a7c69fc71
fix: sales person allocated amount calculation error nonetype and float ( #35293 )
...
fix: sales person allocated amount calculation error nonetype and float (#35293 )
fix: sales person allocated amount calculation error nontype and float
(cherry picked from commit 0c8276ec82 )
Co-authored-by: Indrajith.vs <91895505+Gubbu77@users.noreply.github.com >
2023-05-15 13:16:47 +05:30
mergify[bot]
ed338b1395
Revert "fix: Default sales team not getting set" ( #34376 )
...
Revert "fix: Default sales team not getting set" (#34376 )
Revert "fix: Default sales team not getting set (#34284 )"
This reverts commit 7d0199d743 .
(cherry picked from commit 9a8f8e8b7d )
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2023-03-09 15:39:56 +05:30
mergify[bot]
64c758d0c0
fix: Default sales team not getting set ( #34284 )
...
fix: Default sales team not getting set (#34284 )
(cherry picked from commit 7d0199d743 )
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2023-03-07 15:45:43 +05:30
mergify[bot]
480797e856
fix: Do not calculate commission post submit ( #34267 )
...
fix: Do not calculate commission post submit (#34267 )
* fix: Do not calculate commision post submit
* chore: Update condition to match server side logic
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
---------
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
(cherry picked from commit 10632d75b0 )
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2023-03-07 15:44:15 +05:30
Rohit Waghchaure
bcd1fca37b
fix: incorrect actual qty for the packed item
...
(cherry picked from commit 02566a02a8 )
2023-01-20 18:09:49 +00:00
s-aga-r
e2964088b7
fix: consider child nodes while getting bin details
...
(cherry picked from commit c716dcc01e )
2023-01-02 06:24:59 +00:00
Deepesh Garg
030765618b
fix: Allow item rate udpates for non-stock invoices
...
(cherry picked from commit ef9d126254 )
2022-12-06 03:43:16 +00:00
Deepesh Garg
2aada1a0d9
fix: Auto repeat date validations
...
(cherry picked from commit fa15221455 )
2022-11-29 03:59:09 +00:00
Deepesh Garg
ef687e22b8
fix: Dispatch address display
...
(cherry picked from commit 104fdcb9f9 )
2022-11-24 12:31:13 +00:00
Deepesh Garg
b653f43b70
fix: Incoming rate precision fixes for intra company transfer
...
(cherry picked from commit 083309c056 )
2022-10-12 10:54:31 +00:00
Rohit Waghchaure
76ae4d87ca
fix: fetch from parent not working for custom field
2022-09-06 11:54:48 +05:30
mergify[bot]
89f516c32b
fix: assign duplicate_items_msg outside conditional (backport #31639 ) ( #31650 )
...
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
(cherry picked from commit 8e23c6ad69 )
Co-authored-by: Maharshi Patel <39730881+maharshivpatel@users.noreply.github.com >
2022-07-21 13:57:03 +05:30
Ankush Menat
ee0a277540
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.
2022-05-12 19:01:26 +05:30
Nabin Hait
993c6c0de9
feat: Ignore permlevel for specific fields
2022-04-12 12:24:47 +05:30
Ankush Menat
494bd9ef78
style: format code with black
2022-03-28 18:52:46 +05:30
Ankush Menat
342d09a671
feat: get_valuation_rate batch wise
...
This function is used to show valuation rate on frontend and also as
fallback in case values aren't available. Add "batch_no" param to get
batch specific valuation rates.
Co-Authored-By: Alan Tom <2.alan.tom@gmail.com >
2022-02-21 18:02:40 +05:30
Deepesh Garg
36f4fb0585
fix: Incorrect tax template in Sales Invocie via data import
...
(cherry picked from commit 20f321a889 )
2022-02-06 16:24:26 +00:00
rohitwaghchaure
62e5aa7d72
Merge pull request #29359 from KrithiRamani/foc_item
...
fix: bypass selling price validation for free item
2022-02-01 11:54:01 +05:30
Krithi Ramani
8c536ffb20
bypass selling price validation for free item
2022-01-19 15:27:09 +05:30
Ankush Menat
fcc885bc16
fix: get incoming rate only if not return
2022-01-16 12:40:25 +05:30
Raffael Meyer
e10ab1626c
feat: Grant commission on certain items only ( #27467 )
...
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2021-11-30 17:54:18 +05:30
Ankush Menat
6098e92ba9
chore: remove utf-8 compat code
2021-11-05 11:16:29 +05:30
mergify[bot]
233bf5dd29
fix: using DN for transfer w/o internal customer (backport #27798 ) (backport #27805 ) ( #27807 )
...
* fix: using DN for transfer w/o internal customer (backport #27798 ) (#27805 )
* fix: using DN for transfer w/o internal customer (#27798 )
This used to be work before though not "advertised", since a lot of
users have started using it as feature, it can't be broken now.
(cherry picked from commit df1f8fddf6 )
* fix(ux): use toast instead of popup
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
(cherry picked from commit fa944382c5 )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
* fix: resolve conflict
* fix: resolve conflicts
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-10-05 16:16:21 +05:30
Chillar Anand
915b34391c
chore: Clean up imports ( #27302 )
...
* chore: Added isort to pre-commit config
* chore: Sort imports with isort
* chore: Clean up imports with pycln
* chore: Sort imports with isort
* chore: Fix import issues
* chore: Clean up sider issues
* chore: Remove import errors from flake8 ignore list
* chore: Clean up lint issues
2021-09-02 16:44:59 +05:30
Marica
f4dc9ee2aa
fix: Don't create inward SLE against SI unless is internal customer enabled ( #27086 )
...
* fix: Dont create inward SLE against SI unless is internal customer enabled
- Check if is internal customer enabled apart from target warehouse
- Test to check if inward SLE is made if target warehouse is accidentally set but customer is not internal
* test: Use internal customer for delivery of bundle items to target warehouse
- created `create_internal_customer` util
- reused it in delivery note and sales invoice tests
- use internal customer for target warehouse test in delivery note
2021-08-26 13:12:51 +05:30
rohitwaghchaure
fe4540d74d
fix: allow to change rate manually in case of stand-alone credit note ( #27036 )
...
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2021-08-26 12:52:36 +05:30
Pruthvi Patel
7c957d72b3
perf: reduce number of queries to validate selling price ( #26225 )
...
* perf: reduce number of queries to validate selling price
* fix: improved flow and formatting
* fix: improve condition and use of `as_dict`
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2021-08-24 21:24:25 +05:30
Noah Jacob
ac0bc1f170
fix: precision rate for packed items ( #26208 )
2021-06-24 19:36:17 +05:30
Ankush Menat
9891780f5a
perf(minor): remove unnecessary comprehensions (port #25645 )
2021-06-11 18:40:22 +05:30
Nabin Hait
2535fe9b1e
fix: Resolved merge conflict
2021-04-14 13:09:50 +05:30
rohitwaghchaure
ce6c3b5b74
fix: incorrect incoming rate for the sales return ( #25306 )
2021-04-13 20:55:52 +05:30
Sagar Vora
f4a6c7823a
test: create new item instead of using _Test Item to prevent error ( #24915 )
2021-03-17 19:57:53 +05:30
Anuja Pawar
8755339cba
fix: to update sales person's incentives on save ( #24179 )
2021-03-01 10:44:13 +05:30