Skip to content

Commit

Permalink
fix: resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Oct 21, 2024
1 parent 0a87708 commit 2c46b70
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/overrides/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ def test_so_and_po_after_item_update(self):
)


class TestPlaceOfSupply(IntegrationTestCase):
class TestPlaceOfSupply(FrappeTestCase):
def test_pos_sales_invoice(self):
doc_args = {
"doctype": "Sales Invoice",
Expand Down
6 changes: 0 additions & 6 deletions india_compliance/gst_india/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,19 +414,13 @@ def get_place_of_supply(party_details, doctype):
if gst_state_number and gst_state:
return f"{gst_state_number}-{gst_state}"

<<<<<<< HEAD
party_gstin = party_details.billing_address_gstin or party_details.company_gstin
else:
party_gstin = party_details.company_gstin or party_details.supplier_gstin
=======
pos_gstin = party_details.billing_address_gstin or party_details.company_gstin

elif doctype == "Stock Entry":
pos_gstin = party_details.bill_to_gstin or party_details.bill_from_gstin
else:
# for purchase, subcontracting order and receipt
pos_gstin = party_details.company_gstin or party_details.supplier_gstin
>>>>>>> aafed021 (fix: pos based on account settings (#2647))

if not pos_gstin:
return
Expand Down
5 changes: 0 additions & 5 deletions india_compliance/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ execute:import frappe; frappe.delete_doc_if_exists("DocType", "GSTIN")
[post_model_sync]
india_compliance.patches.v14.set_default_for_overridden_accounts_setting
execute:from india_compliance.gst_india.setup import create_custom_fields; create_custom_fields() #58
<<<<<<< HEAD
execute:from india_compliance.gst_india.setup import create_property_setters; create_property_setters() #7
execute:from india_compliance.income_tax_india.setup import create_custom_fields; create_custom_fields() #1
=======
execute:from india_compliance.gst_india.setup import create_property_setters; create_property_setters() #9
execute:from india_compliance.income_tax_india.setup import create_custom_fields; create_custom_fields() #2
>>>>>>> aafed021 (fix: pos based on account settings (#2647))
india_compliance.patches.post_install.remove_old_fields #2
india_compliance.patches.post_install.set_gst_tax_type
india_compliance.patches.post_install.set_gst_tax_type_in_journal_entry
Expand Down

0 comments on commit 2c46b70

Please sign in to comment.