diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index 01e3dc72d68..5ec370ff9a7 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -15,44 +15,63 @@ + + + By Salespersons + account.invoice.report + [] + + {'group_by': ['date:month', 'user_id']} + + + By Product + account.invoice.report + [] + + {'group_by': ['date:month', 'product_id'], 'set_visible':True, 'residual_invisible':True} + + + By Product Category + account.invoice.report + [] + + {'group_by': ['date:month', 'categ_id'], 'residual_invisible':True} + + + By Refund + account.invoice.report + [('type', '=', 'out_refund')] + + {'group_by': ['date:month', 'user_id']} + + + By Country + account.invoice.report + [] + + {'group_by': ['date:month', 'country_id']} + + account.invoice.report.search account.invoice.report - + - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - diff --git a/addons/account/views/report_vat.xml b/addons/account/views/report_vat.xml index f88d45e5c44..1f9a240099f 100644 --- a/addons/account/views/report_vat.xml +++ b/addons/account/views/report_vat.xml @@ -10,22 +10,22 @@
Chart of Tax: -

+

-
+
Fiscal Year: -

+

-
+
Periods:

- Start Period:
- End Period: + Start Period:
+ End Period:

Based On: -

+

diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index e02f43473ac..62c5e14deed 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -222,13 +222,13 @@ - + - + @@ -326,44 +326,31 @@ - + - + + - - - - + + - - + - - - - - - - - - - + + @@ -523,7 +510,7 @@ - + @@ -531,7 +518,7 @@ - + @@ -551,7 +538,7 @@ - + @@ -561,34 +548,21 @@ domain="[('probability', '=', 100), ('stage_id.fold', '=', True)]"/> + + - - - + - - - - - - - - - - - - + diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 87e4d1d293a..47825a5d30c 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -170,29 +170,29 @@ crm.phonecall - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - + + + + + + + diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index bbe375fb2a1..7aa75021d32 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -2,8 +2,7 @@ - - + crm.lead.report.graph crm.lead.report @@ -38,8 +37,23 @@ - + + + By Salespersons + crm.lead.report + [] + + {'group_by': ['create_date:month', user_id']} + + + By Country + crm.lead.report + [] + + {'group_by': ['create_date:month', 'country_id']} + + crm.lead.report.select crm.lead.report @@ -54,11 +68,6 @@ domain="[('probability', '=', 100), ('stage_id.on_change', '=', 1)]"/> - - - - @@ -79,26 +88,6 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/addons/crm_partner_assign/crm_lead_view.xml b/addons/crm_partner_assign/crm_lead_view.xml index d47e9ac5cbc..aefc5aef000 100644 --- a/addons/crm_partner_assign/crm_lead_view.xml +++ b/addons/crm_partner_assign/crm_lead_view.xml @@ -59,13 +59,10 @@ crm.lead - - - - + + - + @@ -131,10 +128,10 @@ crm.lead - - + + - + diff --git a/addons/google_drive/google_drive_data.xml b/addons/google_drive/google_drive_data.xml index f3f916b201b..72e541df56e 100644 --- a/addons/google_drive/google_drive_data.xml +++ b/addons/google_drive/google_drive_data.xml @@ -5,7 +5,7 @@ google_drive_client_id 598905559630.apps.googleusercontent.com - + diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 1e81d1555d4..2b33d4916a2 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -193,14 +193,13 @@ - - - + - + + @@ -210,15 +209,9 @@ - - - - - - diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml index 4d15481070f..45276d7631c 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml +++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml @@ -12,6 +12,29 @@ + + + By Recruiter + hr.recruitment.report + [] + + {'group_by': ['date_create:month', 'user_id']} + + + By Job + hr.recruitment.report + [] + + {'group_by': ['date_create:month', 'job_id']} + + + By Department + hr.recruitment.report + [] + + {'group_by': ['date_create:month', 'department_id']} + + hr.recruitment.report.search hr.recruitment.report @@ -20,11 +43,13 @@ - + + + @@ -32,21 +57,6 @@ - - - - - - - - - - - - - - - @@ -56,7 +66,7 @@ hr.recruitment.report form graph - {'group_by_no_leaf':1,'group_by':[]} + {'search_default_year': 1, 'group_by_no_leaf':1,'group_by':[]} diff --git a/addons/im_chat/static/src/css/im_chat.css b/addons/im_chat/static/src/css/im_chat.css index eb8faf52f8b..ce32d7d4597 100644 --- a/addons/im_chat/static/src/css/im_chat.css +++ b/addons/im_chat/static/src/css/im_chat.css @@ -12,8 +12,9 @@ } } /* button */ -.oe_systray #oe_topbar_im_icon { +.oe_systray #oe_topbar_imbutton_icon { color: white; + margin-right: 10px; } .oe_topbar_item.oe_topbar_imbutton .oe_e { position: relative; diff --git a/addons/im_livechat/static/src/js/im_livechat.js b/addons/im_livechat/static/src/js/im_livechat.js index ba091c32db8..e969ef73c07 100644 --- a/addons/im_livechat/static/src/js/im_livechat.js +++ b/addons/im_livechat/static/src/js/im_livechat.js @@ -104,6 +104,7 @@ this.manager.set("bottom_offset", $('.oe_chat_button').outerHeight()); // TODO correct the value (no hardcode damned !) // override the notification default function this.manager.notification = function(notif){ + alert(notif); } } return this.chat(); diff --git a/addons/im_livechat/views/im_livechat.xml b/addons/im_livechat/views/im_livechat.xml index d2473571656..6ff631aab8f 100644 --- a/addons/im_livechat/views/im_livechat.xml +++ b/addons/im_livechat/views/im_livechat.xml @@ -116,11 +116,9 @@ - - diff --git a/addons/l10n_ro/__init__.py b/addons/l10n_ro/__init__.py old mode 100644 new mode 100755 index 15aa903aea9..d761bca4a7f --- a/addons/l10n_ro/__init__.py +++ b/addons/l10n_ro/__init__.py @@ -1,8 +1,9 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution -# Copyright (C) 2012 TOTAL PC SYSTEMS (). All Rights Reserved +# @author - Fekete Mihai +# Copyright (C) 2011 TOTAL PC SYSTEMS (http://www.www.erpsystems.ro). +# Copyright (C) 2009 () # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/addons/l10n_ro/__openerp__.py b/addons/l10n_ro/__openerp__.py old mode 100644 new mode 100755 index 388a6b2fc0f..0ab0c685d56 --- a/addons/l10n_ro/__openerp__.py +++ b/addons/l10n_ro/__openerp__.py @@ -1,8 +1,9 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution -# Copyright (C) 2012 (). All Rights Reserved +# @author - Fekete Mihai +# Copyright (C) 2011 TOTAL PC SYSTEMS (http://www.www.erpsystems.ro). +# Copyright (C) 2009 () # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,14 +27,21 @@ "category" : "Localization/Account Charts", "depends" : ['account','account_chart','base_vat'], "description": """ -This is the module to manage the accounting chart, VAT structure and Registration Number for Romania in OpenERP. +This is the module to manage the Accounting Chart, VAT structure, Fiscal Position and Tax Mapping. +It also adds the Registration Number for Romania in OpenERP. ================================================================================================================ Romanian accounting chart and localization. """, - "demo_xml" : [], - "data" : ['partner_view.xml','account_tax_code_template.xml','account_chart.xml','account_tax_template.xml','l10n_chart_ro_wizard.xml'], - "auto_install": False, + "demo" : [], + "data" : ['partner_view.xml', + 'account_chart.xml', + 'account_tax_code_template.xml', + 'account_chart_template.xml', + 'account_tax_template.xml', + 'fiscal_position_template.xml', + 'l10n_chart_ro_wizard.xml', + ], "installable": True, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ro/account_chart.xml b/addons/l10n_ro/account_chart.xml old mode 100644 new mode 100755 index 8f531d1ffbf..2f5dee7e9a3 --- a/addons/l10n_ro/account_chart.xml +++ b/addons/l10n_ro/account_chart.xml @@ -2,4592 +2,4553 @@ - - - - Active - active - balance - - - - Passive - passive - balance - - - - Bifunctional - bifunctional - balance - - - - Special - special - none - - - + - Plan de conturi general - 0 - view - + PLAN DE CONTURI GENERAL + 0 + view + - Conturi financiare - Clasele 1-7 - view - - + CONTURI FINANCIARE + Clasele 1-7 + view + + - Conturi in afara bilantului - Clasele 8-9 - view - - + CONTURI IN AFARA BILANTULUI + Clasele 8-9 + view + + - Conturi de bilant - Clasele 1-5 - view - - + CONTURI DE BILANT + Clasele 1-5 + view + + - Conturi de capitaluri - Clasa 1 - view - - Capitaluri proprii, alte fonduri proprii, imprumuturi si datorii asimilate - + CONTURI DE CAPITALURI + Clasa 1 + view + + Capitaluri proprii, alte fonduri proprii, imprumuturi si datorii asimilate + - Capital si rezerve - 10 - view - - + CAPITAL SI REZERVER + 10 + view + + - Capital - 101 - view - - in functie de forma juridica a entitatii se inscrie: capital social, patrimoniul regiei,etc. - + Capital + 101 + view + + in functie de forma juridica a entitatii se inscrie: capital social, patrimoniul regiei,etc. + - Capital subscris nevarsat - 1011 - other - - + Capital subscris nevarsat + 1011 + other + + - Capital subscris varsat - 1012 - other - - + Capital subscris varsat + 1012 + other + + - Patrimoniul regiei - 1015 - other - - + Patrimoniul regiei + 1015 + other + + - Patrimoniul public - 1016 - other - - + Patrimoniul public + 1016 + other + + - Prime de capital - 104 - view - - + Prime de capital + 104 + view + + - Prime de emisiune - 1041 - other - - + Prime de emisiune + 1041 + other + + - Prime de fuziune/divizare - 1042 - other - - + Prime de fuziune/divizare + 1042 + other + + - Prime de aport - 1043 - other - - + Prime de aport + 1043 + other + + - Prime de conversie a obligatiunilor in actiuni - 1044 - other - - + Prime de conversie a obligatiunilor in actiuni + 1044 + other + + - Rezerve din reevaluare - 105 - other - - + Rezerve din reevaluare + 105 + other + + - Rezerve - 106 - view - - + Rezerve + 106 + view + + - Rezerve legale - 1061 - other - - + Rezerve legale + 1061 + other + + - Rezerve statutare sau contractuale - 1063 - other - - + Rezerve statutare sau contractuale + 1063 + other + + - Rezerve de valoare justa - 1064 - other - - Acest cont apare numai in situatiile financiare anuale consolidate - + Rezerve de valoare justa + 1064 + other + + Acest cont apare numai in situatiile financiare anuale consolidate + - Rezerve reprezentand surplusul realizat din rezerve din reevaluare - 1065 - other - - + Rezerve reprezentand surplusul realizat din rezerve din reevaluare + 1065 + other + + - Rezerve din diferente de curs valutar in relatie cu investitia neta intr-o entitate straina - 1067 - other - - + Rezerve din diferente de curs valutar in relatie cu investitia neta intr-o entitate straina + 1067 + other + + - Alte rezerve - 1068 - other - - + Alte rezerve + 1068 + other + + - Rezerve din conversie - 107 - other - - Acest cont apare numai in situatiile financiare anuale consolidate - + Rezerve din conversie + 107 + other + + Acest cont apare numai in situatiile financiare anuale consolidate + - Interese care nu controleaza - 108 - view - - Acest cont apare numai in situatiile financiare anuale consolidate - + Interese care nu controleaza + 108 + view + + Acest cont apare numai in situatiile financiare anuale consolidate + - Interese care nu controleaza - rezultatul exercitiului financiar - 1081 - other - - + Interese care nu controleaza - rezultatul exercitiului financiar + 1081 + other + + - Interese care nu controleaza - alte capitaluri proprii - 1082 - other - - + Interese care nu controleaza - alte capitaluri proprii + 1082 + other + + - Actiuni proprii - 109 - view - - + Actiuni proprii + 109 + view + + - Actiuni proprii detinute pe termen scurt - 1091 - other - - + Actiuni proprii detinute pe termen scurt + 1091 + other + + - Actiuni proprii detinute pe termen lung - 1092 - other - - + Actiuni proprii detinute pe termen lung + 1092 + other + + - REZULTATUL REPORTAT - 11 - view - - + REZULTATUL REPORTAT + 11 + view + + - Rezultatul reportat - 117 - view - - + Rezultatul reportat + 117 + view + + - Rezultatul reportat reprezentand profitul nerepartizat sau pierderea neacoperita - 1171 - other - - + Rezultatul reportat reprezentand profitul nerepartizat sau pierderea neacoperita + 1171 + other + + - Rezultatul reportat provenit din adoptarea pentru prima data a IAS, mai puþin IAS 29 - 1172 - other - - Acest cont apare doar la agentii economici care au aplicat Reglementarile contabile aprobate prin OMFP nr. 94/2001 si panã la inchiderea soldului acestui cont - + Rezultatul reportat provenit din adoptarea pentru prima data a IAS, mai puþin IAS 29 + 1172 + other + + Acest cont apare doar la agentii economici care au aplicat Reglementarile contabile aprobate prin OMFP nr. 94/2001 si panã la inchiderea soldului acestui cont + - Rezultatul reportat provenit din corectarea erorilor contabile - 1174 - other - - + Rezultatul reportat provenit din corectarea erorilor contabile + 1174 + other + + - Rezultatul reportat provenit din trecerea la aplicarea Reglementarilor contabile conforme cu Directiva a patra a Comunitatilor Economice Europene - 1176 - other - - + Rezultatul reportat provenit din trecerea la aplicarea Reglementarilor contabile conforme cu Directiva a patra a Comunitatilor Economice Europene + 1176 + other + + - REZULTATUL EXERCITIULUI FINANCIAR - 12 - view - - + REZULTATUL EXERCITIULUI FINANCIAR + 12 + view + + - Profit sau pierdere - 121 - other - - + Profit sau pierdere + 121 + other + + - Repartizarea profitului - 129 - other - - + Repartizarea profitului + 129 + other + + - CASTIGURI SAU PIERDERI LEGATE DE EMITEREA,RASCUMPARAREA,VANZAREA,CEDAREA CU TITLU GRATUIT SAU ANULAREA INSTRUM.DE CAPITALURI PROPRII - 14 - view - - + CASTIGURI SAU PIERDERI LEGATE DE EMITEREA,RASCUMPARAREA,VANZAREA,CEDAREA CU TITLU GRATUIT SAU ANULAREA INSTRUM.DE CAPITALURI PROPRII + 14 + view + + - Castiguri legate de vanzarea sau anularea instrumentelor de capitaluri proprii. - 141 - other - - + Castiguri legate de vanzarea sau anularea instrumentelor de capitaluri proprii. + 141 + other + + - Pierderi legate de emiterea, rascumpararea, vanzarea, cedarea cu titlu gratuit sau anularea instrumentelor de capitaluri proprii. - 149 - other - - + Pierderi legate de emiterea, rascumpararea, vanzarea, cedarea cu titlu gratuit sau anularea instrumentelor de capitaluri proprii. + 149 + other + + - PROVIZIOANE - 15 - view - - + PROVIZIOANE + 15 + view + + - Provizioane - 151 - view - - + Provizioane + 151 + view + + - Provizioane pentru litigii - 1511 - other - - + Provizioane pentru litigii + 1511 + other + + - Provizioane pentru garantii acordate clientilor - 1512 - other - - + Provizioane pentru garantii acordate clientilor + 1512 + other + + - Provizioane pentru dezafectare imobilizari corporale si alte actiuni legate de acestea - 1513 - other - - Acest cont apare doar la agentii economici care au aplicat Reglementarile contabile aprobate prin OMFP nr. 94/2001 si pana la scoaterea din evidenta a imobilizarilor corporale in valoarea carora au fost incluse aceste provizioane. Ca urmare, aceste provizioane nu se mai pot constitui in baza prezentelor reglementari. - + Provizioane pentru dezafectare imobilizari corporale si alte actiuni legate de acestea + 1513 + other + + Acest cont apare doar la agentii economici care au aplicat Reglementarile contabile aprobate prin OMFP nr. 94/2001 si pana la scoaterea din evidenta a imobilizarilor corporale in valoarea carora au fost incluse aceste provizioane. Ca urmare, aceste provizioane nu se mai pot constitui in baza prezentelor reglementari. + - Provizioane pentru restructurare - 1514 - other - - + Provizioane pentru restructurare + 1514 + other + + - Provizioane pentru pensii si obligatii similare - 1515 - other - - + Provizioane pentru pensii si obligatii similare + 1515 + other + + - Provizioane pentru impozite - 1516 - other - - + Provizioane pentru impozite + 1516 + other + + - Alte provizioane - 1518 - other - - + Alte provizioane + 1518 + other + + - IMPRUMUTURI SI DATORII ASIMILATE - 16 - view - - + IMPRUMUTURI SI DATORII ASIMILATE + 16 + view + + - Imprumuturi din emisiuni de obligatiuni - 161 - view - - + Imprumuturi din emisiuni de obligatiuni + 161 + view + + - Imprumuturi externe din emisiuni de obligatiuni garantate de stat - 1614 - other - - + Imprumuturi externe din emisiuni de obligatiuni garantate de stat + 1614 + other + + - Imprumuturi externe din emisiuni de obligatiuni garantate de banci - 1615 - other - - + Imprumuturi externe din emisiuni de obligatiuni garantate de banci + 1615 + other + + - Imprumuturi interne din emisiuni de obligatiuni garantate de stat - 1617 - other - - + Imprumuturi interne din emisiuni de obligatiuni garantate de stat + 1617 + other + + - Alte imprumuturi din emisiuni de obligatiuni - 1618 - other - - + Alte imprumuturi din emisiuni de obligatiuni + 1618 + other + + - Credite bancare pe termen lung - 162 - view - - + Credite bancare pe termen lung + 162 + view + + - Credite bancare pe termen lung - 1621 - other - - + Credite bancare pe termen lung + 1621 + other + + - Credite bancare pe termen lung nerambursate la scadenta - 1622 - other - - + Credite bancare pe termen lung nerambursate la scadenta + 1622 + other + + - Credite externe guvernamentale - 1623 - other - - + Credite externe guvernamentale + 1623 + other + + - Credite bancare externe garantate de stat - 1624 - other - - + Credite bancare externe garantate de stat + 1624 + other + + - Credite bancare externe garantate de banci - 1625 - other - - + Credite bancare externe garantate de banci + 1625 + other + + - Credite de la trezoreria statului - 1626 - other - - + Credite de la trezoreria statului + 1626 + other + + - Credite bancare interne garantate de stat - 1627 - other - - + Credite bancare interne garantate de stat + 1627 + other + + - Datorii care privesc imobilizarile financiare - 166 - view - - + Datorii care privesc imobilizarile financiare + 166 + view + + - Datorii fata de entitatile afiliate - 1661 - other - - + Datorii fata de entitatile afiliate + 1661 + other + + - Datorii fata de entitatile de care compania este legata prin interese de participare - 1663 - other - - + Datorii fata de entitatile de care compania este legata prin interese de participare + 1663 + other + + - Alte imprumuturi si datorii asimilate - 167 - other - - + Alte imprumuturi si datorii asimilate + 167 + other + + - Dobanzi aferente imprumuturilor si datoriilor asimilate - 168 - view - - + Dobanzi aferente imprumuturilor si datoriilor asimilate + 168 + view + + - Dobanzi aferente imprumuturilor din emisiunile de obligatiuni - 1681 - other - - + Dobanzi aferente imprumuturilor din emisiunile de obligatiuni + 1681 + other + + - Dobanzi aferente creditelor bancare pe termen lung - 1682 - other - - + Dobanzi aferente creditelor bancare pe termen lung + 1682 + other + + - Dobanzi aferente datoriilor fata de entitatile afiliate - 1685 - other - - + Dobanzi aferente datoriilor fata de entitatile afiliate + 1685 + other + + - Dobanzi aferente datoriilor fata de entitatile de care compania este legata prin interese de participare - 1686 - other - - + Dobanzi aferente datoriilor fata de entitatile de care compania este legata prin interese de participare + 1686 + other + + - Dobanzi aferente altor imprumuturi si datorii asimilate - 1687 - other - - + Dobanzi aferente altor imprumuturi si datorii asimilate + 1687 + other + + - Prime privind rambursarea obligatiunilor - 169 - other - - + Prime privind rambursarea obligatiunilor + 169 + other + + - CONTURI DE IMOBILIZARI - Clasa 2 - view - - Imobilizari necorporale, corporale, financiare, amortizari - + CONTURI DE IMOBILIZARI + Clasa 2 + view + + Imobilizari necorporale, corporale, financiare, amortizari + - IMOBILIZARI NECORPORALE - 20 - view - - + IMOBILIZARI NECORPORALE + 20 + view + + - Cheltuieli de constituire - 201 - other - - + Cheltuieli de constituire + 201 + other + + - Cheltuieli de dezvoltare - 203 - other - - + Cheltuieli de dezvoltare + 203 + other + + - Concesiuni, brevete, licente, marci comerciale, drepturi si active similare - 205 - other - - + Concesiuni, brevete, licente, marci comerciale, drepturi si active similare + 205 + other + + - Fond comercial - 207 - view - - + Fond comercial + 207 + other + + - Fond comercial pozitiv - 2071 - other - - Acest cont apare, de regula, in situatiile financiare anuale consolidate - + Fond comercial pozitiv + 2071 + other + + Acest cont apare, de regula, in situatiile financiare anuale consolidate + - Fond comercial negativ - 2075 - other - Acest cont apare numai in situatiile financiare anuale consolidate - - + Fond comercial negativ + 2075 + other + + Acest cont apare numai in situatiile financiare anuale consolidate + - Alte imobilizari necorporale - 208 - other - - + Alte imobilizari necorporale + 208 + other + + - IMOBILIZARI CORPORALE - 21 - view - - Atunci cand valoarea de achizitie depaseste 1800 RON - + IMOBILIZARI CORPORALE + 21 + view + + Atunci cand valoarea de achizitie depaseste 1800 RON + - Terenuri si amenajari de terenuri - 211 - view - - + Terenuri si amenajari de terenuri + 211 + view + + - Terenuri - 2111 - other - - + Terenuri + 2111 + other + + - Amenajari de terenuri - 2112 - other - - + Amenajari de terenuri + 2112 + other + + - Constructii - 212 - other - - + Constructii + 212 + other + + - Instalatii tehnice, mijloace de transport, animale si plantatii - 213 - view - - + Instalatii tehnice, mijloace de transport, animale si plantatii + 213 + view + + - Echipamente tehnologice (masini, utilaje si instalatii de lucru) - 2131 - other - - + Echipamente tehnologice (masini, utilaje si instalatii de lucru) + 2131 + other + + - Aparate si instalatii de masurare, control si reglare - 2132 - other - - + Aparate si instalatii de masurare, control si reglare + 2132 + other + + - Mijloace de transport - 2133 - other - - + Mijloace de transport + 2133 + other + + - Animale si plantatii - 2134 - other - - + Animale si plantatii + 2134 + other + + - Mobilier, aparatura birotica, echipamente de protectie a valorilor umane si materiale si alte active corporale - 214 - other - - + Mobilier, aparatura birotica, echipamente de protectie a valorilor umane si materiale si alte active corporale + 214 + other + + - IMOBILIZARI CORPORALE IN CURS DE APROVIZIONARE - 22 - view - - + IMOBILIZARI CORPORALE IN CURS DE APROVIZIONARE + 22 + view + + - Instalatii tehnice, mijloace de transport, animale si plantatii in curs de aprovizionare - 223 - other - - + Instalatii tehnice, mijloace de transport, animale si plantatii in curs de aprovizionare + 223 + other + + - Mobilier, aparatura birotica, echipamente de protectie a valorilor umane si materiale si alte active corporale in curs de aprovizionare - 224 - other - - + Mobilier, aparatura birotica, echipamente de protectie a valorilor umane si materiale si alte active corporale in curs de aprovizionare + 224 + other + + - IMOBILIZARI IN CURS SI AVANSURI PENTRU IMOBILIZARI - 23 - view - - + IMOBILIZARI IN CURS SI AVANSURI PENTRU IMOBILIZARI + 23 + view + + - Imobilizari corporale in curs de executie - 231 - other - - + Imobilizari corporale in curs de executie + 231 + other + + - Avansuri acordate pentru imobilizari corporale - 232 - other - - + Avansuri acordate pentru imobilizari corporale + 232 + other + + - Imobilizari necorporale in curs de executie - 233 - other - - + Imobilizari necorporale in curs de executie + 233 + other + + - Avansuri acordate pentru imobilizari necorporale - 234 - other - - + Avansuri acordate pentru imobilizari necorporale + 234 + other + + - IMOBILIZARI FINANCIARE - 26 - view - - + IMOBILIZARI FINANCIARE + 26 + view + + - Actiuni detinute la entitatile afiliate - 261 - other - - + Actiuni detinute la entitatile afiliate + 261 + other + + - Interse de participare - 263 - other - - + Interse de participare + 263 + other + + - Titluri puse in echivalenta - 264 - other - - Acest cont apare numai in situatiile financiare anuale consolidate - + Titluri puse in echivalenta + 264 + other + + Acest cont apare numai in situatiile financiare anuale consolidate + - Alte titluri imobilizate - 265 - other - - + Alte titluri imobilizate + 265 + other + + - Creante imobilizate - 267 - view - - + Creante imobilizate + 267 + view + + - Sume datorate de entitatile afiliate - 2671 - other - - + Sume datorate de entitatile afiliate + 2671 + other + + - Dobanda aferenta sumelor datorate de entitatile afiliate - 2672 - other - - + Dobanda aferenta sumelor datorate de entitatile afiliate + 2672 + other + + - Creante legate de interesele de participare - 2673 - other - - + Creante legate de interesele de participare + 2673 + other + + - Dobanda aferenta creantelor legate de interesele de participare - 2674 - other - - + Dobanda aferenta creantelor legate de interesele de participare + 2674 + other + + - Imprumuturi acordate pe termen lung - 2675 - other - - + Imprumuturi acordate pe termen lung + 2675 + other + + - Dobanda aferenta imprumuturilor acordate pe termen lung - 2676 - other - - + Dobanda aferenta imprumuturilor acordate pe termen lung + 2676 + other + + - Alte creante imobilizate - 2678 - other - - + Alte creante imobilizate + 2678 + other + + - Dobânzi aferente altor creante imobilizate - 2679 - other - - + Dobânzi aferente altor creante imobilizate + 2679 + other + + - Varsaminte de efectuat pentru imobilizari financiare - 269 - view - - + Varsaminte de efectuat pentru imobilizari financiare + 269 + view + + - Varsaminte de efectuat privind actiunile detinute la entitatile afiliate - 2691 - other - - + Varsaminte de efectuat privind actiunile detinute la entitatile afiliate + 2691 + other + + - Varsaminte de efectuat privind interesele de participare - 2692 - other - - + Varsaminte de efectuat privind interesele de participare + 2692 + other + + - Varsaminte de efectuat pentru alte imobilizari financiare - 2693 - other - - + Varsaminte de efectuat pentru alte imobilizari financiare + 2693 + other + + - AMORTIZARI PRIVIND IMOBILIZARILE - 28 - view - - + AMORTIZARI PRIVIND IMOBILIZARILE + 28 + view + + - Amortizari privind amortizarile necorporale - 280 - view - - + Amortizari privind amortizarile necorporale + 280 + view + + - Amortizarea cheltuielilor de constituire - 2801 - other - - + Amortizarea cheltuielilor de constituire + 2801 + other + + - Amortizarea cheltuielilor de dezvoltare - 2803 - other - - + Amortizarea cheltuielilor de dezvoltare + 2803 + other + + - Amortizarea concesiunilor, brevetelor, licentelor, marcilor comerciale, drepturilor si activelor similare - 2805 - other - - + Amortizarea concesiunilor, brevetelor, licentelor, marcilor comerciale, drepturilor si activelor similare + 2805 + other + + - Amortizarea fondului comercial - 2807 - other - - Acest cont apare, de regula, in situatiile financiare anuale consolidate - + Amortizarea fondului comercial + 2807 + other + + Acest cont apare, de regula, in situatiile financiare anuale consolidate + - Amortizarea altor imobilizari necorporale - 2808 - other - - + Amortizarea altor imobilizari necorporale + 2808 + other + + - Amortizari privind imobilizarile corporale - 281 - view - - + Amortizari privind imobilizarile corporale + 281 + view + + - Amortizarea amenajarilor de terenuri - 2811 - other - - + Amortizarea amenajarilor de terenuri + 2811 + other + + - Amortizarea constructiilor - 2812 - other - - + Amortizarea constructiilor + 2812 + other + + - Amortizarea instalatiilor, mijloacelor de transport, animalelor si plantatiilor - 2813 - other - - + Amortizarea instalatiilor, mijloacelor de transport, animalelor si plantatiilor + 2813 + other + + - Amortizarea altor imobilizari corporale - 2814 - other - - + Amortizarea altor imobilizari corporale + 2814 + other + + - AJUSTARI PENTRU DEPRECIEREA SAU PIERDEREA DE VALOARE A IMOBILIZARILOR - 29 - view - - + AJUSTARI PENTRU DEPRECIEREA SAU PIERDEREA DE VALOARE A IMOBILIZARILOR + 29 + view + + - Ajustari pentru deprecierea imobilizarilor necorporale - 290 - view - - + Ajustari pentru deprecierea imobilizarilor necorporale + 290 + view + + - Ajustari pentru deprecierea cheltuielilor de dezvoltare - 2903 - other - - + Ajustari pentru deprecierea cheltuielilor de dezvoltare + 2903 + other + + - Ajustari pentru deprecierea concesiunilor, brevetelor, licentelor, marcilor comerciale, drepturilor si activelor similare - 2905 - other - - + Ajustari pentru deprecierea concesiunilor, brevetelor, licentelor, marcilor comerciale, drepturilor si activelor similare + 2905 + other + + - Ajustari pentru deprecierea fondului comercial - 2907 - other - - + Ajustari pentru deprecierea fondului comercial + 2907 + other + + - Ajustari pentru deprecierea altor imobilizari necorporale - 2908 - other - - + Ajustari pentru deprecierea altor imobilizari necorporale + 2908 + other + + - Ajustari pentru deprecierea imobilizarilor corporale - 291 - view - - + Ajustari pentru deprecierea imobilizarilor corporale + 291 + view + + - Ajustari pentru deprecierea terenurilor si amenajarilor de terenuri - 2911 - other - - + Ajustari pentru deprecierea terenurilor si amenajarilor de terenuri + 2911 + other + + - Ajustari pentru deprecierea constructiilor - 2912 - other - - + Ajustari pentru deprecierea constructiilor + 2912 + other + + - Ajustari pentru deprecierea instalatiilor, mijloacelor de transport, animalelor si plantatiilor - 2913 - other - - + Ajustari pentru deprecierea instalatiilor, mijloacelor de transport, animalelor si plantatiilor + 2913 + other + + - Ajustari pentru deprecierea altor imobilizari corporale - 2914 - other - - + Ajustari pentru deprecierea altor imobilizari corporale + 2914 + other + + - Ajustari pentru deprecierea imobilizarilor in curs de executie - 293 - view - - + Ajustari pentru deprecierea imobilizarilor in curs de executie + 293 + view + + - Ajustari pentru deprecierea imobilizarilor corporale in curs de executie - 2931 - other - - + Ajustari pentru deprecierea imobilizarilor corporale in curs de executie + 2931 + other + + - Ajustari pentru deprecierea imobilizarilor necorporale in curs de executie - 2933 - other - - + Ajustari pentru deprecierea imobilizarilor necorporale in curs de executie + 2933 + other + + - Ajustari pentru pierderea de valoare a imobilizarilor financiare - 296 - view - - + Ajustari pentru pierderea de valoare a imobilizarilor financiare + 296 + view + + - Ajustari pentru pierderea de valoare a actiunilor detinute la entitatile afiliate - 2961 - other - - + Ajustari pentru pierderea de valoare a actiunilor detinute la entitatile afiliate + 2961 + other + + - Ajustari pentru pierderea de valoare a intereselor de participare - 2962 - other - - + Ajustari pentru pierderea de valoare a intereselor de participare + 2962 + other + + - Ajustari pentru pierderea de valoare a altor titluri imobilizate - 2963 - other - - + Ajustari pentru pierderea de valoare a altor titluri imobilizate + 2963 + other + + - Ajustari pentru pierderea de valoare a sumelor datorate entitatilor afiliate - 2964 - other - - + Ajustari pentru pierderea de valoare a sumelor datorate entitatilor afiliate + 2964 + other + + - Ajustari pentru pierderea de valoare a creantelor legate de interesele de participare - 2965 - other - - + Ajustari pentru pierderea de valoare a creantelor legate de interesele de participare + 2965 + other + + - Ajustari pentru pierderea de valoare a imprumuturilor pe termen lung - 2966 - other - - + Ajustari pentru pierderea de valoare a imprumuturilor pe termen lung + 2966 + other + + - Ajustari pentru pierderea de valoare a altor creante imobilizate - 2968 - other - - + Ajustari pentru pierderea de valoare a altor creante imobilizate + 2968 + other + + - CONTURI DE STOCURI SI PRODUCTIE IN CURS DE EXECUTIE - Clasa 3 - view - - + CONTURI DE STOCURI SI PRODUCTIE IN CURS DE EXECUTIE + Clasa 3 + view + + - STOCURI DE MATERII PRIME SI MATERIALE - 30 - view - - + STOCURI DE MATERII PRIME SI MATERIALE + 30 + view + + - Materii prime - 301 - other - - + Materii prime + 301 + other + + - Materiale consumabile - 302 - view - - + Materiale consumabile + 302 + view + + - Materiale auxiliare - 3021 - other - - + Materiale auxiliare + 3021 + other + + - Combustibili - 3022 - other - - + Combustibili + 3022 + other + + - Materiale pentru ambalat - 3023 - other - - + Materiale pentru ambalat + 3023 + other + + - Piese de schimb - 3024 - other - - + Piese de schimb + 3024 + other + + - Seminte si materiale de plantat - 3025 - other - - + Seminte si materiale de plantat + 3025 + other + + - Furaje - 3026 - other - - + Furaje + 3026 + other + + - Alte materiale consumabile - 3028 - other - - + Alte materiale consumabile + 3028 + other + + - Materiale de natura obiectelor de inventar - 303 - other - - + Materiale de natura obiectelor de inventar + 303 + other + + - Diferente de pret la materii prime si materiale - 308 - other - - + Diferente de pret la materii prime si materiale + 308 + other + + - STOCURI IN CURS DE APROVIZIONARE - 32 - view - - + STOCURI IN CURS DE APROVIZIONARE + 32 + view + + - Materii prime in curs de aprovizionare - 321 - other - - + Materii prime in curs de aprovizionare + 321 + other + + - Materiale consumabile in curs de aprovizionare - 322 - other - - + Materiale consumabile in curs de aprovizionare + 322 + other + + - Materiale de natura obiectelor de inventar in curs de aprovizionare - 323 - other - - + Materiale de natura obiectelor de inventar in curs de aprovizionare + 323 + other + + - Animale in curs de aprovizionare - 326 - other - - + Animale in curs de aprovizionare + 326 + other + + - Marfuri in curs de aprovizionare - 327 - other - - + Marfuri in curs de aprovizionare + 327 + other + + - Ambalaje in curs de aprovizionare - 328 - other - - + Ambalaje in curs de aprovizionare + 328 + other + + - PRODUCTIA IN CURS DE EXECUTIE - 33 - view - - + PRODUCTIA IN CURS DE EXECUTIE + 33 + view + + - Produse in curs de executie - 331 - other - - + Produse in curs de executie + 331 + other + + - Servicii in curs de executie - 332 - other - - + Servicii in curs de executie + 332 + other + + - PRODUSE - 34 - view - - + PRODUSE + 34 + view + + - Semifabricate - 341 - other - - + Semifabricate + 341 + other + + - Produse finite - 345 - other - - + Produse finite + 345 + other + + - Produse reziduale - 346 - other - - + Produse reziduale + 346 + other + + - Diferente de pret la produse - 348 - other - - + Diferente de pret la produse + 348 + other + + - STOCURI AFLATE LA TERTI - 35 - view - - + STOCURI AFLATE LA TERTI + 35 + view + + - Materii si materiale aflate la terti - 351 - other - - + Materii si materiale aflate la terti + 351 + other + + - Produse aflate la terti - 354 - other - - + Produse aflate la terti + 354 + other + + - Animale aflate la terti - 356 - other - - + Animale aflate la terti + 356 + other + + - Marfuri aflate la terti - 357 - other - - + Marfuri aflate la terti + 357 + other + + - Ambalaje aflate la terti - 358 - other - - + Ambalaje aflate la terti + 358 + other + + - ANIMALE - 36 - view - - + ANIMALE + 36 + view + + - Animale si pasari - 361 - other - - + Animale si pasari + 361 + other + + - Diferente de pret la animale si pasari - 368 - other - - + Diferente de pret la animale si pasari + 368 + other + + - MARFURI - 37 - view - - + MARFURI + 37 + view + + - Marfuri - 371 - other - - + Marfuri + 371 + other + + - Diferente de pret la marfuri - 378 - other - - + Diferente de pret la marfuri + 378 + other + + - AMBALAJE - 38 - view - - + AMBALAJE + 38 + view + + - Ambalaje - 381 - other - - + Ambalaje + 381 + other + + - Diferente de pret la ambalaje - 388 - other - - + Diferente de pret la ambalaje + 388 + other + + - AJUSTARI PENTRU DEPRECIEREA STOCURILOR SI PRODUCTIEI IN CURS DE EXECUTIE - 39 - view - - + AJUSTARI PENTRU DEPRECIEREA STOCURILOR SI PRODUCTIEI IN CURS DE EXECUTIE + 39 + view + + - Ajustari pentru deprecierea materiilor prime - 391 - other - - + Ajustari pentru deprecierea materiilor prime + 391 + other + + - Ajustari pentru deprecierea materialelor - 392 - view - - + Ajustari pentru deprecierea materialelor + 392 + view + + - Ajustari pentru deprecierea materialelor consumabile - 3921 - other - - + Ajustari pentru deprecierea materialelor consumabile + 3921 + other + + - Ajustari pentru deprecierea materialelor de natura obiectelor de inventar - 3922 - other - - + Ajustari pentru deprecierea materialelor de natura obiectelor de inventar + 3922 + other + + - Ajustari pentru deprecierea productiei in curs de executie - 393 - other - - + Ajustari pentru deprecierea productiei in curs de executie + 393 + other + + - Ajustari pentru deprecierea produselor - 394 - view - - + Ajustari pentru deprecierea produselor + 394 + view + + - Ajustari pentru deprecierea semifabricatelor - 3941 - other - - + Ajustari pentru deprecierea semifabricatelor + 3941 + other + + - Ajustari pentru deprecierea produselor finite - 3945 - other - - + Ajustari pentru deprecierea produselor finite + 3945 + other + + - Ajustari pentru deprecierea produselor reziduale - 3946 - other - - + Ajustari pentru deprecierea produselor reziduale + 3946 + other + + - Ajustari pentru deprecierea stocurilor aflate la terti - 395 - view - - + Ajustari pentru deprecierea stocurilor aflate la terti + 395 + view + + - Ajustari pentru deprecierea materiilor prime si materialelor aflate la terti - 3951 - other - - + Ajustari pentru deprecierea materiilor prime si materialelor aflate la terti + 3951 + other + + - Ajustari pentru deprecierea semifabricatelor aflate la terti - 3952 - other - - + Ajustari pentru deprecierea semifabricatelor aflate la terti + 3952 + other + + - Ajustari pentru deprecierea produselor finite aflate la terti - 3953 - other - - + Ajustari pentru deprecierea produselor finite aflate la terti + 3953 + other + + - Ajustari pentru deprecierea produselor reziduale aflate la terti - 3954 - other - - + Ajustari pentru deprecierea produselor reziduale aflate la terti + 3954 + other + + - Ajustari pentru deprecierea animalelor aflate la terti - 3956 - other - - + Ajustari pentru deprecierea animalelor aflate la terti + 3956 + other + + - Ajustari pentru deprecierea marfurilor aflate la terti - 3957 - other - - + Ajustari pentru deprecierea marfurilor aflate la terti + 3957 + other + + - Ajustari pentru deprecierea ambalajelor aflate la terti - 3958 - other - - + Ajustari pentru deprecierea ambalajelor aflate la terti + 3958 + other + + - Ajustari pentru deprecierea animalelor - 396 - other - - + Ajustari pentru deprecierea animalelor + 396 + other + + - Ajustari pentru deprecierea marfurilor - 397 - other - - + Ajustari pentru deprecierea marfurilor + 397 + other + + - Ajustari pentru deprecierea ambalajelor - 398 - other - - + Ajustari pentru deprecierea ambalajelor + 398 + other + + - CONTURI DE TERTI - Clasa 4 - view - - + CONTURI DE TERTI + Clasa 4 + view + + - FURNIZORI SI CONTURI ASIMILATE - 40 - view - - - + FURNIZORI SI CONTURI ASIMILATE + 40 + view + + + - Furnizori - 401 - payable - - - + Furnizori + 401 + payable + + + - Efecte de platit - 403 - payable - - - + Efecte de platit + 403 + payable + + + - Furnizori de imobilizari - 404 - payable - - - + Furnizori de imobilizari + 404 + payable + + + - Efecte de platit pentru imobilizari - 405 - payable - - - + Efecte de platit pentru imobilizari + 405 + payable + + + - Furnizori - facturi nesosite - 408 - payable - - - + Furnizori - facturi nesosite + 408 + payable + + + - Furnizori - debitori - 409 - view - - - + Furnizori - debitori + 409 + view + + + - Furnizori - debitori pentru cumparari de bunuri de natura stocurilor - 4091 - other - - - + Furnizori - debitori pentru cumparari de bunuri de natura stocurilor + 4091 + payable + + + - Furnizori - debitori pentru prestari de servicii - 4092 - other - - - + Furnizori - debitori pentru prestari de servicii + 4092 + payable + + + - CLIENTI SI CONTURI ASIMILATE - 41 - view - - - + CLIENTI SI CONTURI ASIMILATE + 41 + view + + + - Clienti - 411 - view - - - + Clienti + 411 + view + + + - Clienti - 4111 - receivable - - - + Clienti + 4111 + receivable + + + - Clienti incerti sau in litigiu - 4118 - receivable - - - + Clienti incerti sau in litigiu + 4118 + receivable + + + - Efecte de primit de la clienti - 413 - receivable - - - + Efecte de primit de la clienti + 413 + receivable + + + - Clienti - facturi de intocmit - 418 - receivable - - - + Clienti - facturi de intocmit + 418 + receivable + + + - Clienti creditori - 419 - other - - - + Clienti creditori + 419 + receivable + + + - PERSONAL SI CONTURI ASIMILATE - 42 - view - - + PERSONAL SI CONTURI ASIMILATE + 42 + view + + - Personal - salarii datorate - 421 - other - - - + Personal - salarii datorate + 421 + payable + + + - Personal - ajutoare materiale datorate - 423 - other - - - + Personal - ajutoare materiale datorate + 423 + other + + + - Prime privind participarea personalului la profit - 424 - other - - Se utilizeaza atunci cand exista baza legala pentru acordarea acestora - - + Prime privind participarea personalului la profit + 424 + other + + Se utilizeaza atunci cand exista baza legala pentru acordarea acestora + + - Avansuri acordate personalului - 425 - receivable - - - + Avansuri acordate personalului + 425 + receivable + + + - Drepturi de personal neridicate - 426 - other - - - + Drepturi de personal neridicate + 426 + other + + + - Retineri din salarii datorate tertilor - 427 - other - - - + Retineri din salarii datorate tertilor + 427 + other + + + - Alte datorii si creante in legatura cu personalul - 428 - view - - - + Alte datorii si creante in legatura cu personalul + 428 + view + + + - Alte datorii in legatura cu personalul - 4281 - other - - - + Alte datorii in legatura cu personalul + 4281 + other + + + - Alte creante in legatura cu personalul - 4282 - receivable - - - + Alte creante in legatura cu personalul + 4282 + other + + + - ASIGURARI SOCIALE, PROTECTIE SOCIALA SI CONTURI ASIMILATE - 43 - view - - + ASIGURARI SOCIALE, PROTECTIE SOCIALA SI CONTURI ASIMILATE + 43 + view + + - Asigurari sociale - 431 - view - - - + Asigurari sociale + 431 + view + + + - Contributia unitatii la asigurarile sociale - 4311 - other - - - + Contributia unitatii la asigurarile sociale + 4311 + other + + + - Contributia personalului la asigurarile sociale - 4312 - other - - - + Contributia personalului la asigurarile sociale + 4312 + other + + + - Contributia angajatorului pentru asigurarile sociale de sanatate - 4313 - other - - - + Contributia angajatorului pentru asigurarile sociale de sanatate + 4313 + other + + + - Contributia angajatilor pentru asigurarile sociale de sanatate - 4314 - other - - - + Contributia angajatilor pentru asigurarile sociale de sanatate + 4314 + other + + + - Contributia angajatorilor la fondul pentru concedii si indemnizatii - 4315 - other - - - + Contributia angajatorilor la fondul pentru concedii si indemnizatii + 4315 + other + + + - Contributia angajatorilor la fondul de asigurare pentru accidente de munca si boli profesionale - 4316 - other - - - + Contributia angajatorilor la fondul de asigurare pentru accidente de munca si boli profesionale + 4316 + other + + + - Ajutor de somaj - 437 - view - - - + Ajutor de somaj + 437 + view + + + - Contributia unitatii la fondul de somaj - 4371 - other - - - + Contributia unitatii la fondul de somaj + 4371 + other + + + - Contributia personalului la fondul de somaj - 4372 - other - - - + Contributia personalului la fondul de somaj + 4372 + other + + + - Contributia unitatii la fondul de garantare pentru plata creantelor salariale - 4373 - other - - - + Contributia unitatii la fondul de garantare pentru plata creantelor salariale + 4373 + other + + + - Alte datorii si creante sociale - 438 - view - - - + Alte datorii si creante sociale + 438 + view + + + - Alte datorii sociale - 4381 - other - - - + Alte datorii sociale + 4381 + other + + + - Alte creante sociale - 4382 - receivable - - - + Alte creante sociale + 4382 + receivable + + + - BUGETUL STATULUI, FONDURI SPECIALE sI CONTURI ASIMILATE - 44 - view - - + BUGETUL STATULUI, FONDURI SPECIALE sI CONTURI ASIMILATE + 44 + view + + - Impozitul pe profit - 441 - view - - - + Impozitul pe profit + 441 + view + + + - Impozitul pe profit - 4411 - other - - - + Impozitul pe profit + 4411 + other + + + - Impozitul pe venit - 4418 - other - - - + Impozitul pe venit + 4418 + other + + + - Taxa pe valoarea adaugata - 442 - view - - - + Taxa pe valoarea adaugata + 442 + view + + + - TVA de plata - 4423 - other - - - + TVA de plata + 4423 + other + + + - TVA de recuperat - 4424 - other - - - + TVA de recuperat + 4424 + other + + + - TVA deductibila - 4426 - other - - - + TVA deductibila + 4426 + other + + + - TVA colectata - 4427 - other - - - + TVA colectata + 4427 + other + + + - TVA neexigibila - 4428 - other - - - + TVA neexigibila + 4428 + other + + + - Impozitul pe venituri de natura salariilor - 444 - other - - - + Impozitul pe venituri de natura salariilor + 444 + other + + + - Subventii - 445 - view - - - + Subventii + 445 + view + + + - Subventii guvernamentale - 4451 - receivable - - - + Subventii guvernamentale + 4451 + receivable + + + - Imprumuturi nerambursabile cu caracter de subventii - 4452 - receivable - - - + Imprumuturi nerambursabile cu caracter de subventii + 4452 + other + + + - Alte sume primite cu caracter de subventii - 4458 - receivable - - - + Alte sume primite cu caracter de subventii + 4458 + other + + + - Alte impozite,taxe si varsaminte asimilate - 446 - other - - - + Alte impozite,taxe si varsaminte asimilate + 446 + other + + + - Fonduri speciale - taxe si varsaminte asimilate - 447 - other - - - + Fonduri speciale - taxe si varsaminte asimilate + 447 + other + + + - Alte datorii si creante cu bugetul statului - 448 - view - - - + Alte datorii si creante cu bugetul statului + 448 + view + + + - Alte datorii fata de bugetul statului - 4481 - other - - - + Alte datorii fata de bugetul statului + 4481 + other + + + - Alte creante privind bugetul statului - 4482 - other - - - + Alte creante privind bugetul statului + 4482 + other + + + - GRUP SI ACTIONARI / ASOCIATI - 45 - view - - + GRUP SI ACTIONARI / ASOCIATI + 45 + view + + - Decontari intre entitatile afiliate - 451 - view - - - + Decontari intre entitatile afiliate + 451 + view + + + - Decontari intre entitatile afiliate - 4511 - other - - - + Decontari intre entitatile afiliate + 4511 + other + + + - Dobanzi aferente decontarilor intre entitatile afiliate - 4518 - other - - - + Dobanzi aferente decontarilor intre entitatile afiliate + 4518 + other + + + - Decontari privind interesele de participare - 453 - view - - - + Decontari privind interesele de participare + 453 + view + + + - Decontari privind interesele de participare - 4531 - other - - - + Decontari privind interesele de participare + 4531 + other + + + - Dobanzi aferente decontarilor privind interesele de participare - 4538 - other - - - + Dobanzi aferente decontarilor privind interesele de participare + 4538 + other + + + - Sume datorate actionarilor/asociatilor - 455 - view - - - + Sume datorate actionarilor/asociatilor + 455 + view + + + - Actionari/asociati - conturi curente - 4551 - receivable - - - + Actionari/asociati - conturi curente + 4551 + payable + + + - Actionari/asociati dobanzi la conturi curente - receivable - 4558 - - - + Actionari/asociati dobanzi la conturi curente + payable + 4558 + + + - Decontari cu actionarii/asociatii privind capitalul - 456 - other - - - + Decontari cu actionarii/asociatii privind capitalul + 456 + other + + + - Dividende de plata - 457 - other - - - + Dividende de plata + 457 + other + + + - Decontari din operatii in participare - 458 - view - - - + Decontari din operatii in participare + 458 + view + + + - Decontari din operatii in participare - activ - 4581 - receivable - - - + Decontari din operatii in participare - activ + 4581 + other + + + - Decontari din operatii in participare - pasiv - 4582 - receivable - - - + Decontari din operatii in participare - pasiv + 4582 + other + + + - DEBITORI SI CREDITORI DIVERSI - 46 - view - - + DEBITORI SI CREDITORI DIVERSI + 46 + view + + - Debitori diversi - 461 - receivable - - - + Debitori diversi + 461 + receivable + + + - Creditori diversi - 462 - other - - - + Creditori diversi + 462 + payable + + + - CONTURI DE REGULARIZARE SI ASIMILATE - 47 - view - - + CONTURI DE REGULARIZARE SI ASIMILATE + 47 + view + + - Cheltuieli integistrate in avans - 471 - receivable - - - + Cheltuieli integistrate in avans + 471 + other + + + - Venituri inregistrate in avans - 472 - other - - - + Venituri inregistrate in avans + 472 + other + + + - Decontari din operatiuni in curs de clarificare - 473 - other - - - + Decontari din operatiuni in curs de clarificare + 473 + other + + + - Subventii pentru investitii - 475 - view - - + Subventii pentru investitii + 475 + view + + - Subventii guvernamentale pentru investitii - 4751 - other - - - + Subventii guvernamentale pentru investitii + 4751 + other + + + - Imprumuturi nerambursabile cu caracter de subventii pentru investitii - 4752 - other - - - + Imprumuturi nerambursabile cu caracter de subventii pentru investitii + 4752 + other + + + - Donatii pentru investitii - 4753 - other - - - + Donatii pentru investitii + 4753 + other + + + - Plusuri de inventar de natura imobilizarilor - 4754 - other - - - + Plusuri de inventar de natura imobilizarilor + 4754 + other + + + - Alte sume primite cu caracter de subventii pentru investitii - 4758 - other - - - + Alte sume primite cu caracter de subventii pentru investitii + 4758 + other + + + - DECONTARI IN CADRUL UNITATII - 48 - view - - + DECONTARI IN CADRUL UNITATII + 48 + view + + - Decontari intre unitati si subunitati - 481 - other - - - + Decontari intre unitati si subunitati + 481 + other + + + - Decontari intre subunitati - 482 - other - - - + Decontari intre subunitati + 482 + other + + + - AJUSTARI PENTRU DEPRECIEREA CREANTELOR - 49 - view - - + AJUSTARI PENTRU DEPRECIEREA CREANTELOR + 49 + view + + - Ajustari pentru deprecierea creantelor - clienti - 491 - other - - - + Ajustari pentru deprecierea creantelor - clienti + 491 + other + + + - Ajustari pentru deprecierea creantelor - decontari in cadrul grupului si cu actionarii/asociatii - 495 - other - - - + Ajustari pentru deprecierea creantelor - decontari in cadrul grupului si cu actionarii/asociatii + 495 + other + + + - Ajustari pentru deprecierea creantelor - debitori diversi - 496 - receivable - - - + Ajustari pentru deprecierea creantelor - debitori diversi + 496 + other + + + - CONTURI DE TREZORERIE - Clasa 5 - view - - + CONTURI DE TREZORERIE + Clasa 5 + view + + - INVESTITII PE TERMEN SCURT - 50 - view - - + INVESTITII PE TERMEN SCURT + 50 + view + + - Actiuni detinute la entitatile afiliate - 501 - other - - + Actiuni detinute la entitatile afiliate + 501 + other + + - Obligatiuni emise si rascumparate - 505 - other - - + Obligatiuni emise si rascumparate + 505 + other + + - Obligatiuni - 506 - other - - + Obligatiuni + 506 + other + + - Alte investitii pe termen scurt si creante asimilate - 508 - view - - + Alte investitii pe termen scurt si creante asimilate + 508 + view + + - Alte titluri de plasament - 5081 - other - - + Alte titluri de plasament + 5081 + other + + - Dobanzi la obligatiuni si alte titluri de plasament - 5088 - other - - + Dobanzi la obligatiuni si alte titluri de plasament + 5088 + other + + - Varsaminte de efctuat pentru investitiile pe termen scurt - 509 - view - - + Varsaminte de efctuat pentru investitiile pe termen scurt + 509 + view + + - Varsaminte de efctuat pentru actiunile detinute la institutiile afiliate - 5091 - other - - + Varsaminte de efctuat pentru actiunile detinute la institutiile afiliate + 5091 + other + + - Varsaminte de efctuat pentru alte investitii pe termen scurt - 5092 - other - - + Varsaminte de efctuat pentru alte investitii pe termen scurt + 5092 + other + + - CONTURI LA BANCI - 51 - view - - + CONTURI LA BANCI + 51 + view + + - Valori de incasat - 511 - view - - + Valori de incasat + 511 + view + + - Cecuri de incasat - 5112 - other - - + Cecuri de incasat + 5112 + other + + - Efecte de incasat - 5113 - other - - + Efecte de incasat + 5113 + other + + - Efecte remise spre scontare - 5114 - other - - + Efecte remise spre scontare + 5114 + other + + - Conturi curente la banci - 512 - view - - Se creeaza cate un cont pentru fiecare cont bancar - + Conturi curente la banci + 512 + view + + Se creeaza cate un cont pentru fiecare cont bancar + - Conturi la banci in lei - 5121 - view - - + Conturi la banci in lei + 5121 + other + + - Conturi la banci in valuta - 5124 - other - - + Conturi la banci in valuta + 5124 + other + + - Sume in curs de decontare - 5125 - other - - + Sume in curs de decontare + 5125 + other + + - Dobanzi - 518 - view - - + Dobanzi + 518 + view + + - Dobanzi de platit - 5186 - other - - + Dobanzi de platit + 5186 + other + + - Dobanzi de incasat - 5187 - other - - + Dobanzi de incasat + 5187 + other + + - Credite bancare pe termen scurt - 519 - view - - + Credite bancare pe termen scurt + 519 + view + + - Credite bancare pe termen scurt - 5191 - other - - + Credite bancare pe termen scurt + 5191 + other + + - Credite bancare pe termen scurt nerambursate la scadenta - 5192 - other - - + Credite bancare pe termen scurt nerambursate la scadenta + 5192 + other + + - Credite externe guvernamentale - 5193 - other - - + Credite externe guvernamentale + 5193 + other + + - Credite externe garantate de stat - 5194 - other - - + Credite externe garantate de stat + 5194 + other + + - Credite externe garantate de banci - 5195 - other - - + Credite externe garantate de banci + 5195 + other + + - Credite de la trezoreria statului - 5196 - other - - + Credite de la trezoreria statului + 5196 + other + + - Credite interne garantate de stat - 5197 - other - - + Credite interne garantate de stat + 5197 + other + + - Dobanzi aferente creditelor pe termen scurt - 5198 - other - - + Dobanzi aferente creditelor pe termen scurt + 5198 + other + + - CASA - 53 - view - - + CASA + 53 + view + + - Casa - 531 - view - - + Casa + 531 + view + + - Casa in lei - 5311 - other - - + Casa in lei + 5311 + liquidity + + - Casa in valuta - 5314 - other - - + Casa in valuta + 5314 + liquidity + + - Alte valori - 532 - view - - + Alte valori + 532 + view + + - Timbre fiscale si postale - 5321 - other - - + Timbre fiscale si postale + 5321 + other + + - Bilete de tratament si odihna - 5322 - other - - + Bilete de tratament si odihna + 5322 + other + + - Tichete si bilete de calatorie - 5323 - other - - + Tichete si bilete de calatorie + 5323 + other + + - Alte valori - 5328 - other - - + Alte valori + 5328 + other + + - ACREDITIVE - 54 - view - - + ACREDITIVE + 54 + view + + - Acreditive - 541 - view - - + Acreditive + 541 + view + + - Acreditive in lei - 5411 - other - - + Acreditive in lei + 5411 + other + + - Acreditive in valuta - 5412 - other - - + Acreditive in valuta + 5412 + other + + - Avansuri de trezorerie - 542 - other - - - in acest cont vor fi evidentiate si sumele acordate prin sistemul de carduri + Avansuri de trezorerie + 542 + receivable + + + in acest cont vor fi evidentiate si sumele acordate prin sistemul de carduri - VIRAMENTE INTERNE - 58 - view - - - + VIRAMENTE INTERNE + 58 + view + + + - Viramente interne - 581 - other - - - + Viramente interne + 581 + other + + + - AJUSTARI PENTRU PIERDEREA DE VALOARE A CONTURILOR DE TREZORERIE - 59 - view - - + AJUSTARI PENTRU PIERDEREA DE VALOARE A CONTURILOR DE TREZORERIE + 59 + view + + - Ajustari pentru pierderea de valoare a actiunilor detinute la entitatile afiliate - 591 - other - - + Ajustari pentru pierderea de valoare a actiunilor detinute la entitatile afiliate + 591 + other + + - Ajustari pentru pierderea de valoare a obligatiunilor emise si recuperate - 595 - other - - + Ajustari pentru pierderea de valoare a obligatiunilor emise si recuperate + 595 + other + + - Ajustari pentru pierderea de valoare a obligatiunilor - 596 - other - - + Ajustari pentru pierderea de valoare a obligatiunilor + 596 + other + + - Ajustari pentru pierderea de valoare a altor invesitii pe termen scurt si creante asimilate - 598 - other - - + Ajustari pentru pierderea de valoare a altor invesitii pe termen scurt si creante asimilate + 598 + other + + - Conturile de venituri si cheltuieli - Clasele 6 si 7 - view - - + CONTURI DE VENITURI SI CHELTUIELI + Clasele 6 si 7 + view + + - CONTURI DE CHELTUIELI - Clasa 6 - view - - + CONTURI DE CHELTUIELI + Clasa 6 + view + + - CHELTUIELI PRIVIND STOCURILE - 60 - view - - + CHELTUIELI PRIVIND STOCURILE + 60 + view + + - Cheltuieli cu materiile prime - 601 - other - - + Cheltuieli cu materiile prime + 601 + other + + - Cheltuieli cu materialele consumabile - 602 - view - - + Cheltuieli cu materialele consumabile + 602 + view + + - Cheltuieli cu materiale auxiliare - 6021 - other - - + Cheltuieli cu materiale auxiliare + 6021 + other + + - Cheltuieli privind combustibilul - 6022 - other - - + Cheltuieli privind combustibilul + 6022 + other + + - Cheltuieli privind materialele pentru ambalat - 6023 - other - - + Cheltuieli privind materialele pentru ambalat + 6023 + other + + - Cheltuieli privind piesele de schimb - 6024 - other - - + Cheltuieli privind piesele de schimb + 6024 + other + + - Cheltuieli privind semintele si materialele de plantat - 6025 - other - - + Cheltuieli privind semintele si materialele de plantat + 6025 + other + + - Cheltuieli privind furajele - 6026 - other - - + Cheltuieli privind furajele + 6026 + other + + - Cheltuieli privind alte materiale consumabile - 6028 - other - - + Cheltuieli privind alte materiale consumabile + 6028 + other + + - Cheltuieli privind materialele de natura obiectelor de inventar - 603 - other - - + Cheltuieli privind materialele de natura obiectelor de inventar + 603 + other + + - Cheltuieli privind materialele nestocate - 604 - other - - + Cheltuieli privind materialele nestocate + 604 + other + + - Cheltuieli privind energia si apa - 605 - other - - + Cheltuieli privind energia si apa + 605 + other + + - Cheltuieli privind animalele si pasarile - 606 - other - - + Cheltuieli privind animalele si pasarile + 606 + other + + - Cheltuieli privind marfurile - 607 - other - - + Cheltuieli privind marfurile + 607 + other + + - Cheltuieli privind ambalajele - 608 - other - - + Cheltuieli privind ambalajele + 608 + other + + - Reduceri comerciale primite - 609 - other - - + Reduceri comerciale primite + 609 + other + + - CHELTUIELI CU LUCRARIRE SI SERVICIILE EXECUTATE DE TERTI - 61 - view - - + CHELTUIELI CU LUCRARIRE SI SERVICIILE EXECUTATE DE TERTI + 61 + view + + - Cheltuieli cu intretinerile si reparatiile - 611 - other - - + Cheltuieli cu intretinerile si reparatiile + 611 + other + + - Cheltuieli cu redeventele, locatiile de gestiune si chiriile - 612 - other - - + Cheltuieli cu redeventele, locatiile de gestiune si chiriile + 612 + other + + - Cheltuieli cu primele de asigurare - 613 - other - - + Cheltuieli cu primele de asigurare + 613 + other + + - Cheltuieli cu studiile si cercetarile - 614 - other - - + Cheltuieli cu studiile si cercetarile + 614 + other + + - CHELTUIELI CU ALTE SERVICII EXECUTATE DE TERTI - 62 - view - - + CHELTUIELI CU ALTE SERVICII EXECUTATE DE TERTI + 62 + view + + - Cheltuieli cu colaboratorii - 621 - other - - + Cheltuieli cu colaboratorii + 621 + other + + - Cheltuieli privind comisioanele si onorariile - 622 - other - - + Cheltuieli privind comisioanele si onorariile + 622 + other + + - Cheltuieli de protocol, reclama si publicitate - 623 - other - - + Cheltuieli de protocol, reclama si publicitate + 623 + other + + - Cheltuieli cu transportul de bunuri si personal - 624 - other - - + Cheltuieli cu transportul de bunuri si personal + 624 + other + + - Cheltuieli cu deplasari, detasari si transferari - 625 - other - - + Cheltuieli cu deplasari, detasari si transferari + 625 + other + + - Cheltuieli postale si taxe de telecomunicatii - 626 - other - - + Cheltuieli postale si taxe de telecomunicatii + 626 + other + + - Cheltuieli cu serviciile bancare si asimilate - 627 - other - - + Cheltuieli cu serviciile bancare si asimilate + 627 + other + + - Alte cheltuieli cu serviciile executate de terti - 628 - other - - + Alte cheltuieli cu serviciile executate de terti + 628 + other + + - Cheltuieli cu alte impozite, taxe si varsaminte asimilate - 63 - view - - + CHELTUIELI CU ALTE IMPOZITE, TAXE SO VARSAMINTE ASIMILATE + 63 + view + + - Cheltuieli cu alte impozite, taxe si varsaminte asimilate - 635 - other - - + Cheltuieli cu alte impozite, taxe si varsaminte asimilate + 635 + other + + - CHELTUIELI CU PERSONALUL - 64 - view - - + CHELTUIELI CU PERSONALUL + 64 + view + + - Cheltuieli cu salariile personalului - 641 - other - - + Cheltuieli cu salariile personalului + 641 + other + + - Cheltuieli cu tichetele de masa acordate salariatilor - 642 - other - - + Cheltuieli cu tichetele de masa acordate salariatilor + 642 + other + + - Cheltuieli cu primele reprezentand participarea personalului la profit - 643 - other - - + Cheltuieli cu primele reprezentand participarea personalului la profit + 643 + other + + - Cheltuieli cu renumerarea in instrumente de capitaluri proprii - 644 - other - - + Cheltuieli cu renumerarea in instrumente de capitaluri proprii + 644 + other + + - Cheltuieli privind asigurarile si protectia sociala - 645 - view - - + Cheltuieli privind asigurarile si protectia sociala + 645 + view + + - Contributia unitatii la asigurarile sociale - 6451 - other - - + Contributia unitatii la asigurarile sociale + 6451 + other + + - Contributia unitatii pentru ajutorul de somaj - 6452 - other - - + Contributia unitatii pentru ajutorul de somaj + 6452 + other + + - Contributia angajatorului pentru asigurarile sociale de sanatate - 6453 - other - - + Contributia angajatorului pentru asigurarile sociale de sanatate + 6453 + other + + - Contributia unitatii la fondul de garantare - 6454 - other - - + Contributia unitatii la fondul de garantare + 6454 + other + + - Contributia unitatii la fondul de concedii medicale - 6455 - other - - + Contributia unitatii la fondul de concedii medicale + 6455 + other + + - Contributia unitatii la schemele de pensii facultative - 6456 - other - - + Contributia unitatii la schemele de pensii facultative + 6456 + other + + - Contributia unitatii la primele de asigurare voluntara de sanatate - 6457 - other - - + Contributia unitatii la primele de asigurare voluntara de sanatate + 6457 + other + + - Alte cheltuieli privind asigurarile si protectia sociala - 6458 - other - - + Alte cheltuieli privind asigurarile si protectia sociala + 6458 + other + + - Alte cheltuieli de exploatare - 65 - view - - + ALTE CHELTUIELI DE EXPLOATARE + 65 + view + + - Cheltuieli cu protectia mediului inconjurator - 652 - other - - + Cheltuieli cu protectia mediului inconjurator + 652 + other + + - Pierderi din creante si debitori diversi - 654 - other - - + Pierderi din creante si debitori diversi + 654 + other + + - Alte cheltuieli de exploatare - 658 - view - - + Alte cheltuieli de exploatare + 658 + view + + - Despagubiri, amenzi si penalitati - 6581 - other - - + Despagubiri, amenzi si penalitati + 6581 + other + + - Donatii si subventii acordate - 6582 - other - - + Donatii si subventii acordate + 6582 + other + + - Cheltuieli privind activele cedate si alte operatii de capital - 6583 - other - - + Cheltuieli privind activele cedate si alte operatii de capital + 6583 + other + + - Alte cheltuieli de exploatare - 6588 - other - - + Alte cheltuieli de exploatare + 6588 + other + + - CHELTUIELI FINANCIARE - 66 - view - - + CHELTUIELI FINANCIARE + 66 + view + + - Pierderi din creante legate de participatii - 663 - other - - + Pierderi din creante legate de participatii + 663 + other + + - Cheltuieli privind investitiile financiare cedate - 664 - view - - + Cheltuieli privind investitiile financiare cedate + 664 + view + + - Cheltuieli privind imobilizarile financiare cedate - 6641 - other - - + Cheltuieli privind imobilizarile financiare cedate + 6641 + other + + - Pierderi din investitiile pe termen scurt cedate - 6642 - other - - + Pierderi din investitiile pe termen scurt cedate + 6642 + other + + - Cheltuieli din diferente de curs valutar - 665 - other - - + Cheltuieli din diferente de curs valutar + 665 + other + + - Cheltuieli privind dobanzile - 666 - other - - + Cheltuieli privind dobanzile + 666 + other + + - Cheltuieli privind sconturile acordate - 667 - other - - + Cheltuieli privind sconturile acordate + 667 + other + + - Alte cheltuieli financiare - 668 - other - - + Alte cheltuieli financiare + 668 + other + + - CHELTUIELI EXTRAORDINARE - 67 - view - - + CHELTUIELI EXTRAORDINARE + 67 + view + + - Cheltuieli privind calamitatile si alte evenimente extraordinare - 671 - other - - + Cheltuieli privind calamitatile si alte evenimente extraordinare + 671 + other + + - CHELTUIELI CU AMORTIZARILE, PROVIZIOANELE SI AJUSTARILE PENTRU DEPRECIERE SAU PIERDERE DE VALOARE - 68 - view - - + CHELTUIELI CU AMORTIZARILE, PROVIZIOANELE SI AJUSTARILE PENTRU DEPRECIERE SAU PIERDERE DE VALOARE + 68 + view + + - Cheltuieli de exploatare privind amortizarile, provizioanele si ajustarile pentru depreciere - 681 - view - - + Cheltuieli de exploatare privind amortizarile, provizioanele si ajustarile pentru depreciere + 681 + view + + - Cheltuieli de exploatare privind amortizarea imobilizarilor - 6811 - other - - + Cheltuieli de exploatare privind amortizarea imobilizarilor + 6811 + other + + - Cheltuieli de exploatare privind provizioanele - 6812 - other - - + Cheltuieli de exploatare privind provizioanele + 6812 + other + + - Cheltuieli de exploatare privind ajustarile pentru deprecierea imobilizarilor - 6813 - other - - + Cheltuieli de exploatare privind ajustarile pentru deprecierea imobilizarilor + 6813 + other + + - Cheltuieli de exploatare privind ajustarile pentru deprecierea activelor circulante - 6814 - other - - + Cheltuieli de exploatare privind ajustarile pentru deprecierea activelor circulante + 6814 + other + + - Cheltuieli financiare privind amortizarile si ajustarile pentru pierdere de valoare - 686 - view - - + Cheltuieli financiare privind amortizarile si ajustarile pentru pierdere de valoare + 686 + view + + - Cheltuieli financiare privind ajustarile pentru pierderea de valoare a imobilizarilor financiare - 6863 - other - - + Cheltuieli financiare privind ajustarile pentru pierderea de valoare a imobilizarilor financiare + 6863 + other + + - Cheltuieli financiare privind ajustarile pentru pierderea de valoare a activelor circulante - 6864 - other - - + Cheltuieli financiare privind ajustarile pentru pierderea de valoare a activelor circulante + 6864 + other + + - Cheltuieli financiare privind amortizarea primelor de rambursare a obligatiunilor - 6868 - other - - + Cheltuieli financiare privind amortizarea primelor de rambursare a obligatiunilor + 6868 + other + + - CHELTUIELI CU IMPOZITUL PE PROFIT SI ALTE IMPOZITE - 69 - view - - + CHELTUIELI CU IMPOZITUL PE PROFIT SI ALTE IMPOZITE + 69 + view + + - Impozitul pe profit - 691 - other - - + Impozitul pe profit + 691 + other + + - Cheltuieli cu impozitul pe venit si cu alte impozite care nu apar in elementele de mai sus - 698 - other - - Se utilizeaza conform reglementarilor legale - + Cheltuieli cu impozitul pe venit si cu alte impozite care nu apar in elementele de mai sus + 698 + other + + Se utilizeaza conform reglementarilor legale + - CONTURI DE VENITURI - Clasa 7 - view - - + CONTURI DE VENITURI + Clasa 7 + view + + - CIFRA DE AFACERI NETA - 70 - view - - + CIFRA DE AFACERI NETA + 70 + view + + - Venituri din vanzarea produselor finite - 701 - other - - + Venituri din vanzarea produselor finite + 701 + other + + - Venituri din vanzarea semifabricatelor - 702 - other - - + Venituri din vanzarea semifabricatelor + 702 + other + + - Venituri din vanzarea produselor reziduale - 703 - other - - + Venituri din vanzarea produselor reziduale + 703 + other + + - Venituri din lucrari executate si servicii prestate - 704 - other - - + Venituri din lucrari executate si servicii prestate + 704 + other + + - Venituri din studii si cercetari - 705 - other - - + Venituri din studii si cercetari + 705 + other + + - Venituri din redevente, locatii de gestiune si chirii - 706 - other - - + Venituri din redevente, locatii de gestiune si chirii + 706 + other + + - Venituri din vanzarea marfurilor - 707 - other - - 707-607 = adaosul comercial - + Venituri din vanzarea marfurilor + 707 + other + + 707-607 = adaosul comercial + - Venituri din activitati diverse - 708 - other - - + Venituri din activitati diverse + 708 + other + + - Reduceri comerciale acordate - 709 - other - - + Reduceri comerciale acordate + 709 + other + + - Venituri aferente costului productiei in curs de executie - 71 - view - - + VENITURI AFERENTE COSTULUI PRODUCTIEI IN CURS DE EXECUTIE + 71 + view + + - Venituri aferente costurilor stocurilor de produse - 711 - other - - + Venituri aferente costurilor stocurilor de produse + 711 + other + + - Venituri aferente costurilor serviciilor in curs de executie - 712 - other - - + Venituri aferente costurilor serviciilor in curs de executie + 712 + other + + - Venituri din productia de imobilizari - 72 - view - - + VENITURI DIN PRODUCTIA DE IMOBILIZARI + 72 + view + + - Venituri din productia de imobilizari necorporale - 721 - other - - + Venituri din productia de imobilizari necorporale + 721 + other + + - Venituri din productia de imobilizari corporale - 722 - other - - + Venituri din productia de imobilizari corporale + 722 + other + + - VENITURI DIN SUBVENTII DE EXPLOATARE - 74 - view - - + VENITURI DIN SUBVENTII DE EXPLOATARE + 74 + view + + - Venituri din subventii de exploatare - 741 - view - - + Venituri din subventii de exploatare + 741 + view + + - Venituri din subventii de exploatare aferente cifrei de afaceri - 7411 - other - - Se ia in calcul la determinarea cifrei de afaceri - + Venituri din subventii de exploatare aferente cifrei de afaceri + 7411 + other + + Se ia in calcul la determinarea cifrei de afaceri + - Venituri din subventii de exploatare pentru materii prime si materiale consumabile - 7412 - other - - + Venituri din subventii de exploatare pentru materii prime si materiale consumabile + 7412 + other + + - Venituri din subventii de exploatare pentru alte cheltuieli externe - 7413 - other - - + Venituri din subventii de exploatare pentru alte cheltuieli externe + 7413 + other + + - Venituri din subventii de exploatare pentru plata personalului - 7414 - other - - + Venituri din subventii de exploatare pentru plata personalului + 7414 + other + + - Venituri din subventii de exploatare pentru asigurari si protectie sociala - 7415 - other - - + Venituri din subventii de exploatare pentru asigurari si protectie sociala + 7415 + other + + - Venituri din subventii de exploatare pentru alte cheltuieli de exploatare - 7416 - other - - + Venituri din subventii de exploatare pentru alte cheltuieli de exploatare + 7416 + other + + - Venituri din subventii de exploatare aferente altor venituri - 7417 - other - - + Venituri din subventii de exploatare aferente altor venituri + 7417 + other + + - Venituri din subventii de exploatare pentru dobanda datorata - 7418 - other - - + Venituri din subventii de exploatare pentru dobanda datorata + 7418 + other + + - ALTE VENITURI DIN EXPLOATARE - 75 - view - - + ALTE VENITURI DIN EXPLOATARE + 75 + view + + - Venituri din creante reactivate si debitori diversi - 754 - other - - + Venituri din creante reactivate si debitori diversi + 754 + other + + - Alte venituri din exploatare - 758 - view - - + Alte venituri din exploatare + 758 + view + + - Venituri din despagubiri, amenzi si penalitati - 7581 - other - - + Venituri din despagubiri, amenzi si penalitati + 7581 + other + + - Venituri din donatii si subventii primite - 7582 - other - - + Venituri din donatii si subventii primite + 7582 + other + + - Venituri din vanzarea activelor si alte operatii de capital - 7583 - other - - + Venituri din vanzarea activelor si alte operatii de capital + 7583 + other + + - Venituri din subventii pentru investitii - 7584 - other - - + Venituri din subventii pentru investitii + 7584 + other + + - Alte venituri din exploatare - 7588 - other - - + Alte venituri din exploatare + 7588 + other + + - VENITURI FINANCIARE - 76 - view - - + VENITURI FINANCIARE + 76 + view + + - Venituri din imobilizari financiare - 761 - view - - + Venituri din imobilizari financiare + 761 + view + + - Venituri din actiuni detinute la entitatile afiliate - 7611 - other - - + Venituri din actiuni detinute la entitatile afiliate + 7611 + other + + - Venituri din interese de participare - 7613 - other - - + Venituri din interese de participare + 7613 + other + + - Venituri din investitii financiare pe termen scurt - 762 - other - - + Venituri din investitii financiare pe termen scurt + 762 + other + + - Venituri din creante imobilizate - 763 - other - - + Venituri din creante imobilizate + 763 + other + + - Venituri din investitii financiare cedate - 764 - view - - + Venituri din investitii financiare cedate + 764 + view + + - Venituri din imobilizari financiare cedate - 7641 - other - - + Venituri din imobilizari financiare cedate + 7641 + other + + - Castiguri din investitii pe termen scurt cedate - 7642 - other - - + Castiguri din investitii pe termen scurt cedate + 7642 + other + + - Venituri din diferente de curs valutar - 765 - other - - + Venituri din diferente de curs valutar + 765 + other + + - Venituri din dobanzi - 766 - other - - + Venituri din dobanzi + 766 + other + + - Venituri din sconturi obtinute - 767 - other - - (contrepartie 667) - + Venituri din sconturi obtinute + 767 + other + + (contrepartie 667) + - Alte venituri financiare - 768 - other - - + Alte venituri financiare + 768 + other + + - VENITURI EXTRAORDINARE - 77 - view - - + VENITURI EXTRAORDINARE + 77 + view + + - Venituri din subventii pentru evenimente extraordinare si altele similare - 771 - other - - + Venituri din subventii pentru evenimente extraordinare si altele similare + 771 + other + + - VENITURI DIN PROVIZIOANE SI AJUSTARI PENTRU DEPRECIERE SAU PIERDERE DE VALOARE - 78 - view - - + VENITURI DIN PROVIZIOANE SI AJUSTARI PENTRU DEPRECIERE SAU PIERDERE DE VALOARE + 78 + view + + - Venituri din provizioane si ajustari pentru depreciere privind activitatea de exploatare - 781 - view - - + Venituri din provizioane si ajustari pentru depreciere privind activitatea de exploatare + 781 + view + + - Venituri din provizioane - 7812 - other - - + Venituri din provizioane + 7812 + other + + - Venituri din ajustari pentru deprecierea imobilizarilor - 7813 - other - - + Venituri din ajustari pentru deprecierea imobilizarilor + 7813 + other + + - Venituri din ajustari pentru deprecierea activelor circulante - 7814 - other - - + Venituri din ajustari pentru deprecierea activelor circulante + 7814 + other + + - Venituri din fondul comercial negativ - 7815 - other - Acest cont apare numai in situatiile anuale consolidate - - + Venituri din fondul comercial negativ + 7815 + other + Acest cont apare numai in situatiile anuale consolidate + + - Venituri financiare din ajustari pentru pierdere de valoare - 786 - view - - + Venituri financiare din ajustari pentru pierdere de valoare + 786 + view + + - - Venituri financiare din ajustari pentru pierderea de valoare a imobilizarilor financiare - 7863 - other - - + + Venituri financiare din ajustari pentru pierderea de valoare a imobilizarilor financiare + 7863 + other + + - Venituri financiare din ajustari pentru pierderea de valoare a activelor circulante - 7864 - other - - + Venituri financiare din ajustari pentru pierderea de valoare a activelor circulante + 7864 + other + + - CONTURI SPECIALE - Clasa 8 - view - - + CONTURI SPECIALE + Clasa 8 + view + + - CONTURI IN AFARA BILANTULUI - 80 - view - - + CONTURI IN AFARA BILANTULUI + 80 + view + + - Angajamente acordate - 801 - view - - + Angajamente acordate + 801 + view + + - Giruri si garantii acordate - 8011 - other - - + Giruri si garantii acordate + 8011 + other + + - Alte angajamente acordate - 8018 - other - - + Alte angajamente acordate + 8018 + other + + - Angajamente primite - 802 - view - - + Angajamente primite + 802 + view + + - Giruri si garantii primite - 8021 - other - - + Giruri si garantii primite + 8021 + other + + - Alte angajamente primite - 8028 - other - - + Alte angajamente primite + 8028 + other + + - Alte conturi in afara bilantului - 803 - view - - + Alte conturi in afara bilantului + 803 + view + + - Imobilizari corporale luate cu chirie - 8031 - other - - + Imobilizari corporale luate cu chirie + 8031 + other + + - Valori materiale primite spre prelucrare sau reparare - 8032 - other - - + Valori materiale primite spre prelucrare sau reparare + 8032 + other + + - Valori materiale primite in pastrare sau custodie - 8033 - other - - + Valori materiale primite in pastrare sau custodie + 8033 + other + + - Debitori scosi din activ, urmariti in continuare - 8034 - other - - + Debitori scosi din activ, urmariti in continuare + 8034 + other + + - Stocuri de natura obiectelor de inventar date in folosinta - 8035 - other - - + Stocuri de natura obiectelor de inventar date in folosinta + 8035 + other + + - Redevente, locatii de gestiune, chirii si alte datorii asimilate - 8036 - other - - + Redevente, locatii de gestiune, chirii si alte datorii asimilate + 8036 + other + + - Efecte scontate neajunse la scadenta - 8037 - other - - + Efecte scontate neajunse la scadenta + 8037 + other + + - Bunuri publice primite in administrare, concesiune si cu chirie - 8038 - other - - + Bunuri publice primite in administrare, concesiune si cu chirie + 8038 + other + + - Alte valori in afara bilantului - 8039 - other - - + Alte valori in afara bilantului + 8039 + other + + - Amortizarea aferenta gradului de neutilizare a mijloacelor fixe - 804 - view - - + Amortizarea aferenta gradului de neutilizare a mijloacelor fixe + 804 + view + + - Amortizarea aferenta gradului de neutilizare a mijloacelor fixe - 8045 - other - - + Amortizarea aferenta gradului de neutilizare a mijloacelor fixe + 8045 + other + + - Dobanzi aferente contractelor de leasing si altor contracte asimilate, neajunse la scadenta - 805 - view - - + Dobanzi aferente contractelor de leasing si altor contracte asimilate, neajunse la scadenta + 805 + view + + - Dobanzi de platit - 8051 - other - - + Dobanzi de platit + 8051 + other + + - Dobanzi de incasat - 8052 - other - - + Dobanzi de incasat + 8052 + other + + - Certificate de emisii de gaze cu efect de sera - 806 - other - - + Certificate de emisii de gaze cu efect de sera + 806 + other + + - Active contingente - 807 - other - - + Active contingente + 807 + other + + - Datorii contingente - 808 - other - - + Datorii contingente + 808 + other + + - Bilant - 89 - view - - + BILANT + 89 + view + + - Bilant de deschidere - 891 - other - - + Bilant de deschidere + 891 + other + + - Bilant de inchidere - 892 - other - - + Bilant de inchidere + 892 + other + + - - - CONTURI DE GESTIUNE - Clasa 9 - view - - + + + CONTURI DE GESTIUNE + Clasa 9 + view + + - DECONTARI INTERNE - 90 - view - - + DECONTARI INTERNE + 90 + view + + - Decontari interne privind cheltuielile - 901 - other - - + Decontari interne privind cheltuielile + 901 + other + + - Decontari interne privind productia obtinuta - 902 - other - - + Decontari interne privind productia obtinuta + 902 + other + + - Decontari interne privind diferentele de pret - 903 - other - - + Decontari interne privind diferentele de pret + 903 + other + + - CONTURI DE CALCULATIE - 92 - view - - + CONTURI DE CALCULATIE + 92 + view + + - - Cheltuielile activitatii de baza - 921 - other - - + + Cheltuielile activitatii de baza + 921 + other + + - Cheltuielile activitatilor auxiliare - 922 - other - - + Cheltuielile activitatilor auxiliare + 922 + other + + - Cheltuieli indirecte de productie - 923 - other - - + Cheltuieli indirecte de productie + 923 + other + + - Cheltuieli generale de administratie - 924 - other - - + Cheltuieli generale de administratie + 924 + other + + - Cheltuieli de desfacere - 925 - other - - + Cheltuieli de desfacere + 925 + other + + - COSTUL PRODUCTIEI - 93 - view - - + COSTUL PRODUCTIEI + 93 + view + + - - Costul productiei obtinute - 931 - other - - + + Costul productiei obtinute + 931 + other + + - - Costul productiei de executie - 933 - other - - + + Costul productiei de executie + 933 + other + + - - - - Romania - Chart of Accounts - - - - - - - - - diff --git a/addons/l10n_ro/account_chart_template.xml b/addons/l10n_ro/account_chart_template.xml new file mode 100755 index 00000000000..37215b5bbef --- /dev/null +++ b/addons/l10n_ro/account_chart_template.xml @@ -0,0 +1,17 @@ + + + + + + Romania - Chart of Accounts + + + + + + + + + + + diff --git a/addons/l10n_ro/account_tax_code_template.xml b/addons/l10n_ro/account_tax_code_template.xml old mode 100644 new mode 100755 index 21b99b02e28..4ebf9b546b3 --- a/addons/l10n_ro/account_tax_code_template.xml +++ b/addons/l10n_ro/account_tax_code_template.xml @@ -5,182 +5,285 @@ # # Tax Code Template Configuration # - - Decont TVA - - - - TVA COLECTATA - b) - - + + Decont TVA + + + + TVA COLECTATA + b) + + - - TVA 24% - TVA colectata 24% - - - - TVA 19% - TVA colectata 19% - - - - TVA 9% - TVA colectata 9% - - - - TVA 5% - TVA colectata 5% - - + + TVA 24% + TVA colectata 24% + + + + + TVA 19% + TVA colectata 19% + + + + + TVA 9% + TVA colectata 9% + + + + + TVA 5% + TVA colectata 5% + + - - TVA Taxare inversa - TVA - - + + TVA 0% + TVA colectata 0% + + - - TVA 0% - TVA colectata 0% - - + + BAZA TVA COLECTAT + a) + + + + + Baza TVA 24% + TVA colectata 24%(Baza) + + + + + Baza TVA 19% + TVA colectata 19%(Baza) + + + + + Baza TVA 9% + TVA colectata 9%(Baza) + + + + + Baza TVA 5% + TVA colectata 5%(Baza) + + - - BAZA TVA COLECTAT - a) - - - - Baza TVA 24% - TVA colectata 24%(Baza) - - - - Baza TVA 19% - TVA colectata 19%(Baza) - - - - Baza TVA 9% - TVA colectata 9%(Baza) - - - - Baza TVA 5% - TVA colectata 5%(Baza) - - + + Baza TVA 0% + TVA colectata 0%(Baza) + + - - Baza TVA Taxare inversa - Baza - - + + TVA DEDUCTIBILA + d) + + + + + TVA 24% + TVA deductibila 24% + + + + + TVA 19% + TVA deductibila 19% + + + + + TVA 9% + TVA deductibila 9% + + + + + TVA 5% + TVA deductibila 5% + + - - Baza TVA 0% - TVA colectata 0%(Baza) - - + + TVA 0% + TVA deductibila 0% + + + + + BAZA TVA DEDUCTIBIL + c) + + + + + Baza TVA 24% + TVA deductibila 24%(Baza) + + + + + Baza TVA 19% + TVA deductibila 19%(Baza) + + + + + Baza TVA 9% + TVA deductibila 9%(Baza) + + + + + Baza TVA 5% + TVA deductibila 5%(Baza) + + + + Baza TVA 0% + TVA deductibila 0%(Baza) + + + + + BAZA TVA TAXARE INVERSA + e) + + + + + Baza TVA Taxare inversa + Baza TVA Taxare inversa + + + + + TVA TAXARE INVERSA + f) + + + + + TVA Taxare inversa + TVA Taxare inversa + + - - TVA DEDUCTIBILA - d) - - - - TVA 24% - TVA deductibila 24% - - - - TVA 19% - TVA deductibila 19% - - - - TVA 9% - TVA deductibila 9% - - - - TVA 5% - TVA deductibila 5% - - - - - TVA 0% - TVA deductibila 0% - - - - BAZA TVA DEDUCTIBIL - c) - - - - Baza TVA 24% - TVA deductibila 24%(Baza) - - - - Baza TVA 19% - TVA deductibila 19%(Baza) - - - - Baza TVA 9% - TVA deductibila 9%(Baza) - - - - Baza TVA 5% - TVA deductibila 5%(Baza) - - - - - Baza TVA 0% - TVA deductibila 0%(Baza) - - - - - BAZA TVA NEEXIGIBIL - e) - - - - Baza TVA neexigibil - colectat - TVA neexigibil - colectat (Baza) - - - - Baza TVA neexigibil - deductibil - TVA neexigibil - deductibil (Baza) - - - - TVA NEEXIGIBIL - f) - - - - TVA neexigibil - colectat - TVA neexigibil - colectat - - - - TVA neexigibil - deductibil - TVA neexigibil - deductibil - - - - + + BAZA TVA TAXARE INVERSA + e) + + + + + Baza TVA Taxare inversa + Baza TVA Taxare inversa + + + + + TVA TAXARE INVERSA + f) + + + + + TVA Taxare inversa + TVA Taxare inversa + + + + + BAZA TVA NEEXIGIBILA + g) + + + + + Baza TVA Neexigibil Colectat + Baza TVA Neexigibil Colectat + + + + + Baza TVA Neexigibil Deductibil + Baza TVA Neexigibil Deductibil + + + + + TVA NEEXIGIBILA + h) + + + + + TVA Neexigibil Colectat + TVA Neexigibil Colectat + + + + + TVA Neexigibil Deductibil + TVA Neexigibil Deductibil + + + + + BAZA TVA TAXARE INTRACOMUNITARA SCUTITA + i) + + + + + Baza TVA Taxare intracomunitara scutita + Baza TVA Taxare intracomunitara scutita + + + + + TVA TAXARE INTRACOMUNITARA SCUTITA + j) + + + + + TVA Taxare intracomunitara scutita + TVA Taxare intracomunitara scutita + + + + + BAZA TVA TAXARE INTRACOMUNITARA NEIMPOZABILA + k) + + + + + Baza TVA Taxare intracomunitara neimpozabila + Baza TVA Taxare intracomunitara neimpozabila + + + + + TVA TAXARE INTRACOMUNITARA NEIMPOZABILA + l) + + + + + TVA Taxare intracomunitara neimpozabila + TVA Taxare intracomunitara neimpozabila + + + diff --git a/addons/l10n_ro/account_tax_template.xml b/addons/l10n_ro/account_tax_template.xml old mode 100644 new mode 100755 index cfb6c6aca1a..f908368214b --- a/addons/l10n_ro/account_tax_template.xml +++ b/addons/l10n_ro/account_tax_template.xml @@ -1,170 +1,239 @@ - - - TVA colectat 0% - 0.000000 - percent - - - - 1.00 - - 1.00 - - -1.00 - - -1.00 - - - - TVA colectat 5% - 0.050000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - - - TVA colectat 9% - 0.090000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - - - TVA colectat 19% - 0.190000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - + + + TVA colectat 0% + 0.000000 + percent + sale + + + + 1.00 + + 1.00 + + -1.00 + + -1.00 + + + + + TVA colectat 5% + 0.050000 + percent + sale + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA colectat 9% + 0.090000 + percent + sale + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA colectat 19% + 0.190000 + percent + sale + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA colectat 24% + 0.240000 + percent + sale + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA deductibil 0% + 0.000000 + percent + purchase + + + + 1.00 + + 1.00 + + -1.00 + + -1.00 + + + + + TVA deductibil 5% + 0.050000 + percent + purchase + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA deductibil 9% + 0.090000 + percent + purchase + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA deductibil 19% + 0.190000 + percent + purchase + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA deductibil 24% + 0.240000 + percent + purchase + + + + + + + -1.00 + -1.00 + 1.00 + 1.00 + + + + + TVA Taxare Inversa + 0.000000 + percent + sale + + + + 1.00 + + 1.00 + + -1.00 + + -1.00 + - - - TVA colectat 24% - 0.240000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - + + + TVA Taxare Intracomunitara Scutita + 0.000000 + percent + all + + + + 1.00 + + 1.00 + + -1.00 + + -1.00 + - - - TVA deductibil 0% - 0.000000 - percent - - - - 1.00 - - 1.00 - - -1.00 - - -1.00 - - - - TVA deductibil 5% - 0.050000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - - - TVA deductibil 9% - 0.090000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - - - TVA deductibil 19% - 0.190000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - - - - TVA deductibil 24% - 0.240000 - percent - - - - - - - -1.00 - -1.00 - 1.00 - 1.00 - - + + + TVA Taxare Intracomunitara Neimpozabila + 0.000000 + percent + all + + + + 1.00 + + 1.00 + + -1.00 + + -1.00 + diff --git a/addons/l10n_ro/fiscal_position_template.xml b/addons/l10n_ro/fiscal_position_template.xml new file mode 100755 index 00000000000..e46fa8786f2 --- /dev/null +++ b/addons/l10n_ro/fiscal_position_template.xml @@ -0,0 +1,389 @@ + + + + + + + + Regim National + + + + + Regim Taxare Inversa + + + + + Regim Intra-Comunitar Bunuri + + + + + Regim Intra-Comunitar Servicii + + + + + Regim Intra-Comunitar Scutite + + + + + Regim Intra-Comunitar Neimpozabile + + + + + Regim Extra-Comunitar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/l10n_ro/l10n_chart_ro_wizard.xml b/addons/l10n_ro/l10n_chart_ro_wizard.xml index 52aaa88fdab..58a03529664 100644 --- a/addons/l10n_ro/l10n_chart_ro_wizard.xml +++ b/addons/l10n_ro/l10n_chart_ro_wizard.xml @@ -1,5 +1,6 @@ + open diff --git a/addons/l10n_ro/partner_view.xml b/addons/l10n_ro/partner_view.xml old mode 100644 new mode 100755 index 102ba3d92f0..46c0cef1149 --- a/addons/l10n_ro/partner_view.xml +++ b/addons/l10n_ro/partner_view.xml @@ -3,12 +3,12 @@ res.partner.form.ro - + res.partner - + - + diff --git a/addons/l10n_ro/res_partner.py b/addons/l10n_ro/res_partner.py old mode 100644 new mode 100755 index 79933dc468e..610f629b5d4 --- a/addons/l10n_ro/res_partner.py +++ b/addons/l10n_ro/res_partner.py @@ -1,8 +1,9 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution -# Copyright (C) 2012 (). All Rights Reserved +# @author - Fekete Mihai +# Copyright (C) 2011 TOTAL PC SYSTEMS (http://www.www.erpsystems.ro). +# Copyright (C) 2009 () # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,34 +26,23 @@ class res_partner(osv.osv): _name = "res.partner" _inherit = "res.partner" _columns = { - 'nrc' : fields.char('NRC', size=16, help='Registration number at the Registry of Commerce'), + 'nrc' : fields.char('NRC', help='Registration number at the Registry of Commerce'), } - # The SQL constraints are no-ops but present only to display the right error message to the - # user when the partial unique indexes defined below raise errors/ - # The real constraints need to be implemented with PARTIAL UNIQUE INDEXES (see auto_init), - # due to the way accounting data is delegated by contacts to their companies in OpenERP 7.0. - _sql_constraints = [ - ('vat_uniq', 'unique (id)', 'The vat of the partner must be unique !'), - ('nrc_uniq', 'unique (id)', 'The code of the partner must be unique !') - ] - def _auto_init(self, cr, context=None): result = super(res_partner, self)._auto_init(cr, context=context) - # Real implementation of the vat/nrc constraints: only "commercial entities" need to have - # unique numbers, and the condition for being a commercial entity is "is_company or parent_id IS NULL". - # Contacts inside a company automatically have a copy of the company's commercial fields - # (see _commercial_fields()), so they are automatically consistent. + # Remove constrains for vat, nrc on "commercial entities" because is not mandatory by legislation + # Even that VAT numbers are unique, the NRC field is not unique, and there are certain entities that + # doesn't have a NRC number plus the formatting was changed few times, so we cannot have a base rule for + # checking if available and emmited by the Ministry of Finance, only online on their website. + cr.execute(""" DROP INDEX IF EXISTS res_partner_vat_uniq_for_companies; DROP INDEX IF EXISTS res_partner_nrc_uniq_for_companies; - CREATE UNIQUE INDEX res_partner_vat_uniq_for_companies ON res_partner (vat) WHERE is_company OR parent_id IS NULL; - CREATE UNIQUE INDEX res_partner_nrc_uniq_for_companies ON res_partner (nrc) WHERE is_company OR parent_id IS NULL; """) return result - + def _commercial_fields(self, cr, uid, context=None): return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['nrc'] - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 6a13ca00fff..38decfdd429 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -18,29 +18,24 @@ - - - - - - - - + + + + + + - - - + @@ -190,15 +185,14 @@ - + + + - - - + + - - - + diff --git a/addons/project/report/project_report.py b/addons/project/report/project_report.py index 97e52766e5a..4a38e57ad9a 100644 --- a/addons/project/report/project_report.py +++ b/addons/project/report/project_report.py @@ -30,6 +30,7 @@ class report_project_task_user(osv.osv): _columns = { 'name': fields.char('Task Summary', readonly=True), 'user_id': fields.many2one('res.users', 'Assigned To', readonly=True), + 'reviewer_id': fields.many2one('res.users', 'Reviewer', readonly=True), 'date_start': fields.date('Assignation Date', readonly=True), 'no_of_days': fields.integer('# of Days', size=128, readonly=True), 'date_end': fields.date('Ending Date', readonly=True), @@ -71,6 +72,7 @@ class report_project_task_user(osv.osv): -- sum(cast(to_char(date_trunc('day',t.date_end) - date_trunc('day',t.date_start),'DD') as int)) as no_of_days, abs((extract('epoch' from (t.write_date-t.date_start)))/(3600*24)) as no_of_days, t.user_id, + t.reviewer_id, progress as progress, t.project_id, t.effective_hours as hours_effective, @@ -103,6 +105,7 @@ class report_project_task_user(osv.osv): date_deadline, date_last_stage_update, t.user_id, + t.reviewer_id, t.project_id, t.priority, name, diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index e2e68b67116..7df229a79e4 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -21,6 +21,22 @@ + + + By Responsible + report.project.task.user + [] + + {'group_by': ['project_id', 'user_id']} + + + By Reviewer + report.project.task.user + [] + + {'group_by': ['project_id', 'reviewer_id']} + + report.project.task.user.search report.project.task.user @@ -34,25 +50,14 @@ - - - + + + - - - - - - - - - - - diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 86fbd4ac912..14ff935d826 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -142,24 +142,23 @@ - - - - - + + + + + + - - - + diff --git a/addons/project_issue/report/project_issue_report_view.xml b/addons/project_issue/report/project_issue_report_view.xml index 0a9c0448c85..5585915f265 100644 --- a/addons/project_issue/report/project_issue_report_view.xml +++ b/addons/project_issue/report/project_issue_report_view.xml @@ -13,6 +13,22 @@ + + + By Responsible + project.issue.report + [] + + {'group_by': ['project_id', 'user_id']} + + + By Reviewer + project.issue.report + [] + + {'group_by': ['project_id', 'reviewer_id']} + + project.issue.report.select project.issue.report @@ -24,25 +40,10 @@ + - - - - - - - - - - - - - - - - - + + diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index 086986e7462..368d7728d12 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -41,8 +41,8 @@ project.project - - + + diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 5062ecc3503..2f27bfae1f2 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -305,18 +305,16 @@ - - - - - + + + + + - - @@ -330,20 +328,18 @@ - - - - - - - + + + + + + + - - diff --git a/addons/purchase/report/purchase_report_view.xml b/addons/purchase/report/purchase_report_view.xml index 37778328bcb..34ba24f7bf6 100644 --- a/addons/purchase/report/purchase_report_view.xml +++ b/addons/purchase/report/purchase_report_view.xml @@ -36,22 +36,6 @@ - - - - - - - - - - - - - - - - diff --git a/addons/report/controllers/main.py b/addons/report/controllers/main.py index c6bc13d38f8..01992d64c60 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -50,7 +50,12 @@ class ReportController(Controller): if data.get('options'): options_data = simplejson.loads(data['options']) if data.get('context'): - context.update(simplejson.loads(data['context'])) + # Ignore 'lang' here, because the context in data is the one from the webclient *but* if + # the user explicitely wants to change the lang, this mechanism overwrites it. + data_context = simplejson.loads(data['context']) + if data_context.get('lang'): + del data_context['lang'] + context.update(data_context) if converter == 'html': html = report_obj.get_html(cr, uid, docids, reportname, data=options_data, context=context) diff --git a/addons/report/models/report.py b/addons/report/models/report.py index 17635688063..099055c18dd 100644 --- a/addons/report/models/report.py +++ b/addons/report/models/report.py @@ -34,10 +34,8 @@ import lxml.html import cStringIO import subprocess from distutils.version import LooseVersion -try: - from pyPdf import PdfFileWriter, PdfFileReader -except ImportError: - PdfFileWriter = PdfFileReader = None +from functools import partial +from pyPdf import PdfFileWriter, PdfFileReader _logger = logging.getLogger(__name__) @@ -71,23 +69,6 @@ class Report(osv.Model): public_user = None - MINIMAL_HTML_PAGE = """ - - - - - - - - - - {subst} - - - {body} - -""" - #-------------------------------------------------------------------------- # Extension of ir_ui_view.render with arguments frequently used in reports #-------------------------------------------------------------------------- @@ -133,7 +114,9 @@ class Report(osv.Model): user = self.pool['res.users'].browse(cr, uid, uid) website = None if request and hasattr(request, 'website'): - website = request.website + if request.website is not None: + website = request.website + context.update(translatable=context.get('lang') != request.website.default_lang_code) values.update( time=time, translate_doc=translate_doc, @@ -141,7 +124,7 @@ class Report(osv.Model): user=user, res_company=user.company_id, website=website, - editable_no_editor=True, + editable_no_editor=_("The preferred way to edit a report is to use the HTML Editor"), ) return view_obj.render(cr, uid, template, values, context=context) @@ -191,13 +174,16 @@ class Report(osv.Model): paperformat = report.paperformat_id # Preparing the minimal html pages - subst = " " css = '' # Will contain local css headerhtml = [] contenthtml = [] footerhtml = [] base_url = self.pool['ir.config_parameter'].get_param(cr, uid, 'web.base.url') + # Minimal page renderer + view_obj = self.pool['ir.ui.view'] + render_minimal = partial(view_obj.render, cr, uid, 'report.minimal_layout', context=context) + # The received html report must be simplified. We convert it in a xml tree # in order to extract headers, bodies and footers. try: @@ -208,12 +194,12 @@ class Report(osv.Model): for node in root.xpath("//div[@class='header']"): body = lxml.html.tostring(node) - header = self.MINIMAL_HTML_PAGE.format(css=css, subst=subst, body=body, base_url=base_url) + header = render_minimal(dict(css=css, subst=True, body=body, base_url=base_url)) headerhtml.append(header) for node in root.xpath("//div[@class='footer']"): body = lxml.html.tostring(node) - footer = self.MINIMAL_HTML_PAGE.format(css=css, subst=subst, body=body, base_url=base_url) + footer = render_minimal(dict(css=css, subst=True, body=body, base_url=base_url)) footerhtml.append(footer) for node in root.xpath("//div[@class='page']"): @@ -230,7 +216,7 @@ class Report(osv.Model): reportid = False body = lxml.html.tostring(node) - reportcontent = self.MINIMAL_HTML_PAGE.format(css=css, subst='', body=body, base_url=base_url) + reportcontent = render_minimal(dict(css=css, subst=False, body=body, base_url=base_url)) # FIXME: imo the best way to extract record id from html reports is by using the # qweb branding. As website editor is not yet splitted in a module independant from @@ -254,11 +240,10 @@ class Report(osv.Model): specific_paperformat_args[attribute[0]] = attribute[1] # Run wkhtmltopdf process - pdf = self._generate_wkhtml_pdf( + return self._run_wkhtmltopdf( cr, uid, headerhtml, footerhtml, contenthtml, context.get('landscape'), paperformat, specific_paperformat_args, save_in_attachment ) - return pdf def get_action(self, cr, uid, ids, report_name, data=None, context=None): """Return an action of type ir.actions.report.xml. @@ -329,7 +314,7 @@ class Report(osv.Model): def _check_wkhtmltopdf(self): return wkhtmltopdf_state - def _generate_wkhtml_pdf(self, cr, uid, headers, footers, bodies, landscape, paperformat, spec_paperformat_args=None, save_in_attachment=None): + def _run_wkhtmltopdf(self, cr, uid, headers, footers, bodies, landscape, paperformat, spec_paperformat_args=None, save_in_attachment=None): """Execute wkhtmltopdf as a subprocess in order to convert html given in input into a pdf document. diff --git a/addons/report/views/layouts.xml b/addons/report/views/layouts.xml index f9c0ea7ef73..a632dff661a 100644 --- a/addons/report/views/layouts.xml +++ b/addons/report/views/layouts.xml @@ -1,55 +1,31 @@ + + + + diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 65695350dd1..46e5be6fec2 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -14,6 +14,29 @@ + + + By Salespersons + sale.report + [] + + {'group_by': ['date:month', 'user_id']} + + + By Salesteam + sale.report + [] + + {'group_by': ['date:month', 'section_id']} + + + By Product + sale.report + [] + + {'group_by': ['date:month', 'product_id']} + + sale.report.search sale.report @@ -21,10 +44,12 @@ - - + - + + + + @@ -32,20 +57,6 @@ - - - - - - - - - - - - - - @@ -57,7 +68,7 @@ graph - {'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]} + {'search_default_Sales':1, 'search_default_year': 1, 'group_by_no_leaf':1,'group_by':[]} This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application. diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index f61c518918e..13e5d952006 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -246,24 +246,22 @@ - - - - - - - - + + + + + + + + - - - - - + + + diff --git a/addons/sale/views/report_saleorder.xml b/addons/sale/views/report_saleorder.xml index 5c198c635a3..a6771823f55 100644 --- a/addons/sale/views/report_saleorder.xml +++ b/addons/sale/views/report_saleorder.xml @@ -65,7 +65,7 @@ - + diff --git a/addons/sale_stock/report/sale_report_view.xml b/addons/sale_stock/report/sale_report_view.xml index 5e5ab042e9a..ca433dff087 100644 --- a/addons/sale_stock/report/sale_report_view.xml +++ b/addons/sale_stock/report/sale_report_view.xml @@ -10,9 +10,6 @@ - - - diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 10ca4d89f25..1917396b6a3 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1564,6 +1564,52 @@ -webkit-border-radius: 2px; border-radius: 2px; } +.openerp .oe_searchview .oe-autocomplete { + display: none; + position: absolute; + width: 300px; + background-color: white; + border: 1px solid #afafb6; + z-index: 666; + margin-top: 2px; + cursor: default; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); + -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); +} +.openerp .oe_searchview .oe-autocomplete ul { + list-style-type: none; + padding-left: 0; + margin: 5px 0px; +} +.openerp .oe_searchview .oe-autocomplete ul li { + padding-left: 20px; + text-shadow: 0 0 0 white; +} +.openerp .oe_searchview .oe-autocomplete ul li span:first-child { + margin-right: 5px; +} +.openerp .oe_searchview .oe-autocomplete ul li span.oe-expand { + cursor: pointer; +} +.openerp .oe_searchview .oe-autocomplete ul li.oe-indent { + margin-left: 20px; +} +.openerp .oe_searchview .oe-autocomplete ul li.oe-selection-focus { + background-color: #7c7bad; + color: white; +} +.openerp .oe_searchview .oe-autocomplete ul li.oe-separator { + margin-top: 2px; + margin-bottom: 2px; + border-top: 1px solid #afafb6; +} +.openerp .oe_searchview .oe-autocomplete ul li.oe-separator:last-child { + display: none; +} .openerp .oe_searchview_drawer_container { overflow: auto; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 5aa1b2ebf50..cb30ffecde8 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1289,6 +1289,41 @@ $sheet-padding: 16px text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4) @include radius(2px) + .oe-autocomplete + display: none + position: absolute + width: 300px + background-color: white + border: 1px solid #afafb6 + z-index: 666 + margin-top: 2px + cursor: default + @include radius(3px) + @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.3)) + ul + list-style-type: none + padding-left: 0 + margin: 5px 0px + li + padding-left: 20px + text-shadow: 0 0 0 white + span:first-child + margin-right: 5px + span.oe-expand + cursor: pointer + li.oe-indent + margin-left: 20px + li.oe-selection-focus + background-color: #7c7bad + color: white + li.oe-separator + margin-top: 2px + margin-bottom: 2px + border-top: 1px solid #afafb6 + li.oe-separator:last-child + display: none + + .oe_searchview_drawer_container overflow: auto .oe_searchview_drawer diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 9fcbdff1f89..3534de032eb 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1377,7 +1377,6 @@ instance.web.WebClient = instance.web.Client.extend({ var state = event.getState(true); if(!state.action && state.menu_id) { self.menu.is_bound.done(function() { - self.menu.do_reload(); self.menu.menu_click(state.menu_id); }); } else { diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js index ac441d8eed6..1bfdc86fb5a 100644 --- a/addons/web/static/src/js/search.js +++ b/addons/web/static/src/js/search.js @@ -350,7 +350,9 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea e.preventDefault(); break; case $.ui.keyCode.RIGHT: - this.focusFollowing(e.target); + if (!this.autocomplete.is_expandable()) { + this.focusFollowing(e.target); + } e.preventDefault(); break; } @@ -484,53 +486,18 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea * Sets up search view's view-wide auto-completion widget */ setup_global_completion: function () { - var autocomplete = this.$el.autocomplete({ + var self = this; + + this.autocomplete = new instance.web.search.AutoComplete(this, { source: this.proxy('complete_global_search'), select: this.proxy('select_completion'), - focus: function (e) { e.preventDefault(); }, - html: true, - autoFocus: true, - minLength: 1, - delay: 250, - }).data('autocomplete'); - - this.$el.on('input', function () { - this.$el.autocomplete('close'); - }.bind(this)); - - // MonkeyPatch autocomplete instance - _.extend(autocomplete, { - _renderItem: function (ul, item) { - // item of completion list - var $item = $( "
  • " ) - .data( "item.autocomplete", item ) - .appendTo( ul ); - - if (item.facet !== undefined) { - // regular completion item - if (item.first) { - $item.css('borderTop', '1px solid #cccccc'); - } - return $item.append( - (item.label) - ? $('').html(item.label) - : $('').text(item.value)); - } - return $item.text(item.label) - .css({ - borderTop: '1px solid #cccccc', - margin: 0, - padding: 0, - zoom: 1, - 'float': 'left', - clear: 'left', - width: '100%' - }); - }, - _value: function() { + delay: 0, + get_search_string: function () { return self.$('div.oe_searchview_input').text(); }, + width: this.$el.width(), }); + this.autocomplete.appendTo(this.$el); }, /** * Provide auto-completion result for req.term (an array to `resp`) @@ -546,12 +513,6 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea .value()).then(function () { resp(_(arguments).chain() .compact() - .map(function (completion) { - if (completion.length && completion[0].facet !== undefined) { - completion[0].first = true; - } - return completion; - }) .flatten(true) .value()); }); @@ -579,14 +540,9 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea childBlurred: function () { var val = this.$el.val(); this.$el.val(''); - var complete = this.$el.data('autocomplete'); - if ((val && complete.term === undefined) || complete.previous) { - throw new Error("new jquery.ui version altering implementation" + - " details relied on"); - } - delete complete.term; this.$el.removeClass('oe_focused') .trigger('blur'); + this.autocomplete.close(); }, /** * Call the renderFacets method with the correct arguments. @@ -846,13 +802,13 @@ instance.web.SearchViewDrawer = instance.web.Widget.extend({ var $first_col = this.$(".col-md-7"), $snd_col = this.$(".col-md-5"); - var add_custom_reports = in_drawer[0].appendTo($first_col), + var add_custom_filters = in_drawer[0].appendTo($first_col), add_filters = in_drawer[1].appendTo($first_col), add_rest = $.when.apply(null, _(in_drawer.slice(2)).invoke('appendTo', $snd_col)), defaults_fetched = $.when.apply(null, _(this.inputs).invoke( 'facet_for_defaults', this.searchview.defaults)); - return $.when(defaults_fetched, add_custom_reports, add_filters, add_rest); + return $.when(defaults_fetched, add_custom_filters, add_filters, add_rest); }, /** * Sets up thingie where all the mess is put? @@ -890,8 +846,10 @@ instance.web.SearchViewDrawer = instance.web.Widget.extend({ filters.push(new instance.web.search.Filter(item, group)); break; case 'group': + self.add_separator(); self.make_widgets(item.children, fields, new instance.web.search.Group(group, 'w', item)); + self.add_separator(); break; case 'field': var field = this.make_field( @@ -907,6 +865,11 @@ instance.web.SearchViewDrawer = instance.web.Widget.extend({ group.push(new instance.web.search.FilterGroup(filters, this)); } }, + + add_separator: function () { + if (!(_.last(this.inputs) instanceof instance.web.search.Separator)) + new instance.web.search.Separator(this); + }, /** * Creates a field for the provided field descriptor item (which comes * from fields_view_get) @@ -937,7 +900,7 @@ instance.web.SearchViewDrawer = instance.web.Widget.extend({ add_common_inputs: function() { // add custom filters to this.inputs - this.custom_filters = new instance.web.search.CustomReports(this); + this.custom_filters = new instance.web.search.CustomFilters(this); // add Filters to this.inputs, need view.controls filled (new instance.web.search.Filters(this)); (new instance.web.search.SaveFilter(this, this.custom_filters)); @@ -1349,6 +1312,15 @@ instance.web.search.Filter = instance.web.search.Input.extend(/** @lends instanc get_context: function () { }, get_domain: function () { }, }); + +instance.web.search.Separator = instance.web.search.Input.extend({ + _in_drawer: false, + + complete: function () { + return {is_separator: true}; + } +}); + instance.web.search.Field = instance.web.search.Input.extend( /** @lends instance.web.search.Field# */ { template: 'SearchView.field', default_operator: '=', @@ -1639,7 +1611,25 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({ this._super(view_section, field, parent); this.model = new instance.web.Model(this.attrs.relation); }, - complete: function (needle) { + + complete: function (value) { + if (_.isEmpty(value)) { return $.when(null); } + var label = _.str.sprintf(_.str.escapeHTML( + _t("Search %(field)s for: %(value)s")), { + field: '' + _.escape(this.attrs.string) + '', + value: '' + _.escape(value) + ''}); + return $.when([{ + label: label, + facet: { + category: this.attrs.string, + field: this, + values: [{label: value, value: value}] + }, + expand: this.expand.bind(this), + }]); + }, + + expand: function (needle) { var self = this; // FIXME: "concurrent" searches (multiple requests, mis-ordered responses) var context = instance.web.pyeval.eval( @@ -1652,13 +1642,12 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({ context: context }).then(function (results) { if (_.isEmpty(results)) { return null; } - return [{label: self.attrs.string}].concat( - _(results).map(function (result) { - return { - label: _.escape(result[1]), - facet: facet_from(self, result) - }; - })); + return _(results).map(function (result) { + return { + label: _.escape(result[1]), + facet: facet_from(self, result) + }; + }); }); }, facet_for: function (value) { @@ -1701,8 +1690,8 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({ } }); -instance.web.search.CustomReports = instance.web.search.Input.extend({ - template: 'SearchView.CustomReports', +instance.web.search.CustomFilters = instance.web.search.Input.extend({ + template: 'SearchView.Custom', _in_drawer: true, init: function () { this.is_ready = $.Deferred(); @@ -1721,11 +1710,15 @@ instance.web.search.CustomReports = instance.web.search.Input.extend({ self.clear_selection(); }) .on('reset', this.proxy('clear_selection')); - return this.model.call('get_filters', [this.view.model]) + return this.model.call('get_filters', [this.view.model, this.get_action_id()]) .then(this.proxy('set_filters')) .done(function () { self.is_ready.resolve(); }) .fail(function () { self.is_ready.reject.apply(self.is_ready, arguments); }); }, + get_action_id: function(){ + var action = instance.client.action_manager.inner_action; + if (action) return action.id; + }, /** * Special implementation delaying defaults until CustomFilters is loaded */ @@ -1745,9 +1738,11 @@ instance.web.search.CustomReports = instance.web.search.Input.extend({ * @return {String} mapping key corresponding to the filter */ key_for: function (filter) { - var user_id = filter.user_id; + var user_id = filter.user_id, + action_id = filter.action_id; var uid = (user_id instanceof Array) ? user_id[0] : user_id; - return _.str.sprintf('(%s)%s', uid, filter.name); + var act_id = (action_id instanceof Array) ? action_id[0] : action_id; + return _.str.sprintf('(%s)(%s)%s', uid, act_id, filter.name); }, /** * Generates a :js:class:`~instance.web.search.Facet` descriptor from a @@ -1848,9 +1843,9 @@ instance.web.search.CustomReports = instance.web.search.Input.extend({ instance.web.search.SaveFilter = instance.web.search.Input.extend({ template: 'SearchView.SaveFilter', _in_drawer: true, - init: function (parent, custom_reports) { + init: function (parent, custom_filters) { this._super(parent); - this.custom_reports = custom_reports; + this.custom_filters = custom_filters; }, start: function () { var self = this; @@ -1894,13 +1889,14 @@ instance.web.search.SaveFilter = instance.web.search.Input.extend({ model_id: self.view.model, context: results.context, domain: results.domain, - is_default: set_as_default + is_default: set_as_default, + action_id: self.custom_filters.get_action_id() }; // FIXME: current context? return self.model.call('create_or_replace', [filter]).done(function (id) { filter.id = id; - if (self.custom_reports) { - self.custom_reports.append_filter(filter); + if (self.custom_filters) { + self.custom_filters.append_filter(filter); } self.$el .removeClass('oe_opened') @@ -2311,6 +2307,213 @@ instance.web.search.custom_filters = new instance.web.Registry({ 'id': 'instance.web.search.ExtendedSearchProposition.Id' }); +instance.web.search.AutoComplete = instance.web.Widget.extend({ + template: "SearchView.autocomplete", + + // Parameters for autocomplete constructor: + // + // parent: this is used to detect keyboard events + // + // options.source: function ({term:query}, callback). This function will be called to + // obtain the search results corresponding to the query string. It is assumed that + // options.source will call callback with the results. + // options.delay: delay in millisecond before calling source. Useful if you don't want + // to make too many rpc calls + // options.select: function (ev, {item: {facet:facet}}). Autocomplete widget will call + // that function when a selection is made by the user + // options.get_search_string: function (). This function will be called by autocomplete + // to obtain the current search string. + init: function (parent, options) { + this._super(parent); + this.$input = parent.$el; + this.source = options.source; + this.delay = options.delay; + this.select = options.select, + this.get_search_string = options.get_search_string; + this.width = options.width || 400; + + this.current_result = null; + + this.searching = true; + this.search_string = null; + this.current_search = null; + }, + start: function () { + var self = this; + this.$el.width(this.width); + this.$input.on('keyup', function (ev) { + if (ev.which === $.ui.keyCode.RIGHT) { + self.searching = true; + ev.preventDefault(); + return; + } + if (!self.searching) { + self.searching = true; + return; + } + self.search_string = self.get_search_string(); + if (self.search_string.length) { + var search_string = self.search_string; + setTimeout(function () { self.initiate_search(search_string);}, self.delay); + } else { + self.close(); + } + }); + this.$input.on('keydown', function (ev) { + switch (ev.which) { + case $.ui.keyCode.TAB: + case $.ui.keyCode.ENTER: + if (self.get_search_string().length) { + self.select_item(ev); + } + break; + case $.ui.keyCode.DOWN: + self.move('down'); + self.searching = false; + ev.preventDefault(); + break; + case $.ui.keyCode.UP: + self.move('up'); + self.searching = false; + ev.preventDefault(); + break; + case $.ui.keyCode.RIGHT: + self.searching = false; + var current = self.current_result + if (current && current.expand && !current.expanded) { + self.expand(); + self.searching = true; + } + ev.preventDefault(); + break; + case $.ui.keyCode.ESCAPE: + self.close(); + self.searching = false; + break; + } + }); + }, + initiate_search: function (query) { + if (query === this.search_string && query !== this.current_search) { + this.search(query); + } + }, + search: function (query) { + var self = this; + this.current_search = query; + this.source({term:query}, function (results) { + if (results.length) { + self.render_search_results(results); + self.focus_element(self.$('li:first-child')); + } else { + self.close(); + } + }); + }, + render_search_results: function (results) { + var self = this; + var $list = this.$('ul'); + $list.empty(); + var render_separator = false; + results.forEach(function (result) { + if (result.is_separator) { + if (render_separator) + $list.append($('
  • ').addClass('oe-separator')); + render_separator = false; + } else { + var $item = self.make_list_item(result).appendTo($list); + result.$el = $item; + render_separator = true; + } + }); + this.show(); + }, + make_list_item: function (result) { + var self = this; + var $li = $('
  • ') + .hover(function (ev) {self.focus_element($li);}) + .mousedown(function (ev) { + if (ev.button === 0) { // left button + self.select(ev, {item: {facet: result.facet}}); + self.close(); + } else { + ev.preventDefault(); + } + }) + .data('result', result); + if (result.expand) { + var $expand = $('').text('â–¶').appendTo($li); + $expand.mousedown(function (ev) { + ev.preventDefault(); + ev.stopPropagation(); + if (result.expanded) + self.fold(); + else + self.expand(); + }); + result.expanded = false; + } + if (result.indent) $li.addClass('oe-indent'); + $li.append($('').html(result.label)); + return $li; + }, + expand: function () { + var self = this; + this.current_result.expand(this.get_search_string()).then(function (results) { + (results || [{label: '(no result)'}]).reverse().forEach(function (result) { + result.indent = true; + var $li = self.make_list_item(result); + self.current_result.$el.after($li); + }); + self.current_result.expanded = true; + self.current_result.$el.find('span.oe-expand').html('â–¼'); + }); + }, + fold: function () { + var $next = this.current_result.$el.next(); + while ($next.hasClass('oe-indent')) { + $next.remove(); + $next = this.current_result.$el.next(); + } + this.current_result.expanded = false; + this.current_result.$el.find('span.oe-expand').html('â–¶'); + }, + focus_element: function ($li) { + this.$('li').removeClass('oe-selection-focus'); + $li.addClass('oe-selection-focus'); + this.current_result = $li.data('result'); + }, + select_item: function (ev) { + if (this.current_result.facet) { + this.select(ev, {item: {facet: this.current_result.facet}}); + this.close(); + } + }, + show: function () { + this.$el.show(); + }, + close: function () { + this.current_search = null; + this.search_string = null; + this.searching = true; + this.$el.hide(); + }, + move: function (direction) { + var $next; + if (direction === 'down') { + $next = this.$('li.oe-selection-focus').nextAll(':not(.oe-separator)').first(); + if (!$next.length) $next = this.$('li:first-child'); + } else { + $next = this.$('li.oe-selection-focus').prevAll(':not(.oe-separator)').first(); + if (!$next.length) $next = this.$('li:not(.oe-separator)').last(); + } + this.focus_element($next); + }, + is_expandable: function () { + return !!this.$('.oe-selection-focus .oe-expand').length; + }, +}); + })(); // vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax: diff --git a/addons/web/static/src/js/tour.js b/addons/web/static/src/js/tour.js index 961fd63f4cd..032a54a5cc4 100644 --- a/addons/web/static/src/js/tour.js +++ b/addons/web/static/src/js/tour.js @@ -75,15 +75,22 @@ var Tour = { if (!tour) { Tour.error(null, "Can't run '"+tour_id+"' (tour undefined)"); } + console.log("Tour '"+tour_id+"' Begin from run method"); + var state = Tour.getState(); + if (state) { + if (state.mode === "test") { + Tour.error(false, "An other running tour has been detected all tours are now killed."); + } else { + Tour.endTour(); + } + } this.time = new Date().getTime(); if (tour.path && !window.location.href.match(new RegExp("("+Tour.getLang()+")?"+tour.path+"#?$", "i"))) { var href = Tour.getLang()+tour.path; - console.log("Tour '"+tour_id+"' Begin from run method (redirection to "+href+")"); Tour.saveState(tour.id, mode || tour.mode, -1, 0); $(document).one("ajaxStop", Tour.running); window.location.href = href; } else { - console.log("Tour '"+tour_id+"' Begin from run method"); Tour.saveState(tour.id, mode || tour.mode, 0, 0); Tour.running(); } @@ -358,6 +365,7 @@ var Tour = { clearTimeout(Tour.timer); clearTimeout(Tour.testtimer); Tour.closePopover(); + console.log("Tour reset"); }, running: function () { var state = Tour.getState(); @@ -398,6 +406,8 @@ var Tour = { }; function checkNext () { + if (!Tour.getState()) return; + Tour.autoTogglePopover(); clearTimeout(Tour.timer); @@ -476,6 +486,8 @@ var Tour = { clearTimeout(Tour.testtimer); function autoStep () { + if (!Tour.getState()) return; + if (!step) return; if (step.autoComplete) { @@ -502,6 +514,7 @@ var Tour = { // trigger after for step like: mouseenter, next step click on button display with mouseenter setTimeout(function () { + if (!Tour.getState()) return; $element.trigger($.Event("mouseup", { srcElement: $element[0] })); $element.trigger($.Event("mouseleave", { srcElement: $element[0] })); }, 1000); @@ -518,6 +531,7 @@ var Tour = { $element.html(step.sampleText); } setTimeout(function () { + if (!Tour.getState()) return; $element.trigger($.Event("keyup", { srcElement: $element })); $element.trigger($.Event("change", { srcElement: $element })); }, self.defaultDelay<<1); diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 485e92e1f7d..8c833817d99 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1653,9 +1653,9 @@
  • -
    +
    -
    M Custom Reports
    +
    M Favorites
      @@ -1720,6 +1720,10 @@ +
      +
        +
      +
      Export diff --git a/addons/web/static/test/search.js b/addons/web/static/test/search.js index 4724ca0792d..d93cb131e05 100644 --- a/addons/web/static/test/search.js +++ b/addons/web/static/test/search.js @@ -171,6 +171,7 @@ var makeSearchView = function (instance, dummy_widget_attributes, defaults) { dummy: {type: 'char', string: 'Dummy'} }; }; + instance.client = { action_manager: { inner_action: undefined } }; var dataset = new instance.web.DataSet(null, 'dummy.model'); var mock_parent = {getParent: function () {return null;}}; @@ -558,7 +559,20 @@ openerp.testing.section('search.completions', { new Date(2012, 4, 21, 21, 21, 21).getTime()); }); }); - test("M2O", {asserts: 13}, function (instance, $s, mock) { + test("M2O complete", {asserts: 4}, function (instance, $s, mock) { + var view = {inputs: [], dataset: {get_context: function () {}}}; + var f = new instance.web.search.ManyToOneField( + {attrs: {string: 'Dummy'}}, {relation: 'dummy.model'}, view); + return f.complete("bob") + .done(function (c) { + equal(c.length, 1, "should return one line"); + var bob = c[0]; + ok(bob.expand, "should return an expand callback"); + ok(bob.facet, "should have a facet"); + ok(bob.label, "should have a label"); + }); + }); + test("M2O expand", {asserts: 11}, function (instance, $s, mock) { mock('dummy.model:name_search', function (args, kwargs) { deepEqual(args, []); strictEqual(kwargs.name, 'bob'); @@ -568,21 +582,18 @@ openerp.testing.section('search.completions', { var view = {inputs: [], dataset: {get_context: function () {}}}; var f = new instance.web.search.ManyToOneField( {attrs: {string: 'Dummy'}}, {relation: 'dummy.model'}, view); - return f.complete("bob") + return f.expand("bob") .done(function (c) { - equal(c.length, 3, "should return results + title"); - var title = c[0]; - equal(title.label, f.attrs.string, "title should match field name"); - ok(!title.facet, "title should not have a facet"); + equal(c.length, 2, "should return results"); - var f1 = new instance.web.search.Facet(c[1].facet); - equal(c[1].label, "choice 1"); + var f1 = new instance.web.search.Facet(c[0].facet); + equal(c[0].label, "choice 1"); equal(f1.get('category'), f.attrs.string); equal(f1.get('field'), f); deepEqual(f1.values.toJSON(), [{label: 'choice 1', value: 42}]); - var f2 = new instance.web.search.Facet(c[2].facet); - equal(c[2].label, "choice @"); + var f2 = new instance.web.search.Facet(c[1].facet); + equal(c[1].label, "choice @"); equal(f2.get('category'), f.attrs.string); equal(f2.get('field'), f); deepEqual(f2.values.toJSON(), [{label: 'choice @', value: 43}]); @@ -597,7 +608,7 @@ openerp.testing.section('search.completions', { var view = {inputs: [], dataset: {get_context: function () {}}}; var f = new instance.web.search.ManyToOneField( {attrs: {string: 'Dummy'}}, {relation: 'dummy.model'}, view); - return f.complete("bob") + return f.expand("bob") .done(function (c) { ok(!c, "no match should yield no completion"); }); @@ -620,9 +631,9 @@ openerp.testing.section('search.completions', { var f = new instance.web.search.ManyToOneField( {attrs: {string: 'Dummy', domain: '[["foo", "=", "bar"]]'}}, {relation: 'dummy.model'}, view); - return f.complete("bob"); + return f.expand("bob"); }); - test("M2O custom operator", {asserts: 10}, function (instance, $s, mock) { + test("M2O custom operator", {asserts: 8}, function (instance, $s, mock) { mock('dummy.model:name_search', function (args, kwargs) { deepEqual(args, [], "should have no positional arguments"); // the operator is meant for the final search term generation, not the autocompletion @@ -635,15 +646,12 @@ openerp.testing.section('search.completions', { {attrs: {string: 'Dummy', operator: 'ilike'}}, {relation: 'dummy.model'}, view); - return f.complete('bob') + return f.expand('bob') .done(function (c) { - equal(c.length, 2, "should return result + title"); - var title = c[0]; - equal(title.label, f.attrs.string, "title should match field name"); - ok(!title.facet, "title should not have a facet"); + equal(c.length, 1, "should return result"); - var f1 = new instance.web.search.Facet(c[1].facet); - equal(c[1].label, "Match"); + var f1 = new instance.web.search.Facet(c[0].facet); + equal(c[0].label, "Match"); equal(f1.get('category'), f.attrs.string); equal(f1.get('field'), f); deepEqual(f1.values.toJSON(), [{label: 'Match', value: 42}]); @@ -1210,13 +1218,14 @@ openerp.testing.section('search.groupby', { var view = makeSearchView(instance); return view.appendTo($fix) .done(function () { - // 3 filters, 3 filtergroups, 1 custom filter, 1 advanced, 1 Filters + // 3 filters, 3 filtergroups, 1 custom filter, 1 advanced, 1 Filters, // and 1 SaveFilter widget equal(view.drawer.inputs.length, 10, "should have 10 inputs total"); var groups = _.filter(view.drawer.inputs, function (f) { return f instanceof instance.web.search.GroupbyGroup; }); + equal(groups.length, 3, "should have 3 GroupbyGroups"); groups[0].toggle(groups[0].filters[0]); @@ -1549,10 +1558,11 @@ openerp.testing.section('search.invisible', { var done = $.Deferred(); view.complete_global_search({term: 'filter'}, function (compls) { done.resolve(); - strictEqual(compls.length, 2, - "should have 2 completions"); + console.log("completions", compls); + strictEqual(compls.length, 5, + "should have 5 completions"); // 2 filters and 3 separators deepEqual(_.pluck(compls, 'label'), - ['Field 0', 'Filter on: Filter 0'], + [undefined, 'Field 0', 'Filter on: Filter 0', undefined, undefined], "should complete on field 0 and filter 0"); }); return done; diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index ddcff3b73bb..984937698ce 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -23,9 +23,6 @@ - @@ -85,6 +82,9 @@ + @@ -184,7 +184,7 @@