Skip to content

Commit

Permalink
[UPD] l10n_nl_rgs: Changes for accounts and added reconcile models
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap committed Apr 24, 2024
1 parent 7fd9b85 commit 357bfa1
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 3 deletions.
1 change: 1 addition & 0 deletions l10n_nl_rgs/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"data/account_fiscal_position_template.xml",
"data/account_fiscal_position_tax_template.xml",
"data/account_fiscal_position_account_template.xml",
"data/account_reconcile_model_template.xml",
"data/account_chart_template_data.xml",
"views/res_config_settings_views.xml",
"views/account_account_views.xml",
Expand Down
4 changes: 2 additions & 2 deletions l10n_nl_rgs/data/account.account.template.csv
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"1103102","Rekening-courant groepsmaatschappij 3","Rekening-courant groepsmaatschappij 3","1103102","BVorVogVr3","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.C",1
"1103103","Rekening-courant groepsmaatschappij 4","Rekening-courant groepsmaatschappij 4","1103103","BVorVogVr4","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.D",1
"1103104","Rekening-courant groepsmaatschappij 5","Rekening-courant groepsmaatschappij 5","1103104","BVorVogVr5","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.E",1
"1103105","Vordering / lening Daeb","Vordering / lening groepsmaatschappij 1","1103105","BVorVogVg1","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.P",0
"1103105","Vordering / lening Daeb","Vordering / lening groepsmaatschappij 1","1103105","BVorVogVg1","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.P",1
"1103106","Rekening-courant DAEB","Rekening-courant DAEB","1103106","BVorVogDae","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.Q",1
"1103107","Rekening-courant Niet-DAEB","Rekening-courant Niet-DAEB","1103107","BVorVogNda","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103099","0","G.B.R",1
"1103110","Rekening-courant overige verbonden maatschappij 1","Rekening-courant overige verbonden maatschappij 1","1103110","BVorVovVr1","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103109","0","G.C.A",0
Expand Down Expand Up @@ -418,7 +418,7 @@
"1103340","Vorderingen op lid D van de coöperatie","Vorderingen op lid D van de coöperatie","1103340","BVorVlcLi4","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103300","0","G.E.D",1
"1103350","Vorderingen op lid E van de coöperatie","Vorderingen op lid E van de coöperatie","1103350","BVorVlcLi5","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103300","0","G.E.E",1
"1103390","Interne lening (kortlopend)","Interne lening (kortlopend)","1103390","BVorOvrIln","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103000","0","G.K.V",1
"1103400","Margin-call deposito","Margin-call deposito","1103400","BVorOvrMcd","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103000","0","G.K.W",1
"1103007","Margin-call deposito","Margin-call deposito","1103007","BVorOvrMcd","asset_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1103000","0","G.K.W",1
"1104010","Vooruitbetaalde facturen","Vooruitbetaalde facturen","1104010","BVorOvaVof","liability_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1104000","1","G.L.A",0
"1104020","Vooruitverzonden op bestellingen","Vooruitverzonden op bestellingen","1104020","BVorOvaVbs","liability_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1104000","1","G.L.B",0
"1104030","Nog te factureren of nog te verzenden facturen","Nog te factureren of nog te verzenden facturen","1104030","BVorOvaNtf","liability_current","l10n_nl_rgs.l10nnl_rgs_chart_template","l10n_nl_rgs.account_tag_1104000","1","G.L.C",0
Expand Down
64 changes: 64 additions & 0 deletions l10n_nl_rgs/data/account_reconcile_model_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="prive_opname_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Privé opname</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="prive_opname_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="prive_opname_template"/>
<field name="account_id" ref="0509040"/>
<field name="amount_string">100</field>
</record>
<record id="prive_storting_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Privé storting</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="prive_storting_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="prive_storting_template"/>
<field name="account_id" ref="0509030"/>
<field name="amount_string">100</field>
</record>
<record id="kruisposten_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Kruisposten</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="kruisposten_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="kruisposten_template"/>
<field name="account_id" ref="1003010"/>
<field name="amount_string">100</field>
</record>
<record id="bankkosten_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Bankkosten</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="bankkosten_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="bankkosten_template"/>
<field name="account_id" ref="4210040"/>
<field name="amount_string">100</field>
</record>
<record id="verzekeringen_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Verzekeringen</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="verzekeringen_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="verzekeringen_template"/>
<field name="account_id" ref="4208020"/>
<field name="amount_string">100</field>
</record>
<record id="spaarrekening_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nnl_rgs_chart_template"/>
<field name="name">Spaarrekening</field>
<field name="rule_type">writeoff_button</field>
</record>
<record id="spaarrekening_line_template" model="account.reconcile.model.line.template">
<field name="model_id" ref="spaarrekening_template"/>
<field name="account_id" ref="1002070"/>
<field name="amount_string">100</field>
</record>

</odoo>
2 changes: 1 addition & 1 deletion l10n_nl_rgs/models/account_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class AccountGroup(models.Model):
_inherit = "account.group"
_order = "sort_code, code, code_prefix_start"
_order = "code_prefix_start,sort_code"

# FIXME: This should be English with Dutch translation
referentiecode = fields.Char()
Expand Down

0 comments on commit 357bfa1

Please sign in to comment.