<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="name">res.config.settings.view.form.inherit</field>
        <field name="model">res.config.settings</field>
        <field name="priority" eval="50" />
        <field name="inherit_id" ref="base.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath expr="//div[hasclass('settings')]" position="inside">
                <field name="is_l10n_ro_record" invisible="1" />
            </xpath>
            <xpath
                expr="//div[@data-key='account']//field[@name='module_currency_rate_live']/../.."
                position="after"
            >
                <div class="col-12 col-lg-6 o_setting_box">
                    <div class="o_setting_left_pane">
                        <field name="module_currency_rate_update_RO_BNR" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="module_currency_rate_update_RO_BNR" />
                        <span
                            class="fa fa-lg fa-building-o"
                            title="Values set here are company-specific."
                            role="img"
                            aria-label="Values set here are company-specific."
                            groups="base.group_multi_company"
                        />
                        <div
                            class="text-muted"
                            title="Will update daily from cron only if is checked Automatic Currency Rates (OCA) and you added a rate_provider"
                        >
                            Install BNR update rates
                        </div>
                    </div>
                </div>
            </xpath>
            <xpath expr="//div[hasclass('settings')]" position="inside">
                <div
                    class="app_settings_block"
                    data-string="Romania"
                    string="Romania"
                    data-key="l10n_ro_config"
                >
                    <field name="country_code" invisible="1" />
                    <div
                        name="l10n_ro_config_container"
                        attrs="{'invisible': [('country_code', '!=', 'RO')]}"
                    >

                        <h2>Partners and Addresses</h2>
                        <div
                            class="row mt16 o_settings_container"
                            name="modules_contact_setting_container"
                        >
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_partner_unique"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_partner_unique" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_partner_unique" />
                                    <div
                                        class="text-muted"
                                    >Set up a rule for unique partners based on vat, nrc and
                                        company
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_partner_create_by_vat"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_partner_create_by_vat"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_partner_create_by_vat" />
                                    <div
                                        class="text-muted"
                                    >Create partners based on the vat code from ANAF website.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_fiscal_validation"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_fiscal_validation" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_fiscal_validation" />
                                    <div
                                        class="text-muted"
                                    >Update partners data based on the vat code from ANAF website in
                                        cron job.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_address_extended"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_address_extended" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_address_extended" />
                                    <div
                                        class="text-muted"
                                    >Complete also staircase in extended address for partners.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_city"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_city" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_city" />
                                    <div
                                        class="text-muted"
                                    >Upload Romanian cities, so you can select them more easily.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_siruta"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_siruta" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_siruta" />
                                    <div
                                        class="text-muted"
                                    >Select also the commune and zone in partner addresses.
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h2>ANAF Integration</h2>
                        <div class="row mt16 o_settings_container">
                            <div
                                class="col-xs-12 col-md-12 o_setting_box"
                                id="module_l10n_ro_account_anaf_sync"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_account_anaf_sync" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_account_anaf_sync" />
                                    <div class="text-muted">
                                        Register sync oAuth with ANAF website.
                                    </div>
                                </div>
                            </div>

                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="ro_anaf_einvoice_container"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_account_edi_ubl" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_account_edi_ubl" />
                                    <div class="text-muted  ">
                                        Generate e-invoice xml and send it manually or automaticaly to ANAF.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="ro_anaf_etransport_container"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_etransport" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_etransport" />
                                    <div class="text-muted">
                                        Generate e-transport xml and send it manually or automaticaly to ANAF.
                                    </div>
                                </div>
                            </div>
                        </div>

                        <h2>Accounting</h2>
                        <div
                            class="row mt16 o_settings_container"
                            name="ro_accounting_setting_container"
                        >
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="use_anglo_saxon"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="use_anglo_saxon" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="use_anglo_saxon" />
                                    <span
                                        class="fa fa-lg fa-building-o"
                                        title="Values set here are company-specific."
                                        role="img"
                                        aria-label="Values set here are company-specific."
                                        groups="base.group_multi_company"
                                    />
                                    <div class="text-muted">
                                        Record cost of goods sold in your journal entries
                                    </div>
                                </div>

                            </div>

                            <div class="col-xs-12 col-md-6 o_setting_box">
                                <div class="o_setting_left_pane">

                                </div>
                                <div class="o_setting_right_pane">
                                    <div class="row mt16">
                                        <label
                                            for="l10n_ro_share_capital"
                                            class="col-lg-3 o_light_label"
                                        />
                                        <field name="l10n_ro_share_capital" />
                                    </div>
                                    <div class="row mt16">
                                        <label
                                            for="l10n_ro_caen_code"
                                            class="col-lg-3 o_light_label"
                                        />
                                        <field name="l10n_ro_caen_code" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-12 col-md-6 o_setting_box">
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <div class="row mt16">
                                        <label
                                            for="l10n_ro_property_vat_on_payment_position_id"
                                            class="col-lg-3 o_light_label"
                                        />
                                        <field
                                            name="l10n_ro_property_vat_on_payment_position_id"
                                        />
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-12 col-md-6 o_setting_box">
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="l10n_ro_property_inverse_taxation_position_id"
                                        class="col-lg-3 o_light_label"
                                    />
                                    <field
                                        name="l10n_ro_property_inverse_taxation_position_id"
                                    />
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_account"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_account" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_account" />
                                    <div
                                        class="text-muted"
                                    >This option allows you to manage account names based on Romanian format,
                                        restriction on cash operations.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_account_edit_currency_rate"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_account_edit_currency_rate"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_account_edit_currency_rate"
                                    />
                                    <div
                                        class="text-muted"
                                    >Currency rate in invoice is editable, so you can use your own
                                        currency rate.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_vat_on_payment"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_vat_on_payment" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_vat_on_payment" />
                                    <div
                                        class="text-muted"
                                    >Add a vat on payment field in partners, change the fiscal
                                        position with the one defined in settings depending on the partner and invoice.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_nondeductible_vat"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_nondeductible_vat" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_nondeductible_vat" />
                                    <div class="text-muted">
                                        Register non deductible VAT in accounting and stock operations.
                                    </div>
                                </div>
                                <div
                                    attrs="{'invisible': [('module_l10n_ro_nondeductible_vat', '=', False)]}"
                                >
                                    <field
                                        name="l10n_ro_nondeductible_account_id"
                                        placeholder="Select a expense account"
                                    />

                                    <div class="text-muted">
                                        This account will be used as the default non deductible expense account from
                                        tax repartition lines marked as not deductible. If the line account does not
                                        have
                                        a non deductible account set, this account will be used.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-12 col-lg-6 o_setting_box"
                                id="module_l10n_ro_dvi"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_dvi" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_dvi" />
                                    <div class="text-muted">
                                        Record DVI directly from invoices.
                                    </div>
                                </div>
                                <div
                                    class="content-group"
                                    attrs="{'invisible': [('module_l10n_ro_dvi', '=', False)]}"
                                >
                                    <div class="o_setting_left_pane" />
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="l10n_ro_property_customs_duty_product_id"
                                        />
                                        <span
                                            class="fa fa-lg fa-building-o"
                                            title="Values set here are company-specific."
                                            role="img"
                                            aria-label="Values set here are company-specific."
                                        />

                                        <div>
                                            <field
                                                name="l10n_ro_property_customs_duty_product_id"
                                                placeholder="Select a product"
                                            />

                                            <div class="text-muted">
                                                Select a service product that will be used in customs duty registration
                                                in landed cost.
                                            </div>
                                        </div>
                                        <label
                                            for="l10n_ro_property_customs_commission_product_id"
                                        />
                                        <span
                                            class="fa fa-lg fa-building-o"
                                            title="Values set here are company-specific."
                                            role="img"
                                            aria-label="Values set here are company-specific."
                                        />

                                        <div>
                                            <field
                                                name="l10n_ro_property_customs_commission_product_id"
                                                placeholder="Select a product"
                                            />

                                            <div class="text-muted">
                                                Select a service product that will be used in customs commission
                                                registration in landed cost.
                                            </div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_account_period_close"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_account_period_close" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_account_period_close" />
                                    <div
                                        class="text-muted"
                                    >Add a mechanism to close Incomes, Expense, VAT on a period
                                        based.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_account_report_invoice"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_account_report_invoice"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_account_report_invoice"
                                    />
                                    <div
                                        class="text-muted"
                                    >Add company field for no signature, update invoice report for
                                        multi currency.
                                    </div>
                                </div>
                            </div>
                        </div>
                        <h2>Bank Statements</h2>
                        <div
                            class="row mt16 o_settings_container"
                            name="ro_bank_setting_container"
                        >
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_payment_to_statement"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_payment_to_statement" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_payment_to_statement" />
                                    <div class="text-muted">
                                        Record the payment directly to bank or cash statement.
                                        Set up different sequences for cash operations.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_payment_receipt_report"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_payment_receipt_report"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_payment_receipt_report"
                                    />
                                    <div class="text-muted">
                                        Print custom receipt report for Romanian companies.
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="module_l10n_ro_account_bank_statement_report"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_account_bank_statement_report"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_account_bank_statement_report"
                                    />
                                    <div class="text-muted">
                                        This option allows you to manage the bank statement report
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="bank_statement_mt940_import_alpha"
                            >
                                <div>
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_account_bank_statement_import_mt940_alpha"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_account_bank_statement_import_mt940_alpha"
                                        />
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="bank_statement_mt940_import_bcr"
                            >
                                <div>
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_account_bank_statement_import_mt940_bcr"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_account_bank_statement_import_mt940_bcr"
                                        />
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="bank_statement_mt940_import_brd"
                            >
                                <div>
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_account_bank_statement_import_mt940_brd"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_account_bank_statement_import_mt940_brd"
                                        />
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="bank_statement_mt940_import_ing"
                            >
                                <div>
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_account_bank_statement_import_mt940_ing"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_account_bank_statement_import_mt940_ing"
                                        />
                                    </div>
                                </div>
                            </div>
                            <div
                                class="col-xs-12 col-md-6 o_setting_box"
                                id="bank_statement_mt940_import_rffsn"
                            >
                                <div>
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_account_bank_statement_import_mt940_rffsn"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_account_bank_statement_import_mt940_rffsn"
                                        />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <h2>Stock</h2>
                        <div class="row mt16 o_settings_container">
                            <div
                                id="module_l10n_ro_stock"
                                class="col-xs-12 col-md-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock" />
                                    <div class="text-muted">
                                        Adds location in_custody, usage_giving,consume
                                        *merchandise_type:store,warehouse
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock_account" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock_account" />
                                    <div class="text-muted">
                                        Updates stock accounting according to Romanian Legislation.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_svl_allocation_config"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div
                                    class="content-group"
                                    attrs="{'invisible': [('module_l10n_ro_stock_account', '=', False)]}"
                                >
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="l10n_ro_stock_account_svl_lot_allocation"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="l10n_ro_stock_account_svl_lot_allocation"
                                        />
                                        <span
                                            class="fa fa-lg fa-building-o"
                                            title="Values set here are company-specific."
                                            role="img"
                                            aria-label="Values set here are company-specific."
                                        />
                                        <div class="text-muted">
                                            If this field is checked and the company use Romanian Accounting,
                                            the value used for stock out operations will be the value recorded at the
                                            reception of the lot/serial, ignoring FIFO rule;
                                            If this field is NOT checked and the company use Romanian Accounting,
                                            the value used for stock out operations will be the value provided by FIFO
                                            rule,
                                            applied strictly on a location level (including its children)
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_price_difference"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_stock_price_difference"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_stock_price_difference"
                                    />
                                    <div class="text-muted">
                                        Record price differences between bills and reception through Landed Costs.
                                    </div>
                                    <div
                                        class="o_setting_left_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_price_difference', '=', False)]}"
                                    >
                                        <field name="l10n_ro_stock_acc_price_diff" />
                                    </div>
                                    <div
                                        class="o_setting_right_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_price_difference', '=', False)]}"
                                    >
                                        <label for="l10n_ro_stock_acc_price_diff" />
                                        <span
                                            class="fa fa-lg fa-building-o"
                                            title="Values set here are company-specific."
                                            role="img"
                                            aria-label="Values set here are company-specific."
                                        />
                                        <div
                                            class="text-muted"
                                            attrs="{'invisible': [('module_l10n_ro_stock_price_difference', '=', False)]}"
                                        >
                                            Update stock valuation in case of price difference
                                            between reception and bill. Value is company specific.

                                        </div>

                                        <div
                                            attrs="{'invisible': [('l10n_ro_stock_acc_price_diff', '=', False)]}"
                                        >
                                            <field
                                                name="l10n_ro_property_stock_price_difference_product_id"
                                                placeholder="Select a product"
                                            />

                                            <div class="text-muted">
                                                Select a service product that will be used in landed cost to register
                                                price
                                                differences.
                                                An expense account needs to be set on product or product category.
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_notice"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock_account_notice" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock_account_notice" />
                                    <div class="text-muted">
                                        Mark stock operations as notice operations. Stock accounting will change to use
                                        and
                                        accounts.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_reception_in_progress"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_stock_account_reception_in_progress"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_stock_account_reception_in_progress"
                                    />
                                    <div class="text-muted">
                                        This allows you to manage the stock reception in progress.
                                        through an intermediary account defined for each account.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_mrp"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock_account_mrp" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock_account_mrp" />
                                    <div class="text-muted">
                                        This allows you to view SVL from Unbuild operations.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_date"
                                class="col-xs-12 col-md-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock_account_date" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock_account_date" />
                                    <div class="text-muted">
                                        Select Accounting Date in stock operations.
                                        All transactions will have the Accounting Date as the used date in stock.
                                    </div>
                                    <div
                                        class="o_setting_left_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account_date', '=', False)]}"
                                    >
                                        <field
                                            name="l10n_ro_restrict_stock_move_date_last_month"
                                        />
                                    </div>
                                    <div
                                        class="o_setting_right_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account_date', '=', False)]}"
                                    >
                                        <label
                                            for="l10n_ro_restrict_stock_move_date_last_month"
                                        />
                                        <div class="text-muted">
                                            Restrict stock move posting with future date.
                                        </div>
                                    </div>
                                    <div
                                        class="o_setting_left_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account_date', '=', False)]}"
                                    >
                                        <field
                                            name="l10n_ro_restrict_stock_move_date_last_month"
                                        />
                                    </div>
                                    <div
                                        class="o_setting_right_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account_date', '=', False)]}"
                                    >
                                        <label
                                            for="l10n_ro_restrict_stock_move_date_last_month"
                                        />
                                        <div class="text-muted">
                                            Restrict stock move posting with future date.
                                        </div>
                                    </div>
                                </div>
                                <div
                                    id="module_l10n_ro_stock_account_date_wizard"
                                    attrs="{'invisible': [('module_l10n_ro_stock_account_date', '=', False)]}"
                                >
                                    <div class="o_setting_left_pane">
                                        <field
                                            name="module_l10n_ro_stock_account_date_wizard"
                                        />
                                    </div>
                                    <div class="o_setting_right_pane">
                                        <label
                                            for="module_l10n_ro_stock_account_date_wizard"
                                        />
                                        <div class="text-muted">
                                            Select Accounting Date in stock operations wizard.
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_report"
                                class="col-xs-12 col-md-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field name="module_l10n_ro_stock_report" />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="module_l10n_ro_stock_report" />
                                    <div class="text-muted">
                                        Add a stock sheet report for products grouped by Location, Account.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_picking_valued_report"
                                class="col-xs-12 col-md-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_stock_picking_valued_report"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_stock_picking_valued_report"
                                    />
                                    <div class="text-muted">
                                        Add valued reports for stock operations.
                                    </div>
                                     <div
                                        class="o_setting_left_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_picking_valued_report', '=', False)]}"
                                    >
                                        <field name="l10n_ro_print_delivery_price" />
                                    </div>
                                    <div
                                        class="o_setting_right_pane"
                                        attrs="{'invisible': [('module_l10n_ro_stock_picking_valued_report', '=', False)]}"
                                    >
                                        <label for="l10n_ro_print_delivery_price" />
                                        <div class="text-muted">
                                           For delivery order to customer or intern transfer order, this variable sets
                                            whether if the unit price and total are printed on the delivery slip.
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_picking_comment_template"
                                class="col-xs-12 col-md-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                    <field
                                        name="module_l10n_ro_stock_picking_comment_template"
                                    />
                                </div>
                                <div class="o_setting_right_pane">
                                    <label
                                        for="module_l10n_ro_stock_picking_comment_template"
                                    />
                                    <div class="text-muted">
                                        Add predefined layouts to stock reports.
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_notice_config"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <div
                                        class="content-group"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account', '=', False)]}"
                                    >
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_stock_picking_payable_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_stock_picking_payable_account_id"
                                                placeholder="Select 408"
                                            />
                                        </div>
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_stock_picking_receivable_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_stock_picking_receivable_account_id"
                                                placeholder="Select 418"
                                            />
                                        </div>
                                                                            </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_config"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <div
                                        class="content-group"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account', '=', False)]}"
                                    >

                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_stock_usage_giving_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_stock_usage_giving_account_id"
                                                placeholder="Select 8035"
                                            />
                                        </div>
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_stock_picking_custody_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_stock_picking_custody_account_id"
                                                placeholder="cont stock marfa primita in custodie (creeat nou extrabilantier)"
                                            />
                                        </div>
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_uneligible_tax_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_uneligible_tax_account_id"
                                                placeholder="use 4428 cont pentru tva neexigibil in notele facute pentru 'Marfa in magazin'"
                                            />
                                        </div>
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_stock_transfer_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_stock_transfer_account_id"
                                                placeholder="Select 482"
                                            />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div
                                id="module_l10n_ro_stock_account_discount_config"
                                class="col-12 col-lg-6 o_setting_box"
                            >
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <div
                                        class="content-group"
                                        attrs="{'invisible': [('module_l10n_ro_stock_account', '=', False)]}"
                                    >
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_trade_discount_received_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_trade_discount_received_account_id"
                                            />
                                        </div>
                                        <div class="row mt16">
                                            <label
                                                for="l10n_ro_property_trade_discount_granted_account_id"
                                                class="col-lg-3 o_light_label"
                                            />
                                            <field
                                                name="l10n_ro_property_trade_discount_granted_account_id"
                                            />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>

    <record id="res_config_settings_account_view_form" model="ir.ui.view">
        <field name="name">res.config.settings.view.form.inherit.account</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="account.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <div id="default_taxes" position="after">
                <div
                    class="col-12 col-lg-6 o_setting_box"
                    id="default_services_taxes"
                    title="These taxes are set in any new service product created."
                >
                    <div class="o_setting_left_pane" />
                    <div class="o_setting_right_pane">
                        <span class="o_form_label">Default Services Taxes</span>
                        <span
                            class="fa fa-lg fa-building-o"
                            title="Values set here are company-specific."
                            aria-label="Values set here are company-specific."
                            groups="base.group_multi_company"
                            role="img"
                        />
                        <div class="text-muted">
                            Default taxes applied to local transactions
                        </div>
                        <div class="content-group">
                            <div class="row mt16">
                                <label
                                    string="Services Sales Tax"
                                    for="l10n_ro_serv_sale_tax_id"
                                    class="col-lg-3 o_light_label"
                                />
                                <field
                                    name="l10n_ro_serv_sale_tax_id"
                                    domain="[('type_tax_use', 'in', ('sale', 'all')), ('company_id', '=', company_id)]"
                                />
                            </div>
                            <div class="row">
                                <label
                                    string="Services Purchase Tax"
                                    for="l10n_ro_serv_purchase_tax_id"
                                    class="col-lg-3 o_light_label"
                                />
                                <field
                                    name="l10n_ro_serv_purchase_tax_id"
                                    domain="[('type_tax_use', 'in', ('purchase', 'all')), ('company_id', '=', company_id)]"
                                />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </field>
    </record>
</odoo>
