Closed ljain112 closed 4 months ago
:tada: This issue has been resolved in version 15.10.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 14.29.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 15.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 14.30.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Frappe Support Issue: https://support.frappe.io/app/hd-ticket/18556
Error log App Versions
{ "ecommerce_integrations": "1.20.1", "erpnext": "14.70.9", "erpnext_bio_metric": "0.0.1", "erpnext_org_structure": "0.0.1", "frappe": "14.77.5", "hrms": "14.28.1", "india_compliance": "14.29.0", "insights": "2.2.2", "payments": "0.0.1", "rangsutra": "0.0.1", "rangsutra_custom_reports": "0.0.1" }
Route
Form/POS Invoice/new-pos-invoice-sbiogeaatw
Traceback
Traceback (most recent call last): File "apps/frappe/frappe/app.py", line 97, in application response = frappe.api.handle() File "apps/frappe/frappe/api.py", line 55, in handle return frappe.handler.handle() File "apps/frappe/frappe/handler.py", line 48, in handle data = execute_cmd(cmd) File "apps/frappe/frappe/handler.py", line 86, in execute_cmd return frappe.call(method, frappe.form_dict) File "apps/frappe/frappe/init.py", line 1619, in call return fn(*args, *newargs) File "apps/frappe/frappe/desk/form/save.py", line 31, in savedocs doc.save() File "apps/frappe/frappe/model/document.py", line 310, in save return self._save(args, kwargs) File "apps/frappe/frappe/model/document.py", line 332, in _save return self.insert() File "apps/frappe/frappe/model/document.py", line 265, in insert self.run_before_save_methods() File "apps/frappe/frappe/model/document.py", line 1061, in run_before_save_methods self.run_method("validate") File "apps/frappe/frappe/model/document.py", line 931, in run_method out = Document.hook(fn)(self, *args, kwargs) File "apps/frappe/frappe/model/document.py", line 1283, in composer return composed(self, method, *args, *kwargs) File "apps/frappe/frappe/model/document.py", line 1267, in runner add_to_return_value(self, f(self, method, args, kwargs)) File "apps/india_compliance/india_compliance/gst_india/overrides/transaction.py", line 1552, in validate_transaction validate_sales_reverse_charge(doc) File "apps/india_compliance/india_compliance/gst_india/overrides/transaction.py", line 714, in validate_sales_reverse_charge if doc.is_reverse_charge and not doc.billing_address_gstin: AttributeError: 'POSInvoice' object has no attribute 'is_reverse_charge'
Request Data
{ "type": "POST", "args": { "doc": "{\"docstatus\":0,\"doctype\":\"POS Invoice\",\"name\":\"new-pos-invoice-tyqmbvmhvg\",\"islocal\":1,\"unsaved\":1,\"owner\":\"archana@rangsutra.com\",\"naming_series\":\"POS/.financial_year./.custom_naming_series_no.####\",\"is_pos\":1,\"is_return\":0,\"update_billed_amount_in_sales_order\":0,\"update_billed_amount_in_delivery_note\":1,\"company\":\"Rangsutra Crafts India Ltd\",\"posting_date\":\"2024-07-03\",\"set_posting_time\":1,\"currency\":\"INR\",\"selling_price_list\":\"Standard Selling\",\"price_list_currency\":\"INR\",\"ignore_pricing_rule\":0,\"update_stock\":1,\"total_billing_amount\":0,\"redeem_loyalty_points\":0,\"apply_discount_on\":\"Grand Total\",\"allocate_advances_automatically\":0,\"write_off_outstanding_amount_automatically\":0,\"group_same_items\":0,\"is_discounted\":0,\"status\":\"Draft\",\"party_account_currency\":\"INR\",\"is_opening\":\"No\",\"payment_source\":\"\",\"items\":[{\"docstatus\":0,\"doctype\":\"POS Invoice Item\",\"name\":\"new-pos-invoice-item-ttobomahfs\",\"islocal\":1,\"unsaved\":1,\"owner\":\"archana@rangsutra.com\",\"has_item_scanned\":0,\"stock_uom\":\"Nos\",\"margin_type\":\"\",\"is_free_item\":0,\"grant_commission\":1,\"delivered_by_supplier\":0,\"is_fixed_asset\":0,\"enable_deferred_revenue\":0,\"allow_zero_valuation_rate\":0,\"page_break\":0,\"parent\":\"new-pos-invoice-tyqmbvmhvg\",\"parentfield\":\"items\",\"parenttype\":\"POS Invoice\",\"idx\":1,\"qty\":1,\"uom\":\"Nos\",\"conversion_factor\":1,\"stock_qty\":1,\"price_list_rate\":1150,\"base_price_list_rate\":1150,\"margin_rate_or_amount\":0,\"rate_with_margin\":0,\"discount_percentage\":0,\"discount_amount\":0,\"base_rate_with_margin\":0,\"rate\":1150,\"amount\":1150,\"base_rate\":1150,\"base_amount\":1150,\"net_rate\":1026.79,\"net_amount\":1026.7857142857142,\"base_net_rate\":1026.79,\"base_net_amount\":1026.79,\"taxable_value\":0,\"igst_rate\":0,\"cgst_rate\":0,\"sgst_rate\":0,\"cess_rate\":0,\"cess_non_advol_rate\":0,\"igst_amount\":0,\"cgst_amount\":0,\"sgst_amount\":0,\"cess_amount\":0,\"cess_non_advol_amount\":0,\"weight_per_unit\":0,\"total_weight\":0,\"actual_batch_qty\":0,\"actual_qty\":2,\"delivered_qty\":0,\"gst_hsn_code\":\"62114210\",\"item_code\":\"RS23MUMNSH02MS-S\",\"weight_uom\":\"Kgs\",\"barcode\":null,\"pricing_rules\":\"\",\"item_name\":\"Musafir Mustard Half Sleeve Shirt\",\"description\":\"
This Mustard Shirt comes with a chest pocket, half sleeves, and a slit hem
New Delhi
\nDelhi, State Code: 07
India
\n\",\"shipping_address_name\":null,\"shipping_address\":null,\"company_gstin\":\"07AADCR3731P1Z1\",\"tax_category\":null,\"place_of_supply\":\"07-Delhi\",\"contact_person\":\"Priya-Priya\",\"contact_email\":\"\",\"contact_mobile\":\"9650468079\",\"contact_display\":\"Priya\",\"customer_group\":\"Retail Store\",\"territory\":\"All Territories\",\"language\":\"en\",\"payment_terms_template\":null}", "action": "Save" }, "btn": { "jQuery360038900307835238411": { "events": { "click": [ { "type": "click", "origType": "click", "guid": 21381, "namespace": "" } ] } } }, "freeze": true, "headers": {}, "error_handlers": {}, "url": "/api/method/frappe.desk.form.save.savedocs" }
Response Data
{ "exception": "AttributeError: 'POSInvoice' object has no attribute 'is_reverse_charge'" }