<commit_before># -*- coding: utf-8 -*-
import logging
from openerp import models, fields, api

_logger = logging.getLogger(__name__)


class adhoc_base_configuration(models.TransientModel):
    _name = 'adhoc.base.config.settings'
    _inherit = 'res.config.settings'

    # Fixes
    module_account_voucher_multic_fix = fields.Boolean(
        'FiX voucher in multi-company father/son environment',
        help="""Installs the account_voucher_multic_fix module.""")
    module_account_multic_fix = fields.Boolean(
        'FiX account in multi-company father/son environment',
        help="""Installs the account_multic_fix module.""")
    module_sale_multic_fix = fields.Boolean(
        'FiX sale in multi-company father/son environment',
        help="""Installs the sale_multic_fix module.""")
    module_purchase_multic_fix = fields.Boolean(
        'FiX purchase in multi-company father/son environment',
        help="""Installs the purchase_multic_fix module.""")
    module_account_voucher_account_fix = fields.Boolean(
        'FIX vouchers credit/debit account choose. If payment, use credit account; if receipt, use debit account',
        help="""Installs the account_voucher_account_fix module.""")
    module_account_onchange_fix = fields.Boolean(
        'FIX account on changes in multicompany environment',
        help="""Installs the account_onchange_fix module.""")
    module_stock_multic_fix = fields.Boolean(
        'FIX invoice creation wizard from picking in multicompany environment',
        help="""Installs the stock_multic_fix module.""")

    # Account modules
    module_account_invoice_tax_wizard = fields.Boolean(
        'Add a wizard to add manual taxes on invoices',
        help="""Installs the account_invoice_tax_wizard module.""")
    module_account_fiscal_position_no_source_tax = fields.Boolean(
        'Give posibility to define tax mapping in fiscal position without source tax',
        help="""Installs the account_fiscal_position_no_source_tax module.""")
    module_invoice_fiscal_position_update = fields.Boolean(
        'Invoice Update on Fiscal Position Change',
        help="""Installs the invoice_fiscal_position_update module.""")
    module_account_cancel = fields.Boolean(
        'Allows canceling accounting entries',
        help="""Installs the account_cancel module.""")
    module_account_check = fields.Boolean(
        'Checks Management, issued and third checks',
        help="""Installs the account_check module.""")
    module_account_interests = fields.Boolean(
        'Interests management.',
        help="""Installs the account_interests module.""")
    module_account_invoice_commercial = fields.Boolean(
        'Use commercial on invoices related to partner',
        help="""Installs the account_invoice_commercial module, will also install stock module as it change invoice creation from stock.""")
    module_account_partner_balance = fields.Boolean(
        'See Partner Balance on Partner tree view and balance on account move lines',
        help="""Installs the account_partner_balance module.""")
    module_account_voucher_receipt = fields.Boolean(
        'Manage Payment Receipts',
        help="""Installs the account_voucher_receipt module.""")
    module_account_journal_security = fields.Boolean(
        'Restrict users to some journals',
        help="""Installs the account_journal_security module.""")
    module_account_invoice_adjust = fields.Boolean(
        'Adjust Customer and Suppliers Invoices',
        help="""Installs the account_invoice_adjust module. Allows reconciling between receivable and payable accounts of same partner""")
    module_account_create_journal = fields.Boolean(
        'Configure Payment Journals With a Wizard',
        help="""Installs the account_create_journal module installs checks, payment direction an other modules.""")
    module_account_journal_sequence = fields.Boolean(
        'Add sequence on account journals',
        help="""Installs the account_journal_sequence module.""")
    module_account_payment_direction = fields.Boolean(
        'Allow to set up In or Out on payment journals',
        help="""Installs the account_payment_direction module.""")
    module_account_financial_report_webkit_xls = fields.Boolean(
        'Add XLS export to accounting reports',
        help="""Installs the account_financial_report_webkit_xls module.""")
    module_account_financial_report_webkit = fields.Boolean(
        'This module adds or replaces the following standard OpenERP financial reports',
        help="""Installs the account_financial_report_webkit module.""")
    module_account_tax_analysis = fields.Boolean(
        'Tax analysis View',
        help="""Installs the account_tax_analysis module. Generate a menu under Accounting / Tax / Tax analysis you are able to group accounting entries by Taxes (VAT codes) and/or financial accounts.""")
    module_account_clean_cancelled_invoice_number = fields.Boolean(
        'Allow canceled invoice number renumber and deletion',
        help="""Installs the account_clean_cancelled_invoice_number module. It adds a button on canceled invoice number so you can choose to remove internal number and then delete it or renumber by re-approving it.""")
    module_multi_store = fields.Boolean(
        'Manage a multi store environment with journals restrictions',
        help="""Installs the multi_store module. The main purpose of this module is to restrict journals access for users on different stores.""")
    module_account_journal_active = fields.Boolean(
        'Allow journals activation/deactivation (adds field "active")',
        help="""Installs the account_journal_active module.""")
    module_account_invoice_company_search = fields.Boolean(
        'Add to Invoice a filter by company and group by Company',
        help="""Installs the account_invoice_company_search module.""")
    module_account_partner_account_summary = fields.Boolean(
        'Add Aeroo Partner Account Summary Report',
        help="""Installs the account_partner_account_summary module.""")
    module_account_bank_voucher = fields.Boolean(
        'Add import vouchers on Bank and Cash Statements',
        help="""Installs the account_bank_voucher module.""")
    module_account_invoice_prices_update = fields.Boolean(
        'Allow prices update on invoices based on pricelist',
        help="""Installs the account_invoice_prices_update module.""")
    module_account_refund_invoice_fix = fields.Boolean(
        'Fix related to invoice refund generation',
        help="""Installs the account_refund_invoice_fix module.""")
    module_account_invoice_journal_filter = fields.Boolean(
        'Add to Invoice a filter by Journal and group by Journal',
        help="""Installs the account_invoice_journal_filter module.""")
    module_account_invoice_pricelist_discount = fields.Boolean(
        'Show on invoice lines discounted price.',
        help="""Installs the account_invoice_pricelist_discount.""")
    module_account_export_csv = fields.Boolean(
        ' Add a wizard that allow you to export a csv file based on accounting journal entries.',
        help="""Installs the account_export_csv.""")

