Initial import from Docker volume

This commit is contained in:
root
2025-12-26 13:11:43 +00:00
commit 4998dc066a
13336 changed files with 1767801 additions and 0 deletions

16
modules/account_be/__init__.py Executable file
View File

@@ -0,0 +1,16 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
from . import account
def register():
Pool.register(
account.BEVATCustomer,
account.BEVATCustomerContext,
module='account_be', type_='model')
Pool.register(
account.CreateChart,
module='account_be', type_='wizard')

Binary file not shown.

Binary file not shown.

Binary file not shown.

147
modules/account_be/account.py Executable file
View File

@@ -0,0 +1,147 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from sql import Literal
from sql.aggregate import Max, Min, Sum
from trytond.model import ModelSQL, ModelView, fields
from trytond.modules.account.exceptions import FiscalYearNotFoundError
from trytond.modules.currency.fields import Monetary
from trytond.pool import Pool, PoolMeta
from trytond.pyson import Eval
from trytond.transaction import Transaction
class CreateChart(metaclass=PoolMeta):
__name__ = 'account.create_chart'
def default_properties(self, fields):
pool = Pool()
ModelData = pool.get('ir.model.data')
defaults = super().default_properties(fields)
for lang in ['fr', 'nl']:
try:
template_id = ModelData.get_id('account_be.root_' + lang)
except KeyError:
continue
if self.account.account_template.id == template_id:
defaults['account_receivable'] = self.get_account(
'account_be.400_' + lang)
defaults['account_payable'] = self.get_account(
'account_be.440_' + lang)
break
return defaults
class BEVATCustomer(ModelSQL, ModelView):
"Belgium VAT Customer"
__name__ = 'account.be.vat_customer'
company_tax_identifier = fields.Many2One(
'party.identifier', "Company Tax Identifier")
party_tax_identifier = fields.Many2One(
'party.identifier', "Party Tax Identifier")
turnover = Monetary("Turnover", currency='currency', digits='currency')
vat = Monetary("VAT", currency='currency', digits='currency')
currency = fields.Many2One('currency.currency', "Currency")
@classmethod
def tax_groups(cls):
for group in ['group_tva_vente_biens', 'group_tva_vente_services',
'tva_vente_biens_coco', 'tva_vente_services_coco']:
for lang in ['fr', 'nl']:
yield 'account_be', '%s_%s' % (group, lang)
@classmethod
def table_query(cls):
pool = Pool()
Identifier = pool.get('party.identifier')
Invoice = pool.get('account.invoice')
InvoiceTax = pool.get('account.invoice.tax')
ModelData = pool.get('ir.model.data')
Move = pool.get('account.move')
Period = pool.get('account.period')
Tax = pool.get('account.tax')
context = Transaction().context
company_identifier = Identifier.__table__()
party_identifier = Identifier.__table__()
invoice = Invoice.__table__()
invoice_tax = InvoiceTax.__table__()
move = Move.__table__()
period = Period.__table__()
tax = Tax.__table__()
groups = []
for module, fs_id in cls.tax_groups():
try:
groups.append(ModelData.get_id(module, fs_id))
except KeyError:
# table_query can be called before the XML is loaded
continue
where = ((invoice.company == context.get('company'))
& (period.fiscalyear == context.get('fiscalyear')))
where &= invoice.type == 'out'
where &= ((company_identifier.code.ilike('BE%')
& (company_identifier.type == 'eu_vat'))
| (company_identifier.type == 'be_vat'))
where &= ((party_identifier.code.ilike('BE%')
& (party_identifier.type == 'eu_vat'))
| (party_identifier.type == 'be_vat'))
where &= tax.group.in_(groups)
return (invoice_tax
.join(invoice,
condition=invoice_tax.invoice == invoice.id)
.join(tax, condition=invoice_tax.tax == tax.id)
.join(move, condition=invoice.move == move.id)
.join(period, condition=move.period == period.id)
.join(company_identifier,
condition=invoice.tax_identifier == company_identifier.id)
.join(party_identifier,
condition=invoice.party_tax_identifier == party_identifier.id)
.select(
Max(invoice_tax.id).as_('id'),
Literal(0).as_('create_uid'),
Min(invoice_tax.create_date).as_('create_date'),
Literal(0).as_('write_uid'),
Max(invoice_tax.write_date).as_('write_date'),
invoice.tax_identifier.as_('company_tax_identifier'),
invoice.party_tax_identifier.as_('party_tax_identifier'),
Sum(invoice_tax.base).as_('turnover'),
Sum(invoice_tax.amount).as_('vat'),
invoice.currency.as_('currency'),
where=where,
group_by=[
invoice.tax_identifier,
invoice.party_tax_identifier,
invoice.currency,
]))
class BEVATCustomerContext(ModelView):
"Belgium VAT Customer Context"
__name__ = 'account.be.vat_customer.context'
company = fields.Many2One('company.company', "Company", required=True)
fiscalyear = fields.Many2One(
'account.fiscalyear', "Fiscal Year", required=True,
domain=[
('company', '=', Eval('company')),
])
@classmethod
def default_company(cls):
return Transaction().context.get('company')
@classmethod
def default_fiscalyear(cls):
pool = Pool()
FiscalYear = pool.get('account.fiscalyear')
context = Transaction().context
if 'fiscalyear' not in context:
try:
fiscalyear = FiscalYear.find(
cls.default_company(), test_state=False)
except FiscalYearNotFoundError:
return None
return fiscalyear.id
return context['fiscalyear']

