-
-
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
17 changed files
with
741 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 |
---|---|---|
|
@@ -57,3 +57,6 @@ docs/_build/ | |
|
||
# OSX Files | ||
*.DS_Store | ||
|
||
# ANAF Data | ||
l10n_ro_vat_on_payment/data/ |
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,75 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:alt: License: AGPL-3 | ||
|
||
Romania - VAT on Payment | ||
======================== | ||
|
||
This module allows you to check partners (companies) that applies | ||
VAT on Payment behaviour. It extends standard VAT on payment module | ||
available in https://github.com/OCA/account-payment repo, adding | ||
the check in supplier invoices of the partner behaviour. | ||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
|
||
* clone the branch 8.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 - VAT on Payment" in your addons | ||
* install the module | ||
|
||
Usage | ||
===== | ||
|
||
On the partner accounting page you will have a new field called "VAT on Payment" and a new button, called "Update VAT on Payment", available only on companies (is_company field set to True). | ||
Pushing the button will search in the ANAF datas for records assigned to the partner's VAT number and linked them to it. | ||
|
||
On invoices, you have: | ||
|
||
* A new field, "Is a fiscal Receipt", for mark the invoices appropriate. | ||
* A new method, about checking if the partner applies VAT on Payment at the invoice date. The method is available for invoices: | ||
|
||
* without Fiscal Position. | ||
* with National Fiscal Position. | ||
* "Is a fiscal Receipt" field not checked. | ||
|
||
Two daily crons are set up, one for downloading the ANAF datas, one for checking the Romanian partners for VAT on Payment. | ||
|
||
.. 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/8.0 | ||
|
||
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 smashing it by providing a detailed and welcomed feedback | ||
`here <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_vat_on_payment%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Fekete Mihai <feketemihai@gmail.com> | ||
* Dorin Hongu <dhongu@gmail.com> | ||
* Adrian Vasile <adrian.vasile@gmail.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: http://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: http://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 http://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,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# © 2015 Forest and Biomass Services Romania | ||
# See README.rst file on addons root folder for license details | ||
|
||
from . import models |
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,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# © 2015 Forest and Biomass Services Romania | ||
# See README.rst file on addons root folder for license details | ||
|
||
{ | ||
'name': 'Romania - VAT on Payment', | ||
'summary': 'Romania - VAT on Payment', | ||
'version': '8.0.1.0.0', | ||
'category': 'Localization', | ||
'author': 'Forest and Biomass Services Romania, ' | ||
'Odoo Community Association (OCA)', | ||
'website': 'https://www.forbiom.eu', | ||
'license': 'AGPL-3', | ||
'application': False, | ||
'installable': True, | ||
'data': ['views/account_invoice_view.xml', | ||
'views/res_partner_view.xml', | ||
'security/ir.model.access.csv', | ||
'views/res_partner_anaf_cron.xml'], | ||
'images': ['static/description/customer.png', | ||
'static/description/customer1.png', | ||
'static/description/invoice1.png'], | ||
'depends': ['base_vat', 'account_vat_on_payment'], | ||
'auto_install': False, | ||
} |
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,138 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * l10n_ro_vat_on_payment | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-01-14 07:19+0000\n" | ||
"PO-Revision-Date: 2016-01-14 07:19+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "ANAF - VAT on Payment" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "ANAF History" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_res_partner_anaf | ||
msgid "ANAF History about VAT on Payment" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,anaf_id:0 | ||
msgid "ANAF ID" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "Accounting" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,create_uid:0 | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,create_date:0 | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,end_date:0 | ||
msgid "End Date" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Fix error" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,id:0 | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_account_invoice | ||
msgid "Invoice" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:account.invoice,fiscal_receipt:0 | ||
msgid "Is a Fiscal Receipt" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,write_uid:0 | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,write_date:0 | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,operation_date:0 | ||
msgid "Operation Date" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,operation_type:0 | ||
msgid "Operation Type" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_res_partner | ||
msgid "Partner" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,publish_date:0 | ||
msgid "Publish Date" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Register" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Removal" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,start_date:0 | ||
msgid "Start Date" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.partners_form_add_vat_payment | ||
msgid "Update VAT on Payment" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,vat:0 | ||
msgid "VAT" | ||
msgstr "" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
#: field:res.partner,vat_on_payment:0 | ||
msgid "VAT on Payment" | ||
msgstr "" | ||
|
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,138 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * l10n_ro_vat_on_payment | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-01-14 07:19+0000\n" | ||
"PO-Revision-Date: 2016-01-14 07:19+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "ANAF - VAT on Payment" | ||
msgstr "ANAF - TVA la Încasare" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "ANAF History" | ||
msgstr "Istoric ANAF" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_res_partner_anaf | ||
msgid "ANAF History about VAT on Payment" | ||
msgstr "Istoricul ANAF despre TVA la Încasare" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,anaf_id:0 | ||
msgid "ANAF ID" | ||
msgstr "ID ANAF" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
msgid "Accounting" | ||
msgstr "Contabilitate" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,create_uid:0 | ||
msgid "Created by" | ||
msgstr "Creeat de" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,create_date:0 | ||
msgid "Created on" | ||
msgstr "Creeat în" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,end_date:0 | ||
msgid "End Date" | ||
msgstr "Dată Sfârşit" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Fix error" | ||
msgstr "Corectare eroare" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,id:0 | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_account_invoice | ||
msgid "Invoice" | ||
msgstr "Factură" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:account.invoice,fiscal_receipt:0 | ||
msgid "Is a Fiscal Receipt" | ||
msgstr "Este Bon Fiscal" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,write_uid:0 | ||
msgid "Last Updated by" | ||
msgstr "Ultima actualizare de" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,write_date:0 | ||
msgid "Last Updated on" | ||
msgstr "Ultima actualizare în" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,operation_date:0 | ||
msgid "Operation Date" | ||
msgstr "Data Operaţiei" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,operation_type:0 | ||
msgid "Operation Type" | ||
msgstr "Tipul Operaţiei" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: model:ir.model,name:l10n_ro_vat_on_payment.model_res_partner | ||
msgid "Partner" | ||
msgstr "Partener" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,publish_date:0 | ||
msgid "Publish Date" | ||
msgstr "Data Publicării" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Register" | ||
msgstr "Înregistrare" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: selection:res.partner.anaf,operation_type:0 | ||
msgid "Removal" | ||
msgstr "Ştergere" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,start_date:0 | ||
msgid "Start Date" | ||
msgstr "Dată Început" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.partners_form_add_vat_payment | ||
msgid "Update VAT on Payment" | ||
msgstr "Actualizează TVA la Încasare" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: field:res.partner.anaf,vat:0 | ||
msgid "VAT" | ||
msgstr "TVA" | ||
|
||
#. module: l10n_ro_vat_on_payment | ||
#: view:res.partner:l10n_ro_vat_on_payment.view_partner_anaf_form | ||
#: field:res.partner,vat_on_payment:0 | ||
msgid "VAT on Payment" | ||
msgstr "TVA la Încasare" | ||
|
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# © 2015 Forest and Biomass Services Romania | ||
# See README.rst file on addons root folder for license details | ||
|
||
from . import res_partner | ||
from . import account_invoice |
Oops, something went wrong.