mergify[bot]
2ee51d36ff
fix: set batch created from bundle to batch field in stock transaction (backport #39966 ) ( #39987 )
...
fix: set batch created from bundle to batch field in stock transaction (#39966 )
* fix: set batch created from bundle to batch field in stock transaction
* fix: validation for serial and batch no
(cherry picked from commit 4b24fcd2216caadbec402fc7d1e412bdcc662dad)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
2024-02-21 00:04:01 +05:30
ruthra kumar
83bf2c17e0
refactor(test): Forex Credit Note cancellation against Invoice
...
(cherry picked from commit 2f676ced5c712823c5737f40230ec8b1994cd2dd)
2024-02-07 15:00:48 +00:00
mergify[bot]
a118417645
refactor: provision to filter on dimensions in reconciliation tool ( #39054 )
...
* refactor: dimensions section in allocation table in reconciliation
(cherry picked from commit 1cde804c773de41520a6148e7d99ab0c23c39ae1)
# Conflicts:
# erpnext/accounts/doctype/payment_reconciliation_allocation/payment_reconciliation_allocation.json
* refactor: update dimension doctypes in hooks
(cherry picked from commit cfb3d872673844f04f5c9dd3f7d7f56288e5dd22)
* refactor: dimensions filter section in payment reconciliation
(cherry picked from commit 20e0acc20a218029d7101a1ba6ff3c1ae03fac02)
* refactor: column break in dimension section
(cherry picked from commit 20576e0f47ba3c4937121bfab1e0d8d395a590ce)
# Conflicts:
# erpnext/accounts/doctype/payment_reconciliation_allocation/payment_reconciliation_allocation.json
* refactor: handle dimension filters
(cherry picked from commit c1fe4bcc64775507a3bd8e02b61274d8dc2d6447)
* refactor: pass dimension filters to query
(cherry picked from commit ff60ec85b85d5548886e247b72cf1262587feba3)
* refactor: set query filters for dimensions
(cherry picked from commit ad8475cb8b24d40b04f86903feee08ecac6aa1f1)
* refactor: pass dimension details to query
(cherry picked from commit 5dc22e1811bb1841bb8c790cc3a1e1315cef6074)
* refactor: replace sql with query builder for Jourals query
(cherry picked from commit 9c5a79209eb014c90aac46a5dd5ed0d9b7cb8f87)
* refactor: partial change on outstanding invoice popup
(cherry picked from commit 2154502955166243e354897d7dcb22d1987c4693)
* fix: typo's and parameter changes
(cherry picked from commit 0ec17590ae062fbda0c14a2806ec1ac07c638593)
* refactor: Credit Note and its Exc gain/loss JE inherits dimensions
(cherry picked from commit ab939cc6e8ab3669f1e9b0f007e9459be180ac32)
* refactor: apply dimension filters on cr/dr notes
(cherry picked from commit 188ff8cde794bb1ef1043f0e47469d65944aac1e)
* chore: test dimension filter output
(cherry picked from commit e3c44231abbbe389a1f815ab77f2d6ff0c614e1b)
* test: dimension inheritance for cr note reconciliation
(cherry picked from commit ba5a7c8cd8ee6fc09b0d81ffbe8b364e584f1f1b)
* refactor: pass dimension values to Gain/Loss journal
(cherry picked from commit c44eb432a59fb3ffb3748e47356068499f1129b1)
# Conflicts:
# erpnext/accounts/utils.py
* test: dimension inheritance in PE reconciliation
(cherry picked from commit 6148fb024b7157d637aa2308e7c856969858468d)
* refactor: pass dimensions on advance allocation
(cherry picked from commit cbd443a78afbc7c58055881e534a8aa56ca4bea6)
* test: dimension inheritance on adv allocation
(cherry picked from commit fcf4687c523202436234814af3da4c4d84f5eba9)
* refactor: dynamic dimension filters in pop up
(cherry picked from commit f8bbb0619cbbbaace8f54a9f8758c3962ebe4725)
* refactor: update dimensions, only if provided
(cherry picked from commit ec0f17ca8bd810e41ae73f5a45f304ba38c63d0a)
* refactor: handle dynamic dimension in order query
(cherry picked from commit 7c2cb70387d7dbb7f976d28919ce21f25a0b6acd)
* chore: resolve conflicts
---------
Co-authored-by: ruthra kumar <ruthra@erpnext.com>
2024-01-28 13:50:08 +05:30
ruthra kumar
1b8f572e80
fix(test): test case for project query
...
(cherry picked from commit 3349dde5e2914bd9e2dbe0ce4de94023bfee2e7f)
2024-01-16 10:55:36 +00:00
rohitwaghchaure
71fe2bcc28
fix: incorrect ordered qty for Subcontracting Order ( #38415 )
...
(cherry picked from commit fddf341f444efa89f80ec0fcb4e35b9b840061f5)
2023-11-29 06:52:36 +00:00
ruthra kumar
0366928db5
test: cost center inheritance from payment
2023-09-03 09:21:26 +05:30
ruthra kumar
79fa562004
test: extend test to cancellation
2023-09-02 14:43:25 +05:30
ruthra kumar
cb6da6ec59
test: deduplicate gain/loss JE on reconciling journals against inv
2023-09-02 13:29:33 +05:30
s-aga-r
305d39f6a1
test: add test case for Subcontract PO update items
2023-08-22 18:24:30 +05:30
ruthra kumar
466734fb4b
fix(test): replace hardcoded reference to adv with dynamic one
2023-08-05 14:11:57 +05:30
ruthra kumar
804afaa647
chore(test): use existing company for unit test
2023-07-27 09:30:38 +05:30
ruthra kumar
47bbb37291
chore: use frappetestcase
2023-07-27 05:54:13 +05:30
ruthra kumar
ae424fdfed
test: assert ledger after cr note cancellation
2023-07-26 22:33:58 +05:30
ruthra kumar
e3d2a2c5bd
test: cr notes against invoice
2023-07-26 22:33:58 +05:30
ruthra kumar
70dd9d0671
chore(test): fix broken unit test
2023-07-26 22:33:58 +05:30
ruthra kumar
f3363e813a
test: journals against sales invoice
2023-07-26 22:33:58 +05:30
ruthra kumar
5695d6a5a6
refactor: unit tests for journals
2023-07-26 22:33:58 +05:30
ruthra kumar
73cc1ba654
refactor: assert payment ledger outstanding in both currencies
2023-07-26 22:33:58 +05:30
ruthra kumar
6e18bb6456
refactor: cancel gain/loss JE on Journal as payment cancellation
2023-07-26 22:33:58 +05:30
ruthra kumar
5e1cd1f227
test: different scenarios for exchange booking
2023-07-26 22:33:58 +05:30
Ankush Menat
a3ea985348
refactor: Use db.set_single_value
( #35668 )
...
I just applied semgrep autofix. Untested completed, review before merging.
```yaml
- id: frappe-set-value-semantics
patterns:
- pattern-either:
- pattern: frappe.db.set_value($DOCTYPE, None, $...AFTER)
- pattern: frappe.db.set_value($DOCTYPE, $DOCTYPE, $...AFTER)
fix: frappe.db.set_single_value($DOCTYPE, $...AFTER)
message: |
If $DOCTYPE is a single doctype then using `frappe.db.set_value` is discouraged for setting values in DB. Use db.set_single_value for single doctype instead.
languages: [python]
severity: ERROR
```
2023-06-13 17:30:38 +05:30
Rohit Waghchaure
e88c5d6d90
fix: travis for subcontracting module
2023-06-02 17:14:18 +05:30
Sagar Sharma
d6433f803b
refactor(minor): rename function to be more descriptive
2023-05-12 11:45:33 +05:30
Sagar Sharma
324bfa9fde
test: fix test case
2022-11-05 16:18:31 +05:30
Sagar Sharma
2effbb55ae
test: Add test case for Subcontracting Receipt GL Entries
2022-08-22 22:14:56 +05:30
Sagar Sharma
c247cf728c
chore: add test for additional-cost
2022-08-19 11:46:36 +05:30
s-aga-r
6d89b2fa28
refactor: backport old subcontracting code
2022-06-20 23:10:02 +05:30
s-aga-r
9a68af36ec
Merge branch 'develop' into subcontracting
2022-06-14 19:13:10 +05:30
Sagar Sharma
213113bc00
Merge branch 'develop' into subcontracting
2022-05-20 12:13:13 +05:30
Sagar Sharma
574181f3d7
test: SubcontractingController
2022-05-20 10:45:33 +05:30
Ankush Menat
494bd9ef78
style: format code with black
2022-03-28 18:52:46 +05:30
Ankush Menat
41a95e5624
fix: ignore empty customer/supplier in item query ( #29610 )
...
* fix: dont try to filter by customer/supplier if None
* test: item query with emtpy supplier
2022-02-03 13:02:13 +05:30
Marica
efcfb825d7
Merge pull request #29257 from marination/fix-reset-wh-defaults
...
fix: Avoid resetting Default wh fields for Manufacture Entry
2022-01-12 16:44:33 +05:30
Ankush Menat
33aad4b950
fix: UOM autocomplete broken
...
All new recent sites seem to have all UOMs as disabled by default. The
desired behaviour is exact opposite of this.
2022-01-11 17:49:30 +05:30
Sagar Sharma
6485ac4e59
fix: misleading "Set Default X" fields after saving ( #28798 )
...
* fix: misleading "Set Default X" fields after saving
* refactor: remove unncessary code and minor formatting
* fix: extend to more doctypes and correct fieldnames
Co-authored-by: Ankush Menat <ankush@frappe.io>
2021-12-09 17:04:00 +05:30
Ankush Menat
8fe5feb6a4
chore: remove all six compat code
2021-11-05 11:16:29 +05:30
Ankush Menat
6098e92ba9
chore: remove utf-8 compat code
2021-11-05 11:16:29 +05:30
Ankush Menat
62fc544280
test: basic tests for controllers/queries ( #27422 )
2021-09-10 12:46:35 +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
Ankush Menat
9891780f5a
perf(minor): remove unnecessary comprehensions (port #25645 )
2021-06-11 18:40:22 +05:30
marination
7877d5a7c2
fix: Create QI Parameters (links) in test cases
2021-01-04 11:10:04 +05:30
Deepesh Garg
a9820cdcf6
fix: Remove every bit of randomness from this test
2020-07-11 19:38:51 +05:30
Deepesh Garg
46bcb46422
fix: Do not use random customers
2020-07-11 18:36:32 +05:30
Deepesh Garg
87eb2827ef
fix: Update tests
2020-07-10 22:45:45 +05:30
Rucha Mahabal
eaa956b994
feat(Healthcare): Rehabilitation Module ( #21216 )
...
* feat: added rehab sub-module doctypes
* feat: rehab module
* feat: prescribe procedures in Patient Encounter
* feat: create Therapy Plan on Encounter submission
* feat: manage item for Therapy Type
* feat: book appointments, get prescribed therapies for Therapy Sessions
* feat: invoice Therapy Sessions
* feat: plan completion progress bar and exercise countsindicators
* feat: Motor Assessment Scale
* feat: add editable card view for exercise steps
* fix: add rehab in healthcare desk page
* fix: card deletion not working when child table is hidden
* feat: automatically fetch therapies according to Body Part
* fix: added tests for Therapy Type and Plan
* fix: add exercises according to body parts in Therapy Type
* fix: label for Exercise Instructions
* fix: exercise cards css
* feat: add dashboard for Therapy Plan
* feat: Patient Assessment Template and Patient Assessment
* feat: add title fields in Therapy Plan and Session
* fix: remove Motor Assessment Scale
* fix: fetch assessment description
* feat: create Patient Assessment from Therapy Session
* fix: anti pattern code
* fix: update desk page
* fix: exercise card rendering
* fix(test): filter out disabled Items in test_mapper
* fix: get stock uom from Stock Settings for Therapy Type Item creation
* fix: multiline SQL query
* fix: permissions for DocTypes
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
2020-04-22 13:07:12 +05:30
Nabin Hait
34c551d9a5
fix: Missing commits from hotfix branch ( #17997 )
...
* fix: merge conflict
* fix: restored missing set_gst_state_and_state_number function
* fix: style linting as per codacy
* fix: Fixes related to customer/lead merging
* fix: merge conflict
* fix: Fixes related to customer/lead merging
* fix: Assign isue/opportunity to user
* fix: Assign isue/opportunity to user
* fix: Replaced Invoice type by GST Category
* fix: merge conflict
* fix: merge conflict
* fix: test cases
* fix: test cases
2019-07-03 10:34:31 +05:30
Rohit Waghchaure
9665a531fc
fix: item variant test cases
2019-04-11 09:56:00 +05:30
Saif Ur Rehman
5085673030
test: fix for Item Tax Template v12
2019-01-11 03:53:43 +05:00
Himanshu Mishra
35b2627112
Item qty based tax (CESS) calculation support ( #15456 )
...
* fix conflicts
* added test case for qty cess
* use company specified in document to get region
2018-11-13 11:13:04 +05:30
rohitwaghchaure
4e8fdf7b3f
[Enhance] Quality Inspection Template ( #12988 )
...
* [Enhance] Quality Inspection Template
* Test case and patch
* Update make_quality_inspection_template.py
2018-02-22 11:03:48 +05:30