-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,833 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png | ||
:target: https://www.gnu.org/licenses/agpl | ||
:alt: License: AGPL-3 | ||
|
||
===================== | ||
Romania - D300 Report | ||
===================== | ||
|
||
This module allows you to print the D300 report, between 2 dates. | ||
Module gives you results from row 1 to row 34, that you can complete the declaration, | ||
available at http://static.anaf.ro/static/10/Anaf/Declaratii_R/300.html. | ||
You also have an option to detail each row by tax. | ||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
|
||
* clone the branch 11.0 of the repository https://github.com/OCA/l10n-romania | ||
* add the path to this repository in your configuration (addons-path) | ||
* update the module list | ||
* search for "Romania - D300 Report" in your addons | ||
* install the module | ||
|
||
Usage | ||
===== | ||
|
||
For launching the report, you need to go to: | ||
* Accounting -> Reporting -> Romania -> D300 Report | ||
* Choose the dates, tick tax detail for detailed rows and lauch the report | ||
|
||
* The report is available in HTML, PDF, XLSX. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/177/11.0 | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smash it by providing detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Fekete Mihai <feketemihai@gmail.com> | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import report | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright 2018 Forest and Biomass Romania | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'Romania - D300 Report', | ||
'summary': 'Romania - D300 Report', | ||
'version': '11.0.1.0.0', | ||
'category': 'Localization', | ||
'author': 'Forest and Biomass Romania, ' | ||
'Odoo Community Association (OCA)', | ||
'website': 'https://www.forbiom.eu', | ||
'license': 'AGPL-3', | ||
'installable': True, | ||
'depends': [ | ||
'l10n_ro', | ||
'date_range', | ||
'report_xlsx'], | ||
'data': [ | ||
"views/layouts.xml", | ||
"views/l10n_ro_report_d300.xml", | ||
"views/l10n_ro_report_d300_template.xml", | ||
"views/l10n_ro_report_d300_view.xml", | ||
"views/report_template.xml", | ||
"wizards/wizard_l10n_ro_report_d300_view.xml", | ||
], | ||
'demo': [ | ||
'demo/account_tax_tags.xml', | ||
'demo/account_tax_data.xml', | ||
'demo/account_fiscal_position_data.xml', | ||
'demo/account_invoice_data.xml', | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<!-- Fiscal Position --> | ||
<record id="demo_fiscal_position_vatp" model="account.fiscal.position"> | ||
<field name="name">Regim TVA la Incasare</field> | ||
</record> | ||
<!-- account.fiscal.position.tax --> | ||
<!-- TVA la Incasare --> | ||
<!-- Sales --> | ||
<record id="afptt_tvaincasare_2" model="account.fiscal.position.tax"> | ||
<field name="position_id" ref="demo_fiscal_position_vatp"/> | ||
<field name="tax_src_id" ref="demo_tvac_05"/> | ||
<field name="tax_dest_id" ref="demo_tvaic_05"/> | ||
</record> | ||
<record id="afptt_tvaincasare_3" model="account.fiscal.position.tax"> | ||
<field name="position_id" ref="demo_fiscal_position_vatp"/> | ||
<field name="tax_src_id" ref="demo_tvac_09"/> | ||
<field name="tax_dest_id" ref="demo_tvaic_09"/> | ||
</record> | ||
<record id="afptt_tvaincasare_4" model="account.fiscal.position.tax"> | ||
<field name="position_id" ref="demo_fiscal_position_vatp"/> | ||
<field name="tax_src_id" ref="demo_tvac_19"/> | ||
<field name="tax_dest_id" ref="demo_tvaic_19"/> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="test_vat" model="product.product"> | ||
<field name="name">Test VAT</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="list_price">100</field> | ||
<field name="type">service</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="taxes_id" eval="[(6, 0, [ref('demo_tvac_05'),ref('demo_tvac_09'),ref('demo_tvac_19')])]"/> | ||
<field name="default_code">test_tva</field> | ||
</record> | ||
|
||
<record id="demo_invoice_line_1" model="account.invoice.line"> | ||
<field name="name">Test TVA</field> | ||
<field name="account_id" ref="demo_pcg_704"/> | ||
<field name="product_id" ref="test_vat"/> | ||
<field name="price_unit">100</field> | ||
<field name="quantity">1</field> | ||
<field name="invoice_line_tax_ids" eval="[(6, 0, [ref('demo_tvac_05'),ref('demo_tvac_09'),ref('demo_tvac_19')])]"/> | ||
</record> | ||
<record id="demo_invoice_line_2" model="account.invoice.line"> | ||
<field name="name">Test TVA</field> | ||
<field name="account_id" ref="demo_pcg_704"/> | ||
<field name="product_id" ref="test_vat"/> | ||
<field name="price_unit">100</field> | ||
<field name="quantity">1</field> | ||
<field name="invoice_line_tax_ids" eval="[(6, 0, [ref('demo_tvaic_05'),ref('demo_tvaic_09'),ref('demo_tvaic_19')])]"/> | ||
</record> | ||
<record id="demo_invoice_1" model="account.invoice"> | ||
<field name="partner_id" ref="base.res_partner_12"/> | ||
<field name="journal_id" search="[('type', '=', 'sale')]"/> | ||
<field name="state">draft</field> | ||
<field name="type">out_invoice</field> | ||
<field name="date_invoice" eval="time.strftime('%Y-%m-02')"/> | ||
<field name="account_id" ref="demo_pcg_411"/> | ||
<field name="name">Test invoice 1</field> | ||
<field name="invoice_line_ids" eval="[(6, 0, [ref('demo_invoice_line_1')])]"/> | ||
</record> | ||
<record id="demo_invoice_2" model="account.invoice"> | ||
<field name="fiscal_position_id" ref="demo_fiscal_position_vatp"/> | ||
<field name="partner_id" ref="base.res_partner_12"/> | ||
<field name="journal_id" search="[('type', '=', 'sale')]"/> | ||
<field name="state">draft</field> | ||
<field name="type">out_invoice</field> | ||
<field name="date_invoice" eval="time.strftime('%Y-%m-03')"/> | ||
<field name="account_id" ref="demo_pcg_411"/> | ||
<field name="name">Test invoice cash basis 1</field> | ||
<field name="invoice_line_ids" eval="[(6, 0, [ref('demo_invoice_line_2')])]"/> | ||
</record> | ||
<function model="account.invoice" name="action_invoice_open" eval="[[ref('demo_invoice_1')]]"/> | ||
<function model="account.invoice" name="action_invoice_open" eval="[[ref('demo_invoice_2')]]"/> | ||
</data> | ||
</odoo> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="demo_pcg_411" model="account.account"> | ||
<field name="name">Clienti</field> | ||
<field name="code">411</field> | ||
<field name="reconcile" eval="True"/> | ||
<field name="user_type_id" ref="account.data_account_type_receivable"/> | ||
</record> | ||
<record id="demo_pcg_4427" model="account.account"> | ||
<field name="name">TVA Colectată</field> | ||
<field name="code">4427</field> | ||
<field name="user_type_id" ref="account.data_account_type_non_current_liabilities"/> | ||
</record> | ||
<record id="demo_pcg_44281" model="account.account"> | ||
<field name="name">TVA neexigibilă - Colectată</field> | ||
<field name="code">44281</field> | ||
<field name="user_type_id" ref="account.data_account_type_non_current_liabilities"/> | ||
</record> | ||
<record id="demo_pcg_704" model="account.account"> | ||
<field name="name">Venituri din prestari servicii</field> | ||
<field name="code">704</field> | ||
<field name="user_type_id" ref="account.data_account_type_revenue"/> | ||
</record> | ||
<!-- TVA --> | ||
<record id="demo_tvac_05" model="account.tax"> | ||
<field name="sequence">11</field> | ||
<field name="name">Demo TVA colectat 5%</field> | ||
<field name="description">Demo TVA colectat 5%</field> | ||
<field name="amount">5</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="account_id" ref="demo_pcg_4427"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_110'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
<record id="demo_tvac_09" model="account.tax"> | ||
<field name="sequence">12</field> | ||
<field name="name">Demo TVA colectat 9%</field> | ||
<field name="description">Demo TVA colectat 9%</field> | ||
<field name="amount">9</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="account_id" ref="demo_pcg_4427"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_100'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
<record id="demo_tvac_19" model="account.tax"> | ||
<field name="sequence">13</field> | ||
<field name="name">Demo TVA colectat 19%</field> | ||
<field name="description">Demo TVA colectat 19%</field> | ||
<field name="amount">19</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="account_id" ref="demo_pcg_4427"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_090'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
<!-- TVA la Incasare--> | ||
<record id="demo_tvaic_05" model="account.tax"> | ||
<field name="sequence">21</field> | ||
<field name="name">Demo TVA la Incasare - colectat 5%</field> | ||
<field name="description">Demo TVA colectat 5%</field> | ||
<field name="amount">5</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="tax_exigibility">on_payment</field> | ||
<field name="account_id" ref="demo_pcg_44281"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="cash_basis_account" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_110'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
<record id="demo_tvaic_09" model="account.tax"> | ||
<field name="sequence">22</field> | ||
<field name="name">Demo TVA la Incasare - colectat 9%</field> | ||
<field name="description">Demo TVA colectat 9%</field> | ||
<field name="amount">9</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="tax_exigibility">on_payment</field> | ||
<field name="account_id" ref="demo_pcg_44281"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="cash_basis_account" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_100'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
<record id="demo_tvaic_19" model="account.tax"> | ||
<field name="sequence">23</field> | ||
<field name="name">Demo TVA la Incasare - colectat 19%</field> | ||
<field name="description">Demo TVA colectat 19%</field> | ||
<field name="amount">19</field> | ||
<field name="amount_type">percent</field> | ||
<field name="type_tax_use">sale</field> | ||
<field name="tax_exigibility">on_payment</field> | ||
<field name="account_id" ref="demo_pcg_44281"/> | ||
<field name="refund_account_id" ref="demo_pcg_4427"/> | ||
<field name="cash_basis_account" ref="demo_pcg_4427"/> | ||
<field name="tag_ids" eval="[(6,0,[ref('demo_tax_tag_ro_090'), ref('demo_tax_tag_ro_170')])]"/> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="demo_tax_tag_ro_090" model="account.account.tag"> | ||
<field name="name">Romania - D300: randul 9</field> | ||
<field name="applicability">taxes</field> | ||
</record> | ||
<record id="demo_tax_tag_ro_100" model="account.account.tag"> | ||
<field name="name">Romania - D300: randul 10</field> | ||
<field name="applicability">taxes</field> | ||
</record> | ||
<record id="demo_tax_tag_ro_110" model="account.account.tag"> | ||
<field name="name">Romania - D300: randul 11</field> | ||
<field name="applicability">taxes</field> | ||
</record> | ||
<record id="demo_tax_tag_ro_170" model="account.account.tag"> | ||
<field name="name">Romania - D300: randul 17</field> | ||
<field name="applicability">taxes</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from . import abstract_report_xlsx | ||
from . import l10n_ro_report_D300 | ||
from . import l10n_ro_report_D300_xlsx |
Oops, something went wrong.