Task 2005158 Manage the e-faktur numbers, create the required csv file to send to the tax office, and mark invoices taken care of manually. closes odoo/odoo#51767 Signed-off-by: Josse Colpaert <jco@openerp.com>
200 lines
6.9 KiB
XML
200 lines
6.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="ppn_tag" model="account.account.tag">
|
|
<field name="name">PPN - 08</field>
|
|
<field name="applicability">taxes</field>
|
|
<field name="country_id" ref="base.id"/>
|
|
</record>
|
|
|
|
<record id="tax_ST1" model="account.tax.template">
|
|
<field name="description">ST1</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="name">10%</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">10.0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'tag_ids': [(4, ref('ppn_tag'))],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'tag_ids': [(4, ref('ppn_tag'))],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record id="tax_PT1" model="account.tax.template">
|
|
<field name="description">PT1</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="name">10%</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">10.0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'tag_ids': [(4, ref('ppn_tag'))],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'tag_ids': [(4, ref('ppn_tag'))],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record id="tax_ST0" model="account.tax.template">
|
|
<field name="description">ST0</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="name">0%</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record id="tax_ST2" model="account.tax.template">
|
|
<field name="description">ST2</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="name">Exempt</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122101'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record id="tax_PT0" model="account.tax.template">
|
|
<field name="description">PT0</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="name">Exempt</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record id="tax_PT2" model="account.tax.template">
|
|
<field name="description">PT2</field>
|
|
<field name="chart_template_id" ref="l10n_id_chart"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="name">0%</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="amount">0</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('a_2_122102'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
</odoo>
|