diff --git a/addons/l10n_in/__init__.py b/addons/l10n_in/__init__.py index 67dee8c60db..dc5e6b693d1 100644 --- a/addons/l10n_in/__init__.py +++ b/addons/l10n_in/__init__.py @@ -1,2 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import models diff --git a/addons/l10n_in/__manifest__.py b/addons/l10n_in/__manifest__.py index 476a3b5460d..2dd8452e84f 100644 --- a/addons/l10n_in/__manifest__.py +++ b/addons/l10n_in/__manifest__.py @@ -18,12 +18,19 @@ Sheet, now only Vertical format has been permitted Which is Supported By Odoo. """, 'category': 'Localization', 'depends': [ - 'account', + 'account_tax_python', ], 'data': [ 'data/account_data.xml', 'data/l10n_in_chart_data.xml', 'data/account_tax_template_data.xml', + 'data/account_fiscal_position_data.xml', + 'data/res_country_state_data.xml', 'data/account_chart_template_data.yml', + 'views/product_template_view.xml', + 'views/report_invoice.xml', + 'views/res_company_view.xml', + 'views/res_country_state_view.xml', + 'views/res_partner_views.xml', ], } diff --git a/addons/l10n_in/data/account_data.xml b/addons/l10n_in/data/account_data.xml index cd46677af1b..724b3e3e876 100644 --- a/addons/l10n_in/data/account_data.xml +++ b/addons/l10n_in/data/account_data.xml @@ -3,26 +3,17 @@ - - VAT 1% + + SGST - - VAT 2.5% + + CGST - - VAT 4% + + IGST - - VAT 12% - - - VAT 12.5% - - - VAT 14% - - - VAT 15% + + Cess diff --git a/addons/l10n_in/data/account_fiscal_position_data.xml b/addons/l10n_in/data/account_fiscal_position_data.xml new file mode 100644 index 00000000000..d36e31fc1d0 --- /dev/null +++ b/addons/l10n_in/data/account_fiscal_position_data.xml @@ -0,0 +1,140 @@ + + + + + + + Inter State + + + + + Export + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/l10n_in/data/account_tax_template_data.xml b/addons/l10n_in/data/account_tax_template_data.xml index e564bba381f..0261b910602 100644 --- a/addons/l10n_in/data/account_tax_template_data.xml +++ b/addons/l10n_in/data/account_tax_template_data.xml @@ -1,659 +1,718 @@ - - - Tax to Pay - taxes - - - - Excise Duty - taxes - - - - Excise Duty 12.5% - taxes - - - - Excise Duty Collected on Sales - taxes - - - - Excise Duty Paid on Purchase - taxes - - - - Sales Tax - taxes - - - - Sales Tax 4% - taxes - - - - Sales Tax 4% Collected on Sale - taxes - - - - Sales Tax 4% Paid on Purchase - taxes - - - - Sales Tax 12% - taxes - - - - Sales Tax 12% Collected on Sale - taxes - - - - Sales Tax 12% Paid on Purchase - taxes - - - - Sales Tax 15% - taxes - - - - Sales Tax 15% Collected on Sale - taxes - - - - Sales Tax 15% Paid on Purchase - taxes - - - - Service Tax - taxes - - - - Service Tax 14% - taxes - - - - Service Tax Collected on Sales of Services - taxes - - - - Swachh Bharat Cess 0.5% Service Tax Collected on Sales of Services - taxes - - - - Krishi Kalayan Cess 0.5% Service Tax Collected on Sales of Services - taxes - - - - Service Tax Paid on Purchase of Services - taxes - - - - Swachh Bharat Cess 0.5% Service Tax Paid on Purchase of Services - taxes - - - - Krishi Kalayan Cess 0.5% Service Tax Paid on Purchase of Services - taxes - - - - VAT - taxes - - - - VAT 4% - taxes - - - - VAT 4% Collected on Sale - taxes - - - - VAT 4% Paid on Purchase - taxes - - - - VAT 12.5% - taxes - - - - VAT 12.5% Collected on Sale - taxes - - - - VAT 12.5% Paid on Purchase - taxes - - - - Additional VAT 1% - taxes - - - - Additional VAT 1% Collected on Sale - taxes - - - - Additional VAT 1% Paid on Purchase - taxes - - - - Additional VAT 2.5% - taxes - - - - Additional VAT 2.5% Collected on Sale - taxes - - - - Additional VAT 2.5% Paid on Purchase - taxes - - - - Tax Bases - taxes - - - - Base Excise Duty - taxes - - - - Base Excise Duty 12.5% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax - taxes - - - - Base Sales Tax 4% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax 12% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax 15% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Service Tax - taxes - - - - Base Service Tax 15% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT - taxes - - - - Base VAT 4% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT 12.5% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - Base Additional VAT 1% + + SGST taxes - - - Base of Sale + + CGST taxes - - - Base of Purchase + + IGST taxes - - - Base Additional VAT 2.5% + + CESS taxes - - Base of Sale - taxes - + - - Base of Purchase - taxes - - + - - (standard)Input Sales Tax @ 15% - (standard)Input Sales Tax @ 15% - sale + + CESS Sale 5% + CESS 5% + none percent - 15 - 10 - - + 5 + - - + - - (standard)Input Sales Tax @ 12% - (standard)Input Sales Tax @ 12% + + + CESS Sale 1591 Per Thousand + 1591 PER THOUSAND + none + fixed + 1.591 + + + + + + + CESS 5% + RS.1591/THOUSAND + CESS 5% + RS.1591/THOUSAND sale - percent - 12 - 10 - - + group + 0 - - + + - - (standard)Input Sales Tax @ 4% - (standard)Input Sales Tax @ 4% + + + CESS 21% or RS.4170/THOUSAND + CESS 21% or RS.4170/THOUSAND sale - percent - 4 - 10 - - + code + 0 + result=base_amount * 0.21 +tax=quantity * 4.17 +if tax > result:result=tax + - - + - - (standard)Additional Input VAT @ 1% - (standard)Additional Input VAT @ 1% + + + + + IGST 1% + IGST 1% sale percent 1 - 15 - + - - - - - (standard)Input VAT @ 12.5% - (standard)Input VAT @ 12.5% - sale - percent - 12.5 - 10 - - - - - - - - (standard)Additional Input VAT @ 2.5% - (standard)Additional Input VAT @ 2.5% - sale - percent - 2.5 - 15 - - - - - - - - (standard)Input Excise Duty @ 12.5% - (standard)Input Excise Duty @ 12.5% - sale - percent - 12.5 - 1 - - - - - - - - (standard)Input Service Tax 14% - (standard)Input Service Tax 14% - none - percent - 14 - 13 - - - - - - - - (standard)Swachh Bharat Cess @ 0.5% On Input Service - (standard)Swacha Bharat Cess @ 0.5% - none - percent - 0.5 - 14 - - - - - - - (standard)Krishi Kalyan Cess @ 0.5% On Input Service - (standard)Input Higher Education Cess @ 0.5% On Service Tax - none - percent - 0.5 - 15 - - - - - - - (standard)Input Service Tax @ 15% - (standard)Input Service Tax @ 15% - sale - group - 14 - True - 8 - - - - - - - - - (standard)Input VAT @ 4% - (standard)Input VAT @ 4% - sale - percent - 4 - 10 - - - - - + + - - - (standard)Output Purchase Tax @ 15% - (standard)Output Purchase Tax @ 15% - purchase + + IGST 2% + IGST 2% + sale percent - 15 - 10 - - + 2 + + - - + + - - (standard)Output Purchase Tax @ 12% - (standard)Output Purchase Tax @ 12% - purchase + + + IGST 28% + IGST 28% + sale + percent + 28 + + + + + + + + + IGST 18% + IGST 18% + sale + percent + 18 + + + + + + + + + IGST 12% + IGST 12% + sale percent 12 - 10 - - + + - - + + - - (standard)Output Purchase Tax @ 4% - (standard)Output Purchase Tax @ 4% - purchase + + + IGST 5% + IGST 5% + sale percent - 4 - 10 - - + 5 + + - - + + - - (standard)Additional Output VAT @ 1% - (standard)Additional Output VAT @ 1% + + + + + SGST Sale 0.5% + SGST 0.5% + none + percent + 0.5 + + + + + + + + + CGST Sale 0.5% + CGST 0.5% + none + percent + 0.5 + + + + + + + + + GST 1% + GST 1% + sale + group + 0 + + + + + + SGST Sale 1% + SGST 1% + none + percent + 1 + + + + + + + + + CGST Sale 1% + CGST 1% + none + percent + 1 + + + + + + + + + GST 2% + GST 2% + sale + group + 0 + + + + + + SGST Sale 14% + SGST 14% + none + percent + 14 + + + + + + + + + CGST Sale 14% + CGST 14% + none + percent + 14 + + + + + + + + + GST 28% + GST 28% + sale + group + 0 + + + + + + SGST Sale 9% + SGST 9% + none + percent + 9 + + + + + + + + + CGST Sale 9% + CGST 9% + none + percent + 9 + + + + + + + + + GST 18% + GST 18% + sale + group + 0 + + + + + + SGST Sale 6% + SGST 6% + none + percent + 6 + + + + + + + + + CGST Sale 6% + CGST 6% + none + percent + 6 + + + + + + + + + GST 12% + GST 12% + sale + group + 0 + + + + + + SGST Sale 2.5% + SGST 2.5% + none + percent + 2.5 + + + + + + + + + CGST Sale 2.5% + CGST 2.5% + none + percent + 2.5 + + + + + + + + + GST 5% + GST 5% + sale + group + 0 + + + + + + + + + + CESS Purchase 5% + CESS 5% + none + percent + 5 + + + + + + + CESS Purchase 1591 Per Thousand + 1591 PER THOUSAND + none + fixed + 1.591 + + + + + + + CESS 5% + RS.1591/THOUSAND + CESS 5% + RS.1591/THOUSAND + purchase + group + 0 + + + + + + CESS 21% or RS.4170/THOUSAND + CESS 21% or RS.4170/THOUSAND + purchase + code + 0 + result=base_amount * 0.21 +tax=quantity * 4.17 +if tax > result:result=tax + + + + + + + + + IGST 1% + IGST 1% purchase percent 1 - 15 - + - - + + - - (standard)Output VAT @ 12.5% - (standard)Output VAT @ 12.5% + + + IGST 2% + IGST 2% purchase percent - 12.5 - 10 + 2 + + + + + + + + + IGST 28% + IGST 28% + purchase + percent + 28 + + + + + + + + + IGST 18% + IGST 18% + purchase + percent + 18 + + + + + + + + + IGST 12% + IGST 12% + purchase + percent + 12 + + + + + + + + + IGST 5% + IGST 5% + purchase + percent + 5 + + + + + + + + + + + SGST Purchase 0.5% + SGST 0.5% + none + percent + 0.5 - - + + - - (standard)Additional Output VAT @ 2.5% - (standard)Additional Output VAT @ 2.5% + + + CGST Purchase 0.5% + CGST 0.5% + none + percent + 0.5 + + + + + + + + + GST 1% + GST 1% purchase + group + 0 + + + + + + SGST Purchase 1% + SGST 1% + none + percent + 1 + + + + + + + + + CGST Purchase 1% + CGST 1% + none + percent + 1 + + + + + + + + + GST 2% + GST 2% + purchase + group + 0 + + + + + + SGST Purchase 14% + SGST 14% + none + percent + 14 + + + + + + + + + CGST Purchase 14% + CGST 14% + none + percent + 14 + + + + + + + + + GST 28% + GST 28% + purchase + group + 0 + + + + + + SGST Purchase 9% + SGST 9% + none + percent + 9 + + + + + + + + + CGST Purchase 9% + CGST 9% + none + percent + 9 + + + + + + + + + GST 18% + GST 18% + purchase + group + 0 + + + + + + SGST Purchase 6% + SGST 6% + none + percent + 6 + + + + + + + + + CGST Purchase 6% + CGST 6% + none + percent + 6 + + + + + + + + + GST 12% + GST 12% + purchase + group + 0 + + + + + + SGST Purchase 2.5% + SGST 2.5% + none percent 2.5 - 15 - - + + - - (standard)Output Excise Duty @ 12.5% - (standard)Output Excise Duty @ 12.5% - purchase + + + CGST Purchase 2.5% + CGST 2.5% + none percent - 12.5 - 1 - + 2.5 + - - + + - - (standard)Output Serivce Tax 14% - (standard)Output Serivce Tax 14% - none - percent - 14 - 9 - - - - - - - - (standard)Swachh Bharat Cess @ 0.5% On Output Service - (standard)Swachh Bharat Cess @ 0.5% - none - percent - 0.5 - 10 - - - - - - - (standard)Krishi Kalyan Cess @ 0.5% On Output Service - (standard)Krishi Kalyan Cess @ 0.5% - none - percent - 0.5 - 11 - - - - - - - (standard)Output Service Tax @ 15% - (standard)Output Service Tax @ 15% + + + GST 5% + GST 5% purchase - True group - 14 - 8 - - - + 0 - - - - - (standard)Output VAT @ 4% - (standard)Output VAT @ 4% - purchase - percent - 4 - 10 - - - - - + + diff --git a/addons/l10n_in/data/l10n_in_chart_data.xml b/addons/l10n_in/data/l10n_in_chart_data.xml index fefaf6bb309..bb6665970ac 100644 --- a/addons/l10n_in/data/l10n_in_chart_data.xml +++ b/addons/l10n_in/data/l10n_in_chart_data.xml @@ -20,6 +20,19 @@ + + SGST + accounts + + + CGST + accounts + + + IGST + accounts + + Inventories 10031 @@ -34,47 +47,31 @@ - - Sales Tax Receivable - 10050 - - - - - VAT Receivable + SGST Receivable 10051 + - - Excise Duty Receivable - 100521 + + + CGST Receivable + 10052 + - - Service Tax Receivable - 100531 - - - - - - Swachh Bharat Cess Receivable On Service - 100532 - - - - - - Krishi Kalyan Cess Receivable On Service - 100533 + + + IGST Receivable + 10053 + TDS Receivable @@ -207,46 +204,30 @@ - VAT Payable + SGST Payable 11232 + - - Excise Duty Payable - 112331 + + + CGST Payable + 11233 + - - Service Tax Payable - 112341 - - - - - - Swachh Bharat Cess Payable On Service - 112342 - - - - - - Krishi Kalyan Cess Payable On Service - 112343 - - - - - - Sales Tax Payable - 11235 + + + IGST Payable + 11234 + Wages Payable @@ -528,4 +509,5 @@ + diff --git a/addons/l10n_in/data/res_country_state_data.xml b/addons/l10n_in/data/res_country_state_data.xml new file mode 100644 index 00000000000..c580d80eac8 --- /dev/null +++ b/addons/l10n_in/data/res_country_state_data.xml @@ -0,0 +1,113 @@ + + + + + 35 + + + 28 + + + 12 + + + 18 + + + 10 + + + 04 + + + 22 + + + 26 + + + 25 + + + 07 + + + 30 + + + 24 + + + 06 + + + 02 + + + 01 + + + 20 + + + 29 + + + 32 + + + 31 + + + 23 + + + 27 + + + 14 + + + 17 + + + 15 + + + 13 + + + 21 + + + 34 + + + 03 + + + 08 + + + 11 + + + 33 + + + 36 + + + 16 + + + 09 + + + 05 + + + 19 + + + diff --git a/addons/l10n_in/models/__init__.py b/addons/l10n_in/models/__init__.py new file mode 100644 index 00000000000..a4c946eba25 --- /dev/null +++ b/addons/l10n_in/models/__init__.py @@ -0,0 +1,7 @@ +# -*- coding:utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import account_invoice +from . import chart_template +from . import product_template +from . import res_country_state diff --git a/addons/l10n_in/models/account_invoice.py b/addons/l10n_in/models/account_invoice.py new file mode 100644 index 00000000000..d6c55b95e9c --- /dev/null +++ b/addons/l10n_in/models/account_invoice.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models, _ + + +class AccountInvoice(models.Model): + + _inherit = "account.invoice" + + @api.depends('amount_total') + def _compute_amount_total_words(self): + for invoice in self: + invoice.amount_total_words = invoice.currency_id.amount_to_text(invoice.amount_total) + + amount_total_words = fields.Char("Total (In Words)", compute="_compute_amount_total_words") + + def _get_printed_report_name(self): + self.ensure_one() + if self.company_id.country_id.code != 'IN': + return super(AccountInvoice, self)._get_printed_report_name() + return self.type == 'out_invoice' and self.state == 'draft' and _('Draft %s') % (self.journal_id.name) or \ + self.type == 'out_invoice' and self.state in ('open','paid') and '%s - %s' % (self.journal_id.name, self.number) or \ + self.type == 'out_refund' and self.state == 'draft' and _('Credit Note') or \ + self.type == 'out_refund' and _('Credit Note - %s') % (self.number) or \ + self.type == 'in_invoice' and self.state == 'draft' and _('Vendor Bill') or \ + self.type == 'in_invoice' and self.state in ('open','paid') and _('Vendor Bill - %s') % (self.number) or \ + self.type == 'in_refund' and self.state == 'draft' and _('Vendor Credit Note') or \ + self.type == 'in_refund' and _('Vendor Credit Note - %s') % (self.number) + + @api.multi + def _invoice_line_tax_values(self): + self.ensure_one() + tax_datas = {} + TAX = self.env['account.tax'] + + for line in self.mapped('invoice_line_ids'): + price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0) + tax_lines = line.invoice_line_tax_ids.compute_all(price_unit, line.invoice_id.currency_id, line.quantity, line.product_id, line.invoice_id.partner_id)['taxes'] + for tax_line in tax_lines: + tax_line['tag_ids'] = TAX.browse(tax_line['id']).tag_ids.ids + tax_datas[line.id] = tax_lines + return tax_datas diff --git a/addons/l10n_in/models/chart_template.py b/addons/l10n_in/models/chart_template.py new file mode 100644 index 00000000000..275087c7dbc --- /dev/null +++ b/addons/l10n_in/models/chart_template.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, models, _ + + +class AccountChartTemplate(models.Model): + _inherit = 'account.chart.template' + + + @api.multi + def _prepare_all_journals(self, acc_template_ref, company, journals_dict=None): + res = super(AccountChartTemplate, self)._prepare_all_journals( + acc_template_ref, company, journals_dict=journals_dict) + if not self == self.env.ref('l10n_in.indian_chart_template_standard'): + return res + for journal in res: + if journal['code'] == 'INV': + journal['name'] = _('Tax Invoices') + + res += [{'type': 'sale', 'name': _('Retail Invoices'), 'code': 'RETINV', 'company_id': company.id, 'show_on_dashboard': True,}, + {'type': 'sale', 'name': _('Export Invoices'), 'code': 'EXPINV', 'company_id': company.id, 'show_on_dashboard': True,},] + return res diff --git a/addons/l10n_in/models/product_template.py b/addons/l10n_in/models/product_template.py new file mode 100644 index 00000000000..0a8b47196e9 --- /dev/null +++ b/addons/l10n_in/models/product_template.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import models, fields + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + l10n_in_hsn_code = fields.Char(string="HSN/SAC Code", help="Harmonized System Nomenclature/Services Accounting Code") diff --git a/addons/l10n_in/models/res_country_state.py b/addons/l10n_in/models/res_country_state.py new file mode 100644 index 00000000000..6cb495a7365 --- /dev/null +++ b/addons/l10n_in/models/res_country_state.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models + + +class CountryState(models.Model): + _inherit = 'res.country.state' + + l10n_in_tin = fields.Char('TIN Number', size=2, help="TIN number-first two digits") diff --git a/addons/l10n_in/views/product_template_view.xml b/addons/l10n_in/views/product_template_view.xml new file mode 100644 index 00000000000..fdf0a1200a9 --- /dev/null +++ b/addons/l10n_in/views/product_template_view.xml @@ -0,0 +1,15 @@ + + + + + l10n_in.product.template.form.hs_code + product.template + + + + + + + + + diff --git a/addons/l10n_in/views/report_invoice.xml b/addons/l10n_in/views/report_invoice.xml new file mode 100644 index 00000000000..f5cae06634c --- /dev/null +++ b/addons/l10n_in/views/report_invoice.xml @@ -0,0 +1,130 @@ + + + + + + diff --git a/addons/l10n_in/views/res_company_view.xml b/addons/l10n_in/views/res_company_view.xml new file mode 100644 index 00000000000..0e3ba268898 --- /dev/null +++ b/addons/l10n_in/views/res_company_view.xml @@ -0,0 +1,16 @@ + + + + + l10n.in.view.company.form + res.company + + + + + GSTIN + + + + + diff --git a/addons/l10n_in/views/res_country_state_view.xml b/addons/l10n_in/views/res_country_state_view.xml new file mode 100644 index 00000000000..bdac8ff6241 --- /dev/null +++ b/addons/l10n_in/views/res_country_state_view.xml @@ -0,0 +1,15 @@ + + + + + l10n.in.res.country.state.form.inhert + res.country.state + + + + + + + + + diff --git a/addons/l10n_in/views/res_partner_views.xml b/addons/l10n_in/views/res_partner_views.xml new file mode 100644 index 00000000000..de4c589d21c --- /dev/null +++ b/addons/l10n_in/views/res_partner_views.xml @@ -0,0 +1,14 @@ + + + + l10n.in.res.partner.vat.inherit + res.partner + + + + + GSTIN + + + + diff --git a/addons/l10n_in_purchase/__init__.py b/addons/l10n_in_purchase/__init__.py new file mode 100644 index 00000000000..67dee8c60db --- /dev/null +++ b/addons/l10n_in_purchase/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/addons/l10n_in_purchase/__manifest__.py b/addons/l10n_in_purchase/__manifest__.py new file mode 100644 index 00000000000..a37f00026d3 --- /dev/null +++ b/addons/l10n_in_purchase/__manifest__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Indian - Purchase Report(GST)', + 'version': '1.0', + 'description': """GST Purchase Report""", + 'category': 'Localization', + 'depends': [ + 'l10n_in', + 'purchase', + ], + 'data': [ + 'views/report_purchase_order.xml', + ], + 'installable': True, + 'application': False, + 'auto_install': True, +} diff --git a/addons/l10n_in_purchase/views/report_purchase_order.xml b/addons/l10n_in_purchase/views/report_purchase_order.xml new file mode 100644 index 00000000000..398e9fcf068 --- /dev/null +++ b/addons/l10n_in_purchase/views/report_purchase_order.xml @@ -0,0 +1,17 @@ + + + + + + + + diff --git a/addons/l10n_in_sale/__init__.py b/addons/l10n_in_sale/__init__.py new file mode 100644 index 00000000000..67dee8c60db --- /dev/null +++ b/addons/l10n_in_sale/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/addons/l10n_in_sale/__manifest__.py b/addons/l10n_in_sale/__manifest__.py new file mode 100644 index 00000000000..6547ae0aa9d --- /dev/null +++ b/addons/l10n_in_sale/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Indian - Sale Report(GST)', + 'version': '1.0', + 'description': """GST Sale Report""", + 'category': 'Localization', + 'depends': [ + 'l10n_in', + 'sale', + ], + 'data': [ + 'views/report_sale_order.xml', + 'views/report_invoice_view.xml', + ], + 'installable': True, + 'application': False, + 'auto_install': True, +} diff --git a/addons/l10n_in_sale/views/report_invoice_view.xml b/addons/l10n_in_sale/views/report_invoice_view.xml new file mode 100644 index 00000000000..f3be1383da1 --- /dev/null +++ b/addons/l10n_in_sale/views/report_invoice_view.xml @@ -0,0 +1,114 @@ + + + + + + diff --git a/addons/l10n_in_sale/views/report_sale_order.xml b/addons/l10n_in_sale/views/report_sale_order.xml new file mode 100644 index 00000000000..c9d241cb043 --- /dev/null +++ b/addons/l10n_in_sale/views/report_sale_order.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/addons/l10n_in_schedule6/__manifest__.py b/addons/l10n_in_schedule6/__manifest__.py index 90c92f0bdc5..ce04fdd376f 100644 --- a/addons/l10n_in_schedule6/__manifest__.py +++ b/addons/l10n_in_schedule6/__manifest__.py @@ -18,7 +18,7 @@ Sheet, now only Vertical format has been permitted Which is Supported By OpenERP """, 'category': 'Localization', 'depends': [ - 'account', + 'account_tax_python', ], 'demo': [], 'data': [ diff --git a/addons/l10n_in_schedule6/account_data.xml b/addons/l10n_in_schedule6/account_data.xml index f60c009f56d..1cadb77ec14 100644 --- a/addons/l10n_in_schedule6/account_data.xml +++ b/addons/l10n_in_schedule6/account_data.xml @@ -3,41 +3,17 @@ - - VAT 0.24% + + SGST - - VAT 0.1224% + + CGST - - VAT 1% + + IGST - - VAT 2% - - - VAT 2.5% - - - VAT 4% - - - VAT 8% - - - VAT 10% - - - VAT 12% - - - VAT 12.5% - - - VAT 12.36% - - - VAT 15% + + Cess diff --git a/addons/l10n_in_schedule6/l10n_in_schedule6_chart.xml b/addons/l10n_in_schedule6/l10n_in_schedule6_chart.xml index 5552803bd7a..1b3ce822d00 100644 --- a/addons/l10n_in_schedule6/l10n_in_schedule6_chart.xml +++ b/addons/l10n_in_schedule6/l10n_in_schedule6_chart.xml @@ -1,6 +1,5 @@ - - + 1206 @@ -190,44 +189,23 @@ - - Excise Duty Payable - 1142111 + + (schedule6)SGST Payable + 114210 - - Education Cess Payable On Excise Duty - 1142112 + + (schedule6)CGST Payable + 114211 - - Higher Education Cess Payable On Excise Duty - 1142113 - - - - - - Service Tax Payable - 1142121 - - - - - - Education Cess Payable On Service Tax - 1142122 - - - - - - Higher Education Cess Payable On Service Tax - 1142123 + + (schedule6)IGST Payable + 114212 @@ -239,20 +217,6 @@ - - Central Sales Tax Payable - 114214 - - - - - - VAT Payable - 114215 - - - - Out Standing Cheques for Clearance 11422 @@ -810,58 +774,23 @@ - - Sales Tax Receivable - 121610 - - - - - VAT Receivable + (schedule6)SGST Receivable 121611 - - Excise Duty Receivable - 1216121 + + (schedule6)CGST Receivable + 121612 - - Education Cess Receivable On Excise Duty - 1216122 - - - - - - Higher Education Cess Receivable On Excise Duty - 1216123 - - - - - - Service Tax Receivable - 1216131 - - - - - - Education Cess Receivable On Service Tax - 1216132 - - - - - - Higher Education Cess Receivable On Service Tax - 1216133 + + (schedule6)IGST Receivable + 121613 @@ -1429,5 +1358,4 @@ - - \ No newline at end of file + diff --git a/addons/l10n_in_schedule6/l10n_in_schedule6_tax_template.xml b/addons/l10n_in_schedule6/l10n_in_schedule6_tax_template.xml index 3b6548acb39..d1400e7ac07 100644 --- a/addons/l10n_in_schedule6/l10n_in_schedule6_tax_template.xml +++ b/addons/l10n_in_schedule6/l10n_in_schedule6_tax_template.xml @@ -1,876 +1,673 @@ - - + - - - Tax to Pay + + SGST taxes - - - C Forms - taxes - - - - C Forms Tax Collected on Sale - taxes - - - - C Forms Tax Paid on Purchase - taxes - - - - Excise Duty - taxes - - - - Excise Duty 12.36% - taxes - - - - Excise Duty Collected on Sales - taxes - - - - Education Cess 2% Excise Duty Collected on Sales - taxes - - - - Higher Education Cess 1% Excise Duty Collected on Sales - taxes - - - - Excise Duty Paid on Purchase - taxes - - - - Education Cess 2% Excise Duty Paid on Purchase - taxes - - - - Higher Education Cess 1% Excise Duty Paid on Purchase - taxes - - - - Sales Tax - taxes - - - - Sales Tax 4% - taxes - - - - Sales Tax 4% Collected on Sale - taxes - - - - Sales Tax 4% Paid on Purchase - taxes - - - - Sales Tax 12% - taxes - - - - Sales Tax 12% Collected on Sale - taxes - - - - Sales Tax 12% Paid on Purchase - taxes - - - - Sales Tax 15% - taxes - - - - Sales Tax 15% Collected on Sale - taxes - - - - Sales Tax 15% Paid on Purchase - taxes - - - - Service Tax - taxes - - - - Service Tax 12.36% - taxes - - - - Service Tax Collected on Sales of Services - taxes - - - - Education Cess 2% Service Tax Collected on Sales of Services - taxes - - - - Higher Education Cess 1% Service Tax Collected on Sales of Services - taxes - - - - Service Tax Paid on Purchase of Services - taxes - - - - Education Cess 2% Service Tax Paid on Purchase of Services - taxes - - - - Higher Education Cess 1% Service Tax Paid on Purchase of Services - taxes - - - - VAT - taxes - - - - VAT 4% - taxes - - - - VAT 4% Collected on Sale - taxes - - - - VAT 4% Paid on Purchase - taxes - - - - VAT 8% - taxes - - - - VAT 8% Collected on Sale - taxes - - - - VAT 8% Paid on Purchase - taxes - - - - VAT 10% - taxes - - - - VAT 10% Collected on Sale - taxes - - - - VAT 10% Paid on Purchase - taxes - - - - VAT 12.5% - taxes - - - - VAT 12.5% Collected on Sale - taxes - - - - VAT 12.5% Paid on Purchase - taxes - - - - Additional VAT 1% - taxes - - - - Additional VAT 1% Collected on Sale + + CGST taxes - - - Additional VAT 1% Paid on Purchase - taxes - - - - Additional VAT 2.5% - taxes - - - - Additional VAT 2.5% Collected on Sale - taxes - - - - Additional VAT 2.5% Paid on Purchase - taxes - - - - Tax Bases - taxes - - - - Base C Forms - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Excise Duty - taxes - - - - Base Excise Duty 12.36% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax - taxes - - - - Base Sales Tax 4% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax 12% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Sales Tax 15% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Service Tax - taxes - - - - Base Service Tax 12.36% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT - taxes - - - - Base VAT 4% + + IGST taxes - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT 8% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT 10% + + CESS taxes - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base VAT 12.5% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Additional VAT 1% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - - Base Additional VAT 2.5% - taxes - - - - Base of Sale - taxes - - - - Base of Purchase - taxes - - - (schedule6)Input Sales Tax @ 15% - (schedule6)Input Sales Tax @ 15% - sale - percent - 15 - 10 - - - - - - - (schedule6)Input Sales Tax @ 12% - (schedule6)Input Sales Tax @ 12% - sale - percent - 12 - 10 - - - - - - - (schedule6)Input Sales Tax @ 4% - (schedule6)Input Sales Tax @ 4% - sale - percent - 4 - 10 - - - - - - - (schedule6)Additional Input VAT @ 1% - (schedule6)Additional Input VAT @ 1% - sale - percent - 1 - 15 - - - - - - - (schedule6)Input VAT @ 12.5% - (schedule6)Input VAT @ 12.5% - sale - percent - 12.5 - 10 - - - - - - - (schedule6)Additional Input VAT @ 2.5% - (schedule6)Additional Input VAT @ 2.5% - sale - percent - 2.5 - 15 - - - - - - - (schedule6)Input VAT @ 8% - (schedule6)Input VAT @ 8% - sale - percent - 8 - 10 - - - - - - - (schedule6)Input VAT @ 10% - (schedule6)Input VAT @ 10% - sale - percent - 10 - 10 - - - - - - - (schedule6)Input Tax 12% - (schedule6)Input Tax 12% + + + + (schedule6)SGST Sale 0.5% + SGST 0.5% none percent - 12 - 1 - + 0.5 + - - + + + - - (schedule6)Input Education Cess @ 2% On Excise Duty - (schedule6)Input Education Cess @ 2% On Excise Duty + + + (schedule6)CGST Sale 0.5% + CGST 0.5% none percent - 0.24 - 2 - + 0.5 + - - + + - - (schedule6)Input Higher Education Cess @ 1% On Excise Duty - (schedule6)Input Higher Education Cess @ 1% On Excise Duty - none - percent - 0.1224 - 3 - - - - - - - (schedule6)Input Excise Duty @ 12.36% - (schedule6)Input Excise Duty @ 12.36% + + + (schedule6)GST 1% + GST 1% sale group 0 - 1 - - - - - - - (schedule6)Input Service Tax 12% - (schedule6)Input Service Tax 12% - none - percent - 12 - 13 - - - - - - - (schedule6)Input Education Cess @ 2% On Service Tax - (schedule6)Input Education Cess @ 2% On Service Tax - none - percent - 0.24 - 14 - - - - - - - (schedule6)Input Higher Education Cess @ 1% On Service Tax - (schedule6)Input Higher Education Cess @ 1% On Service Tax - none - percent - 0.1224 - 15 - - - - - - - (schedule6)Input Service Tax @ 12.36% - (schedule6)Input Service Tax @ 12.36% - sale - group - 12 - True - 8 - - - - - - - - (schedule6)Input VAT @ 4% - (schedule6)Input VAT @ 4% - sale - percent - 4 - 10 - - - - + - - - (schedule6)Output Purchase Tax @ 15% - (schedule6)Output Purchase Tax @ 15% - purchase + + (schedule6)SGST Sale 1% + SGST 1% + none percent - 15 - 10 - + 1 + - - + + - - (schedule6)Output Purchase Tax @ 12% - (schedule6)Output Purchase Tax @ 12% - purchase + + + (schedule6)CGST Sale 1% + CGST 1% + none + percent + 1 + + + + + + + + (schedule6)GST 2% + GST 2% + sale + group + 0 + + + + + + (schedule6)SGST Sale 2.5% + SGST 2.5% + none + percent + 2.5 + + + + + + + + (schedule6)CGST Sale 2.5% + CGST 2.5% + none + percent + 2.5 + + + + + + + + (schedule6)GST 5% + GST 5% + sale + group + 0 + + + + + + (schedule6)SGST Sale 6% + SGST 6% + none + percent + 6 + + + + + + + + (schedule6)CGST Sale 6% + CGST 6% + none + percent + 6 + + + + + + + + (schedule6)GST 12% + GST 12% + sale + group + 0 + + + + + + (schedule6)SGST Sale 9% + SGST 9% + none + percent + 9 + + + + + + + + (schedule6)CGST Sale 9% + CGST 9% + none + percent + 9 + + + + + + + + (schedule6)GST 18% + GST 18% + sale + group + 0 + + + + + + (schedule6)SGST Sale 14% + SGST 14% + none + percent + 14 + + + + + + + + (schedule6)CGST Sale 14% + CGST 14% + none + percent + 14 + + + + + + + + (schedule6)GST 28% + GST 28% + sale + group + 0 + + + + + + (schedule6)IGST 1% + IGST 1% + sale + percent + 1 + + + + + + + + (schedule6)IGST 2% + IGST 2% + sale + percent + 2 + + + + + + + + (schedule6)IGST 5% + IGST 5% + sale + percent + 5 + + + + + + + + (schedule6)IGST 12% + IGST 12% + sale percent 12 - 10 - + - - + + - - (schedule6)Output Purchase Tax @ 4% - (schedule6)Output Purchase Tax @ 4% - purchase + + + (schedule6)IGST 18% + IGST 18% + sale percent - 4 - 10 - + 18 + - - + + - - (schedule6)Additional Output VAT @ 1% - (schedule6)Additional Output VAT @ 1% + + + (schedule6)IGST 28% + IGST 28% + sale + percent + 28 + + + + + + + + (schedule6)CESS Sale 5% + CESS 5% + none + percent + 5 + + + + + + + (schedule6)CESS Sale 1591 Per Thousand + 1591 PER THOUSAND + none + fixed + 1.591 + + + + + + + (schedule6)CESS 5% + RS.1591/THOUSAND + CESS 5% + RS.1591/THOUSAND + sale + group + 0 + + + + + + + (schedule6)CESS 21% or RS.4170/THOUSAND + CESS 21% or RS.4170/THOUSAND + sale + code + 0 + result=base_amount * 0.21 +tax=quantity * 4.17 +if tax > result:result=tax + + + + + + + + + (schedule6)SGST Purchase 0.5% + SGST 0.5% + none + percent + 0.5 + + + + + + + + (schedule6)CGST Purchase 0.5% + CGST 0.5% + none + percent + 0.5 + + + + + + + + (schedule6)GST 1% + GST 1% + purchase + group + 0 + + + + + + (schedule6)SGST Purchase 1% + SGST 1% + none + percent + 1 + + + + + + + + (schedule6)CGST Purchase 1% + CGST 1% + none + percent + 1 + + + + + + + + (schedule6)GST 2% + GST 2% + purchase + group + 0 + + + + + + (schedule6)SGST Purchase 2.5% + SGST 2.5% + none + percent + 2.5 + + + + + + + + (schedule6)CGST Purchase 2.5% + CGST 2.5% + none + percent + 2.5 + + + + + + + + (schedule6)GST 5% + GST 5% + purchase + group + 0 + + + + + + (schedule6)SGST Purchase 6% + SGST 6% + none + percent + 6 + + + + + + + + (schedule6)CGST Purchase 6% + CGST 6% + none + percent + 6 + + + + + + + + (schedule6)GST 12% + GST 12% + purchase + group + 0 + + + + + + (schedule6)SGST Purchase 9% + SGST 9% + none + percent + 9 + + + + + + + + (schedule6)CGST Purchase 9% + CGST 9% + none + percent + 9 + + + + + + + + (schedule6)GST 18% + GST 18% + purchase + group + 0 + + + + + + (schedule6)SGST Purchase 14% + SGST 14% + none + percent + 14 + + + + + + + + (schedule6)CGST Purchase 14% + CGST 14% + none + percent + 14 + + + + + + + + (schedule6)GST 28% + GST 28% + purchase + group + 0 + + + + + + (schedule6)IGST 1% + IGST 1% purchase percent 1 - 15 - + - - - - - (schedule6)Output VAT @ 12.5% - (schedule6)Output VAT @ 12.5% - purchase - percent - 12.5 - 10 - - - - - - - (schedule6)Additional Output VAT @ 2.5% - (schedule6)Additional Output VAT @ 2.5% - purchase - percent - 2.5 - 15 - - - - - - - (schedule6)Output VAT @ 8% - (schedule6)Output VAT @ 8% - purchase - percent - 8 - 10 - - - - - - - (schedule6)Output VAT @ 10% - (schedule6)Output VAT @ 10% - purchase - percent - 10 - 10 - - - - - - - (schedule6)Output Tax 12% - (schedule6)Output Tax 12% - none - percent - 12 - 2 - - - - - - - (schedule6)Output Education Cess @ 2% Excise Duty - (schedule6)Output Education Cess @ 2% Excise Duty - none - percent - 0.24 - 3 - - - - - - - (schedule6)Output Higher Education Cess @ 1% Excise Duty - (schedule6)Output Higher Education Cess @ 1% Excise Duty - none - percent - 0.1224 - 4 - - - - - - - (schedule6)Output Excise Duty @ 12.36% - (schedule6)Output Excise Duty @ 12.36% - purchase - group - 12 - True - 1 - - - - - - - - (schedule6)Output Service Tax 12% - (schedule6)Output Service Tax 12% - none - percent - 12 - 9 - - - - - - - (schedule6)Output Education Cess @ 2% On Service Tax - (schedule6)Output Education Cess @ 2% On Service Tax - none - percent - 0.24 - 10 - - - - - - - (schedule6)Output Higher Education Cess @ 1% On Service Tax - (schedule6)Output Higher Education Cess @ 1% On Service Tax - none - percent - 0.1224 - 11 - - - - - - - (schedule6)Output Service Tax @ 12.36% - (schedule6)Output Service Tax @ 12.36% - purchase - True - group - 12 - 8 - - - - - - - - (schedule6)Output VAT @ 4% - (schedule6)Output VAT @ 4% - purchase - percent - 4 - 10 - - - - + + - - + + (schedule6)IGST 2% + IGST 2% + purchase + percent + 2 + + + + + + + + (schedule6)IGST 5% + IGST 5% + purchase + percent + 5 + + + + + + + + (schedule6)IGST 12% + IGST 12% + purchase + percent + 12 + + + + + + + + (schedule6)IGST 18% + IGST 18% + purchase + percent + 18 + + + + + + + + (schedule6)IGST 28% + IGST 28% + purchase + percent + 28 + + + + + + + + (schedule6)CESS Purchase 5% + CESS 5% + none + percent + 5 + + + + + + + (schedule6)CESS Purchase 1591 Per Thousand + 1591 PER THOUSAND + none + fixed + 1.591 + + + + + + + (schedule6)CESS 5% + RS.1591/THOUSAND + CESS 5% + RS.1591/THOUSAND + purchase + group + 0 + + + + + + (schedule6)CESS 21% or RS.4170/THOUSAND + CESS 21% or RS.4170/THOUSAND + purchase + code + 0 + result=base_amount * 0.21 +tax=quantity * 4.17 +if tax > result:result=tax + + + + + + diff --git a/addons/l10n_in_stock/__init__.py b/addons/l10n_in_stock/__init__.py new file mode 100644 index 00000000000..67dee8c60db --- /dev/null +++ b/addons/l10n_in_stock/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/addons/l10n_in_stock/__manifest__.py b/addons/l10n_in_stock/__manifest__.py new file mode 100644 index 00000000000..96761b0ee36 --- /dev/null +++ b/addons/l10n_in_stock/__manifest__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Indian - Stock Report(GST)', + 'version': '1.0', + 'description': """GST Stock Report""", + 'category': 'Localization', + 'depends': [ + 'l10n_in', + 'stock', + ], + 'data': [ + 'views/report_stockpicking_operations.xml', + ], + 'installable': True, + 'application': False, + 'auto_install': True, +} diff --git a/addons/l10n_in_stock/views/report_stockpicking_operations.xml b/addons/l10n_in_stock/views/report_stockpicking_operations.xml new file mode 100644 index 00000000000..334fc0a017e --- /dev/null +++ b/addons/l10n_in_stock/views/report_stockpicking_operations.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/odoo/addons/base/res/res_country_data.xml b/odoo/addons/base/res/res_country_data.xml index abe8291d7c0..ff2a5c71242 100644 --- a/odoo/addons/base/res/res_country_data.xml +++ b/odoo/addons/base/res/res_country_data.xml @@ -747,9 +747,10 @@ India in - + + GSTIN British Indian Ocean Territory