Closed Simiil closed 2 years ago
Because of this error, it is not possible to make a POS Closing Entry. Even if a tax_id is entered.
I did not set company_address:
frappe-bench/apps/erpnext/erpnext/regional/germany/accounts_controller.py:
REQUIRED_FIELDS = {
"Sales Invoice": [
{
"field_name": "company_address",
"regulation": "§ 14 Abs. 4 Nr. 1 UStG"
},
{
"field_name": "company_tax_id",
"regulation": "§ 14 Abs. 4 Nr. 2 UStG"
},
{
"field_name": "taxes",
"regulation": "§ 14 Abs. 4 Nr. 8 UStG"
},
{
"field_name": "customer_address",
"regulation": "§ 14 Abs. 4 Nr. 1 UStG",
"condition": "base_grand_total > 250"
}
]
}
I have the same issue when creating a sales invoice in a german environment.
This issue has been automatically marked as inactive because it has not had recent activity and it wasn't validated by maintainer team. It will be closed within a week if no further activity occurs.
Using a german company without tax-id results in a hard error on a User Account with german translations
After analyzing the error and the code, it seems to be a issue when translating the error message:
this translation on line 9550 seems to change the case of a paramater to an upper case R (Regulation instead of regulation)
Context information
version: erpnext 13.x.x-develop frappe 13.x.x-develop
stacktrace:
Steps to reproduce the issue
Observed result
everytime the company is in use, the error occus
Stacktrace / full error message