<<<<<<< HEAD
    # Sale / Purchase modules
    module_sale_add_products_wizard = fields.Boolean(
        'Add a wizard to add multiple products on a sale order',
        help="""Installs the sale_add_products_wizard module.""")
    module_purchase_discount = fields.Boolean(
        'Mange disccounts on purchases',<commit_msg>FIX config of adhoc base setup<commit_after># -*- coding: utf-8 -*-
import logging
from openerp import models, fields, api

_logger = logging.getLogger(__name__)


class adhoc_base_configuration(models.TransientModel):
    _name = 'adhoc.base.config.settings'
    _inherit = 'res.config.settings'

    # Fixes
    module_account_voucher_multic_fix = fields.Boolean(
        'FiX voucher in multi-company father/son environment',
        help="""Installs the account_voucher_multic_fix module.""")
    module_account_multic_fix = fields.Boolean(
        'FiX account in multi-company father/son environment',
        help="""Installs the account_multic_fix module.""")
    module_sale_multic_fix = fields.Boolean(
        'FiX sale in multi-company father/son environment',
        help="""Installs the sale_multic_fix module.""")
    module_purchase_multic_fix = fields.Boolean(
        'FiX purchase in multi-company father/son environment',
        help="""Installs the purchase_multic_fix module.""")
    module_account_voucher_account_fix = fields.Boolean(
        'FIX vouchers credit/debit account choose. If payment, use credit account; if receipt, use debit account',
        help="""Installs the account_voucher_account_fix module.""")
    module_account_onchange_fix = fields.Boolean(
        'FIX account on changes in multicompany environment',
        help="""Installs the account_onchange_fix module.""")
    module_stock_multic_fix = fields.Boolean(
        'FIX invoice creation wizard from picking in multicompany environment',
        help="""Installs the stock_multic_fix module.""")

    # Account modules
    module_account_invoice_tax_wizard = fields.Boolean(
        'Add a wizard to add manual taxes on invoices',
        help="""Installs the account_invoice_tax_wizard module.""")
    module_account_fiscal_position_no_source_tax = fields.Boolean(
        'Give posibility to define tax mapping in fiscal position without source tax',
        help="""Installs the account_fiscal_position_no_source_tax module.""")
    module_invoice_fiscal_position_update = fields.Boolean(
        'Invoice Update on Fiscal Position Change',
        help="""Installs the invoice_fiscal_position_update module.""")
    module_account_cancel = fields.Boolean(
        'Allows canceling accounting entries',
        help="""Installs the account_cancel module.""")
    module_account_check = fields.Boolean(
        'Checks Management, issued and third checks',
        help="""Installs the account_check module.""")
    module_account_interests = fields.Boolean(
        'Interests management.',
        help="""Installs the account_interests module.""")
    module_account_invoice_commercial = fields.Boolean(
        'Use commercial on invoices related to partner',
        help="""Installs the account_invoice_commercial module, will also install stock module as it change invoice creation from stock.""")
    module_account_partner_balance = fields.Boolean(
        'See Partner Balance on Partner tree view and balance on account move lines',
        help="""Installs the account_partner_balance module.""")
    module_account_voucher_receipt = fields.Boolean(
        'Manage Payment Receipts',
        help="""Installs the account_voucher_receipt module.""")
    module_account_journal_security = fields.Boolean(
        'Restrict users to some journals',
        help="""Installs the account_journal_security module.""")
    module_account_invoice_adjust = fields.Boolean(
        'Adjust Customer and Suppliers Invoices',
        help="""Installs the account_invoice_adjust module. Allows reconciling between receivable and payable accounts of same partner""")
    module_account_create_journal = fields.Boolean(
        'Configure Payment Journals With a Wizard',
        help="""Installs the account_create_journal module installs checks, payment direction an other modules.""")
    module_account_journal_sequence = fields.Boolean(
        'Add sequence on account journals',
        help="""Installs the account_journal_sequence module.""")
    module_account_payment_direction = fields.Boolean(
        'Allow to set up In or Out on payment journals',
        help="""Installs the account_payment_direction module.""")
    module_account_financial_report_webkit_xls = fields.Boolean(
        'Add XLS export to accounting reports',
        help="""Installs the account_financial_report_webkit_xls module.""")
    module_account_financial_report_webkit = fields.Boolean(
        'This module adds or replaces the following standard OpenERP financial reports',
        help="""Installs the account_financial_report_webkit module.""")
    module_account_tax_analysis = fields.Boolean(
        'Tax analysis View',
        help="""Installs the account_tax_analysis module. Generate a menu under Accounting / Tax / Tax analysis you are able to group accounting entries by Taxes (VAT codes) and/or financial accounts.""")
    module_account_clean_cancelled_invoice_number = fields.Boolean(
        'Allow canceled invoice number renumber and deletion',
        help="""Installs the account_clean_cancelled_invoice_number module. It adds a button on canceled invoice number so you can choose to remove internal number and then delete it or renumber by re-approving it.""")
    module_multi_store = fields.Boolean(
        'Manage a multi store environment with journals restrictions',
        help="""Installs the multi_store module. The main purpose of this module is to restrict journals access for users on different stores.""")
    module_account_journal_active = fields.Boolean(
        'Allow journals activation/deactivation (adds field "active")',
        help="""Installs the account_journal_active module.""")
    module_account_invoice_company_search = fields.Boolean(
        'Add to Invoice a filter by company and group by Company',
        help="""Installs the account_invoice_company_search module.""")
    module_account_partner_account_summary = fields.Boolean(
        'Add Aeroo Partner Account Summary Report',
        help="""Installs the account_partner_account_summary module.""")
    module_account_bank_voucher = fields.Boolean(
        'Add import vouchers on Bank and Cash Statements',
        help="""Installs the account_bank_voucher module.""")
    module_account_invoice_prices_update = fields.Boolean(
        'Allow prices update on invoices based on pricelist',
        help="""Installs the account_invoice_prices_update module.""")
    module_account_refund_invoice_fix = fields.Boolean(
        'Fix related to invoice refund generation',
        help="""Installs the account_refund_invoice_fix module.""")
    module_account_invoice_journal_filter = fields.Boolean(
        'Add to Invoice a filter by Journal and group by Journal',
        help="""Installs the account_invoice_journal_filter module.""")
    module_account_invoice_pricelist_discount = fields.Boolean(
        'Show on invoice lines discounted price.',
        help="""Installs the account_invoice_pricelist_discount.""")
    module_account_export_csv = fields.Boolean(
        ' Add a wizard that allow you to export a csv file based on accounting journal entries.',
        help="""Installs the account_export_csv.""")

    # Sale / Purchase modules
    module_sale_add_products_wizard = fields.Boolean(
        'Add a wizard to add multiple products on a sale order',
        help="""Installs the sale_add_products_wizard module.""")
    module_purchase_discount = fields.Boolean(
        'Mange disccounts on purchases',
{'fraction_non_alphanumeric': 0.08216180371352785, 'fraction_numerical': 0.0001326259946949602, 'mean_word_length': 3.9413499344692005, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7124566', 'n_tokens_mistral': 4124, 'n_tokens_neox': 3919, 'n_words': 1223}