[IMP] l10n_sa: adding COA + Tax reports + Tax grids + Closing entry for Saudi Arabia
Adding Chart of accounts, taxes and some translation for Saudi arabia accounting closes odoo/odoo#77960 X-original-commit: db667f486083ae7a934fd18f9023cdc2bbfb0de0 Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import api, SUPERUSER_ID
|
||||
from . import models
|
||||
|
||||
|
||||
def load_translations(cr, registry):
|
||||
env = api.Environment(cr, SUPERUSER_ID, {})
|
||||
env.ref('l10n_sa.account_arabic_coa_general').process_coa_translations()
|
||||
env.ref('l10n_sa.sa_chart_template_standard').process_coa_translations()
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Saudi Arabia - Accounting',
|
||||
'version': '1.1',
|
||||
'version': '2.0',
|
||||
'author': 'DVIT.ME',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
@@ -16,10 +15,15 @@ In future this module will include some payroll rules for ME .
|
||||
'website': 'http://www.dvit.me',
|
||||
'depends': ['account', 'l10n_multilang'],
|
||||
'data': [
|
||||
'data/account_data.xml',
|
||||
'data/account_chart_template_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/account_tax_group.xml',
|
||||
'data/l10n_sa_chart_data.xml',
|
||||
'data/account_chart_template_configure_data.xml',
|
||||
'data/account_tax_report_data.xml',
|
||||
'data/account_tax_template_data.xml',
|
||||
'data/account_fiscal_position_template_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
|
||||
@@ -1,65 +1,159 @@
|
||||
id,code,name,user_type_id:id,chart_template_id:id,reconcile
|
||||
account_receivable,12001,Account Receivable,account.data_account_type_receivable,account_arabic_coa_general,True
|
||||
account_receivable_pos,12002,Account Receivable (PoS),account.data_account_type_receivable,account_arabic_coa_general,True
|
||||
15000_furniture_equipments,15000,Furniture and Equipment,account.data_account_type_fixed_assets,account_arabic_coa_general,False
|
||||
17000_accu_deprec,17000,Accumulated Depreciation,account.data_account_type_fixed_assets,account_arabic_coa_general,False
|
||||
account_payable,20001,Account Payable,account.data_account_type_payable,account_arabic_coa_general,True
|
||||
24000_payroll_exp,24000,Payroll Liabilities,account.data_account_type_current_liabilities,account_arabic_coa_general,False
|
||||
25500_sales_tax_pay,25500,Sales Tax Payable,account.data_account_type_current_liabilities,account_arabic_coa_general,False
|
||||
26500_use_tax_pay,26500,Use Tax Payable,account.data_account_type_current_liabilities,account_arabic_coa_general,False
|
||||
30100_capital_stock,30100,Capital Stock,account.data_account_type_equity,account_arabic_coa_general,False
|
||||
30200_divid_paid,30200,Dividends Paid,account.data_account_type_equity,account_arabic_coa_general,False
|
||||
30000_open_balance,30000,Opening Balance Equity,account.data_account_type_equity,account_arabic_coa_general,False
|
||||
32000_retain_earn,32000,Retained Earnings,account.data_account_type_equity,account_arabic_coa_general,False
|
||||
60000_advert_promo,60000,Advertising and Promotion,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
60200_auto_exp,60200,Automobile Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
60400_bank_charge,60400,Bank Service Charges,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
61000_license_permit,61000,Business Licenses and Permits,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
62000_financial_services,62000,Continuing Education,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
61400_charit_contrib,61400,Charitable Contributions,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
61700_computer_internet,61700,Computer and Internet Expenses,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
62400_depreciation_exp,62400,Depreciation Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
62500_dues_subscrip,62500,Dues and Subscriptions,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
62600_equip_rent,62600,Equipment Rental,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
63400_interest_exp,63400,Interest Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
64300_meals_entertain,64300,Meals and Entertainment,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
64900_office_supp,64900,Office Supplies,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
66000_payroll_exp,66000,Payroll Expenses,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
66500_postage_deliver,66500,Postage and Delivery,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
66660_printing_reporduction,66600,Printing and Reproduction,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
66700_prof_fees,66700,Professional Fees,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
67100_rent_exp,67100,Rent Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
67200_repair_mainten,67200,Repairs and Maintenance,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
68000_tax_property,68000,Taxes - Property,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
68100_telephone_exp,68100,Telephone Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
68400_transport_travel,68400,Travel Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
68600_utilities,68600,Utilities,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
64200_marketing_exp,64200,Marketing Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
63200_gas_oil_exp,63200,"Gasoline, Fuel and Oil",account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
base_miscexpense,69000,Miscellaneous Expense,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
69310_general_liab_insurance,69310,General Liability Insurance,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
69320_health_insurance,69320,Health Insurance,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
69330_life_insurance,69330,Life and Disability Insurance,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
69350_prof_insurance,69350,Professional Liability,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
69360_worker_compons,69360,Worker's Compensation,account.data_account_type_expenses,account_arabic_coa_general,False
|
||||
42400_commission_income,42400,Commission income,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
47400_rent_income,47400,Rent Income,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
47900_general_service_sales,47900,Service Sales,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
47910_general_product_sales,47910,Product Sales,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
48310_product_sales_discount,48310,Sales Discounts,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
48900_product_shipping_income,48900,Shipping and Delivery Income,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
base_miscincome,49000,Miscellaneous Income,account.data_account_type_revenue,account_arabic_coa_general,False
|
||||
70000_finance_income,70000,Finance Charge Income,account.data_account_type_other_income,account_arabic_coa_general,False
|
||||
70200_interest_income,70200,Interest Income,account.data_account_type_other_income,account_arabic_coa_general,False
|
||||
70500_assets_sold,70500,Proceeds from Sale of Assets,account.data_account_type_other_income,account_arabic_coa_general,False
|
||||
70100_insurance_income,70100,Insurance Proceeds Received,account.data_account_type_other_income,account_arabic_coa_general,False
|
||||
53600_other_related_costs,53600,Other Job Related Costs,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
51100_product_shipping_cost,51100,Freight and Shipping Costs,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
52500_product_purchase_discount,52500,Purchase Discounts,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
52900_general_product_cost,52900,Purchases - Resale Items,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
50300_commissions_paid,50300,Commissions Paid,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
53500_subcontracted_services,53500,Subcontractors Expense,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
52000_merchant_fees,52000,Merchant Account Fees,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
53800_subcontract_exp,53800,Subcontractors Expense,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
54100_tools_equip,54100,Tools and Small Equipment,account.data_account_type_direct_costs,account_arabic_coa_general,False
|
||||
24600_customer_deposit,24600,Customer Deposits Received,account.data_account_type_current_liabilities,account_arabic_coa_general,False
|
||||
id,name,code,user_type_id/id,chart_template_id/id,reconcile
|
||||
sa_account_100101,Right of use Asset (IFRS 16),100101,account.data_account_type_fixed_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_100102,Accumulated Depreciation right use asset (IFRS 16),100102,account.data_account_type_fixed_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_100103,VAT Receivable,100103,account.data_account_type_non_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101005,Main Safe,101005,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101006,Main Safe - Foreign Currency,101006,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101007,Visa & Master Credit Cards,101007,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101008,Gateway Credit Cards,101008,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101009,Manual Visa & Master Cards,101009,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101010,PayPal Account,101010,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_101060,VAT Paid to Customs,101060,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_102011,Accounts Receivable,102011,account.data_account_type_receivable,l10n_sa.sa_chart_template_standard,True
|
||||
sa_account_102012,Accounts Receivable (PoS),102012,account.data_account_type_receivable,l10n_sa.sa_chart_template_standard,True
|
||||
sa_account_102013,Post Dated Cheques Received,102013,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_102014,Other Receivable,102014,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_102015,Other Debtors,102015,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_103016,Shipment Insurance,103016,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_103017,Shipments Documentation Charges,103017,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_103018,Shipment Other Charges,103018,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_103019,Handling Difference in Inventory,103019,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_103020,Items Delivered to Customs on temprary Base,103020,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104021,Prepaid Medical Insurance,104021,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104022,Prepaid Life Insurance,104022,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104023,Prepaid Office Rent,104023,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104024,Prepaid Other Insurance,104024,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104025,Prepaid License Fees,104025,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104026,Prepaid Maintenance,104026,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104027,Prepaid Site Hosting Fees,104027,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104028,Prepaid Employees Housing,104028,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104029,Prepaid Schooling Fees,104029,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104030,Prepaid Consultancy Fees,104030,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104031,Prepaid Legal Fees,104031,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104032,Prepaid Sponsorship Fees,104032,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104033,PrePaid Advertisement Expenses,104033,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104034,Prepaid Bank Guarantee,104034,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104035,Other Prepayments,104035,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104036,Prepaid Finance charge for Loans,104036,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104037,Deposit - Office Rent,104037,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104038,Deposits - Customs,104038,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104039,Deposit to Immigration (Visa),104039,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104040,Deposit Others,104040,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_104041,VAT Input,104041,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106001,Leasehold Improvement,106001,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106002,Furniture and Equipment,106002,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106003,Computer Hardware & Software,106003,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106004,Motor Vehicles,106004,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106005,Work In Progress,106005,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106006,Amortisation on Leasehold Improvement,106006,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106007,Acc.Deprn.of Furniture & Office Equipment,106007,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106008,Acc. Deprn.Computer Hardware & Software,106008,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106009,Acc. Depreciation of Motor Vehicles,106009,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106010,Registration of Trademarks,106010,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_106011,Computer Card Renewal,106011,account.data_account_type_current_assets,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201002,Payables,201002,account.data_account_type_payable,l10n_sa.sa_chart_template_standard,True
|
||||
sa_account_201003,Credit Notes to Customers,201003,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201004,Accrued - Salaries,201004,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201005,Leave Tickets Provision,201005,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201006,Leave Days Provision,201006,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201007,Accrued - Commissions,201007,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201008,Accrued Salaries Increment,201008,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201009,Accrued-Staff Bonus,201009,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201010,Accrued Other Personnel Cost,201010,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201011,Accrued - Utilities,201011,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201012,Accrued - Telephone,201012,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201013,Accrued - Sponsorship,201013,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201014,Accrued - Audit Fees,201014,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201015,Accrued - Office Rent,201015,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201016,Accrued Others,201016,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201017,VAT Output,201017,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201018,Deferred income,201018,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201019,Zakat Provision,201019,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_201020,Withholding Tax Payable,201020,account.data_account_type_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_202001,End of Service Provision,202001,account.data_account_type_non_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_202002,Reservations,202002,account.data_account_type_non_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_202003,VAT Payable,202003,account.data_account_type_non_current_liabilities,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400001,Cost of Goods Sold in Trading,400001,account.data_account_type_direct_costs,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400002,Cost Of Goods Sold I/C Sales,400002,account.data_account_type_direct_costs,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400003,Basic Salary,400003,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400004,Housing Allowance,400004,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400005,Transportation Allowance,400005,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400006,Leave Ticket,400006,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400007,Leave Salary,400007,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400008,End Of Service Indemnity,400008,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400009,Medical Insurance,400009,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400010,Life Insurance,400010,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400011,Sales Commission,400011,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400012,Staff Other Allowances,400012,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400013,Uniform,400013,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400014,Visa Expenses,400014,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400015,Personnel Cost Others,400015,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400016,Office Rent,400016,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400017,Warehouse Rent,400017,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400018,Water & Electricity,400018,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400019,Other Utility Cahrges,400019,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400020,Telephone,400020,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400021,Courrier,400021,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400022,Web Site Hosting Fees,400022,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400023,Others - Communication,400023,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400024,Air tickets,400024,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400025,Hotel,400025,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400026,Meals,400026,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400027,Per Diem,400027,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400028,Others,400028,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400029,Audit Fees,400029,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400030,Sponsorship Fees,400030,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400031,Legal fees,400031,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400032,Trade License Fees,400032,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400033,Others - Professional Fees,400033,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400034,Other - Advertising Expenses,400034,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400035,Write Off Receivables & Payables,400035,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400036,Write Off Inventory,400036,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400037,Amortisation of Preoperating Expenses,400037,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400038,Cash Shortage,400038,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400039,Others - Provision & Write off,400039,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400040,Insurance,400040,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400041,Training,400041,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400042,Maintenance,400042,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400043,Security & Guard,400043,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400044,Cleaning,400044,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400045,Subscriptions,400045,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400046,Gifts & Donations,400046,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400047,Kitchen and Buffet Expenses,400047,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400048,Vehicle Expenses,400048,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400049,Convoyance Expenses,400049,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400050,Others - Office Various Expenses,400050,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400051,Other Bank Charges,400051,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400052,Loss On Fixed Assets Disposal,400052,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400053,Loss on Difference on Exchange,400053,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400054,Disposal of Business Branch,400054,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400055,Income Tax,400055,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400056,Previous Year Adjustments Account,400056,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400057,Other Non Operating Expenses,400057,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400058,Credit Card Charges,400058,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400059,Bank Finance & Loan Charges,400059,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400060,Air Miles Card Charges,400060,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400062,PayPal Charges,400062,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400063,Amortization on Leasehold Improvement,400063,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400064,Depreciation Of Furniture & Office Equipment,400064,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400065,Depreciation Of Computer Hard & Soft,400065,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400066,Depreciation Of Motor Vehicles,400066,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400067,Consultancy Fees,400067,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400068,Provision for Doubtful Debts,400068,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400069,Closing Account,400069,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400070,Depreciation on right of use asset (IFRS 16),400070,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400072,Zakat Expense,400072,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_400073,Withholding Tax Expense,400073,account.data_account_type_expenses,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500001,Sales Account,500001,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500002,Sales of I/C,500002,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500003,Management Consultancy Fees,500003,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500004,Sales from Other Region,500004,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500005,Advertising Income,500005,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500006,Branding Income,500006,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500007,Space Rental Income,500007,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500008,Service Income,500008,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500009,Interest Revenue,500009,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500010,Capital Gain,500010,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500011,Gain On Difference Of Exchange,500011,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_500013,Other Income,500013,account.data_account_type_revenue,l10n_sa.sa_chart_template_standard,False
|
||||
sa_account_999999,Undistributed Profits/Losses,999999,account.data_unaffected_earnings,l10n_sa.sa_chart_template_standard,False
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_sa.account_arabic_coa_general')]"/>
|
||||
<value eval="[ref('l10n_sa.sa_chart_template_standard')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="account_arabic_coa_general" model="account.chart.template">
|
||||
<field name="name">Saudi Arabia - Chart of Accounts</field>
|
||||
<field name="bank_account_code_prefix">1</field>
|
||||
<field name="cash_account_code_prefix">1</field>
|
||||
<field name="transfer_account_code_prefix">18</field>
|
||||
<record id="sa_chart_template_standard" model="account.chart.template">
|
||||
<field name="name">Saudi Arabia Chart of Accounts - Standard</field>
|
||||
<field name="bank_account_code_prefix">101</field>
|
||||
<field name="cash_account_code_prefix">105</field>
|
||||
<field name="transfer_account_code_prefix">100</field>
|
||||
<field name="code_digits">6</field>
|
||||
<field name="currency_id" ref="base.SAR"/>
|
||||
<field name="spoken_languages" eval="'en_US;ar_EG;ar_SY'"/>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
<field name="spoken_languages" eval="'en_US;ar_001;'"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- set VAT label to show on invoice report -->
|
||||
<record id="base.sa" model="res.country">
|
||||
<field name="vat_label">VAT Number</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -0,0 +1,23 @@
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="l10n_sa_account_fiscal_position_ksa" model="account.fiscal.position.template">
|
||||
<field name="name">KSA</field>
|
||||
<field name="auto_apply" eval="True"/>
|
||||
<field name="sequence">16</field>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
</record>
|
||||
<record id="l10n_sa_account_fiscal_position_gcc" model="account.fiscal.position.template">
|
||||
<field name="name">GCC</field>
|
||||
<field name="auto_apply" eval="True"/>
|
||||
<field name="sequence">16</field>
|
||||
<field name="country_group_id" ref="base.gulf_cooperation_council"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
</record>
|
||||
<record id="l10n_sa_account_fiscal_position_non_gcc" model="account.fiscal.position.template">
|
||||
<field name="name">Non-GCC</field>
|
||||
<field name="sequence">16</field>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<!-- Account Tax Group -->
|
||||
<record id="sa_tax_group_taxes_15" model="account.tax.group">
|
||||
<field name="name">Taxes 15%</field>
|
||||
<field name="property_tax_payable_account_id" ref="sa_account_202003"/>
|
||||
<field name="property_tax_receivable_account_id" ref="sa_account_100103"/>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
</record>
|
||||
<record id="sa_tax_group_taxes_other" model="account.tax.group">
|
||||
<field name="name">Other Taxes</field>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
</record>
|
||||
<record id="sa_tax_group_taxes_withholding" model="account.tax.group">
|
||||
<field name="name">Withholding Tax</field>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -0,0 +1,483 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="tax_report_vat_filing" model="account.tax.report">
|
||||
<field name="name">VAT Filing Report</field>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
</record>
|
||||
<record id="tax_report_line_vat_all_sales_base" model="account.tax.report.line">
|
||||
<field name="name">VAT on Sales and all other Outputs (Base)</field>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_standard_rated_15_base" model="account.tax.report.line">
|
||||
<field name="name">1. Standard Rated 15% (Base)</field>
|
||||
<field name="tag_name">1. Standard Rates 15% (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">STD_SALE_B</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_special_sales_to_locals_base" model="account.tax.report.line">
|
||||
<field name="name">2. Special Sales to Locals (Base)</field>
|
||||
<field name="tag_name">2. Special Sales to Locals (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">SPCL_SALE_B</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_local_sales_subject_to_0_base" model="account.tax.report.line">
|
||||
<field name="name">3. Local Sales Subject to 0% (Base)</field>
|
||||
<field name="tag_name">3. Local Sales Subject to 0% (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">ZERO_SALE_B</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_export_sales_base" model="account.tax.report.line">
|
||||
<field name="name">4. Export Sales (Base)</field>
|
||||
<field name="tag_name">4. Export Sales (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXP_SALE_B</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_exempt_sales_base" model="account.tax.report.line">
|
||||
<field name="name">5. Exempt Sales (Base)</field>
|
||||
<field name="tag_name">5. Exempt Sales (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXM_SALE_B</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_sales_base" model="account.tax.report.line">
|
||||
<field name="name">6. Net Sales (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_SALE_B + SPCL_SALE_B + ZERO_SALE_B + EXP_SALE_B + EXM_SALE_B</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_vat_all_sales_tax" model="account.tax.report.line">
|
||||
<field name="name">VAT on Sales and all other Outputs (Tax)</field>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_standard_rated_15_tax" model="account.tax.report.line">
|
||||
<field name="name">1. Standard Rated 15% (Tax)</field>
|
||||
<field name="tag_name">1. Standard Rates 15% (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">STD_SALE_T</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_special_sales_to_locals_tax" model="account.tax.report.line">
|
||||
<field name="name">2. Special Sales to Locals (Tax)</field>
|
||||
<field name="tag_name">2. Special Sales to Locals (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">SPCL_SALE_T</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_local_sales_subject_to_0_tax" model="account.tax.report.line">
|
||||
<field name="name">3. Local Sales Subject to 0% (Tax)</field>
|
||||
<field name="tag_name">3. Local Sales Subject to 0% (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">ZERO_SALE_T</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_export_sales_tax" model="account.tax.report.line">
|
||||
<field name="name">4. Export Sales (Tax)</field>
|
||||
<field name="tag_name">4. Export Sales (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXP_SALE_T</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_exempt_sales_tax" model="account.tax.report.line">
|
||||
<field name="name">5. Exempt Sales (Tax)</field>
|
||||
<field name="tag_name">5. Exempt Sales (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXM_SALE_T</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_sales_tax" model="account.tax.report.line">
|
||||
<field name="name">6. Net Sales (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_sales_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_SALE_T + SPCL_SALE_T + ZERO_SALE_T + EXP_SALE_T + EXM_SALE_T</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_vat_all_expenses_base" model="account.tax.report.line">
|
||||
<field name="name">VAT on Expenses and all other Inputs (Base)</field>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_standard_rated_15_purchases_base" model="account.tax.report.line">
|
||||
<field name="name">7. Standard rated 15% Purchases (Base)</field>
|
||||
<field name="tag_name">7. Standard rated 15% Purchases (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">STD_PUR_B</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_taxable_imports_15_paid_to_customs_base" model="account.tax.report.line">
|
||||
<field name="name">8. Taxable Imports 15% Paid to Customs (Base)</field>
|
||||
<field name="tag_name">8. Taxable Imports 15% Paid to Customs (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">CUST_PUR_B</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_imports_subject_tp_reverse_charge_mechanism_base" model="account.tax.report.line">
|
||||
<field name="name">9. Imports subject to reverse charge mechanism (Base)</field>
|
||||
<field name="tag_name">9. Imports subject to reverse charge mechanism (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">RCM_PUR_B</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_zero_rated_purchases_base" model="account.tax.report.line">
|
||||
<field name="name">10. Zero Rated Purchases (Base)</field>
|
||||
<field name="tag_name">10. Zero Rated Purchases (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">ZER_PUR_B</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_exempt_purchases_base" model="account.tax.report.line">
|
||||
<field name="name">11. Exempt Purchases (Base)</field>
|
||||
<field name="tag_name">11. Exempt Purchases (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXM_PUR_B</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_purchases_base" model="account.tax.report.line">
|
||||
<field name="name">12. Net Purchases (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_base"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_PUR_B + CUST_PUR_B + RCM_PUR_B + ZER_PUR_B + EXM_PUR_B</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_vat_all_expenses_tax" model="account.tax.report.line">
|
||||
<field name="name">VAT on Expenses and all other Inputs (Tax)</field>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_standard_rated_15_purchases_tax" model="account.tax.report.line">
|
||||
<field name="name">7. Standard rated 15% Purchases (Tax)</field>
|
||||
<field name="tag_name">7. Standard rated 15% Purchases (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">STD_PUR_T</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_taxable_imports_15_paid_to_customs_tax" model="account.tax.report.line">
|
||||
<field name="name">8. Taxable Imports 15% Paid to Customs (Tax)</field>
|
||||
<field name="tag_name">8. Taxable Imports 15% Paid to Customs (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">CUST_PUR_T</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_imports_subject_tp_reverse_charge_mechanism_tax" model="account.tax.report.line">
|
||||
<field name="name">9. Imports subject to reverse charge mechanism (Tax)</field>
|
||||
<field name="tag_name">9. Imports subject to reverse charge mechanism (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">RCM_PUR_T</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_zero_rated_purchases_tax" model="account.tax.report.line">
|
||||
<field name="name">10. Zero Rated Purchases (Tax)</field>
|
||||
<field name="tag_name">10. Zero Rated Purchases (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">ZER_PUR_T</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_exempt_purchases_tax" model="account.tax.report.line">
|
||||
<field name="name">11. Exempt Purchases (Tax)</field>
|
||||
<field name="tag_name">11. Exempt Purchases (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="code">EXM_PUR_T</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_purchases_tax" model="account.tax.report.line">
|
||||
<field name="name">12. Net Purchases (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_vat_all_expenses_tax"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_PUR_T + CUST_PUR_T + RCM_PUR_T + ZER_PUR_T + EXM_PUR_T</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_vat_due" model="account.tax.report.line">
|
||||
<field name="name">Net VAT Due</field>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_total_value_of_due_tax_for_the_period" model="account.tax.report.line">
|
||||
<field name="name">Total value of due tax for the period</field>
|
||||
<field name="parent_id" ref="tax_report_line_net_vat_due"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_SALE_T + SPCL_SALE_T + ZERO_SALE_T + EXP_SALE_T + EXM_SALE_T</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_total_value_of_recoverable_tax_for_the_period" model="account.tax.report.line">
|
||||
<field name="name">Total value of recoverable tax for the period</field>
|
||||
<field name="parent_id" ref="tax_report_line_net_vat_due"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_PUR_T + CUST_PUR_T + RCM_PUR_T + ZER_PUR_T + EXM_PUR_T</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_net_vat_due_or_reclaimed_for_the_period" model="account.tax.report.line">
|
||||
<field name="name">Net VAT due (or reclaimed) for the period</field>
|
||||
<field name="parent_id" ref="tax_report_line_net_vat_due"/>
|
||||
<field name="report_id" ref="tax_report_vat_filing"/>
|
||||
<field name="formula">STD_SALE_T + SPCL_SALE_T + ZERO_SALE_T + EXP_SALE_T + EXM_SALE_T - (STD_PUR_T + CUST_PUR_T + RCM_PUR_T + ZER_PUR_T + EXM_PUR_T)</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- New report for Withholding Taxes-->
|
||||
|
||||
|
||||
<record id="tax_report_withholding_tax" model="account.tax.report">
|
||||
<field name="name">Withholding Tax Report</field>
|
||||
<field name="country_id" ref="base.sa"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_on_purchased_services_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax on Purchased Services (Base)</field>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_rental_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Rental) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Rental) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">RENTB</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_tickets_or_air_freight_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Air Freight) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Tickets or Air Freight) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">AIRB</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_tickets_or_sea_freight_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Sea Freight)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Tickets or Sea Freight)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">SEAB</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_international_telecommunication_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (International Telecommunication)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (International Telecommunication)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">TELEB</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_distributed_profits_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Distributed Profits) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Distributed Profits) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">DIVB</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_consulting_and_technical_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Consulting and Technical) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Consulting and Technical) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">CONB</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_return_from_loans_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Return from Loans) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Return from Loans) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">ROLB</field>
|
||||
<field name="sequence" eval="7"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_insurance_and_reinsurance_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Insurance & Reinsurance) (Base)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Insurance & Reinsurance) (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">INSB</field>
|
||||
<field name="sequence" eval="8"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_royalties_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Royalties)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Royalties)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">ROYB</field>
|
||||
<field name="sequence" eval="9"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_paid_services_from_main_branch_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from Main Branch)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Paid Services from Main Branch)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">MAIB</field>
|
||||
<field name="sequence" eval="10"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_paid_services_from_another_branch_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from another branch)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Paid Services from another branch)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">BRAB</field>
|
||||
<field name="sequence" eval="11"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_others_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Others)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Others)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">OTHB</field>
|
||||
<field name="sequence" eval="12"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_20_managerial_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 20% (Managerial)(Base)</field>
|
||||
<field name="tag_name">Withholding Tax 20% (Managerial)(Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">MAGB</field>
|
||||
<field name="sequence" eval="13"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_total_base" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax Total (Base)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_base"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="formula">RENTB+AIRB+SEAB+TELEB+DIVB+CONB+ROLB+INSB+ROYB+MAIB+BRAB+OTHB+MAGB</field>
|
||||
<field name="sequence" eval="14"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_on_purchased_services_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax on Purchased Services (Tax)</field>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_rental_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Rental) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Rental) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">RENTT</field>
|
||||
<field name="sequence" eval="1"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_tickets_or_air_freight_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Air Freight) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Tickets or Air Freight) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">AIRT</field>
|
||||
<field name="sequence" eval="2"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_tickets_or_sea_freight_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Sea Freight)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Tickets or Sea Freight)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">SEAT</field>
|
||||
<field name="sequence" eval="3"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_international_telecommunication_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (International Telecommunication)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (International Telecommunication)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">TELET</field>
|
||||
<field name="sequence" eval="4"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_distributed_profits_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Distributed Profits) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Distributed Profits) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">DIVT</field>
|
||||
<field name="sequence" eval="5"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_consulting_and_technical_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Consulting and Technical) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Consulting and Technical) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">CONT</field>
|
||||
<field name="sequence" eval="6"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_return_from_loans_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Return from Loans) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Return from Loans) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">ROLT</field>
|
||||
<field name="sequence" eval="7"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_5_insurance_and_reinsurance_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 5% (Insurance & Reinsurance) (Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 5% (Insurance & Reinsurance) (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">INST</field>
|
||||
<field name="sequence" eval="8"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_royalties_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Royalties)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Royalties)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">ROYT</field>
|
||||
<field name="sequence" eval="9"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_paid_services_from_main_branch_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from Main Branch)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Paid Services from Main Branch)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">MAIT</field>
|
||||
<field name="sequence" eval="10"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_paid_services_from_another_branch_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from another branch)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Paid Services from another branch)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">BRAT</field>
|
||||
<field name="sequence" eval="11"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_15_others_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 15% (Others)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 15% (Others)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">OTHT</field>
|
||||
<field name="sequence" eval="12"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_20_managerial_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax 20% (Managerial)(Tax)</field>
|
||||
<field name="tag_name">Withholding Tax 20% (Managerial)(Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="code">MAGT</field>
|
||||
<field name="sequence" eval="13"/>
|
||||
</record>
|
||||
<record id="tax_report_line_withholding_tax_total_tax" model="account.tax.report.line">
|
||||
<field name="name">Withholding Tax Total (Tax)</field>
|
||||
<field name="parent_id" ref="tax_report_line_withholding_tax_on_purchased_services_tax"/>
|
||||
<field name="report_id" ref="tax_report_withholding_tax"/>
|
||||
<field name="formula">RENTT+AIRT+SEAT+TELET+DIVT+CONT+ROLT+INST+ROYT+MAIT+BRAT+OTHT+MAGT</field>
|
||||
<field name="sequence" eval="14"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -0,0 +1,908 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="sa_sales_tax_15" model="account.tax.template">
|
||||
<field name="name">Sales Tax 15%</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Sales Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_15"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_standard_rated_15_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_201017'),
|
||||
'plus_report_line_ids': [ref('tax_report_line_standard_rated_15_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_standard_rated_15_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_201017'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_standard_rated_15_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_local_sales_tax_0" model="account.tax.template">
|
||||
<field name="name">Local Sales 0%</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Local Sales 0%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_local_sales_subject_to_0_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_local_sales_subject_to_0_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_local_sales_subject_to_0_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'minus_report_line_ids': [ref('tax_report_line_local_sales_subject_to_0_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_export_sales_tax_0" model="account.tax.template">
|
||||
<field name="name">Export Sales 0%</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Export Sales 0%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_export_sales_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_export_sales_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_export_sales_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'minus_report_line_ids': [ref('tax_report_line_export_sales_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_exempt_sales_tax_0" model="account.tax.template">
|
||||
<field name="name">Exempt Sales Tax 0%</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Exempt Sales Tax 0%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_exempt_sales_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_exempt_sales_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_exempt_sales_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'minus_report_line_ids': [ref('tax_report_line_exempt_sales_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_purchase_tax_15" model="account.tax.template">
|
||||
<field name="name">Purchase Tax 15%</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Purchase Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_15"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_standard_rated_15_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_104041'),
|
||||
'plus_report_line_ids': [ref('tax_report_line_standard_rated_15_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_standard_rated_15_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_104041'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_standard_rated_15_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_rcp_tax_15" model="account.tax.template">
|
||||
<field name="name">Reverse charge provision Tax 15%</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Reverse charge provision Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_15"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_imports_subject_tp_reverse_charge_mechanism_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_104041'),
|
||||
'plus_report_line_ids': [ref('tax_report_line_imports_subject_tp_reverse_charge_mechanism_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_imports_subject_tp_reverse_charge_mechanism_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_104041'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_imports_subject_tp_reverse_charge_mechanism_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_import_tax_paid_15_paid_to_customs" model="account.tax.template">
|
||||
<field name="name">Import tax 15% Paid to customs</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Import tax 15% Paid to customs</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_taxable_imports_15_paid_to_customs_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_101060'),
|
||||
'plus_report_line_ids': [ref('tax_report_line_taxable_imports_15_paid_to_customs_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_taxable_imports_15_paid_to_customs_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_101060'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_taxable_imports_15_paid_to_customs_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_purchases_tax_0" model="account.tax.template">
|
||||
<field name="name">Purchases 0%</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Purchases 0%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_zero_rated_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_zero_rated_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_zero_rated_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'minus_report_line_ids': [ref('tax_report_line_zero_rated_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_exempt_purchases_tax" model="account.tax.template">
|
||||
<field name="name">Exempt Purchases</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="description">Exempt Purchases</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_other"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_exempt_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_exempt_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_exempt_purchases_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'minus_report_line_ids': [ref('tax_report_line_exempt_purchases_tax')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_rental" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Rental)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_rental_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_rental_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_rental_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_rental_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_tickets_or_air_freight" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Air Freight)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_air_freight_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_air_freight_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_air_freight_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_air_freight_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_tickets_or_sea_freight" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Tickets or Sea Freight)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_sea_freight_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_sea_freight_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_sea_freight_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_tickets_or_sea_freight_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_international_telecommunication" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (International Telecommunication)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_international_telecommunication_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_international_telecommunication_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_international_telecommunication_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_international_telecommunication_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_distributed_profits" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Distributed Profits)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_distributed_profits_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_distributed_profits_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_distributed_profits_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_distributed_profits_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_consulting_and_technical" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Consulting and Technical)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_consulting_and_technical_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_consulting_and_technical_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_consulting_and_technical_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_consulting_and_technical_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_return_from_loans" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Return from Loans)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_return_from_loans_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_return_from_loans_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_return_from_loans_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_return_from_loans_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_5_insurance_amd_reinsurance" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 5% (Insurance & Reinsurance)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 5%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_insurance_and_reinsurance_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_5_insurance_and_reinsurance_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_insurance_and_reinsurance_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_5_insurance_and_reinsurance_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_15_royalties" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 15% (Royalties)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_royalties_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_royalties_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_royalties_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_royalties_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_15_paid_services_from_main_branch" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from Main Branch)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_main_branch_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_main_branch_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_main_branch_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_main_branch_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_15_paid_services_from_another_branch" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 15% (Paid Services from another branch)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_another_branch_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_another_branch_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_another_branch_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_paid_services_from_another_branch_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_15_others" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 15% (Others)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 15%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_others_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_15_others_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_others_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_15_others_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="sa_withholding_tax_20_managerial" model="account.tax.template">
|
||||
<field name="name">Withholding Tax 20% (Managerial)</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="amount">20</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_scope">service</field>
|
||||
<field name="description">Withholding Tax 20%</field>
|
||||
<field name="tax_group_id" ref="sa_tax_group_taxes_withholding"/>
|
||||
<field name="chart_template_id" ref="sa_chart_template_standard"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_20_managerial_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_line_withholding_tax_20_managerial_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'base',
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_20_managerial_base')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('sa_account_400073'),
|
||||
'minus_report_line_ids': [ref('tax_report_line_withholding_tax_20_managerial_tax')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'account_id': ref('sa_account_201020'),
|
||||
'repartition_type': 'tax',
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,15 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Chart Template -->
|
||||
<record id="account_arabic_coa_general" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="account_receivable"/>
|
||||
<field name="property_account_payable_id" ref="account_payable"/>
|
||||
<field name="property_account_expense_id" ref="52900_general_product_cost"/>
|
||||
<field name="property_account_income_id" ref="47910_general_product_sales"/>
|
||||
<field name="property_account_expense_categ_id" ref="52900_general_product_cost"/>
|
||||
<field name="property_account_income_categ_id" ref="47910_general_product_sales"/>
|
||||
<field name="income_currency_exchange_account_id" ref="base_miscincome"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="base_miscexpense"/>
|
||||
<field name="default_pos_receivable_account_id" ref="account_receivable_pos" />
|
||||
<record id="sa_chart_template_standard" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="sa_account_102011"/>
|
||||
<field name="property_account_payable_id" ref="sa_account_201002"/>
|
||||
<field name="property_account_expense_categ_id" ref="sa_account_400001"/>
|
||||
<field name="property_account_income_categ_id" ref="sa_account_500001"/>
|
||||
<field name="income_currency_exchange_account_id" ref="sa_account_400053"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="sa_account_500011"/>
|
||||
<field name="default_pos_receivable_account_id" ref="sa_account_102012" />
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
<record id="demo_company_sa" model="res.company">
|
||||
<field name="name">SA Company</field>
|
||||
<field name="vat">123456789</field>
|
||||
<field name="partner_id" ref="partner_demo_company_sa"/>
|
||||
</record>
|
||||
|
||||
@@ -28,7 +29,7 @@
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_sa.account_arabic_coa_general')]"/>
|
||||
<value eval="[ref('l10n_sa.sa_chart_template_standard')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_sa.demo_company_sa')"/>
|
||||
</function>
|
||||
</odoo>
|
||||
|
||||
+1023
-362
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import account_chart_template
|
||||
@@ -0,0 +1,44 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
|
||||
|
||||
class AccountChartTemplate(models.Model):
|
||||
_inherit = 'account.chart.template'
|
||||
|
||||
def _prepare_all_journals(self, acc_template_ref, company, journals_dict=None):
|
||||
""" If Saudi Arabia chart, we add 3 new journals Tax Adjustments, IFRS 16 and Zakat"""
|
||||
if self == self.env.ref('l10n_sa.sa_chart_template_standard'):
|
||||
if not journals_dict:
|
||||
journals_dict = []
|
||||
journals_dict.extend(
|
||||
[{'name': 'Tax Adjustments', 'company_id': company.id, 'code': 'TA', 'type': 'general',
|
||||
'favorite': True, 'sequence': 1},
|
||||
{'name': 'IFRS 16 Right of Use Asset', 'company_id': company.id, 'code': 'IFRS', 'type': 'general',
|
||||
'favorite': True, 'sequence': 10},
|
||||
{'name': 'Zakat', 'company_id': company.id, 'code': 'ZAKAT', 'type': 'general', 'favorite': True,
|
||||
'sequence': 10}])
|
||||
return super()._prepare_all_journals(acc_template_ref, company, journals_dict=journals_dict)
|
||||
|
||||
def _load_template(self, company, code_digits=None, account_ref=None, taxes_ref=None):
|
||||
account_ref, taxes_ref = super(AccountChartTemplate, self)._load_template(company=company,
|
||||
code_digits=code_digits,
|
||||
account_ref=account_ref,
|
||||
taxes_ref=taxes_ref)
|
||||
if self == self.env.ref('l10n_sa.sa_chart_template_standard'):
|
||||
ifrs_journal_id = self.env['account.journal'].search([('company_id', '=', company.id), ('code', '=', 'IFRS')], limit=1)
|
||||
if ifrs_journal_id:
|
||||
ifrs_account_ids = [self.env.ref('l10n_sa.sa_account_100101').id,
|
||||
self.env.ref('l10n_sa.sa_account_100102').id,
|
||||
self.env.ref('l10n_sa.sa_account_400070').id]
|
||||
ifrs_accounts = self.env['account.account'].browse([account_ref.get(id) for id in ifrs_account_ids])
|
||||
for account in ifrs_accounts:
|
||||
account.allowed_journal_ids = [(4, ifrs_journal_id.id, 0)]
|
||||
zakat_journal_id = self.env['account.journal'].search([('company_id', '=', company.id), ('code', '=', 'ZAKAT')], limit=1)
|
||||
if zakat_journal_id:
|
||||
zakat_account_ids = [self.env.ref('l10n_sa.sa_account_201019').id,
|
||||
self.env.ref('l10n_sa.sa_account_400072').id]
|
||||
zakat_accounts = self.env['account.account'].browse([account_ref.get(id) for id in zakat_account_ids])
|
||||
for account in zakat_accounts:
|
||||
account.allowed_journal_ids = [(4, zakat_journal_id.id, 0)]
|
||||
return account_ref, taxes_ref
|
||||
Reference in New Issue
Block a user