Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from upstream v13 #65

Merged
merged 585 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
585 commits
Select commit Hold shift + click to select a range
bd2242b
fix: set stock UOM in args to ensure item price is fetched
sagarvora Nov 9, 2022
079fc2d
Merge pull request #32936 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 12, 2022
e93ac3c
feat: page break in SoA pdf
rtdany10 Oct 17, 2022
88ce59a
fix: query condition change
rtdany10 Oct 17, 2022
95f81d3
chore: remove commented line
rtdany10 Oct 27, 2022
40bb2cb
fix: GP incorrect buying amount if no upd on SI and Delivery Note
ruthra-kumar Oct 27, 2022
09ef8ee
test: buying amount of invoices
ruthra-kumar Nov 3, 2022
1ee5c2f
chore: Resolve conflicts
deepeshgarg007 Nov 13, 2022
8733ce5
Merge branch 'version-13-hotfix' into psa_pdf_issue_v13
deepeshgarg007 Nov 13, 2022
d6901e5
chore: Remove raw SQL query
deepeshgarg007 Nov 12, 2022
9c9c660
chore: Remove qb doc reference
deepeshgarg007 Nov 13, 2022
ad648f3
fix: check type for reference name
sagarvora Nov 13, 2022
079cf68
Merge pull request #32943 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 14, 2022
5e46567
Merge pull request #32940 from deepeshgarg007/psa_pdf_issue_v13
deepeshgarg007 Nov 14, 2022
65c9941
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 14, 2022
78ca078
refactor: rewrite `job_card.py` queries in QB
s-aga-r Nov 12, 2022
2b2a4f6
Merge pull request #32949 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 14, 2022
b7ff5fb
Merge pull request #32930 from ruthra-kumar/ambiguous_cost_center_field
ruthra-kumar Nov 14, 2022
cbc8b2d
fix: Label for applicable dimension table
deepeshgarg007 Nov 14, 2022
9e340a8
Merge branch 'version-13-hotfix' into hsn-summary-report
deepeshgarg007 Nov 15, 2022
e1ecc9a
chore(payment_entry): Remove dead validations
gavindsouza Nov 14, 2022
db3f8d2
Merge pull request #32961 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 15, 2022
ee01527
Merge pull request #32953 from gavindsouza/rm-dead-validation-pe
deepeshgarg007 Nov 15, 2022
de3453e
Merge pull request #32934 from rtdany10/hsn-summary-report
deepeshgarg007 Nov 15, 2022
1cf5b23
Merge pull request #32973 from frappe/version-13-hotfix
deepeshgarg007 Nov 15, 2022
f3f6d35
chore(release): Bumped to Version 13.42.0
frappe-bot Nov 15, 2022
3aba14f
fix: cast POS query inputs to integers (backport #32975) (#32978)
mergify[bot] Nov 15, 2022
7831744
ci: fix flake8 URL
deepeshgarg007 Nov 16, 2022
ec6a01d
Merge pull request #32991 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 16, 2022
4ad3e28
fix: Opening journal entry templates
deepeshgarg007 Nov 16, 2022
85d8540
Merge pull request #32995 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 17, 2022
9d5c4ff
chore: hardcode doctype
ankush Nov 17, 2022
30b5d1c
fix: make `is_internal_supplier` read-only
s-aga-r Nov 17, 2022
9191c54
chore: conflicts
s-aga-r Nov 17, 2022
b8aa63b
Merge pull request #33011 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 17, 2022
357ae93
refactor: search queries (backport #33004) (#33008)
mergify[bot] Nov 17, 2022
ab31eb4
fix(pos): item selector image border radius
ssiyad Nov 17, 2022
0070b5e
fix: use `list()` on self mutating iteration
ssiyad Nov 17, 2022
00f990e
Merge pull request #33024 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 18, 2022
431a94b
Merge pull request #33016 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 18, 2022
ecdd849
fix(realtime): Restrict updates to only last modified or current user…
gavindsouza Nov 18, 2022
726c3d3
fix: incorrect fix of conversion factor in PP
rohitwaghchaure Nov 14, 2022
e343536
Merge pull request #33037 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Nov 19, 2022
58f3f2b
fix: Accounting Dimension filtering for Sales and Purchase Report
deepeshgarg007 Nov 18, 2022
61b20c8
Merge pull request #33036 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 19, 2022
dc9b81d
Merge pull request #33041 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 19, 2022
72f9308
fix: linter issue
ruthra-kumar Nov 22, 2022
4834b78
refactor: clean up code in test suite
ruthra-kumar Nov 22, 2022
30b42b2
Merge pull request #32942 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Nov 22, 2022
b839c53
Merge pull request #33075 from frappe/version-13-hotfix
deepeshgarg007 Nov 22, 2022
f106b9e
chore(release): Bumped to Version 13.42.1
frappe-bot Nov 22, 2022
7af4597
fix: create rounding gl entry for PCV during gle post processing
nabinhait Nov 21, 2022
6ae21c9
chore: link payroll entry reference in accrual payroll journal entry
saurabh6790 Nov 18, 2022
07c25ac
fix: validate voucher type while checking journal entry against payro…
saurabh6790 Nov 18, 2022
7688239
Merge pull request #33084 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 23, 2022
6da7b38
fix: only consider draft pending asset repair docs
anandbaburajan Nov 23, 2022
ce6096e
Merge remote-tracking branch 'upstream/version-13' into merge-v13
Nov 23, 2022
8b46da3
Merge branch 'version-13-hotfix' into small-fixes
saurabh6790 Nov 23, 2022
2121714
fix: cannot update auth token until token expiry if credentials change
nextchamp-saqib Nov 23, 2022
eda89a4
Merge pull request #33086 from AnandBaburajan/pending_asset_repair
deepeshgarg007 Nov 24, 2022
b91860d
fix: linter
nextchamp-saqib Nov 24, 2022
10cfcb5
fix: Dispatch address display
deepeshgarg007 Nov 24, 2022
452db7e
Merge pull request #33105 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 24, 2022
776c8c6
Merge pull request #33093 from frappe/einv-reset-client-creds
deepeshgarg007 Nov 24, 2022
b66976b
fix: MR Item `description` and `item_name` gets reset on `qty` change
s-aga-r Nov 25, 2022
eca2d96
fix: disbursable amount on currrent security price
Nov 25, 2022
4492ee4
Merge pull request #33109 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 26, 2022
d38a289
fix: Multicurrency invoice with exchange gain and loss showing up in …
deepeshgarg007 Nov 26, 2022
11978fc
fix: company name with `,` in `Work Order Summary Report`
s-aga-r Nov 27, 2022
2de239c
fix: `Work Order` filter typo in `Job Card Summary Report`
s-aga-r Nov 27, 2022
ffef0cb
fix: company name with `,` in `Job Card Summary Report`
s-aga-r Nov 27, 2022
ce54198
fix: `production_item` filter in `Job Card Summary Report`
s-aga-r Nov 27, 2022
d76e291
Merge pull request #33114 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 27, 2022
b39f367
chore: conflicts
s-aga-r Nov 28, 2022
c3289c2
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 27, 2022
24a3da5
Merge pull request #33124 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 27, 2022
2a0d7ac
Merge pull request #33122 from deepeshgarg007/receivable_payable_mult…
deepeshgarg007 Nov 28, 2022
78e64fa
fix: incorrect balance qty
rohitwaghchaure Nov 28, 2022
c930d64
test: test case for serialized batched item
rohitwaghchaure Nov 28, 2022
0c6a7ce
fix: only show serial no batch selector only once
shariquerik Nov 25, 2022
64fda0d
Merge pull request #33028 from saurabh6790/small-fixes
deepeshgarg007 Nov 29, 2022
99188af
Merge pull request #33157 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 29, 2022
cdb6a4e
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 29, 2022
b08d36c
Merge pull request #33150 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Nov 29, 2022
ff59483
fix: reset `voucher_type` and `voucher_no` if `based_on` is set to `I…
s-aga-r Nov 29, 2022
f7d3f13
chore: make `posting_date` and `posting_time` read-only if `based_on`…
s-aga-r Nov 30, 2022
354f258
Merge pull request #33160 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 29, 2022
ba9220f
Merge pull request #33164 from frappe/version-13-hotfix
deepeshgarg007 Nov 29, 2022
e54b23d
chore(release): Bumped to Version 13.42.2
frappe-bot Nov 29, 2022
4ad9aa2
fix: remove duplicate schema
ruthra-kumar Nov 25, 2022
6f65988
Merge pull request #33173 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Nov 30, 2022
a716f78
fix: add company filter in RFQ Items
s-aga-r Jan 12, 2022
0c4de03
Merge pull request #33176 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Nov 30, 2022
2a4463a
Merge remote-tracking branch 'upstream/version-13' into merge-v13
Dec 2, 2022
635d80d
fix: non empty FG batch picked while completing work order
rohitwaghchaure Dec 5, 2022
ac432ea
Merge pull request #33226 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 5, 2022
84ef814
fix: key error while filtering on date range and different currency
ruthra-kumar Dec 1, 2022
b3ccad8
fix: replace sql code with fields list in get_cached_value
ruthra-kumar Dec 6, 2022
0003e0c
fix: key error on p/l and balance sheet reports on foreign currency
ruthra-kumar Dec 6, 2022
cd5b8ae
Merge pull request #33234 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 6, 2022
b2ef5f7
Merge pull request #33232 from frappe/version-13-hotfix
deepeshgarg007 Dec 6, 2022
1049678
chore(release): Bumped to Version 13.42.3
frappe-bot Dec 6, 2022
2880469
fix: order status in `Production Planning Report`
s-aga-r Dec 5, 2022
bce3506
Merge pull request #33257 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 7, 2022
45f79ef
perf: add indexes on payment entry reference (backport #33288) (#33290)
mergify[bot] Dec 12, 2022
988a327
fix: `Material Request` reference in internal `Sales Order`
s-aga-r Dec 9, 2022
1b22f53
Merge pull request #33307 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 12, 2022
b17ac52
fix: incorrect balance on parent company due to key mismatch
ruthra-kumar Dec 12, 2022
2383026
Merge pull request #33310 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Dec 13, 2022
50b2898
fix: `Enough Parts to Build` in `BOM Stock Report`
s-aga-r Dec 10, 2022
12f11a6
Merge pull request #33321 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 13, 2022
e446460
Merge pull request #33317 from frappe/version-13-hotfix
ankush Dec 13, 2022
b3a9c1e
chore(release): Bumped to Version 13.42.4
frappe-bot Dec 13, 2022
eddb7b4
fix: get_serial_nos_for_fg() missing 1 required positional argument: …
rohitwaghchaure Dec 14, 2022
e5b3748
fix: get_serial_nos not defined
rohitwaghchaure Dec 14, 2022
ab2f250
fix: linter issue
rohitwaghchaure Dec 14, 2022
b13ee4f
fix: translation for warning on Overbilling/-receipt/-delivery
barredterra Dec 13, 2022
c8a2f9f
Merge pull request #33334 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 14, 2022
10ac8d6
chore: resolve merge conflicts
barredterra Dec 14, 2022
0992ca4
chore: resolve merge conflict (2)
barredterra Dec 14, 2022
896bac1
Merge pull request #33343 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 15, 2022
a6241fc
fix: unsupported operand type(s) for +: 'int' and 'NoneType'
rohitwaghchaure Dec 15, 2022
1634448
Merge pull request #33357 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 15, 2022
c3fca3c
fix: disabled items showing in the report 'Itemwise Recommended Reord…
rohitwaghchaure Dec 15, 2022
086e747
fix: conflicts
rohitwaghchaure Dec 16, 2022
799d7b2
refactor: using subquery in get_dr_or_cr_notes to improve performance
ruthra-kumar Dec 16, 2022
ef74c66
Merge pull request #33360 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 16, 2022
2105193
Merge pull request #33367 from ruthra-kumar/using_subquery_for_fetchi…
deepeshgarg007 Dec 17, 2022
b82154c
fix: daily scheduler to identify and fix stock transfer entries havin…
rohitwaghchaure Dec 19, 2022
4dbce87
test: added test case to validate audit for incorrect entries
rohitwaghchaure Dec 19, 2022
b573d97
fix: unsupported operand type(s) for +=: 'int' and 'NoneType'
rohitwaghchaure Dec 19, 2022
2a18067
fix: conflict in hooks file
rohitwaghchaure Dec 20, 2022
4587bb3
fix: conflict in stock_entry
rohitwaghchaure Dec 20, 2022
7ef0c6b
fix: conflict
rohitwaghchaure Dec 20, 2022
684a45f
fix: Cost center filter not working in cash flow report
deepeshgarg007 Dec 20, 2022
e5fd95b
chore: remove print statement
deepeshgarg007 Dec 20, 2022
7825c56
fix: Consolidated financial report
deepeshgarg007 Dec 20, 2022
9692eee
Merge pull request #33392 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 20, 2022
e93af96
Merge pull request #33390 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 20, 2022
3691eec
Merge pull request #33401 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 20, 2022
52d4e2a
Merge pull request #33403 from frappe/version-13-hotfix
deepeshgarg007 Dec 20, 2022
35c71f5
chore(release): Bumped to Version 13.42.5
frappe-bot Dec 20, 2022
6a394c5
fix: typerror on multi warehouse in Packed Items
ruthra-kumar Dec 21, 2022
d58719a
test: type error on bundled products with different warehouses
ruthra-kumar Dec 21, 2022
8e1c0cd
fix: No permission to read doctype
nabinhait Sep 15, 2022
7a97cc4
Merge pull request #33413 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Dec 22, 2022
ae3581c
Merge pull request #33416 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Dec 24, 2022
1068d0e
fix: `shipping_address` in PO
s-aga-r Dec 24, 2022
91dad90
chore: conflicts
s-aga-r Dec 25, 2022
820e822
chore: linter
s-aga-r Dec 25, 2022
3aa335d
refactor: Customer and Supplier Ledger summary will have hidden field…
mergify[bot] Dec 26, 2022
b634e44
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 26, 2022
7f15744
Merge pull request #33436 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 26, 2022
c3b9059
feat: provision to setup opening balances for earnings and deductions…
saurabh6790 Dec 21, 2022
bc04e05
fix: use get_all instead of get_value as get_value api dont supports …
saurabh6790 Dec 26, 2022
7b813d6
fix: patch
saurabh6790 Dec 26, 2022
64454e0
fix: provision to set tax_deducted_till_date after document is subnmm…
saurabh6790 Dec 26, 2022
0cf9702
Merge pull request #33412 from saurabh6790/provision-to-set-earnings-…
nabinhait Dec 26, 2022
19feebb
fix: `shipping_address` for non-drop shipping item
s-aga-r Dec 26, 2022
707eb9e
Merge pull request #33446 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Dec 27, 2022
79643a5
chore: linter (#33455)
saurabh6790 Dec 27, 2022
cbda28d
chore: release v13 (#33453)
frappe-pr-bot Dec 27, 2022
2808183
Merge remote-tracking branch 'upstream/version-13' into merge-v13
Dec 28, 2022
334219e
fix: Tax withheld vouchers naming rule (#33467)
deepeshgarg007 Dec 28, 2022
6e363a6
fix: use base_net_amount in case of missing stock qty (#33457)
ruthra-kumar Dec 29, 2022
5ec11ba
fix: reconciled credit notes being fetched again in Payment Reconcili…
ruthra-kumar Dec 29, 2022
37ae2df
fix: reconciled credit notes being fetched again in Payment Reconcili…
ruthra-kumar Dec 29, 2022
acf8b46
fix: Conversion factor error for invoices without item code (petty ex…
deepeshgarg007 Dec 29, 2022
c850635
fix: ERR journals reported in AR/AP
ruthra-kumar Dec 16, 2022
ec15965
test: err for party should be in AR/AP report
ruthra-kumar Dec 18, 2022
b4589d8
fix: reconciled credit notes being fetched again in Payment Reconcili…
deepeshgarg007 Dec 29, 2022
8d99763
chore(release): Bumped to Version 13.42.6
frappe-bot Dec 29, 2022
92c895a
Merge pull request #33460 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Dec 29, 2022
cf133b2
fix: debit note not pulled on reconciliation tool
ruthra-kumar Dec 29, 2022
4acaa3e
Merge pull request #33475 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Dec 30, 2022
529fb41
Revert "fix: daily scheduler to identify and fix stock transfer entri…
rohitwaghchaure Dec 30, 2022
c18a451
fix: conflicts
rohitwaghchaure Dec 30, 2022
1c7c591
fix: conflicts
rohitwaghchaure Dec 30, 2022
8521e12
fix: conflicts
rohitwaghchaure Dec 30, 2022
b2333d3
Merge pull request #33483 from ruthra-kumar/debit_note_not_pulled_in_…
ruthra-kumar Dec 30, 2022
f0475e9
fix: linter
rohitwaghchaure Dec 30, 2022
e01ff0d
fix: debit note not pulled on reconciliation tool
ruthra-kumar Dec 29, 2022
6568868
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 30, 2022
8156cb4
Merge pull request #33490 from frappe/mergify/bp/version-13-hotfix/pr…
rohitwaghchaure Dec 30, 2022
b16bfa5
Merge pull request #33491 from frappe/mergify/bp/version-13/pr-33483
deepeshgarg007 Dec 30, 2022
d97e673
chore(release): Bumped to Version 13.42.7
frappe-bot Dec 30, 2022
038fa4d
chore: resolve conflicts
deepeshgarg007 Dec 30, 2022
3f9b892
chore: resolve conflicts
deepeshgarg007 Dec 30, 2022
6ab9134
Merge pull request #33478 from frappe/mergify/bp/version-13-hotfix/pr…
deepeshgarg007 Dec 31, 2022
4ba2f1e
fix: Multi-currency issues in Bank Reconciliation Tool (backport #334…
mergify[bot] Jan 2, 2023
66ba098
fix: add missing 'ordered_qty' to get_bin_details
dj12djdjs Dec 31, 2022
196ba67
test: get_item_details contains bin details
dj12djdjs Dec 31, 2022
c9bf062
fix: consider child nodes while getting bin details
s-aga-r Dec 29, 2022
4fb2d2c
chore: use `frappe.qb` instead of `frappe.db.get_value`
s-aga-r Dec 29, 2022
299e02a
chore: linter
s-aga-r Jan 2, 2023
9b1384f
Merge pull request #33499 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 2, 2023
6c7815c
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 2, 2023
985c47f
Merge pull request #33501 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 2, 2023
d2f86ea
feat: explicit time period for mark attendance
scdanieli Nov 28, 2022
a2bd8d2
test: get_unmarked_days
scdanieli Dec 1, 2022
03af48b
chore(style): fix formatting
ruchamahabal Jan 3, 2023
8df1151
fix(test): holiday list dates in attendance test setup
ruchamahabal Jan 3, 2023
e5a187e
fix(test): monthly attendance sheet
ruchamahabal Jan 3, 2023
3c83ec5
Merge pull request #33510 from ruchamahabal/mark-attendance-period
ruchamahabal Jan 3, 2023
6516e80
fix(ecommerce): remove query parameters from referrer (backport #3326…
mergify[bot] Jan 3, 2023
ea99ac9
fix: Deferred revenue date comparison (backport #33515) (#33517)
mergify[bot] Jan 3, 2023
865f233
fix: Missing opening entry in general ledger (backport #33519) (#33527)
mergify[bot] Jan 3, 2023
208d541
Merge branch 'version-13' into version-13-hotfix
deepeshgarg007 Jan 3, 2023
b6ed069
chore: resolve conflicts
deepeshgarg007 Jan 3, 2023
be48b4a
chore: resolve conflicts
deepeshgarg007 Jan 4, 2023
ffae9a3
Merge remote-tracking branch 'upstream/version-13' into merge-v13
Jan 4, 2023
1fa0fe7
Merge pull request #33512 from frappe/version-13-hotfix
deepeshgarg007 Jan 4, 2023
3efa521
chore(release): Bumped to Version 13.43.0
frappe-bot Jan 4, 2023
a50ad1d
fix: remove unnecessary permissions from Appointment and Appointment …
DaizyModi Jan 4, 2023
2394f64
chore: enable `No Copy` attribute for `route` in Item Group
s-aga-r Jan 5, 2023
7d0a118
Merge pull request #33546 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 5, 2023
c20d469
fix: remove hard-coded roles for populating leave balance reports (#2…
ruchamahabal Jan 6, 2023
e9d85a3
ci: bump node in release workflow (backport #33574) (#33576)
mergify[bot] Jan 9, 2023
0b952e8
fix: better handling of duplicate bundle items
ruthra-kumar Jan 6, 2023
410e617
Merge pull request #33587 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 9, 2023
66bf107
fix: don't check other warehouse ledgers to calculate valuation rate
rohitwaghchaure Jan 10, 2023
65dd72a
Merge pull request #33600 from frappe/version-13-hotfix
deepeshgarg007 Jan 10, 2023
ab30e2a
chore(release): Bumped to Version 13.43.1
frappe-bot Jan 10, 2023
2874116
Merge pull request #33602 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 10, 2023
a450c8d
fix: better comparision of difference value between stock and account
vorasmit Jan 11, 2023
29dcce5
Merge pull request #33615 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 11, 2023
7dcf0f0
fix: only group similar items in print format if group_same_items is …
mergify[bot] Jan 12, 2023
f3b6b46
chore: reuse doc object in test_pick_list_grouping_before_print (back…
mergify[bot] Jan 12, 2023
a46aa80
fix: Updating SO throws ordered_qty not allowed to change after submi…
ruthra-kumar Jan 12, 2023
e23d7aa
Merge pull request #33629 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Jan 13, 2023
42fe63d
fix: asset value in fixed asset register (#33608)
mergify[bot] Jan 15, 2023
e4af69b
chore: `Sales Order` link in `Pick List`
s-aga-r Jan 15, 2023
eef0f45
fix: Return against internal purchase invoice (#33635)
mergify[bot] Jan 16, 2023
0f0a2b1
revert: Reverting changes done on 33495 (#33662)
ruthra-kumar Jan 16, 2023
f1bb893
Revert "fix: Updating SO throws ordered_qty not allowed to change aft…
ruthra-kumar Jan 16, 2023
2f81f15
fix: allow to create sales order from expired quotation (#33582)
mergify[bot] Jan 16, 2023
ff48c44
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 16, 2023
5a4d92b
Merge pull request #33666 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 16, 2023
6ebc9c5
Merge pull request #33669 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Jan 16, 2023
edc20ae
Merge pull request #33672 from frappe/mergify/bp/version-13-hotfix/pr…
ruthra-kumar Jan 16, 2023
5f7dc8a
fix: handle post depr entries fail and fix asset repair link
anandbaburajan Jan 16, 2023
2b3a0ba
Merge branch 'version-13-hotfix' into misc_asset_fixes_v13
anandbaburajan Jan 16, 2023
97488ae
fix: Sales ORder Connections on Material Request
FHenry Jan 16, 2023
847171b
Merge pull request #33693 from frappe/mergify/bp/version-13-hotfix/pr…
s-aga-r Jan 17, 2023
ec780ac
chore: ignore b028
ankush Jan 17, 2023
f1670e9
Merge branch 'version-13-hotfix' into misc_asset_fixes_v13
anandbaburajan Jan 17, 2023
f2d83b1
Merge pull request #33689 from AnandBaburajan/misc_asset_fixes_v13
anandbaburajan Jan 17, 2023
959eae1
Merge pull request #33702 from frappe/version-13-hotfix
deepeshgarg007 Jan 17, 2023
550daf2
chore(release): Bumped to Version 13.43.2
frappe-bot Jan 17, 2023
e3a5a1e
Merge remote-tracking branch 'upstream/version-13' into merge-v13
Jan 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/helper/.flake8_strict
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ ignore =
F841,
E713,
E712,
B023
B023,
B028


max-line-length = 200
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js v14
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
- name: Setup dependencies
run: |
npm install @semantic-release/git @semantic-release/exec --no-save
Expand All @@ -28,4 +28,4 @@ jobs:
GIT_AUTHOR_EMAIL: "developers@frappe.io"
GIT_COMMITTER_NAME: "Frappe PR Bot"
GIT_COMMITTER_EMAIL: "developers@frappe.io"
run: npx semantic-release
run: npx semantic-release
2 changes: 1 addition & 1 deletion .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: bash ${GITHUB_WORKSPACE}/.github/helper/install.sh

- name: Run Tests
run: cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app erpnext --use-orchestrator
run: 'cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app erpnext --total-builds 2 --build-number ${{ matrix.container }}'
env:
TYPE: server
CI_BUILD_ID: ${{ github.run_id }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ repos:
- id: check-merge-conflict
- id: check-ast

- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies: [
Expand Down
18 changes: 7 additions & 11 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,21 @@ erpnext/selling @nextchamp-saqib @deepeshgarg007 @ruthra-kumar
erpnext/support/ @nextchamp-saqib @deepeshgarg007
pos* @nextchamp-saqib

erpnext/buying/ @marination @rohitwaghchaure @s-aga-r
erpnext/e_commerce/ @marination
erpnext/maintenance/ @marination @rohitwaghchaure @s-aga-r
erpnext/manufacturing/ @marination @rohitwaghchaure @s-aga-r
erpnext/portal/ @marination
erpnext/quality_management/ @marination @rohitwaghchaure @s-aga-r
erpnext/shopping_cart/ @marination
erpnext/stock/ @marination @rohitwaghchaure @s-aga-r
erpnext/buying/ @rohitwaghchaure @s-aga-r
erpnext/maintenance/ @rohitwaghchaure @s-aga-r
erpnext/manufacturing/ @rohitwaghchaure @s-aga-r
erpnext/quality_management/ @rohitwaghchaure @s-aga-r
erpnext/stock/ @rohitwaghchaure @s-aga-r


erpnext/crm/ @NagariaHussain
erpnext/education/ @rutwikhdev
erpnext/healthcare/ @chillaranand
erpnext/hr/ @ruchamahabal
erpnext/non_profit/ @ruchamahabal
erpnext/payroll @ruchamahabal
erpnext/projects/ @ruchamahabal

erpnext/controllers @deepeshgarg007 @nextchamp-saqib @rohitwaghchaure @marination
erpnext/patches/ @deepeshgarg007 @nextchamp-saqib @marination rohitwaghchaure
erpnext/patches/ @deepeshgarg007 @nextchamp-saqib @rohitwaghchaure
erpnext/public/ @nextchamp-saqib @marination

.github/ @ankush
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ GNU/General Public License (see [license.txt](license.txt))

The ERPNext code is licensed as GNU General Public License (v3) and the Documentation is licensed as Creative Commons (CC-BY-SA-3.0) and the copyright is owned by Frappe Technologies Pvt Ltd (Frappe) and Contributors.

By contributing to ERPNext, you agree that your contributions will be licensed under its GNU General Public License (v3).

---

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion erpnext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from erpnext.hooks import regional_overrides

__version__ = "13.38.0"
__version__ = "13.43.2"


def get_default_company(user=None):
Expand Down
2 changes: 1 addition & 1 deletion erpnext/accounts/deferred_revenue.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def _book_deferred_revenue_or_expense(
return

# check if books nor frozen till endate:
if accounts_frozen_upto and (end_date) <= getdate(accounts_frozen_upto):
if accounts_frozen_upto and getdate(end_date) <= getdate(accounts_frozen_upto):
end_date = get_last_day(add_days(accounts_frozen_upto, 1))

if via_journal_entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

frappe.ui.form.on('Accounting Dimension Filter', {
refresh: function(frm, cdt, cdn) {
if (frm.doc.accounting_dimension) {
frm.set_df_property('dimensions', 'label', frm.doc.accounting_dimension, cdn, 'dimension_value');
}

let help_content =
`<table class="table table-bordered" style="background-color: var(--scrollbar-track-color);">
<tr><td>
Expand Down Expand Up @@ -68,6 +64,7 @@ frappe.ui.form.on('Accounting Dimension Filter', {
frm.clear_table("dimensions");
let row = frm.add_child("dimensions");
row.accounting_dimension = frm.doc.accounting_dimension;
frm.fields_dict["dimensions"].grid.update_docfield_property("dimension_value", "label", frm.doc.accounting_dimension);
frm.refresh_field("dimensions");
frm.trigger('setup_filters');
},
Expand Down
13 changes: 3 additions & 10 deletions erpnext/accounts/doctype/bank_guarantee/bank_guarantee.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,13 @@ frappe.ui.form.on('Bank Guarantee', {

reference_docname: function(frm) {
if (frm.doc.reference_docname && frm.doc.reference_doctype) {
let fields_to_fetch = ["grand_total"];
let party_field = frm.doc.reference_doctype == "Sales Order" ? "customer" : "supplier";

if (frm.doc.reference_doctype == "Sales Order") {
fields_to_fetch.push("project");
}

fields_to_fetch.push(party_field);
frappe.call({
method: "erpnext.accounts.doctype.bank_guarantee.bank_guarantee.get_vouchar_detials",
method: "erpnext.accounts.doctype.bank_guarantee.bank_guarantee.get_voucher_details",
args: {
"column_list": fields_to_fetch,
"doctype": frm.doc.reference_doctype,
"docname": frm.doc.reference_docname
"bank_guarantee_type": frm.doc.bg_type,
"reference_name": frm.doc.reference_docname
},
callback: function(r) {
if (r.message) {
Expand Down
29 changes: 15 additions & 14 deletions erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
# For license information, please see license.txt


import json

import frappe
from frappe import _
from frappe.desk.search import sanitize_searchfield
from frappe.model.document import Document


Expand All @@ -25,14 +22,18 @@ def on_submit(self):


@frappe.whitelist()
def get_vouchar_detials(column_list, doctype, docname):
column_list = json.loads(column_list)
for col in column_list:
sanitize_searchfield(col)
return frappe.db.sql(
""" select {columns} from `tab{doctype}` where name=%s""".format(
columns=", ".join(column_list), doctype=doctype
),
docname,
as_dict=1,
)[0]
def get_voucher_details(bank_guarantee_type: str, reference_name: str):
if not isinstance(reference_name, str):
raise TypeError("reference_name must be a string")

fields_to_fetch = ["grand_total"]

if bank_guarantee_type == "Receiving":
doctype = "Sales Order"
fields_to_fetch.append("customer")
fields_to_fetch.append("project")
else:
doctype = "Purchase Order"
fields_to_fetch.append("supplier")

return frappe.db.get_value(doctype, reference_name, fields_to_fetch, as_dict=True)
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def reconcile_vouchers(bank_transaction_name, vouchers):
dict(
account=account, voucher_type=voucher["payment_doctype"], voucher_no=voucher["payment_name"]
),
["credit", "debit"],
["credit_in_account_currency as credit", "debit_in_account_currency as debit"],
as_dict=1,
)
gl_amount, transaction_amount = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_paid_amount(payment_entry, currency, bank_account):
)
elif doc.payment_type == "Pay":
paid_amount_field = (
"paid_amount" if doc.paid_to_account_currency == currency else "base_paid_amount"
"paid_amount" if doc.paid_from_account_currency == currency else "base_paid_amount"
)

return frappe.db.get_value(
Expand Down
5 changes: 3 additions & 2 deletions erpnext/accounts/doctype/fiscal_year/fiscal_year.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,6 @@ def auto_create_fiscal_year():


def get_from_and_to_date(fiscal_year):
fields = ["year_start_date as from_date", "year_end_date as to_date"]
return frappe.db.get_value("Fiscal Year", fiscal_year, fields, as_dict=1)
fields = ["year_start_date", "year_end_date"]
cached_results = frappe.get_cached_value("Fiscal Year", fiscal_year, fields, as_dict=1)
return dict(from_date=cached_results.year_start_date, to_date=cached_results.year_end_date)
4 changes: 2 additions & 2 deletions erpnext/accounts/doctype/journal_entry/journal_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ frappe.ui.form.on("Journal Entry", {
var update_jv_details = function(doc, r) {
$.each(r, function(i, d) {
var row = frappe.model.add_child(doc, "Journal Entry Account", "accounts");
row.account = d.account;
row.balance = d.balance;
frappe.model.set_value(row.doctype, row.name, "account", d.account)
frappe.model.set_value(row.doctype, row.name, "balance", d.balance)
});
refresh_field("accounts");
}
Expand Down
4 changes: 3 additions & 1 deletion erpnext/accounts/doctype/journal_entry/journal_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ def apply_tax_withholding(self):
}
)

tax_withholding_details = get_party_tax_withholding_details(inv, self.tax_withholding_category)
tax_withholding_details, advance_taxes, voucher_wise_amount = get_party_tax_withholding_details(
inv, self.tax_withholding_category
)

if not tax_withholding_details:
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,6 @@ frappe.ui.form.on("Journal Entry Template", {

frm.trigger("clear_child");
switch(frm.doc.voucher_type){
case "Opening Entry":
frm.set_value("is_opening", "Yes");
frappe.call({
type:"GET",
method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts",
args: {
"company": frm.doc.company
},
callback: function(r) {
if(r.message) {
add_accounts(frm.doc, r.message);
}
}
});
break;
case "Bank Entry":
case "Cash Entry":
frappe.call({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ frappe.ui.form.on('Opening Invoice Creation Tool', {
frm.dashboard.reset();
frm.doc.import_in_progress = true;
}
if (data.user != frappe.session.user) return;
if (data.count == data.total) {
setTimeout((title) => {
frm.doc.import_in_progress = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ def publish(index, total, doctype):
dict(
title=_("Opening Invoice Creation In Progress"),
message=_("Creating {} out of {} {}").format(index + 1, total, doctype),
user=frappe.session.user,
count=index + 1,
total=total,
),
user=frappe.session.user,
)


Expand Down
35 changes: 28 additions & 7 deletions erpnext/accounts/doctype/payment_entry/payment_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ frappe.ui.form.on('Payment Entry', {

$.each(tax_fields, function(i, fieldname) { tax[fieldname] = 0.0; });

frm.doc.paid_amount_after_tax = frm.doc.paid_amount;
frm.doc.paid_amount_after_tax = frm.doc.base_paid_amount;
});
},

Expand Down Expand Up @@ -1202,7 +1202,7 @@ frappe.ui.form.on('Payment Entry', {
}

cumulated_tax_fraction += tax.tax_fraction_for_current_item;
frm.doc.paid_amount_after_tax = flt(frm.doc.paid_amount/(1+cumulated_tax_fraction))
frm.doc.paid_amount_after_tax = flt(frm.doc.base_paid_amount/(1+cumulated_tax_fraction))
});
},

Expand Down Expand Up @@ -1234,6 +1234,7 @@ frappe.ui.form.on('Payment Entry', {
frm.doc.total_taxes_and_charges = 0.0;
frm.doc.base_total_taxes_and_charges = 0.0;

let company_currency = frappe.get_doc(":Company", frm.doc.company).default_currency;
let actual_tax_dict = {};

// maintain actual tax rate based on idx
Expand All @@ -1254,8 +1255,8 @@ frappe.ui.form.on('Payment Entry', {
}
}

tax.tax_amount = current_tax_amount;
tax.base_tax_amount = tax.tax_amount * frm.doc.source_exchange_rate;
// tax accounts are only in company currency
tax.base_tax_amount = current_tax_amount;
current_tax_amount *= (tax.add_deduct_tax == "Deduct") ? -1.0 : 1.0;

if(i==0) {
Expand All @@ -1264,9 +1265,29 @@ frappe.ui.form.on('Payment Entry', {
tax.total = flt(frm.doc["taxes"][i-1].total + current_tax_amount, precision("total", tax));
}

tax.base_total = tax.total * frm.doc.source_exchange_rate;
frm.doc.total_taxes_and_charges += current_tax_amount;
frm.doc.base_total_taxes_and_charges += current_tax_amount * frm.doc.source_exchange_rate;
// tac accounts are only in company currency
tax.base_total = tax.total

// calculate total taxes and base total taxes
if(frm.doc.payment_type == "Pay") {
// tax accounts only have company currency
if(tax.currency != frm.doc.paid_to_account_currency) {
//total_taxes_and_charges has the target currency. so using target conversion rate
frm.doc.total_taxes_and_charges += flt(current_tax_amount / frm.doc.target_exchange_rate);

} else {
frm.doc.total_taxes_and_charges += current_tax_amount;
}
} else if(frm.doc.payment_type == "Receive") {
if(tax.currency != frm.doc.paid_from_account_currency) {
//total_taxes_and_charges has the target currency. so using source conversion rate
frm.doc.total_taxes_and_charges += flt(current_tax_amount / frm.doc.source_exchange_rate);
} else {
frm.doc.total_taxes_and_charges += current_tax_amount;
}
}

frm.doc.base_total_taxes_and_charges += tax.base_tax_amount;

frm.refresh_field('taxes');
frm.refresh_field('total_taxes_and_charges');
Expand Down
Loading