36
modules/account_be/account.xml Executable file
View File

@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="vat_customer_view_list">
<field name="model">account.be.vat_customer</field>
<field name="type">tree</field>
<field name="name">vat_customer_list</field>
</record>
<record model="ir.action.act_window" id="act_vat_customer_form">
<field name="name">Belgium VAT Customer</field>
<field name="res_model">account.be.vat_customer</field>
<field name="context_model">account.be.vat_customer.context</field>
</record>
<record model="ir.action.act_window.view"
id="act_vat_customer_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="vat_customer_view_list"/>
<field name="act_window" ref="act_vat_customer_form"/>
</record>
<menuitem
parent="account.menu_reporting"
action="act_vat_customer_form"
sequence="50"
id="menu_vat_customer"/>
<record model="ir.ui.view" id="vat_customer_context_view_form">
<field name="model">account.be.vat_customer.context</field>
<field name="type">form</field>
<field name="name">vat_customer_context_form</field>
</record>
</data>
</tryton>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

48
modules/account_be/locale/bg.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/ca.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identificador fiscal de l'empresa"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Moneda"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Identificador fiscal del tercer"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Facturació"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "CIF/NIF"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Exercici fiscal"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "IVA clients Bèlgica"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Context IVA clients Bèlgica"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "IVA clients Bèlgica"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "IVA clients Bèlgica"

48
modules/account_be/locale/cs.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/de.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Steueridentifikator Unternehmen"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Währung"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Steueridentifikator Partei"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Umsatz"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "USt."
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Unternehmen"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Geschäftsjahr"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgischer USt. Kunde"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Kontext Belgischer USt. Kunde"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Steuernummer Kunde Belgien VAT"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Steuernummer Kunde Belgien VAT"

47
modules/account_be/locale/es.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identificador fiscal de la empresa"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Moneda"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Identificador fiscal del tercero"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Facturación"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "CIF/NIF"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Ejercicio fiscal"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "IVA Clientes Bélgica"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Contexto IVA Clientes Bélgica"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "IVA clientes Bélgica"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "IVA clientes Bélgica"

View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/et.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "(Meie) Maksukohustuselasena registreerimise number (TIN-number)"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Valuuta"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Vastaspoole maksukohustuselasena registreerimise number (TIN-number)"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Müügitulu"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "Käibemaks"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Ettevõte"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Majandusaasta"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgia kliendi käibemaks"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Belgia kliendi käibemaksu sisu"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgia kliendi käibemaks"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgia kliendi käibemaks"

47
modules/account_be/locale/fa.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "شناسه مالیات شرکت"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "واحد پول"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "شناسه مالیاتی نهاد/سازمان"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "حجم معاملات"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "VAT"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "شرکت"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "سال مالی"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "کد دسترسی محلی بلژیک کاربر"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "متن کد دسترسی محلی بلژیک کاربر"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "کد محلی تماس مشتری بلژیک"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "کد محلی تماس مشتری بلژیک"

48
modules/account_be/locale/fi.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/fr.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identifiant de taxe de la société"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Devise"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Identifiant de taxe du tiers"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Chiffre d'affaires"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "TVA"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Société"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Année fiscale"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Client TVA belge"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Contexte du client TVA belge"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Client TVA belge"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Client TVA belge"

48
modules/account_be/locale/hu.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/id.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "NPWP Perusahaan"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Mata uang"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Pergantian"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "PPN"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Perusahaan"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Tahun Fiskal"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr ""

