| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_view_form_inherit_l10n_in" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.form.inherit.l10n_in</field> |
| 5 |
<field name="model">res.config.settings</field> |
| 6 |
<field name="inherit_id" ref="account.res_config_settings_view_form"/> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<block id="invoicing_settings" position="inside"> |
| 9 |
<setting help="Use this if setup with Reseller(E-Commerce)." name="ecommerce_reseller_setting" title="Manage Reseller(E-Commerce)" invisible="country_code != 'IN'"> |
| 10 |
<field name="group_l10n_in_reseller"/> |
| 11 |
</setting> |
| 12 |
</block> |
| 13 |
<xpath expr="//block[@name='fiscal_localization_setting_container']" position="after"> |
| 14 |
<div id="india_integration_section"> |
| 15 |
<block title="Indian Integration" id="india_localization" invisible="country_code != 'IN'"> |
| 16 |
<setting name="l10n_in_tds" |
| 17 |
help="Enable this to activate the Tax Deducted at Source (TDS) feature and the account-based TDS section suggestion." |
| 18 |
company_dependent="1" |
| 19 |
string="TDS" |
| 20 |
documentation="/applications/finance/fiscal_localizations/india.html"> |
| 21 |
<field name="l10n_in_tds_feature"/> |
| 22 |
<div class="content-group" invisible="not l10n_in_tds_feature"> |
| 23 |
<div class="row mt8"> |
| 24 |
<label for="l10n_in_tan" class="col-lg-5 o_light_label" string="TAN"/> |
| 25 |
<field name="l10n_in_tan" required="l10n_in_tds_feature"/> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
</setting> |
| 29 |
<setting name="l10n_in_tcs" |
| 30 |
help="Enable this to activate the Tax Collected at Source (TCS) feature and the account-based TCS section suggestion." |
| 31 |
company_dependent="1" |
| 32 |
string="TCS" |
| 33 |
documentation="/applications/finance/fiscal_localizations/india.html"> |
| 34 |
<field name="l10n_in_tcs_feature"/> |
| 35 |
</setting> |
| 36 |
<setting string="Registered Under GST" |
| 37 |
company_dependent="1" |
| 38 |
help="Enable this if you have GST number except composition scheme."> |
| 39 |
<field name="l10n_in_is_gst_registered"/> |
| 40 |
<div invisible="not l10n_in_is_gst_registered"> |
| 41 |
<div id="india_gst_number" class="row"> |
| 42 |
<label string="GST Number" for="l10n_in_gstin" class="col-lg-4 o_light_label"/> |
| 43 |
<field name="l10n_in_gstin" required="l10n_in_is_gst_registered"/> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
</setting> |
| 47 |
<t invisible="not l10n_in_is_gst_registered"> |
| 48 |
<setting name="india_production_setting" |
| 49 |
company_dependent="1" |
| 50 |
string="Production Environment" |
| 51 |
help="Activate this to start using Indian services in the production environment." |
| 52 |
groups="base.group_no_one"> |
| 53 |
<field name="l10n_in_edi_production_env"/> |
| 54 |
<div class='mt8' |
| 55 |
invisible="not l10n_in_edi_production_env or (not module_l10n_in_edi and not l10n_in_gstin_status_feature and not module_l10n_in_ewaybill and not l10n_in_gst_efiling_feature)"> |
| 56 |
<button name="l10n_in_edi_buy_iap" |
| 57 |
title="Costs 1 credit per transaction. Free 200 credits will be available for the first time." |
| 58 |
icon="fa-arrow-right" |
| 59 |
type="object" |
| 60 |
string="Buy credits" |
| 61 |
class="btn-link"/> |
| 62 |
</div> |
| 63 |
</setting> |
| 64 |
<setting name="electronic_invoices_in" |
| 65 |
help="Connect to NIC (National Informatics Center) to submit invoices on posting." |
| 66 |
company_dependent="1" |
| 67 |
string="E-Invoicing" |
| 68 |
documentation="/applications/finance/fiscal_localizations/india.html#india-e-invoicing"> |
| 69 |
<field name="module_l10n_in_edi"/> |
| 70 |
<div class="content-group" invisible="not module_l10n_in_edi"> |
| 71 |
<div class="text-warning mt16 mb4"> |
| 72 |
Save this page and come back here to set up the feature. |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
</setting> |
| 76 |
<setting name="electronic_waybill_in" |
| 77 |
help="Connect to NIC (National Informatics Center) to submit e-waybill on posting." |
| 78 |
company_dependent="1" |
| 79 |
string="E-Way bill" |
| 80 |
documentation="/applications/finance/fiscal_localizations/india.html#india-e-waybill"> |
| 81 |
<field name="module_l10n_in_ewaybill" class="oe_inline"/> |
| 82 |
<div class="content-group" invisible="not module_l10n_in_ewaybill"> |
| 83 |
<div class="text-warning mt16 mb4"> |
| 84 |
Save this page and come back here to set up the feature. |
| 85 |
</div> |
| 86 |
</div> |
| 87 |
</setting> |
| 88 |
<setting name="india_gstr" |
| 89 |
help="Connect to GST portal to submit GSTR-1 and get GSTR-2B" |
| 90 |
company_dependent="1" |
| 91 |
documentation="/applications/finance/fiscal_localizations/india.html#india-gstr"> |
| 92 |
<field name="l10n_in_gst_efiling_feature" widget="upgrade_boolean"/> |
| 93 |
</setting> |
| 94 |
<setting name="india_gstin_status_api_settings" |
| 95 |
string="Check GST Number Status" |
| 96 |
company_dependent="1" |
| 97 |
help="Enable this to check the GST Number status" |
| 98 |
documentation="/applications/finance/fiscal_localizations/india.html#indian-check-gstin-status"> |
| 99 |
<field name="l10n_in_gstin_status_feature" class="oe_inline"/> |
| 100 |
</setting> |
| 101 |
<setting name="india_gstr_api" |
| 102 |
help="This feature helps you to quickly create draft vendor bills using the data your vendor submitted during E-invoicing on the GST portal." |
| 103 |
company_dependent="1"> |
| 104 |
<field name="l10n_in_fetch_vendor_edi_feature" widget="upgrade_boolean"/> |
| 105 |
</setting> |
| 106 |
<setting string="HSN/SAC Validation" |
| 107 |
help="HSN/SAC Digit Validation for GST Compliance based on your Aggregate Annual Turnover (AATO)." |
| 108 |
company_dependent="1"> |
| 109 |
<field name="l10n_in_hsn_code_digit"/> |
| 110 |
</setting> |
| 111 |
</t> |
| 112 |
</block> |
| 113 |
</div> |
| 114 |
</xpath> |
| 115 |
<block id="print_vendor_checks_setting_container" position="inside"> |
| 116 |
<setting id="vendor_payment_order_file" |
| 117 |
company_dependent="1" |
| 118 |
help="Generate Vendor Payment Order file(csv file), upload to your bank to make the payments" |
| 119 |
invisible="country_code != 'IN'"> |
| 120 |
<field name="l10n_in_enet_vendor_batch_payment_feature" widget="upgrade_boolean"/> |
| 121 |
</setting> |
| 122 |
</block> |
| 123 |
<block id="default_accounts" position="inside"> |
| 124 |
<setting string="India TDS Control:" invisible="not l10n_in_tds_feature"> |
| 125 |
<div class="content-group"> |
| 126 |
<div class="row mt8"> |
| 127 |
<label for="l10n_in_withholding_journal_id" class="col-lg-5 o_light_label" string="Journal"/> |
| 128 |
<field name="l10n_in_withholding_journal_id" domain="[('type', '=', 'general')]"/> |
| 129 |
</div> |
| 130 |
<div class="row mt8"> |
| 131 |
<label for="l10n_in_withholding_account_id" class="col-lg-5 o_light_label" string="Account"/> |
| 132 |
<field name="l10n_in_withholding_account_id"/> |
| 133 |
</div> |
| 134 |
</div> |
| 135 |
</setting> |
| 136 |
</block> |
| 137 |
</field> |
| 138 |
</record> |
| 139 |
</odoo> |