49
modules/account_be/locale/it.po Executable file
View File

@@ -0,0 +1,49 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identificatore fiscale della azienda"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Valuta"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Identificatore fiscale della controparte"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Turnover"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "IVA"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Azienda"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Esercizio"
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Cliente IVA Belgio"
#, fuzzy
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Contesto cliente IVA del Belgio"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

48
modules/account_be/locale/lo.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

48
modules/account_be/locale/lt.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Organizacijos mokesčių mokėtojo identifikatorius"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Valiuta"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Kontrahento mokesčių mokėtojo identifikatorius"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Organizacija"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/nl.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Bedrijf Belasting Identifier (Company Tax Identifier)"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Valuta"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "relatie voor belastingidentificatie Party Tax Identifier)"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Omzet"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "BTW"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Bedrijf"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Boekjaar"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgische BTW klant"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "België btw klantcontext"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgische BTW klant"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgische BTW klant"

48
modules/account_be/locale/pl.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Waluta"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "VAT"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Firma"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Rok podatkowy"
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/pt.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identificado de Tributos da Empresa"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Moeda"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr "Identificador de Tributos da Pessoa"
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Faturado"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "IVA"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Ano Fiscal"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "IVA de Clientes Belgas"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Contexto do IVA De Clientes Belgas"
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "IVA do Cliente"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "IVA do Cliente"

47
modules/account_be/locale/ro.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Identificator Fiscal al Companiei"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Moneda"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Companie"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "An Fiscal"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr ""

48
modules/account_be/locale/ru.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

48
modules/account_be/locale/sl.po Executable file
View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

49
modules/account_be/locale/tr.po Executable file
View File

@@ -0,0 +1,49 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr "Şirket Vergi Tanımlayıcısı"
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr "Para Birimi"
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr "Ciro"
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr "KDV"
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr "Şirket"
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr "Mali Yıl"
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belçika KDV Müşterisi"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr "Belçika KDV Müşteri İçeriği"
#, fuzzy
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
#, fuzzy
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

47
modules/account_be/locale/uk.po Executable file
View File

@@ -0,0 +1,47 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr ""

View File

@@ -0,0 +1,48 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:account.be.vat_customer,company_tax_identifier:"
msgid "Company Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,currency:"
msgid "Currency"
msgstr ""
msgctxt "field:account.be.vat_customer,party_tax_identifier:"
msgid "Party Tax Identifier"
msgstr ""
msgctxt "field:account.be.vat_customer,turnover:"
msgid "Turnover"
msgstr ""
msgctxt "field:account.be.vat_customer,vat:"
msgid "VAT"
msgstr ""
msgctxt "field:account.be.vat_customer.context,company:"
msgid "Company"
msgstr ""
msgctxt "field:account.be.vat_customer.context,fiscalyear:"
msgid "Fiscal Year"
msgstr ""
#, fuzzy
msgctxt "model:account.be.vat_customer,name:"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:account.be.vat_customer.context,name:"
msgid "Belgium VAT Customer Context"
msgstr ""
msgctxt "model:ir.action,name:act_vat_customer_form"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"
msgctxt "model:ir.ui.menu,name:menu_vat_customer"
msgid "Belgium VAT Customer"
msgstr "Belgium VAT Customer"

2947
modules/account_be/tax_be_fr.xml Executable file

File diff suppressed because it is too large Load Diff

2947
modules/account_be/tax_be_nl.xml Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

View File

@@ -0,0 +1,21 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.modules.account.tests import create_chart
from trytond.modules.company.tests import create_company, set_company
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
class AccountBETestCase(ModuleTestCase):
'Test Account BE module'
module = 'account_be'
language = 'fr'
@with_transaction()
def test_create_chart(self):
company = create_company()
with set_company(company):
create_chart(company, chart=self.module + '.root_' + self.language)
del ModuleTestCase

15
modules/account_be/tryton.cfg Executable file
View File

@@ -0,0 +1,15 @@
[tryton]
version=7.2.0
depends:
account
account_eu
extras_depend:
account_asset
account_deposit
sale_advance_payment
xml:
account.xml
account_be_fr.xml
tax_be_fr.xml
account_be_nl.xml
tax_be_nl.xml

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form>
<label name="company"/>
<field name="company"/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
</form>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="company_tax_identifier" tree_invisible="1"/>
<field name="party_tax_identifier" expand="1"/>
<field name="turnover"/>
<field name="vat"/>
</tree>