Merge lp:~openobject-italia-core-devs/openobject-addons/l10n_it_6.1_fixes into lp:openobject-addons
- l10n_it_6.1_fixes
- Merge into trunk
Status: | Merged |
---|---|
Merged at revision: | 5779 |
Proposed branch: | lp:~openobject-italia-core-devs/openobject-addons/l10n_it_6.1_fixes |
Merge into: | lp:openobject-addons |
Diff against target: |
2541 lines (+365/-1973) 19 files modified
l10n_it/__init__.py (+5/-6) l10n_it/__openerp__.py (+4/-5) l10n_it/data/account.account.template.csv (+234/-233) l10n_it/data/account.account.type.csv (+5/-5) l10n_it/data/account.tax.code.template.csv (+14/-0) l10n_it/data/account.tax.template.csv (+64/-40) l10n_it/i18n/it.po (+28/-159) l10n_it/i18n/l10n_it.pot (+11/-126) l10n_it/libroIVA.py (+0/-54) l10n_it/libroIVA_menu.xml (+0/-16) l10n_it/libroIVA_view.xml (+0/-47) l10n_it/report.xml (+0/-24) l10n_it/report/__init__.py (+0/-2) l10n_it/report/libroIVA_credito.py (+0/-79) l10n_it/report/libroIVA_credito.rml (+0/-203) l10n_it/report/libroIVA_debito.py (+0/-80) l10n_it/report/libroIVA_debito.rml (+0/-195) l10n_it/report/normalized_oo2rml.xsl (+0/-696) l10n_it/security/ir.model.access.csv (+0/-3) |
To merge this branch: | bzr merge lp:~openobject-italia-core-devs/openobject-addons/l10n_it_6.1_fixes |
Related bugs: | |
Related blueprints: |
Calcolo IVA Indetraibile
(High)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Needs Fixing | ||
Lorenzo Battistini (community) | Needs Resubmitting | ||
OpenERP Core Team | Pending | ||
Review via email: mp+73349@code.launchpad.net |
Commit message
Description of the change
These changes fix several important problems related to Italian partially deductible VAT.
Main issues are described here http://
We removed the 'libro IVA' report because we implemented it in the 'l10n_it_
Olivier Dony (Odoo) (odo-openerp) wrote : | # |
On 11/05/2011 02:38 PM, Lorenzo Battistini - Agile BG - Domsense wrote:
> Review: Needs Fixing
>
> Verify if it's possible to avoid 'Decimal'
I was about to write the same comment, well done! :-)
Normally my recent bug comments about Decimal vs Float should give you
some pointers, but do not hesitate to ask if you need more info.
Lorenzo Battistini (elbati) : | # |
Olivier Dony (Odoo) (odo-openerp) wrote : | # |
Hi Lorenzo,
Thanks for updating the merge proposal!
Now all it does is remove the IVA reports and update the chart of accounts, which I can hardly review functionally ;-)
I will merge it after a final installation test.
Please note that you could later suggest the inclusion of your l10n_it_* modules into the official addons, if they are considered required in Italia. You can check our "Merge Proposal Acceptance Policy" [1] for our guidelines in this matter.
As was discussed recently for the Brazilian localization, you would just need to make sure the modules can pass the technical review, i.e. they need to be clean enough in terms of Python overrides (no impact on other l10n modules) and external dependencies. It seems relatively doable from what I can see, even if you have to start with a few merge proposals to make the OpenERP core extensible enough to fit your needs...
Thanks!
Olivier Dony (Odoo) (odo-openerp) wrote : | # |
Something still needs to be corrected, there's an inconsistency with the "2605 - erario c/IVA account", which is declared as "account_type_tax" and "payable", while account_type_tax has closing method "balance".
Any payable account should have closing method "unreconciled", so this is inconsistent.
Did you double check? Shouldn't 2605 have "other" as internal_type?
Olivier Dony (Odoo) (odo-openerp) wrote : | # |
I've just merged it, and temporarily set the internal_type of "2605 - erario c/IVA account" to "other", to avoid breaking the trunk. I think that was the value in the previous version of l10n_it.
Let me know if this was not the correct fix, send me a patch or post a small merge prop to fix it, I will process it quickly.
Thanks!
Lorenzo Battistini (elbati) wrote : | # |
Hello Olivier,
thanks for your review.
Actually we often need to associate the 2605 account to the tax authority partner. So, maybe better if we set it as 'account_
See new proposal: https:/
Preview Diff
1 | === modified file 'l10n_it/__init__.py' | |||
2 | --- l10n_it/__init__.py 2011-01-14 00:11:01 +0000 | |||
3 | +++ l10n_it/__init__.py 2011-11-23 14:06:29 +0000 | |||
4 | @@ -1,13 +1,15 @@ | |||
5 | 1 | # -*- encoding: utf-8 -*- | ||
6 | 2 | ############################################################################## | 1 | ############################################################################## |
7 | 3 | # | 2 | # |
8 | 4 | # OpenERP, Open Source Management Solution | 3 | # OpenERP, Open Source Management Solution |
9 | 5 | # Copyright (C) 2010 | 4 | # Copyright (C) 2010 |
11 | 6 | # Italian OpenERP Community (<http://www.openerp-italia.com>) | 5 | # OpenERP Italian Community (<http://www.openerp-italia.org>) |
12 | 7 | # Servabit srl | 6 | # Servabit srl |
13 | 8 | # Agile Business Group sagl | 7 | # Agile Business Group sagl |
14 | 9 | # Domsense srl | 8 | # Domsense srl |
16 | 10 | # Albatos srl | 9 | # Albatos srl |
17 | 10 | # | ||
18 | 11 | # Copyright (C) 2011 | ||
19 | 12 | # Associazione OpenERP Italia (<http://www.openerp-italia.org>) | ||
20 | 11 | # | 13 | # |
21 | 12 | # This program is free software: you can redistribute it and/or modify | 14 | # This program is free software: you can redistribute it and/or modify |
22 | 13 | # it under the terms of the GNU Affero General Public License as | 15 | # it under the terms of the GNU Affero General Public License as |
23 | @@ -23,6 +25,3 @@ | |||
24 | 23 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 25 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
25 | 24 | # | 26 | # |
26 | 25 | ############################################################################## | 27 | ############################################################################## |
27 | 26 | |||
28 | 27 | import libroIVA | ||
29 | 28 | import report | ||
30 | 29 | 28 | ||
31 | === modified file 'l10n_it/__openerp__.py' | |||
32 | --- l10n_it/__openerp__.py 2011-10-11 20:05:49 +0000 | |||
33 | +++ l10n_it/__openerp__.py 2011-11-23 14:06:29 +0000 | |||
34 | @@ -3,12 +3,15 @@ | |||
35 | 3 | # | 3 | # |
36 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
37 | 5 | # Copyright (C) 2010 | 5 | # Copyright (C) 2010 |
39 | 6 | # Italian OpenERP Community (<http://www.openerp-italia.org>) | 6 | # OpenERP Italian Community (<http://www.openerp-italia.org>) |
40 | 7 | # Servabit srl | 7 | # Servabit srl |
41 | 8 | # Agile Business Group sagl | 8 | # Agile Business Group sagl |
42 | 9 | # Domsense srl | 9 | # Domsense srl |
43 | 10 | # Albatos srl | 10 | # Albatos srl |
44 | 11 | # | 11 | # |
45 | 12 | # Copyright (C) 2011 | ||
46 | 13 | # Associazione OpenERP Italia (<http://www.openerp-italia.org>) | ||
47 | 14 | # | ||
48 | 12 | # This program is free software: you can redistribute it and/or modify | 15 | # This program is free software: you can redistribute it and/or modify |
49 | 13 | # it under the terms of the GNU Affero General Public License as | 16 | # it under the terms of the GNU Affero General Public License as |
50 | 14 | # published by the Free Software Foundation, either version 3 of the | 17 | # published by the Free Software Foundation, either version 3 of the |
51 | @@ -39,9 +42,6 @@ | |||
52 | 39 | "category" : "Localization/Account Charts", | 42 | "category" : "Localization/Account Charts", |
53 | 40 | 'website': 'http://www.openerp-italia.org/', | 43 | 'website': 'http://www.openerp-italia.org/', |
54 | 41 | 'init_xml': [ | 44 | 'init_xml': [ |
55 | 42 | 'report.xml', | ||
56 | 43 | 'libroIVA_view.xml', | ||
57 | 44 | 'libroIVA_menu.xml', | ||
58 | 45 | ], | 45 | ], |
59 | 46 | 'update_xml': [ | 46 | 'update_xml': [ |
60 | 47 | 'data/account.account.type.csv', | 47 | 'data/account.account.type.csv', |
61 | @@ -51,7 +51,6 @@ | |||
62 | 51 | 'data/account.tax.template.csv', | 51 | 'data/account.tax.template.csv', |
63 | 52 | 'data/account.fiscal.position.template.csv', | 52 | 'data/account.fiscal.position.template.csv', |
64 | 53 | 'l10n_chart_it_generic.xml', | 53 | 'l10n_chart_it_generic.xml', |
65 | 54 | 'security/ir.model.access.csv', | ||
66 | 55 | ], | 54 | ], |
67 | 56 | 'demo_xml': [ | 55 | 'demo_xml': [ |
68 | 57 | ], | 56 | ], |
69 | 58 | 57 | ||
70 | === modified file 'l10n_it/data/account.account.template.csv' | |||
71 | --- l10n_it/data/account.account.template.csv 2011-10-16 01:28:00 +0000 | |||
72 | +++ l10n_it/data/account.account.template.csv 2011-11-23 14:06:29 +0000 | |||
73 | @@ -1,234 +1,235 @@ | |||
74 | 1 | "id","code","name","parent_id:id","user_type:id","type","reconcile" | 1 | "id","code","name","parent_id:id","user_type:id","type","reconcile" |
308 | 2 | 0,0,"Azienda",,"account_type_view","view",FALSE | 2 | "0","0","Azienda",,"account_type_view","view","FALSE" |
309 | 3 | 1,1,"ATTIVO ",0,"account_type_view","view",TRUE | 3 | "1","1","ATTIVO ","0","account_type_view","view","TRUE" |
310 | 4 | 11,11,"IMMOBILIZZAZIONI IMMATERIALI ",1,"account_type_view","view",TRUE | 4 | "11","11","IMMOBILIZZAZIONI IMMATERIALI ","1","account_type_view","view","TRUE" |
311 | 5 | 1101,1101,"costi di impianto ",11,"account_type_view","other",TRUE | 5 | "1101","1101","costi di impianto ","11","account_type_asset","other","TRUE" |
312 | 6 | 1106,1106,"software ",11,"account_type_view","other",TRUE | 6 | "1106","1106","software ","11","account_type_asset","other","TRUE" |
313 | 7 | 1108,1108,"avviamento ",11,"account_type_view","other",TRUE | 7 | "1108","1108","avviamento ","11","account_type_asset","other","TRUE" |
314 | 8 | 1111,1111,"fondo ammortamento costi di impianto ",11,"account_type_view","other",TRUE | 8 | "1111","1111","fondo ammortamento costi di impianto ","11","account_type_asset","other","TRUE" |
315 | 9 | 1116,1116,"fondo ammortamento software ",11,"account_type_view","other",TRUE | 9 | "1116","1116","fondo ammortamento software ","11","account_type_asset","other","TRUE" |
316 | 10 | 1118,1118,"fondo ammortamento avviamento ",11,"account_type_view","other",TRUE | 10 | "1118","1118","fondo ammortamento avviamento ","11","account_type_asset","other","TRUE" |
317 | 11 | 12,12,"IMMOBILIZZAZIONI MATERIALI ",1,"account_type_view","view",TRUE | 11 | "12","12","IMMOBILIZZAZIONI MATERIALI ","1","account_type_view","view","TRUE" |
318 | 12 | 1201,1201,"fabbricati ",12,"account_type_view","other",TRUE | 12 | "1201","1201","fabbricati ","12","account_type_asset","other","TRUE" |
319 | 13 | 1202,1202,"impianti e macchinari ",12,"account_type_view","other",TRUE | 13 | "1202","1202","impianti e macchinari ","12","account_type_asset","other","TRUE" |
320 | 14 | 1204,1204,"attrezzature commerciali ",12,"account_type_view","other",TRUE | 14 | "1204","1204","attrezzature commerciali ","12","account_type_asset","other","TRUE" |
321 | 15 | 1205,1205,"macchine d'ufficio ",12,"account_type_view","other",TRUE | 15 | "1205","1205","macchine d'ufficio ","12","account_type_asset","other","TRUE" |
322 | 16 | 1206,1206,"arredamento ",12,"account_type_view","other",TRUE | 16 | "1206","1206","arredamento ","12","account_type_asset","other","TRUE" |
323 | 17 | 1207,1207,"automezzi ",12,"account_type_view","other",TRUE | 17 | "1207","1207","automezzi ","12","account_type_asset","other","TRUE" |
324 | 18 | 1208,1208,"imballaggi durevoli ",12,"account_type_view","other",TRUE | 18 | "1208","1208","imballaggi durevoli ","12","account_type_asset","other","TRUE" |
325 | 19 | 1211,1211,"fondo ammortamento fabbricati ",12,"account_type_view","other",TRUE | 19 | "1211","1211","fondo ammortamento fabbricati ","12","account_type_asset","other","TRUE" |
326 | 20 | 1212,1212,"fondo ammortamento impianti e macchinari ",12,"account_type_view","other",TRUE | 20 | "1212","1212","fondo ammortamento impianti e macchinari ","12","account_type_asset","other","TRUE" |
327 | 21 | 1214,1214,"fondo ammortamento attrezzature commerciali ",12,"account_type_view","other",TRUE | 21 | "1214","1214","fondo ammortamento attrezzature commerciali ","12","account_type_asset","other","TRUE" |
328 | 22 | 1215,1215,"fondo ammortamento macchine d'ufficio ",12,"account_type_view","other",TRUE | 22 | "1215","1215","fondo ammortamento macchine d'ufficio ","12","account_type_asset","other","TRUE" |
329 | 23 | 1216,1216,"fondo ammortamento arredamento ",12,"account_type_view","other",TRUE | 23 | "1216","1216","fondo ammortamento arredamento ","12","account_type_asset","other","TRUE" |
330 | 24 | 1217,1217,"fondo ammortamento automezzi ",12,"account_type_view","other",TRUE | 24 | "1217","1217","fondo ammortamento automezzi ","12","account_type_asset","other","TRUE" |
331 | 25 | 1218,1218,"fondo ammortamento imballaggi durevoli ",12,"account_type_view","other",TRUE | 25 | "1218","1218","fondo ammortamento imballaggi durevoli ","12","account_type_asset","other","TRUE" |
332 | 26 | 1220,1220,"fornitori immobilizzazioni c/acconti ",12,"account_type_view","other",TRUE | 26 | "1220","1220","fornitori immobilizzazioni c/acconti ","12","account_type_asset","other","TRUE" |
333 | 27 | 13,13,"IMMOBILIZZAZIONI FINANZIARIE ",1,"account_type_view","view",TRUE | 27 | "13","13","IMMOBILIZZAZIONI FINANZIARIE ","1","account_type_view","view","TRUE" |
334 | 28 | 1301,1301,"mutui attivi ",13,"account_type_view","other",TRUE | 28 | "1301","1301","mutui attivi ","13","account_type_asset","other","TRUE" |
335 | 29 | 14,14,"RIMANENZE ",1,"account_type_view","view",TRUE | 29 | "14","14","RIMANENZE ","1","account_type_view","view","TRUE" |
336 | 30 | 1401,1401,"materie di consumo ",14,"account_type_view","other",TRUE | 30 | "1401","1401","materie di consumo ","14","account_type_asset","other","TRUE" |
337 | 31 | 1404,1404,"merci ",14,"account_type_view","other",TRUE | 31 | "1404","1404","merci ","14","account_type_asset","other","TRUE" |
338 | 32 | 1410,1410,"fornitori c/acconti ",14,"account_type_view","other",TRUE | 32 | "1410","1410","fornitori c/acconti ","14","account_type_asset","other","TRUE" |
339 | 33 | 15,15,"CREDITI COMMERCIALI ",1,"account_type_view","view",TRUE | 33 | "15","15","CREDITI COMMERCIALI ","1","account_type_view","view","TRUE" |
340 | 34 | 1501,1501,"crediti v/clienti ",15,"account_type_receivable","receivable",TRUE | 34 | "1501","1501","crediti v/clienti ","15","account_type_receivable","receivable","TRUE" |
341 | 35 | 1502,1502,"crediti commerciali diversi ",15,"account_type_receivable","other",TRUE | 35 | "1502","1502","crediti commerciali diversi ","15","account_type_receivable","other","TRUE" |
342 | 36 | 1503,1503,"clienti c/spese anticipate ",15,"account_type_receivable","receivable",TRUE | 36 | "1503","1503","clienti c/spese anticipate ","15","account_type_receivable","receivable","TRUE" |
343 | 37 | 1505,1505,"cambiali attive ",15,"account_type_receivable","other",TRUE | 37 | "1505","1505","cambiali attive ","15","account_type_receivable","other","TRUE" |
344 | 38 | 1506,1506,"cambiali allo sconto ",15,"account_type_receivable","other",TRUE | 38 | "1506","1506","cambiali allo sconto ","15","account_type_receivable","other","TRUE" |
345 | 39 | 1507,1507,"cambiali all'incasso ",15,"account_type_receivable","other",TRUE | 39 | "1507","1507","cambiali all'incasso ","15","account_type_receivable","other","TRUE" |
346 | 40 | 1509,1509,"fatture da emettere ",15,"account_type_receivable","other",TRUE | 40 | "1509","1509","fatture da emettere ","15","account_type_receivable","other","TRUE" |
347 | 41 | 1510,1510,"crediti insoluti ",15,"account_type_receivable","other",TRUE | 41 | "1510","1510","crediti insoluti ","15","account_type_receivable","other","TRUE" |
348 | 42 | 1511,1511,"cambiali insolute ",15,"account_type_receivable","other",TRUE | 42 | "1511","1511","cambiali insolute ","15","account_type_receivable","other","TRUE" |
349 | 43 | 1531,1531,"crediti da liquidare ",15,"account_type_receivable","other",TRUE | 43 | "1531","1531","crediti da liquidare ","15","account_type_receivable","other","TRUE" |
350 | 44 | 1540,1540,"fondo svalutazione crediti ",15,"account_type_receivable","other",TRUE | 44 | "1540","1540","fondo svalutazione crediti ","15","account_type_receivable","other","TRUE" |
351 | 45 | 1541,1541,"fondo rischi su crediti ",15,"account_type_receivable","other",TRUE | 45 | "1541","1541","fondo rischi su crediti ","15","account_type_receivable","other","TRUE" |
352 | 46 | 16,16,"CREDITI DIVERSI ",1,"account_type_view","view",TRUE | 46 | "16","16","CREDITI DIVERSI ","1","account_type_view","view","TRUE" |
353 | 47 | 1601,1601,"IVA n/credito ",16,"account_type_receivable","other",TRUE | 47 | "1601","1601","IVA n/credito ","16","account_type_tax","other","TRUE" |
354 | 48 | 1602,1602,"IVA c/acconto ",16,"account_type_receivable","other",TRUE | 48 | "1602","1602","IVA c/acconto ","16","account_type_tax","other","TRUE" |
355 | 49 | 1605,1605,"crediti per IVA ",16,"account_type_receivable","other",TRUE | 49 | "1605","1605","crediti per IVA ","16","account_type_tax","other","TRUE" |
356 | 50 | 1607,1607,"imposte c/acconto ",16,"account_type_receivable","other",TRUE | 50 | "1607","1607","imposte c/acconto ","16","account_type_tax","other","TRUE" |
357 | 51 | 1608,1608,"crediti per imposte ",16,"account_type_receivable","other",TRUE | 51 | "1608","1608","crediti per imposte ","16","account_type_tax","other","TRUE" |
358 | 52 | 1609,1609,"crediti per ritenute subite ",16,"account_type_receivable","other",TRUE | 52 | "1609","1609","crediti per ritenute subite ","16","account_type_asset","other","TRUE" |
359 | 53 | 1610,1610,"crediti per cauzioni ",16,"account_type_receivable","other",TRUE | 53 | "1610","1610","crediti per cauzioni ","16","account_type_asset","other","TRUE" |
360 | 54 | 1620,1620,"personale c/acconti ",16,"account_type_receivable","other",TRUE | 54 | "1620","1620","personale c/acconti ","16","account_type_asset","other","TRUE" |
361 | 55 | 1630,1630,"crediti v/istituti previdenziali ",16,"account_type_receivable","other",TRUE | 55 | "1630","1630","crediti v/istituti previdenziali ","16","account_type_asset","other","TRUE" |
362 | 56 | 1640,1640,"debitori diversi ",16,"account_type_receivable","receivable",TRUE | 56 | "1640","1640","debitori diversi ","16","account_type_receivable","receivable","TRUE" |
363 | 57 | 18,18,"DISPONIBILITÀ LIQUIDE ",1,"account_type_view","view",TRUE | 57 | "18","18","DISPONIBILITÀ LIQUIDE ","1","account_type_view","view","TRUE" |
364 | 58 | 1801,1801,"banche c/c ",18,"account_type_bank","liquidity",TRUE | 58 | "1801","1801","banche c/c ","18","account_type_bank","liquidity","TRUE" |
365 | 59 | 1810,1810,"c/c postali ",18,"account_type_cash","liquidity",TRUE | 59 | "1810","1810","c/c postali ","18","account_type_cash","liquidity","TRUE" |
366 | 60 | 1820,1820,"denaro in cassa ",18,"account_type_cash","liquidity",TRUE | 60 | "1820","1820","denaro in cassa ","18","account_type_cash","liquidity","TRUE" |
367 | 61 | 1821,1821,"assegni ",18,"account_type_cash","liquidity",TRUE | 61 | "1821","1821","assegni ","18","account_type_cash","liquidity","TRUE" |
368 | 62 | 1822,1822,"valori bollati ",18,"account_type_cash","liquidity",TRUE | 62 | "1822","1822","valori bollati ","18","account_type_cash","liquidity","TRUE" |
369 | 63 | 19,19,"RATEI E RISCONTI ATTIVI ",1,"account_type_view","view",TRUE | 63 | "19","19","RATEI E RISCONTI ATTIVI ","1","account_type_view","view","TRUE" |
370 | 64 | 1901,1901,"ratei attivi ",19,"account_type_view","other",TRUE | 64 | "1901","1901","ratei attivi ","19","account_type_asset","other","TRUE" |
371 | 65 | 1902,1902,"risconti attivi ",19,"account_type_view","other",TRUE | 65 | "1902","1902","risconti attivi ","19","account_type_asset","other","TRUE" |
372 | 66 | 2,2,"PASSIVO ",0,"account_type_view","view",TRUE | 66 | "2","2","PASSIVO ","0","account_type_view","view","TRUE" |
373 | 67 | 20,20,"PATRIMONIO NETTO ",2,"account_type_view","view",TRUE | 67 | "20","20","PATRIMONIO NETTO ","2","account_type_view","view","TRUE" |
374 | 68 | 2101,2101,"patrimonio netto ",20,"account_type_view","other",TRUE | 68 | "2101","2101","patrimonio netto ","20","account_type_asset","other","TRUE" |
375 | 69 | 2102,2102,"utile d'esercizio ",20,"account_type_receivable","receivable",TRUE | 69 | "2102","2102","utile d'esercizio ","20","account_type_asset","other","TRUE" |
376 | 70 | 2103,2103,"perdita d'esercizio ",20,"account_type_payable","payable",TRUE | 70 | "2103","2103","perdita d'esercizio ","20","account_type_asset","other","TRUE" |
377 | 71 | 2104,2104,"prelevamenti extra gestione ",20,"account_type_view","other",TRUE | 71 | "2104","2104","prelevamenti extra gestione ","20","account_type_asset","other","TRUE" |
378 | 72 | 2105,2105,"titolare c/ritenute subite ",20,"account_type_view","other",TRUE | 72 | "2105","2105","titolare c/ritenute subite ","20","account_type_asset","other","TRUE" |
379 | 73 | 22,22,"FONDI PER RISCHI E ONERI ",2,"account_type_view","view",TRUE | 73 | "22","22","FONDI PER RISCHI E ONERI ","2","account_type_view","view","TRUE" |
380 | 74 | 2201,2201,"fondo per imposte ",22,"account_type_view","other",TRUE | 74 | "2201","2201","fondo per imposte ","22","account_type_asset","other","TRUE" |
381 | 75 | 2204,2204,"fondo responsabilità civile ",22,"account_type_view","other",TRUE | 75 | "2204","2204","fondo responsabilità civile ","22","account_type_asset","other","TRUE" |
382 | 76 | 2205,2205,"fondo spese future ",22,"account_type_view","other",TRUE | 76 | "2205","2205","fondo spese future ","22","account_type_asset","other","TRUE" |
383 | 77 | 2211,2211,"fondo manutenzioni programmate ",22,"account_type_view","other",TRUE | 77 | "2211","2211","fondo manutenzioni programmate ","22","account_type_asset","other","TRUE" |
384 | 78 | 23,23,"TRATTAMENTO FINE RAPPORTO DI LAVORO ",2,"account_type_view","view",TRUE | 78 | "23","23","TRATTAMENTO FINE RAPPORTO DI LAVORO ","2","account_type_view","view","TRUE" |
385 | 79 | 2301,2301,"debiti per TFRL ",23,"account_type_view","other",TRUE | 79 | "2301","2301","debiti per TFRL ","23","account_type_asset","other","TRUE" |
386 | 80 | 24,24,"DEBITI FINANZIARI ",2,"account_type_view","view",TRUE | 80 | "24","24","DEBITI FINANZIARI ","2","account_type_view","view","TRUE" |
387 | 81 | 2410,2410,"mutui passivi ",24,"account_type_payable","other",TRUE | 81 | "2410","2410","mutui passivi ","24","account_type_asset","other","TRUE" |
388 | 82 | 2411,2411,"banche c/sovvenzioni ",24,"account_type_payable","other",TRUE | 82 | "2411","2411","banche c/sovvenzioni ","24","account_type_asset","other","TRUE" |
389 | 83 | 2420,2420,"banche c/c passivi ",24,"account_type_payable","other",TRUE | 83 | "2420","2420","banche c/c passivi ","24","account_type_asset","other","TRUE" |
390 | 84 | 2421,2421,"banche c/RIBA all'incasso ",24,"account_type_payable","other",TRUE | 84 | "2421","2421","banche c/RIBA all'incasso ","24","account_type_asset","other","TRUE" |
391 | 85 | 2422,2422,"banche c/cambiali all'incasso ",24,"account_type_payable","other",TRUE | 85 | "2422","2422","banche c/cambiali all'incasso ","24","account_type_asset","other","TRUE" |
392 | 86 | 2423,2423,"banche c/anticipi su fatture ",24,"account_type_payable","other",TRUE | 86 | "2423","2423","banche c/anticipi su fatture ","24","account_type_asset","other","TRUE" |
393 | 87 | 2440,2440,"debiti v/altri finanziatori ",24,"account_type_payable","other",TRUE | 87 | "2440","2440","debiti v/altri finanziatori ","24","account_type_asset","other","TRUE" |
394 | 88 | 25,25,"DEBITI COMMERCIALI ",2,"account_type_view","view",TRUE | 88 | "25","25","DEBITI COMMERCIALI ","2","account_type_view","view","TRUE" |
395 | 89 | 2501,2501,"debiti v/fornitori ",25,"account_type_payable","payable",TRUE | 89 | "2501","2501","debiti v/fornitori ","25","account_type_payable","payable","TRUE" |
396 | 90 | 2503,2503,"cambiali passive ",25,"account_type_payable","other",TRUE | 90 | "2503","2503","cambiali passive ","25","account_type_asset","other","TRUE" |
397 | 91 | 2520,2520,"fatture da ricevere ",25,"account_type_payable","other",TRUE | 91 | "2520","2520","fatture da ricevere ","25","account_type_asset","other","TRUE" |
398 | 92 | 2521,2521,"debiti da liquidare ",25,"account_type_payable","other",TRUE | 92 | "2521","2521","debiti da liquidare ","25","account_type_asset","other","TRUE" |
399 | 93 | 2530,2530,"clienti c/acconti ",25,"account_type_payable","payable",TRUE | 93 | "2530","2530","clienti c/acconti ","25","account_type_payable","payable","TRUE" |
400 | 94 | 26,26,"DEBITI DIVERSI ",2,"account_type_view","view",TRUE | 94 | "26","26","DEBITI DIVERSI ","2","account_type_view","view","TRUE" |
401 | 95 | 2601,2601,"IVA n/debito ",26,"account_type_payable","other",TRUE | 95 | "2601","2601","IVA n/debito ","26","account_type_tax","other","TRUE" |
402 | 96 | 2602,2602,"debiti per ritenute da versare ",26,"account_type_payable","other",TRUE | 96 | "2602","2602","debiti per ritenute da versare ","26","account_type_tax","other","TRUE" |
403 | 97 | 2605,2605,"erario c/IVA ",26,"account_type_payable","other",TRUE | 97 | "2605","2605","erario c/IVA ","26","account_type_tax","payable","TRUE" |
404 | 98 | 2606,2606,"debiti per imposte ",26,"account_type_payable","other",TRUE | 98 | "2606","2606","debiti per imposte ","26","account_type_tax","other","TRUE" |
405 | 99 | 2619,2619,"debiti per cauzioni ",26,"account_type_payable","other",TRUE | 99 | "2619","2619","debiti per cauzioni ","26","account_type_asset","other","TRUE" |
406 | 100 | 2620,2620,"personale c/retribuzioni ",26,"account_type_payable","other",TRUE | 100 | "2620","2620","personale c/retribuzioni ","26","account_type_asset","other","TRUE" |
407 | 101 | 2621,2621,"personale c/liquidazioni ",26,"account_type_payable","other",TRUE | 101 | "2621","2621","personale c/liquidazioni ","26","account_type_asset","other","TRUE" |
408 | 102 | 2622,2622,"clienti c/cessione ",26,"account_type_payable","other",TRUE | 102 | "2622","2622","clienti c/cessione ","26","account_type_asset","other","TRUE" |
409 | 103 | 2630,2630,"debiti v/istituti previdenziali ",26,"account_type_payable","other",TRUE | 103 | "2630","2630","debiti v/istituti previdenziali ","26","account_type_asset","other","TRUE" |
410 | 104 | 2640,2640,"creditori diversi ",26,"account_type_payable","payable",TRUE | 104 | "2640","2640","creditori diversi ","26","account_type_payable","payable","TRUE" |
411 | 105 | 27,27,"RATEI E RISCONTI PASSIVI ",2,"account_type_view","view",TRUE | 105 | "27","27","RATEI E RISCONTI PASSIVI ","2","account_type_view","view","TRUE" |
412 | 106 | 2701,2701,"ratei passivi ",27,"account_type_view","other",TRUE | 106 | "2701","2701","ratei passivi ","27","account_type_asset","other","TRUE" |
413 | 107 | 2702,2702,"risconti passivi ",27,"account_type_view","other",TRUE | 107 | "2702","2702","risconti passivi ","27","account_type_asset","other","TRUE" |
414 | 108 | 28,28,"CONTI TRANSITORI E DIVERSI ",2,"account_type_view","view",TRUE | 108 | "28","28","CONTI TRANSITORI E DIVERSI ","2","account_type_view","view","TRUE" |
415 | 109 | 2801,2801,"bilancio di apertura ",28,"account_type_view","other",TRUE | 109 | "2801","2801","bilancio di apertura ","28","account_type_asset","other","TRUE" |
416 | 110 | 2802,2802,"bilancio di chiusura ",28,"account_type_view","other",TRUE | 110 | "2802","2802","bilancio di chiusura ","28","account_type_asset","other","TRUE" |
417 | 111 | 2810,2810,"IVA c/liquidazioni ",28,"account_type_view","other",TRUE | 111 | "2810","2810","IVA c/liquidazioni ","28","account_type_asset","other","TRUE" |
418 | 112 | 2811,2811,"istituti previdenziali ",28,"account_type_view","other",TRUE | 112 | "2811","2811","istituti previdenziali ","28","account_type_asset","other","TRUE" |
419 | 113 | 2820,2820,"banca ... c/c ",28,"account_type_view","other",TRUE | 113 | "2820","2820","banca ... c/c ","28","account_type_asset","other","TRUE" |
420 | 114 | 2821,2821,"banca ... c/c ",28,"account_type_view","other",TRUE | 114 | "2821","2821","banca ... c/c ","28","account_type_asset","other","TRUE" |
421 | 115 | 2822,2822,"banca ... c/c ",28,"account_type_view","other",TRUE | 115 | "2822","2822","banca ... c/c ","28","account_type_asset","other","TRUE" |
422 | 116 | 29,29,"CONTI DEI SISTEMI SUPPLEMENTARI ",2,"account_type_view","view",TRUE | 116 | "29","29","CONTI DEI SISTEMI SUPPLEMENTARI ","2","account_type_view","view","TRUE" |
423 | 117 | 2901,2901,"beni di terzi ",29,"account_type_view","other",TRUE | 117 | "2901","2901","beni di terzi ","29","account_type_asset","other","TRUE" |
424 | 118 | 2902,2902,"depositanti beni ",29,"account_type_view","other",TRUE | 118 | "2902","2902","depositanti beni ","29","account_type_asset","other","TRUE" |
425 | 119 | 2911,2911,"merci da ricevere ",29,"account_type_view","other",TRUE | 119 | "2911","2911","merci da ricevere ","29","account_type_asset","other","TRUE" |
426 | 120 | 2912,2912,"fornitori c/impegni ",29,"account_type_view","other",TRUE | 120 | "2912","2912","fornitori c/impegni ","29","account_type_asset","other","TRUE" |
427 | 121 | 2913,2913,"impegni per beni in leasing ",29,"account_type_view","other",TRUE | 121 | "2913","2913","impegni per beni in leasing ","29","account_type_asset","other","TRUE" |
428 | 122 | 2914,2914,"creditori c/leasing ",29,"account_type_view","other",TRUE | 122 | "2914","2914","creditori c/leasing ","29","account_type_asset","other","TRUE" |
429 | 123 | 2916,2916,"clienti c/impegni ",29,"account_type_view","other",TRUE | 123 | "2916","2916","clienti c/impegni ","29","account_type_asset","other","TRUE" |
430 | 124 | 2917,2917,"merci da consegnare ",29,"account_type_view","other",TRUE | 124 | "2917","2917","merci da consegnare ","29","account_type_asset","other","TRUE" |
431 | 125 | 2921,2921,"rischi per effetti scontati ",29,"account_type_view","other",TRUE | 125 | "2921","2921","rischi per effetti scontati ","29","account_type_asset","other","TRUE" |
432 | 126 | 2922,2922,"banche c/effetti scontati ",29,"account_type_view","other",TRUE | 126 | "2922","2922","banche c/effetti scontati ","29","account_type_asset","other","TRUE" |
433 | 127 | 2926,2926,"rischi per fideiussioni ",29,"account_type_view","other",TRUE | 127 | "2926","2926","rischi per fideiussioni ","29","account_type_asset","other","TRUE" |
434 | 128 | 2927,2927,"creditori per fideiussioni ",29,"account_type_view","other",TRUE | 128 | "2927","2927","creditori per fideiussioni ","29","account_type_asset","other","TRUE" |
435 | 129 | 2931,2931,"rischi per avalli ",29,"account_type_view","other",TRUE | 129 | "2931","2931","rischi per avalli ","29","account_type_asset","other","TRUE" |
436 | 130 | 2932,2932,"creditori per avalli ",29,"account_type_view","other",TRUE | 130 | "2932","2932","creditori per avalli ","29","account_type_asset","other","TRUE" |
437 | 131 | 3,3,"VALORE DELLA PRODUZIONE ",0,"account_type_view","view",TRUE | 131 | "3","3","VALORE DELLA PRODUZIONE ","0","account_type_view","view","TRUE" |
438 | 132 | 31,31,"VENDITE E PRESTAZIONI ",3,"account_type_view","view",TRUE | 132 | "31","31","VENDITE E PRESTAZIONI ","3","account_type_view","view","TRUE" |
439 | 133 | 3101,3101,"merci c/vendite ",31,"account_type_income","other",TRUE | 133 | "3101","3101","merci c/vendite ","31","account_type_income","other","TRUE" |
440 | 134 | 3103,3103,"rimborsi spese di vendita ",31,"account_type_income","other",TRUE | 134 | "3103","3103","rimborsi spese di vendita ","31","account_type_income","other","TRUE" |
441 | 135 | 3110,3110,"resi su vendite ",31,"account_type_income","other",TRUE | 135 | "3110","3110","resi su vendite ","31","account_type_income","other","TRUE" |
442 | 136 | 3111,3111,"ribassi e abbuoni passivi ",31,"account_type_income","other",TRUE | 136 | "3111","3111","ribassi e abbuoni passivi ","31","account_type_income","other","TRUE" |
443 | 137 | 3112,3112,"premi su vendite ",31,"account_type_income","other",TRUE | 137 | "3112","3112","premi su vendite ","31","account_type_income","other","TRUE" |
444 | 138 | 32,32,"RICAVI E PROVENTI DIVERSI ",3,"account_type_view","view",TRUE | 138 | "32","32","RICAVI E PROVENTI DIVERSI ","3","account_type_view","view","TRUE" |
445 | 139 | 3201,3201,"fitti attivi ",32,"account_type_income","other",TRUE | 139 | "3201","3201","fitti attivi ","32","account_type_income","other","TRUE" |
446 | 140 | 3202,3202,"proventi vari ",32,"account_type_income","other",TRUE | 140 | "3202","3202","proventi vari ","32","account_type_income","other","TRUE" |
447 | 141 | 3210,3210,"arrotondamenti attivi ",32,"account_type_income","other",TRUE | 141 | "3210","3210","arrotondamenti attivi ","32","account_type_income","other","TRUE" |
448 | 142 | 3220,3220,"plusvalenze ordinarie diverse ",32,"account_type_income","other",TRUE | 142 | "3220","3220","plusvalenze ordinarie diverse ","32","account_type_income","other","TRUE" |
449 | 143 | 3230,3230,"sopravvenienze attive ordinarie diverse ",32,"account_type_income","other",TRUE | 143 | "3230","3230","sopravvenienze attive ordinarie diverse ","32","account_type_income","other","TRUE" |
450 | 144 | 3240,3240,"insussistenze attive ordinarie diverse ",32,"account_type_income","other",TRUE | 144 | "3240","3240","insussistenze attive ordinarie diverse ","32","account_type_income","other","TRUE" |
451 | 145 | 4,4,"COSTI DELLA PRODUZIONE ",0,"account_type_view","view",TRUE | 145 | "4","4","COSTI DELLA PRODUZIONE ","0","account_type_view","view","TRUE" |
452 | 146 | 41,41,"COSTO DEL VENDUTO ",4,"account_type_view","view",TRUE | 146 | "41","41","COSTO DEL VENDUTO ","4","account_type_view","view","TRUE" |
453 | 147 | 4101,4101,"merci c/acquisti ",41,"account_type_expense","other",TRUE | 147 | "4101","4101","merci c/acquisti ","41","account_type_expense","other","TRUE" |
454 | 148 | 4102,4102,"materie di consumo c/acquisti ",41,"account_type_expense","other",TRUE | 148 | "4102","4102","materie di consumo c/acquisti ","41","account_type_expense","other","TRUE" |
455 | 149 | 4105,4105,"merci c/apporti ",41,"account_type_expense","other",TRUE | 149 | "4105","4105","merci c/apporti ","41","account_type_expense","other","TRUE" |
456 | 150 | 4110,4110,"resi su acquisti ",41,"account_type_expense","other",TRUE | 150 | "4110","4110","resi su acquisti ","41","account_type_expense","other","TRUE" |
457 | 151 | 4111,4111,"ribassi e abbuoni attivi ",41,"account_type_expense","other",TRUE | 151 | "4111","4111","ribassi e abbuoni attivi ","41","account_type_expense","other","TRUE" |
458 | 152 | 4112,4112,"premi su acquisti ",41,"account_type_expense","other",TRUE | 152 | "4112","4112","premi su acquisti ","41","account_type_expense","other","TRUE" |
459 | 153 | 4121,4121,"merci c/esistenze iniziali ",41,"account_type_expense","other",TRUE | 153 | "4121","4121","merci c/esistenze iniziali ","41","account_type_expense","other","TRUE" |
460 | 154 | 4122,4122,"materie di consumo c/esistenze iniziali ",41,"account_type_expense","other",TRUE | 154 | "4122","4122","materie di consumo c/esistenze iniziali ","41","account_type_expense","other","TRUE" |
461 | 155 | 4131,4131,"merci c/rimanenze finali ",41,"account_type_expense","other",TRUE | 155 | "4131","4131","merci c/rimanenze finali ","41","account_type_expense","other","TRUE" |
462 | 156 | 4132,4132,"materie di consumo c/rimanenze finali ",41,"account_type_expense","other",TRUE | 156 | "4132","4132","materie di consumo c/rimanenze finali ","41","account_type_expense","other","TRUE" |
463 | 157 | 42,42,"COSTI PER SERVIZI ",4,"account_type_view","view",TRUE | 157 | "42","42","COSTI PER SERVIZI ","4","account_type_view","view","TRUE" |
464 | 158 | 4201,4201,"costi di trasporto ",42,"account_type_expense","other",TRUE | 158 | "4201","4201","costi di trasporto ","42","account_type_expense","other","TRUE" |
465 | 159 | 4202,4202,"costi per energia ",42,"account_type_expense","other",TRUE | 159 | "4202","4202","costi per energia ","42","account_type_expense","other","TRUE" |
466 | 160 | 4203,4203,"costi di pubblicità ",42,"account_type_expense","other",TRUE | 160 | "4203","4203","costi di pubblicità ","42","account_type_expense","other","TRUE" |
467 | 161 | 4204,4204,"costi di consulenze ",42,"account_type_expense","other",TRUE | 161 | "4204","4204","costi di consulenze ","42","account_type_expense","other","TRUE" |
468 | 162 | 4205,4205,"costi postali ",42,"account_type_expense","other",TRUE | 162 | "4205","4205","costi postali ","42","account_type_expense","other","TRUE" |
469 | 163 | 4206,4206,"costi telefonici ",42,"account_type_expense","other",TRUE | 163 | "4206","4206","costi telefonici ","42","account_type_expense","other","TRUE" |
470 | 164 | 4207,4207,"costi di assicurazione ",42,"account_type_expense","other",TRUE | 164 | "4207","4207","costi di assicurazione ","42","account_type_expense","other","TRUE" |
471 | 165 | 4208,4208,"costi di vigilanza ",42,"account_type_expense","other",TRUE | 165 | "4208","4208","costi di vigilanza ","42","account_type_expense","other","TRUE" |
472 | 166 | 4209,4209,"costi per i locali ",42,"account_type_expense","other",TRUE | 166 | "4209","4209","costi per i locali ","42","account_type_expense","other","TRUE" |
473 | 167 | 4210,4210,"costi di esercizio automezzi ",42,"account_type_expense","other",TRUE | 167 | "4210","4210","costi di esercizio automezzi ","42","account_type_expense","other","TRUE" |
474 | 168 | 4211,4211,"costi di manutenzione e riparazione ",42,"account_type_expense","other",TRUE | 168 | "4211","4211","costi di manutenzione e riparazione ","42","account_type_expense","other","TRUE" |
475 | 169 | 4212,4212,"provvigioni passive ",42,"account_type_expense","other",TRUE | 169 | "4212","4212","provvigioni passive ","42","account_type_expense","other","TRUE" |
476 | 170 | 4213,4213,"spese di incasso ",42,"account_type_expense","other",TRUE | 170 | "4213","4213","spese di incasso ","42","account_type_expense","other","TRUE" |
477 | 171 | 43,43,"COSTI PER GODIMENTO BENI DI TERZI ",4,"account_type_view","view",TRUE | 171 | "43","43","COSTI PER GODIMENTO BENI DI TERZI ","4","account_type_view","view","TRUE" |
478 | 172 | 4301,4301,"fitti passivi ",43,"account_type_expense","other",TRUE | 172 | "4301","4301","fitti passivi ","43","account_type_expense","other","TRUE" |
479 | 173 | 4302,4302,"canoni di leasing ",43,"account_type_expense","other",TRUE | 173 | "4302","4302","canoni di leasing ","43","account_type_expense","other","TRUE" |
480 | 174 | 44,44,"COSTI PER IL PERSONALE ",4,"account_type_view","view",TRUE | 174 | "44","44","COSTI PER IL PERSONALE ","4","account_type_view","view","TRUE" |
481 | 175 | 4401,4401,"salari e stipendi ",44,"account_type_expense","other",TRUE | 175 | "4401","4401","salari e stipendi ","44","account_type_expense","other","TRUE" |
482 | 176 | 4402,4402,"oneri sociali ",44,"account_type_expense","other",TRUE | 176 | "4402","4402","oneri sociali ","44","account_type_expense","other","TRUE" |
483 | 177 | 4403,4403,"TFRL ",44,"account_type_expense","other",TRUE | 177 | "4403","4403","TFRL ","44","account_type_expense","other","TRUE" |
484 | 178 | 4404,4404,"altri costi per il personale ",44,"account_type_expense","other",TRUE | 178 | "4404","4404","altri costi per il personale ","44","account_type_expense","other","TRUE" |
485 | 179 | 45,45,"AMMORTAMENTI IMMOBILIZZAZIONI IMMATERIALI ",4,"account_type_view","view",TRUE | 179 | "45","45","AMMORTAMENTI IMMOBILIZZAZIONI IMMATERIALI ","4","account_type_view","view","TRUE" |
486 | 180 | 4501,4501,"ammortamento costi di impianto ",45,"account_type_view","other",TRUE | 180 | "4501","4501","ammortamento costi di impianto ","45","account_type_p_l","other","TRUE" |
487 | 181 | 4506,4506,"ammortamento software ",45,"account_type_view","other",TRUE | 181 | "4506","4506","ammortamento software ","45","account_type_p_l","other","TRUE" |
488 | 182 | 4508,4508,"ammortamento avviamento ",45,"account_type_view","other",TRUE | 182 | "4508","4508","ammortamento avviamento ","45","account_type_p_l","other","TRUE" |
489 | 183 | 46,46,"AMMORTAMENTI IMMOBILIZZAZIONI MATERIALI ",4,"account_type_view","view",TRUE | 183 | "46","46","AMMORTAMENTI IMMOBILIZZAZIONI MATERIALI ","4","account_type_view","view","TRUE" |
490 | 184 | 4601,4601,"ammortamento fabbricati ",46,"account_type_view","other",TRUE | 184 | "4601","4601","ammortamento fabbricati ","46","account_type_p_l","other","TRUE" |
491 | 185 | 4602,4602,"ammortamento impianti e macchinari ",46,"account_type_view","other",TRUE | 185 | "4602","4602","ammortamento impianti e macchinari ","46","account_type_p_l","other","TRUE" |
492 | 186 | 4604,4604,"ammortamento attrezzature commerciali ",46,"account_type_view","other",TRUE | 186 | "4604","4604","ammortamento attrezzature commerciali ","46","account_type_p_l","other","TRUE" |
493 | 187 | 4605,4605,"ammortamento macchine d'ufficio ",46,"account_type_view","other",TRUE | 187 | "4605","4605","ammortamento macchine d'ufficio ","46","account_type_p_l","other","TRUE" |
494 | 188 | 4606,4606,"ammortamento arredamento ",46,"account_type_view","other",TRUE | 188 | "4606","4606","ammortamento arredamento ","46","account_type_p_l","other","TRUE" |
495 | 189 | 4607,4607,"ammortamento automezzi ",46,"account_type_view","other",TRUE | 189 | "4607","4607","ammortamento automezzi ","46","account_type_p_l","other","TRUE" |
496 | 190 | 4608,4608,"ammortamento imballaggi durevoli ",46,"account_type_view","other",TRUE | 190 | "4608","4608","ammortamento imballaggi durevoli ","46","account_type_p_l","other","TRUE" |
497 | 191 | 47,47,"SVALUTAZIONI ",4,"account_type_view","view",TRUE | 191 | "47","47","SVALUTAZIONI ","4","account_type_view","view","TRUE" |
498 | 192 | 4701,4701,"svalutazioni immobilizzazioni immateriali ",47,"account_type_view","other",TRUE | 192 | "4701","4701","svalutazioni immobilizzazioni immateriali ","47","account_type_p_l","other","TRUE" |
499 | 193 | 4702,4702,"svalutazioni immobilizzazioni materiali ",47,"account_type_view","other",TRUE | 193 | "4702","4702","svalutazioni immobilizzazioni materiali ","47","account_type_p_l","other","TRUE" |
500 | 194 | 4706,4706,"svalutazione crediti ",47,"account_type_view","other",TRUE | 194 | "4706","4706","svalutazione crediti ","47","account_type_p_l","other","TRUE" |
501 | 195 | 48,48,"ACCANTONAMENTI ",4,"account_type_view","view",TRUE | 195 | "48","48","ACCANTONAMENTI ","4","account_type_view","view","TRUE" |
502 | 196 | 481,481,"ACCANTONAMENTI PER RISCHI ",48,"account_type_view","view",TRUE | 196 | "481","481","ACCANTONAMENTI PER RISCHI ","48","account_type_view","view","TRUE" |
503 | 197 | 4814,4814,"accantonamento per responsabilità civile ",481,"account_type_view","other",TRUE | 197 | "4814","4814","accantonamento per responsabilità civile ","481","account_type_p_l","other","TRUE" |
504 | 198 | 482,482,"ALTRI ACCANTONAMENTI ",48,"account_type_view","view",TRUE | 198 | "482","482","ALTRI ACCANTONAMENTI ","48","account_type_view","view","TRUE" |
505 | 199 | 4821,4821,"accantonamento per spese future ",482,"account_type_view","other",TRUE | 199 | "4821","4821","accantonamento per spese future ","482","account_type_p_l","other","TRUE" |
506 | 200 | 4823,4823,"accantonamento per manutenzioni programmate ",482,"account_type_view","other",TRUE | 200 | "4823","4823","accantonamento per manutenzioni programmate ","482","account_type_p_l","other","TRUE" |
507 | 201 | 49,49,"ONERI DIVERSI ",4,"account_type_view","view",TRUE | 201 | "49","49","ONERI DIVERSI ","4","account_type_view","view","TRUE" |
508 | 202 | 4901,4901,"oneri fiscali diversi ",49,"account_type_view","other",TRUE | 202 | "4901","4901","oneri fiscali diversi ","49","account_type_p_l","other","TRUE" |
509 | 203 | 4903,4903,"oneri vari ",49,"account_type_view","other",TRUE | 203 | "4903","4903","oneri vari ","49","account_type_p_l","other","TRUE" |
510 | 204 | 4905,4905,"perdite su crediti ",49,"account_type_view","other",TRUE | 204 | "4905","4905","perdite su crediti ","49","account_type_p_l","other","TRUE" |
511 | 205 | 4910,4910,"arrotondamenti passivi ",49,"account_type_view","other",TRUE | 205 | "4910","4910","arrotondamenti passivi ","49","account_type_p_l","other","TRUE" |
512 | 206 | 4920,4920,"minusvalenze ordinarie diverse ",49,"account_type_view","other",TRUE | 206 | "4920","4920","minusvalenze ordinarie diverse ","49","account_type_p_l","other","TRUE" |
513 | 207 | 4930,4930,"sopravvenienze passive ordinarie diverse ",49,"account_type_view","other",TRUE | 207 | "4930","4930","sopravvenienze passive ordinarie diverse ","49","account_type_p_l","other","TRUE" |
514 | 208 | 4940,4940,"insussistenze passive ordinarie diverse ",49,"account_type_view","other",TRUE | 208 | "4940","4940","insussistenze passive ordinarie diverse ","49","account_type_p_l","other","TRUE" |
515 | 209 | 5,5,"PROVENTI E ONERI FINANZIARI ",0,"account_type_view","view",TRUE | 209 | "5","5","PROVENTI E ONERI FINANZIARI ","0","account_type_view","view","TRUE" |
516 | 210 | 51,51,"PROVENTI FINANZIARI ",5,"account_type_view","view",TRUE | 210 | "51","51","PROVENTI FINANZIARI ","5","account_type_view","view","TRUE" |
517 | 211 | 5110,5110,"interessi attivi v/clienti ",51,"account_type_view","other",TRUE | 211 | "5110","5110","interessi attivi v/clienti ","51","account_type_p_l","other","TRUE" |
518 | 212 | 5115,5115,"interessi attivi bancari ",51,"account_type_view","other",TRUE | 212 | "5115","5115","interessi attivi bancari ","51","account_type_p_l","other","TRUE" |
519 | 213 | 5116,5116,"interessi attivi postali ",51,"account_type_view","other",TRUE | 213 | "5116","5116","interessi attivi postali ","51","account_type_p_l","other","TRUE" |
520 | 214 | 5140,5140,"proventi finanziari diversi ",51,"account_type_view","other",TRUE | 214 | "5140","5140","proventi finanziari diversi ","51","account_type_p_l","other","TRUE" |
521 | 215 | 52,52,"ONERI FINANZIARI ",5,"account_type_view","view",TRUE | 215 | "52","52","ONERI FINANZIARI ","5","account_type_view","view","TRUE" |
522 | 216 | 5201,5201,"interessi passivi v/fornitori ",52,"account_type_view","other",TRUE | 216 | "5201","5201","interessi passivi v/fornitori ","52","account_type_p_l","other","TRUE" |
523 | 217 | 5202,5202,"interessi passivi bancari ",52,"account_type_view","other",TRUE | 217 | "5202","5202","interessi passivi bancari ","52","account_type_p_l","other","TRUE" |
524 | 218 | 5203,5203,"sconti passivi bancari ",52,"account_type_view","other",TRUE | 218 | "5203","5203","sconti passivi bancari ","52","account_type_p_l","other","TRUE" |
525 | 219 | 5210,5210,"interessi passivi su mutui ",52,"account_type_view","other",TRUE | 219 | "5210","5210","interessi passivi su mutui ","52","account_type_p_l","other","TRUE" |
526 | 220 | 5240,5240,"oneri finanziari diversi ",52,"account_type_view","other",TRUE | 220 | "5240","5240","oneri finanziari diversi ","52","account_type_p_l","other","TRUE" |
527 | 221 | 7,7,"PROVENTI E ONERI STRAORDINARI ",0,"account_type_view","view",TRUE | 221 | "7","7","PROVENTI E ONERI STRAORDINARI ","0","account_type_view","view","TRUE" |
528 | 222 | 71,71,"PROVENTI STRAORDINARI ",7,"account_type_view","view",TRUE | 222 | "71","71","PROVENTI STRAORDINARI ","7","account_type_view","view","TRUE" |
529 | 223 | 7101,7101,"plusvalenze straordinarie ",71,"account_type_view","other",TRUE | 223 | "7101","7101","plusvalenze straordinarie ","71","account_type_p_l","other","TRUE" |
530 | 224 | 7102,7102,"sopravvenienze attive straordinarie ",71,"account_type_view","other",TRUE | 224 | "7102","7102","sopravvenienze attive straordinarie ","71","account_type_p_l","other","TRUE" |
531 | 225 | 7103,7103,"insussistenze attive straordinarie ",71,"account_type_view","other",TRUE | 225 | "7103","7103","insussistenze attive straordinarie ","71","account_type_p_l","other","TRUE" |
532 | 226 | 72,72,"ONERI STRAORDINARI ",7,"account_type_view","view",TRUE | 226 | "72","72","ONERI STRAORDINARI ","7","account_type_view","view","TRUE" |
533 | 227 | 7201,7201,"minusvalenze straordinarie ",72,"account_type_view","other",TRUE | 227 | "7201","7201","minusvalenze straordinarie ","72","account_type_p_l","other","TRUE" |
534 | 228 | 7202,7202,"sopravvenienze passive straordinarie ",72,"account_type_view","other",TRUE | 228 | "7202","7202","sopravvenienze passive straordinarie ","72","account_type_p_l","other","TRUE" |
535 | 229 | 7203,7203,"insussistenze passive straordinarie ",72,"account_type_view","other",TRUE | 229 | "7203","7203","insussistenze passive straordinarie ","72","account_type_p_l","other","TRUE" |
536 | 230 | 7204,7204,"imposte esercizi precedenti ",72,"account_type_view","other",TRUE | 230 | "7204","7204","imposte esercizi precedenti ","72","account_type_p_l","other","TRUE" |
537 | 231 | 81,81,"IMPOSTE DELL'ESERCIZIO ",7,"account_type_view","view",TRUE | 231 | "8","8","IMPOSTE DELL'ESERCIZIO ","0","account_type_view","view","TRUE" |
538 | 232 | 8101,8101,"imposte dell'esercizio ",81,"account_type_view","other",TRUE | 232 | "8101","8101","imposte dell'esercizio ","8","account_type_p_l","other","TRUE" |
539 | 233 | 91,91,"CONTI DI RISULTATO ",7,"account_type_view","view",TRUE | 233 | "9","9","CONTI DI RISULTATO ","0","account_type_view","view","TRUE" |
540 | 234 | 9101,9101,"conto di risultato economico ",91,"account_type_view","other",TRUE | 234 | "9101","9101","conto di risultato economico ","9","account_type_p_l","other","TRUE" |
541 | 235 | "9102","9102","stato patrimoniale","9","account_type_p_l","other","TRUE" | ||
542 | 235 | 236 | ||
543 | === modified file 'l10n_it/data/account.account.type.csv' | |||
544 | --- l10n_it/data/account.account.type.csv 2011-10-16 01:28:00 +0000 | |||
545 | +++ l10n_it/data/account.account.type.csv 2011-11-23 14:06:29 +0000 | |||
546 | @@ -1,11 +1,11 @@ | |||
547 | 1 | "id","code","name","close_method","report_type" | 1 | "id","code","name","close_method","report_type" |
550 | 2 | "account_type_receivable","receivable","Debiti","unreconciled","liability" | 2 | "account_type_receivable","receivable","Crediti","unreconciled","asset" |
551 | 3 | "account_type_payable","payable","Crediti","unreconciled","asset" | 3 | "account_type_payable","payable","Debiti","unreconciled","liability" |
552 | 4 | "account_type_view","view","Gerarchia","none", | 4 | "account_type_view","view","Gerarchia","none", |
553 | 5 | "account_type_income","income","Entrate","none","income" | 5 | "account_type_income","income","Entrate","none","income" |
554 | 6 | "account_type_expense","expense","Uscite","none","expense" | 6 | "account_type_expense","expense","Uscite","none","expense" |
556 | 7 | "account_type_tax","tax","Tasse","none", | 7 | "account_type_tax","tax","Tasse","balance", |
557 | 8 | "account_type_cash","cash","Liquidità","balance","asset" | 8 | "account_type_cash","cash","Liquidità","balance","asset" |
559 | 9 | "account_type_asset","asset","Beni","none","asset" | 9 | "account_type_asset","asset","Beni","balance","asset" |
560 | 10 | "account_type_bank","bank","Banca","balance","asset" | 10 | "account_type_bank","bank","Banca","balance","asset" |
562 | 11 | "account_type_equity","equity","Capitale","none","asset" | 11 | "account_type_p_l","p_l","Conto Economico","none", |
563 | 12 | 12 | ||
564 | === modified file 'l10n_it/data/account.tax.code.template.csv' | |||
565 | --- l10n_it/data/account.tax.code.template.csv 2011-01-14 00:11:01 +0000 | |||
566 | +++ l10n_it/data/account.tax.code.template.csv 2011-11-23 14:06:29 +0000 | |||
567 | @@ -26,6 +26,8 @@ | |||
568 | 26 | "IVC4Idet50","template_impcode_pagata_4det50","IVA a credito 4% detraibile 50% (imponibile)","template_impcode_pagata" | 26 | "IVC4Idet50","template_impcode_pagata_4det50","IVA a credito 4% detraibile 50% (imponibile)","template_impcode_pagata" |
569 | 27 | "IVC20","template_ivacode_pagata_20","IVA a credito 20%","template_ivacode_pagata" | 27 | "IVC20","template_ivacode_pagata_20","IVA a credito 20%","template_ivacode_pagata" |
570 | 28 | "IVC20I","template_impcode_pagata_20","IVA a credito 20% (imponibile)","template_impcode_pagata" | 28 | "IVC20I","template_impcode_pagata_20","IVA a credito 20% (imponibile)","template_impcode_pagata" |
571 | 29 | "IVC21","template_ivacode_pagata_21","IVA a credito 21%","template_ivacode_pagata" | ||
572 | 30 | "IVC21I","template_impcode_pagata_21","IVA a credito 21% (imponibile)","template_impcode_pagata" | ||
573 | 29 | "IVC4","template_ivacode_pagata_4","IVA a credito 4%","template_ivacode_pagata" | 31 | "IVC4","template_ivacode_pagata_4","IVA a credito 4%","template_ivacode_pagata" |
574 | 30 | "IVC4I","template_impcode_pagata_4","IVA a credito 4% (imponibile)","template_impcode_pagata" | 32 | "IVC4I","template_impcode_pagata_4","IVA a credito 4% (imponibile)","template_impcode_pagata" |
575 | 31 | "IVC12","template_ivacode_pagata_12","IVA a credito 12%","template_ivacode_pagata" | 33 | "IVC12","template_ivacode_pagata_12","IVA a credito 12%","template_ivacode_pagata" |
576 | @@ -40,9 +42,21 @@ | |||
577 | 40 | "IVD10I","template_impcode_riscossa_10","IVA a debito 10% (imponibile)","template_impcode_riscossa" | 42 | "IVD10I","template_impcode_riscossa_10","IVA a debito 10% (imponibile)","template_impcode_riscossa" |
578 | 41 | "IVD20","template_ivacode_riscossa_20","IVA a debito 20%","template_ivacode_riscossa" | 43 | "IVD20","template_ivacode_riscossa_20","IVA a debito 20%","template_ivacode_riscossa" |
579 | 42 | "IVD20I","template_impcode_riscossa_20","IVA a debito 20% (imponibile)","template_impcode_riscossa" | 44 | "IVD20I","template_impcode_riscossa_20","IVA a debito 20% (imponibile)","template_impcode_riscossa" |
580 | 45 | "IVD21","template_ivacode_riscossa_21","IVA a debito 21%","template_ivacode_riscossa" | ||
581 | 46 | "IVD21I","template_impcode_riscossa_21","IVA a debito 21% (imponibile)","template_impcode_riscossa" | ||
582 | 43 | "IVD4","template_ivacode_riscossa_4","IVA a debito 4%","template_ivacode_riscossa" | 47 | "IVD4","template_ivacode_riscossa_4","IVA a debito 4%","template_ivacode_riscossa" |
583 | 44 | "IVD4I","template_impcode_riscossa_4","IVA a debito 4% (imponibile)","template_impcode_riscossa" | 48 | "IVD4I","template_impcode_riscossa_4","IVA a debito 4% (imponibile)","template_impcode_riscossa" |
584 | 45 | "IVD12","template_ivacode_riscossa_12","IVA a debito 12%","template_ivacode_riscossa" | 49 | "IVD12","template_ivacode_riscossa_12","IVA a debito 12%","template_ivacode_riscossa" |
585 | 46 | "IVD12I","template_impcode_riscossa_12","IVA a debito 12% (imponibile)","template_impcode_riscossa" | 50 | "IVD12I","template_impcode_riscossa_12","IVA a debito 12% (imponibile)","template_impcode_riscossa" |
586 | 47 | "IVD2","template_ivacode_riscossa_2","IVA a debito 2%","template_ivacode_riscossa" | 51 | "IVD2","template_ivacode_riscossa_2","IVA a debito 2%","template_ivacode_riscossa" |
587 | 48 | "IVD2I","template_impcode_riscossa_2","IVA a debito 2% (imponibile)","template_impcode_riscossa" | 52 | "IVD2I","template_impcode_riscossa_2","IVA a debito 2% (imponibile)","template_impcode_riscossa" |
588 | 53 | "IVC21ind","template_ivacode_pagata_21ind","IVA a credito 21% indetraibile","template_ivacode_pagata" | ||
589 | 54 | "IVC21Iind","template_impcode_pagata_21ind","IVA a credito 21% indetraibile (imponibile)","template_impcode_pagata" | ||
590 | 55 | "IVC21det10","template_ivacode_pagata_21det10","IVA a credito 21% detraibile 10%","template_ivacode_pagata" | ||
591 | 56 | "IVC21Idet10","template_impcode_pagata_21det10","IVA a credito 21% detraibile 10% (imponibile)","template_impcode_pagata" | ||
592 | 57 | "IVC21det15","template_ivacode_pagata_21det15","IVA a credito 21% detraibile 15%","template_ivacode_pagata" | ||
593 | 58 | "IVC21Idet15","template_impcode_pagata_21det15","IVA a credito 21% detraibile 15% (imponibile)","template_impcode_pagata" | ||
594 | 59 | "IVC21det40","template_ivacode_pagata_21det40","IVA a credito 21% detraibile 40%","template_ivacode_pagata" | ||
595 | 60 | "IVC21Idet40","template_impcode_pagata_21det40","IVA a credito 21% detraibile 40% (imponibile)","template_impcode_pagata" | ||
596 | 61 | "IVC21det50","template_ivacode_pagata_21det50","IVA a credito 21% detraibile 50%","template_ivacode_pagata" | ||
597 | 62 | "IVC21Idet50","template_impcode_pagata_21det50","IVA a credito 21% detraibile 50% (imponibile)","template_impcode_pagata" | ||
598 | 49 | 63 | ||
599 | === modified file 'l10n_it/data/account.tax.template.csv' | |||
600 | --- l10n_it/data/account.tax.template.csv 2011-01-14 00:11:01 +0000 | |||
601 | +++ l10n_it/data/account.tax.template.csv 2011-11-23 14:06:29 +0000 | |||
602 | @@ -1,40 +1,64 @@ | |||
643 | 1 | "id","description","chart_template_id:id","name","amount","parent_id:id","child_depend","type","account_collected_id:id","account_paid_id:id","type_tax_use","base_code_id:id","tax_code_id:id","ref_base_code_id:id","ref_tax_code_id:id" | 1 | id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depend,type,account_collected_id:id,account_paid_id:id,type_tax_use,base_code_id:id,tax_code_id:id,ref_base_code_id:id,ref_tax_code_id:id,ref_base_sign,ref_tax_sign,price_include,base_sign,tax_sign |
644 | 2 | "20a","20a","l10n_it_chart_template_generic","Iva al 20% (debito)","0.2",,"False","percent","2601","2601","sale","template_impcode_riscossa_20","template_ivacode_riscossa_20","template_impcode_riscossa_20","template_ivacode_riscossa_20" | 2 | 21a,21a,l10n_it_chart_template_generic,Iva al 21% (debito),,0.21,,False,percent,2601,2601,sale,template_impcode_riscossa_21,template_ivacode_riscossa_21,template_impcode_riscossa_21,template_ivacode_riscossa_21,-1,-1,False,, |
645 | 3 | "20b","20b","l10n_it_chart_template_generic","Iva al 20% (credito)","0.2",,"False","percent","1601","1601","purchase","template_impcode_pagata_20","template_ivacode_pagata_20","template_impcode_pagata_20","template_ivacode_pagata_20" | 3 | 21b,21b,l10n_it_chart_template_generic,Iva al 21% (credito),,0.21,,False,percent,1601,1601,purchase,template_impcode_pagata_21,template_ivacode_pagata_21,template_impcode_pagata_21,template_ivacode_pagata_21,,,False,-1,-1 |
646 | 4 | "10a","10a","l10n_it_chart_template_generic","Iva al 10% (debito)","0.1",,"False","percent","2601","2601","sale","template_impcode_riscossa_10","template_ivacode_riscossa_10","template_impcode_riscossa_10","template_ivacode_riscossa_10" | 4 | 20a,20a,l10n_it_chart_template_generic,Iva al 20% (debito),,0.2,,False,percent,2601,2601,sale,template_impcode_riscossa_20,template_ivacode_riscossa_20,template_impcode_riscossa_20,template_ivacode_riscossa_20,-1,-1,False,, |
647 | 5 | "10b","10b","l10n_it_chart_template_generic","Iva al 10% (credito)","0.1",,"False","percent","1601","1601","purchase","template_impcode_pagata_10","template_ivacode_pagata_10","template_impcode_pagata_10","template_ivacode_pagata_10" | 5 | 20b,20b,l10n_it_chart_template_generic,Iva al 20% (credito),,0.2,,False,percent,1601,1601,purchase,template_impcode_pagata_20,template_ivacode_pagata_20,template_impcode_pagata_20,template_ivacode_pagata_20,,,False,-1,-1 |
648 | 6 | "10AO","10AO","l10n_it_chart_template_generic","Iva al 10% indetraibile","1",,"True","percent",,,"purchase",,,, | 6 | 10a,10a,l10n_it_chart_template_generic,Iva al 10% (debito),,0.1,,False,percent,2601,2601,sale,template_impcode_riscossa_10,template_ivacode_riscossa_10,template_impcode_riscossa_10,template_ivacode_riscossa_10,-1,-1,False,, |
649 | 7 | "10AOa","10AOa","l10n_it_chart_template_generic","Iva al 10% indetraibile (1)","0","10AO","False","percent","1601","1601","purchase","template_impcode_pagata_10ind","template_ivacode_pagata_10ind","template_impcode_pagata_10ind","template_ivacode_pagata_10ind" | 7 | 10b,10b,l10n_it_chart_template_generic,Iva al 10% (credito),,0.1,,False,percent,1601,1601,purchase,template_impcode_pagata_10,template_ivacode_pagata_10,template_impcode_pagata_10,template_ivacode_pagata_10,,,False,-1,-1 |
650 | 8 | "10AOb","10AOb","l10n_it_chart_template_generic","Iva al 10% indetraibile (2)","0.1","10AO","False","percent",,,"purchase",,,, | 8 | 10AO,10AO,l10n_it_chart_template_generic,Iva al 10% indetraibile,,0.1,,True,percent,,,purchase,template_impcode_pagata_10ind,,template_impcode_pagata_10ind,,,,False,-1,-1 |
651 | 9 | "12a","12a","l10n_it_chart_template_generic","Iva 12% (debito)","0.12",,"False","percent","2601","2601","sale","template_impcode_riscossa_12","template_ivacode_riscossa_12","template_impcode_riscossa_12","template_ivacode_riscossa_12" | 9 | 10AOa,10AOa,l10n_it_chart_template_generic,Iva al 10% indetraibile (D),2,0,10AO,False,balance,1601,1601,purchase,,template_ivacode_pagata_10ind,,template_ivacode_pagata_10ind,,,False,, |
652 | 10 | "12b","12b","l10n_it_chart_template_generic","Iva 12% (credito)","0.12",,"False","percent","1601","1601","purchase","template_impcode_pagata_12","template_ivacode_pagata_12","template_impcode_pagata_12","template_ivacode_pagata_12" | 10 | 10AOb,10AOb,l10n_it_chart_template_generic,Iva al 10% indetraibile (I),1,1,10AO,False,percent,,,purchase,,,,,,,False,, |
653 | 11 | "2010","2010","l10n_it_chart_template_generic","Iva al 20% detraibile 10%","1",,"True","percent",,,"purchase",,,, | 11 | 12a,12a,l10n_it_chart_template_generic,Iva 12% (debito),,0.12,,False,percent,2601,2601,sale,template_impcode_riscossa_12,template_ivacode_riscossa_12,template_impcode_riscossa_12,template_ivacode_riscossa_12,-1,-1,False,, |
654 | 12 | "2010a","2010a","l10n_it_chart_template_generic","Iva al 20% detraibile 10% (1)","0.02","2010","False","percent","1601","1601","purchase","template_impcode_pagata_20det10","template_ivacode_pagata_20det10","template_impcode_pagata_20det10","template_ivacode_pagata_20det10" | 12 | 12b,12b,l10n_it_chart_template_generic,Iva 12% (credito),,0.12,,False,percent,1601,1601,purchase,template_impcode_pagata_12,template_ivacode_pagata_12,template_impcode_pagata_12,template_ivacode_pagata_12,,,False,-1,-1 |
655 | 13 | "2010b","2010b","l10n_it_chart_template_generic","Iva al 20% detraibile 10% (2)","0.18","2010","False","percent",,,"purchase",,,, | 13 | 2010,2010,l10n_it_chart_template_generic,Iva al 20% detraibile 10%,,0.2,,True,percent,,,purchase,template_impcode_pagata_20det10,,template_impcode_pagata_20det10,,,,False,-1,-1 |
656 | 14 | "2015","2015","l10n_it_chart_template_generic","Iva al 20% detraibile 15%","1",,"True","percent",,,"purchase",,,, | 14 | 2010a,2010a,l10n_it_chart_template_generic,Iva al 20% detraibile 10% (D),2,0,2010,False,balance,1601,1601,purchase,,template_ivacode_pagata_20det10,,template_ivacode_pagata_20det10,,,False,, |
657 | 15 | "2015a","2015a","l10n_it_chart_template_generic","Iva al 20% detraibile 15% (1)","0.03","2015","False","percent","1601","1601","purchase","template_impcode_pagata_20det15","template_ivacode_pagata_20det15","template_impcode_pagata_20det15","template_ivacode_pagata_20det15" | 15 | 2010b,2010b,l10n_it_chart_template_generic,Iva al 20% detraibile 10% (I),1,0.9,2010,False,percent,,,purchase,,,,,,,False,, |
658 | 16 | "2015b","2015b","l10n_it_chart_template_generic","Iva al 20% detraibile 15% (2)","0.17","2015","False","percent",,,"purchase",,,, | 16 | 2015,2015,l10n_it_chart_template_generic,Iva al 20% detraibile 15%,,0.2,,True,percent,,,purchase,template_impcode_pagata_20det15,,template_impcode_pagata_20det15,,,,False,-1,-1 |
659 | 17 | "2040","2040","l10n_it_chart_template_generic","Iva al 20% detraibile 40%","1",,"True","percent",,,"purchase",,,, | 17 | 2015a,2015a,l10n_it_chart_template_generic,Iva al 20% detraibile 15% (D),2,0,2015,False,balance,1601,1601,purchase,,template_ivacode_pagata_20det15,,template_ivacode_pagata_20det15,,,False,, |
660 | 18 | "2040a","2040a","l10n_it_chart_template_generic","Iva al 20% detraibile 40% (1)","0.08","2040","False","percent","1601","1601","purchase","template_impcode_pagata_20det40","template_ivacode_pagata_20det40","template_impcode_pagata_20det40","template_ivacode_pagata_20det40" | 18 | 2015b,2015b,l10n_it_chart_template_generic,Iva al 20% detraibile 15% (I),1,0.85,2015,False,percent,,,purchase,,,,,,,False,, |
661 | 19 | "2040b","2040b","l10n_it_chart_template_generic","Iva al 20% detraibile 40% (2)","0.12","2040","False","percent",,,"purchase",,,, | 19 | 2040,2040,l10n_it_chart_template_generic,Iva al 20% detraibile 40%,,0.2,,True,percent,,,purchase,template_impcode_pagata_20det40,,template_impcode_pagata_20det40,,,,False,-1,-1 |
662 | 20 | "20AO","20AO","l10n_it_chart_template_generic","Iva al 20% indetraibile","1",,"True","percent",,,"purchase",,,, | 20 | 2040a,2040a,l10n_it_chart_template_generic,Iva al 20% detraibile 40% (D),2,0,2040,False,balance,1601,1601,purchase,,template_ivacode_pagata_20det40,,template_ivacode_pagata_20det40,,,False,, |
663 | 21 | "20AOa","20AOa","l10n_it_chart_template_generic","Iva al 20% indetraibile (1)","0","20AO","False","percent","1601","1601","purchase","template_impcode_pagata_20ind","template_ivacode_pagata_20ind","template_impcode_pagata_20ind","template_ivacode_pagata_20ind" | 21 | 2040b,2040b,l10n_it_chart_template_generic,Iva al 20% detraibile 40% (I),1,0.6,2040,False,percent,,,purchase,,,,,,,False,, |
664 | 22 | "20AOb","20AOb","l10n_it_chart_template_generic","Iva al 20% indetraibile (2)","0.2","20AO","False","percent",,,"purchase",,,, | 22 | 20AO,20AO,l10n_it_chart_template_generic,Iva al 20% indetraibile,,0.2,,True,percent,,,purchase,template_impcode_pagata_20ind,,template_impcode_pagata_20ind,,,,False,-1,-1 |
665 | 23 | "20I5","20I5","l10n_it_chart_template_generic","IVA al 20% detraibile al 50%","1",,"True","percent",,,"purchase",,,, | 23 | 20AOa,20AOa,l10n_it_chart_template_generic,Iva al 20% indetraibile (D),2,0,20AO,False,balance,1601,1601,purchase,,template_ivacode_pagata_20ind,,template_ivacode_pagata_20ind,,,False,, |
666 | 24 | "20I5a","20I5a","l10n_it_chart_template_generic","IVA al 20% detraibile al 50% (1)","0.1","20I5","False","percent","1601","1601","purchase","template_impcode_pagata_20det50","template_ivacode_pagata_20det50","template_impcode_pagata_20det50","template_ivacode_pagata_20det50" | 24 | 20AOb,20AOb,l10n_it_chart_template_generic,Iva al 20% indetraibile (I),1,1,20AO,False,percent,,,purchase,,,,,,,False,, |
667 | 25 | "20I5b","20I5b","l10n_it_chart_template_generic","IVA al 20% detraibile al 50% (2)","0.1","20I5","False","percent",,,"purchase",,,, | 25 | 20I5,20I5,l10n_it_chart_template_generic,IVA al 20% detraibile al 50%,,0.2,,True,percent,,,purchase,template_impcode_pagata_20det50,,template_impcode_pagata_20det50,,,,False,-1,-1 |
668 | 26 | "22a","22a","l10n_it_chart_template_generic","Iva 2% (debito)","0.02",,"False","percent","2601","2601","sale","template_impcode_riscossa_2","template_ivacode_riscossa_2","template_impcode_riscossa_2","template_ivacode_riscossa_2" | 26 | 20I5b,20I5b,l10n_it_chart_template_generic,IVA al 20% detraibile al 50% (I),1,0.5,20I5,False,percent,,,purchase,,,,,,,False,, |
669 | 27 | "22b","22b","l10n_it_chart_template_generic","Iva 2% (credito)","0.02",,"False","percent","1601","1601","purchase","template_impcode_pagata_2","template_ivacode_pagata_2","template_impcode_pagata_2","template_ivacode_pagata_2" | 27 | 20I5a,20I5a,l10n_it_chart_template_generic,IVA al 20% detraibile al 50% (D),2,0,20I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_20det50,,template_ivacode_pagata_20det50,,,False,, |
670 | 28 | "4a","4a","l10n_it_chart_template_generic","Iva 4% (debito)","0.04",,"False","percent","2601","2601","sale","template_impcode_riscossa_4","template_ivacode_riscossa_4","template_impcode_riscossa_4","template_ivacode_riscossa_4" | 28 | 22a,22a,l10n_it_chart_template_generic,Iva 2% (debito),,0.02,,False,percent,2601,2601,sale,template_impcode_riscossa_2,template_ivacode_riscossa_2,template_impcode_riscossa_2,template_ivacode_riscossa_2,-1,-1,False,, |
671 | 29 | "4b","4b","l10n_it_chart_template_generic","Iva 4% (credito)","0.04",,"False","percent","1601","1601","purchase","template_impcode_pagata_4","template_ivacode_pagata_4","template_impcode_pagata_4","template_ivacode_pagata_4" | 29 | 22b,22b,l10n_it_chart_template_generic,Iva 2% (credito),,0.02,,False,percent,1601,1601,purchase,template_impcode_pagata_2,template_ivacode_pagata_2,template_impcode_pagata_2,template_ivacode_pagata_2,,,False,-1,-1 |
672 | 30 | "4AO","4AO","l10n_it_chart_template_generic","Iva al 4% indetraibile","1",,"True","percent",,,"purchase",,,, | 30 | 4a,4a,l10n_it_chart_template_generic,Iva 4% (debito),,0.04,,False,percent,2601,2601,sale,template_impcode_riscossa_4,template_ivacode_riscossa_4,template_impcode_riscossa_4,template_ivacode_riscossa_4,-1,-1,False,, |
673 | 31 | "4AOa","4AOa","l10n_it_chart_template_generic","Iva al 4% indetraibile (1)","0","4AO","False","percent","1601","1601","purchase","template_impcode_pagata_4ind","template_ivacode_pagata_4ind","template_impcode_pagata_4ind","template_ivacode_pagata_4ind" | 31 | 4b,4b,l10n_it_chart_template_generic,Iva 4% (credito),,0.04,,False,percent,1601,1601,purchase,template_impcode_pagata_4,template_ivacode_pagata_4,template_impcode_pagata_4,template_ivacode_pagata_4,,,False,-1,-1 |
674 | 32 | "4AOb","4AOb","l10n_it_chart_template_generic","Iva al 4% indetraibile (2)","0.04","4AO","False","percent",,,"purchase",,,, | 32 | 4AO,4AO,l10n_it_chart_template_generic,Iva al 4% indetraibile,,0.04,,True,percent,,,purchase,template_impcode_pagata_4ind,,template_impcode_pagata_4ind,,,,False,-1,-1 |
675 | 33 | "10I5","10I5","l10n_it_chart_template_generic","IVA al 10% detraibile al 50%","1",,"True","percent",,,"purchase",,,, | 33 | 4AOa,4AOa,l10n_it_chart_template_generic,Iva al 4% indetraibile (D),2,0,4AO,False,balance,1601,1601,purchase,,template_ivacode_pagata_4ind,,template_ivacode_pagata_4ind,,,False,, |
676 | 34 | "10I5a","10I5a","l10n_it_chart_template_generic","IVA al 10% detraibile al 50% (1)","0.05","10I5","False","percent","1601","1601","purchase","template_impcode_pagata_10det50","template_ivacode_pagata_10det50","template_impcode_pagata_10det50","template_ivacode_pagata_10det50" | 34 | 4AOb,4AOb,l10n_it_chart_template_generic,Iva al 4% indetraibile (I),1,1,4AO,False,percent,,,purchase,,,,,,,False,, |
677 | 35 | "10I5b","10I5b","l10n_it_chart_template_generic","IVA al 10% detraibile al 50% (2)","0.05","10I5","False","percent",,,"purchase",,,, | 35 | 10I5,10I5,l10n_it_chart_template_generic,IVA al 10% detraibile al 50%,,0.1,,True,percent,,,purchase,template_impcode_pagata_10det50,,template_impcode_pagata_10det50,,,,False,-1,-1 |
678 | 36 | "4I5","4I5","l10n_it_chart_template_generic","IVA al 4% detraibile al 50%","1",,"True","percent",,,"purchase",,,, | 36 | 10I5a,10I5a,l10n_it_chart_template_generic,IVA al 10% detraibile al 50% (D),2,0,10I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_10det50,,template_ivacode_pagata_10det50,,,False,, |
679 | 37 | "4I5a","4I5a","l10n_it_chart_template_generic","IVA al 4% detraibile al 50% (1)","0.02","4I5","False","percent","1601","1601","purchase","template_impcode_pagata_4det50","template_ivacode_pagata_4det50","template_impcode_pagata_4det50","template_ivacode_pagata_4det50" | 37 | 10I5b,10I5b,l10n_it_chart_template_generic,IVA al 10% detraibile al 50% (I),1,0.5,10I5,False,percent,,,purchase,,,,,,,False,, |
680 | 38 | "4I5b","4I5b","l10n_it_chart_template_generic","IVA al 4% detraibile al 50% (2)","0.02","4I5","False","percent",,,"purchase",,,, | 38 | 4I5,4I5,l10n_it_chart_template_generic,IVA al 4% detraibile al 50%,,0.04,,True,percent,,,purchase,template_impcode_pagata_4det50,,template_impcode_pagata_4det50,,,,False,-1,-1 |
681 | 39 | "00a","00a","l10n_it_chart_template_generic","Esente IVA (debito)","0",,"False","percent","2601","2601","sale","template_impcode_riscossa_0","template_ivacode_riscossa_0","template_impcode_riscossa_0","template_ivacode_riscossa_0" | 39 | 4I5a,4I5a,l10n_it_chart_template_generic,IVA al 4% detraibile al 50% (D),2,0,4I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_4det50,,template_ivacode_pagata_4det50,,,False,, |
682 | 40 | "00b","00b","l10n_it_chart_template_generic","Esente IVA (credito)","0",,"False","percent","1601","1601","purchase","template_impcode_pagata_0","template_ivacode_pagata_0","template_impcode_pagata_0","template_ivacode_pagata_0" | 40 | 4I5b,4I5b,l10n_it_chart_template_generic,IVA al 4% detraibile al 50% (I),1,0.5,4I5,False,percent,,,purchase,,,,,,,False,, |
683 | 41 | 00a,00a,l10n_it_chart_template_generic,Esente IVA (debito),,0,,False,percent,2601,2601,sale,template_impcode_riscossa_0,template_ivacode_riscossa_0,template_impcode_riscossa_0,template_ivacode_riscossa_0,-1,-1,False,, | ||
684 | 42 | 00b,00b,l10n_it_chart_template_generic,Esente IVA (credito),,0,,False,percent,1601,1601,purchase,template_impcode_pagata_0,template_ivacode_pagata_0,template_impcode_pagata_0,template_ivacode_pagata_0,,,False,-1,-1 | ||
685 | 43 | 21a INC,21a INC,l10n_it_chart_template_generic,Iva al 21% (debito) INC,,0.21,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,-1,-1,True,, | ||
686 | 44 | 20a INC,20a INC,l10n_it_chart_template_generic,Iva al 20% (debito) INC,,0.2,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_20,l10n_it.template_ivacode_riscossa_20,l10n_it.template_impcode_riscossa_20,l10n_it.template_ivacode_riscossa_20,-1,-1,True,, | ||
687 | 45 | 10a INC,10a INC,l10n_it_chart_template_generic,Iva al 10% (debito) INC,,0.1,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_10,l10n_it.template_ivacode_riscossa_10,l10n_it.template_impcode_riscossa_10,l10n_it.template_ivacode_riscossa_10,-1,-1,True,, | ||
688 | 46 | 12a INC,12a INC,l10n_it_chart_template_generic,Iva 12% (debito) INC,,0.12,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_12,l10n_it.template_ivacode_riscossa_12,l10n_it.template_impcode_riscossa_12,l10n_it.template_ivacode_riscossa_12,-1,-1,True,, | ||
689 | 47 | 22a INC,22a INC,l10n_it_chart_template_generic,Iva 2% (debito) INC,,0.02,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,-1,-1,True,, | ||
690 | 48 | 4a INC,4a INC,l10n_it_chart_template_generic,Iva 4% (debito) INC,,0.04,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_4,l10n_it.template_ivacode_riscossa_4,l10n_it.template_impcode_riscossa_4,l10n_it.template_ivacode_riscossa_4,-1,-1,True,, | ||
691 | 49 | 00a INC,00a INC,l10n_it_chart_template_generic,Esente IVA (debito) INC,,0,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_0,l10n_it.template_ivacode_riscossa_0,l10n_it.template_impcode_riscossa_0,l10n_it.template_ivacode_riscossa_0,-1,-1,True,, | ||
692 | 50 | 2110,2110,l10n_it_chart_template_generic,Iva al 21% detraibile 10%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det10,,template_impcode_pagata_21det10,,,,False,-1,-1 | ||
693 | 51 | 2110a,2110a,l10n_it_chart_template_generic,Iva al 21% detraibile 10% (D),2,0,2110,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det10,,template_ivacode_pagata_21det10,,,False,, | ||
694 | 52 | 2110b,2110b,l10n_it_chart_template_generic,Iva al 21% detraibile 10% (I),1,0.9,2110,False,percent,,,purchase,,,,,,,False,, | ||
695 | 53 | 2115,2115,l10n_it_chart_template_generic,Iva al 21% detraibile 15%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det15,,template_impcode_pagata_21det15,,,,False,-1,-1 | ||
696 | 54 | 2115a,2115a,l10n_it_chart_template_generic,Iva al 21% detraibile 15% (D),2,0,2115,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det15,,template_ivacode_pagata_21det15,,,False,, | ||
697 | 55 | 2115b,2115b,l10n_it_chart_template_generic,Iva al 21% detraibile 15% (I),1,0.85,2115,False,percent,,,purchase,,,,,,,False,, | ||
698 | 56 | 2140,2140,l10n_it_chart_template_generic,Iva al 21% detraibile 40%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det40,,template_impcode_pagata_21det40,,,,False,-1,-1 | ||
699 | 57 | 2140a,2140a,l10n_it_chart_template_generic,Iva al 21% detraibile 40% (D),2,0,2140,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det40,,template_ivacode_pagata_21det40,,,False,, | ||
700 | 58 | 2140b,2140b,l10n_it_chart_template_generic,Iva al 21% detraibile 40% (I),1,0.6,2140,False,percent,,,purchase,,,,,,,False,, | ||
701 | 59 | 21AO,21AO,l10n_it_chart_template_generic,Iva al 21% indetraibile,,0.21,,True,percent,,,purchase,template_impcode_pagata_21ind,,template_impcode_pagata_21ind,,,,False,-1,-1 | ||
702 | 60 | 21AOa,21AOa,l10n_it_chart_template_generic,Iva al 21% indetraibile (D),2,0,21AO,False,balance,1601,1601,purchase,,template_ivacode_pagata_21ind,,template_ivacode_pagata_21ind,,,False,, | ||
703 | 61 | 21AOb,21AOb,l10n_it_chart_template_generic,Iva al 21% indetraibile (I),1,1,21AO,False,percent,,,purchase,,,,,,,False,, | ||
704 | 62 | 21I5,21I5,l10n_it_chart_template_generic,IVA al 21% detraibile al 50%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det50,,template_impcode_pagata_21det50,,,,False,-1,-1 | ||
705 | 63 | 21I5b,21I5b,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (I),1,0.5,21I5,False,percent,,,purchase,,,,,,,False,, | ||
706 | 64 | 21I5a,21I5a,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (D),2,0,21I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det50,,template_ivacode_pagata_21det50,,,False,, | ||
707 | 41 | 65 | ||
708 | === modified file 'l10n_it/i18n/it.po' | |||
709 | --- l10n_it/i18n/it.po 2011-11-09 18:12:56 +0000 | |||
710 | +++ l10n_it/i18n/it.po 2011-11-23 14:06:29 +0000 | |||
711 | @@ -1,167 +1,28 @@ | |||
716 | 1 | # Italian translation for openobject-addons | 1 | # Translation of OpenERP Server. |
717 | 2 | # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 | 2 | # This file contains the translation of the following modules: |
718 | 3 | # This file is distributed under the same license as the openobject-addons package. | 3 | # * l10n_it |
715 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | ||
719 | 5 | # | 4 | # |
720 | 6 | msgid "" | 5 | msgid "" |
721 | 7 | msgstr "" | 6 | msgstr "" |
728 | 8 | "Project-Id-Version: openobject-addons\n" | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" |
729 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
730 | 10 | "POT-Creation-Date: 2011-01-07 06:04+0000\n" | 9 | "POT-Creation-Date: 2011-08-11 20:06+0000\n" |
731 | 11 | "PO-Revision-Date: 2011-02-15 15:37+0000\n" | 10 | "PO-Revision-Date: 2011-08-11 20:06+0000\n" |
732 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 11 | "Last-Translator: <>\n" |
733 | 13 | "Language-Team: Italian <it@li.org>\n" | 12 | "Language-Team: \n" |
734 | 14 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
735 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
828 | 16 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: \n" |
829 | 17 | "X-Launchpad-Export-Date: 2011-11-05 05:57+0000\n" | 16 | "Plural-Forms: \n" |
738 | 18 | "X-Generator: Launchpad (build 14231)\n" | ||
739 | 19 | |||
740 | 20 | #. module: l10n_it | ||
741 | 21 | #: model:ir.actions.report.xml,name:l10n_it.account_ita_libroIVA_debit | ||
742 | 22 | msgid "Registro acquisti" | ||
743 | 23 | msgstr "Registro acquisti" | ||
744 | 24 | |||
745 | 25 | #. module: l10n_it | ||
746 | 26 | #: model:ir.actions.todo,note:l10n_it.config_call_account_template_generic | ||
747 | 27 | msgid "" | ||
748 | 28 | "Generate Chart of Accounts from a Chart Template. You will be asked to pass " | ||
749 | 29 | "the name of the company, the chart template to follow, the no. of digits to " | ||
750 | 30 | "generate the code for your accounts and Bank account, currency to create " | ||
751 | 31 | "Journals. Thus,the pure copy of chart Template is generated.\n" | ||
752 | 32 | "\tThis is the same wizard that runs from Financial " | ||
753 | 33 | "Management/Configuration/Financial Accounting/Financial Accounts/Generate " | ||
754 | 34 | "Chart of Accounts from a Chart Template." | ||
755 | 35 | msgstr "" | ||
756 | 36 | "Genera il Piano dei Conti da un Modello. Vi verrà richiesto di passare il " | ||
757 | 37 | "nome dell'azienda, il modello da seguire, il numero di decimali per generare " | ||
758 | 38 | "il codice dei tuoi conti e, per il conto della Banca, la valuta per creare " | ||
759 | 39 | "il Libro Giornale. Così una copia vergine del Piano dei Conti, derivatante " | ||
760 | 40 | "dal modello, viene generata.\n" | ||
761 | 41 | "\tQuesto è la stessa procedura automatica che viene lanciata da: Gestione " | ||
762 | 42 | "Finanziaria / Configurazione / Contabilità / Conti finanziari / Genera il " | ||
763 | 43 | "Piano dei conti da un modello." | ||
764 | 44 | |||
765 | 45 | #. module: l10n_it | ||
766 | 46 | #: view:account.report_libroiva:0 | ||
767 | 47 | msgid "Anno Fiscale" | ||
768 | 48 | msgstr "Anno Fiscale" | ||
769 | 49 | |||
770 | 50 | #. module: l10n_it | ||
771 | 51 | #: model:account.fiscal.position.template,name:l10n_it.it | ||
772 | 52 | msgid "Italia" | ||
773 | 53 | msgstr "Italia" | ||
774 | 54 | |||
775 | 55 | #. module: l10n_it | ||
776 | 56 | #: report:l10n_it.report.libroIVA_credito:0 | ||
777 | 57 | #: report:l10n_it.report.libroIVA_debito:0 | ||
778 | 58 | msgid "REGISTRO IVA" | ||
779 | 59 | msgstr "REGISTRO IVA" | ||
780 | 60 | |||
781 | 61 | #. module: l10n_it | ||
782 | 62 | #: report:l10n_it.report.libroIVA_credito:0 | ||
783 | 63 | #: report:l10n_it.report.libroIVA_debito:0 | ||
784 | 64 | msgid "Protocollo" | ||
785 | 65 | msgstr "Protocollo" | ||
786 | 66 | |||
787 | 67 | #. module: l10n_it | ||
788 | 68 | #: model:account.fiscal.position.template,name:l10n_it.extra | ||
789 | 69 | msgid "Regime Extra comunitario" | ||
790 | 70 | msgstr "Regime Extra comunitario" | ||
791 | 71 | |||
792 | 72 | #. module: l10n_it | ||
793 | 73 | #: report:l10n_it.report.libroIVA_credito:0 | ||
794 | 74 | msgid "VENDITE" | ||
795 | 75 | msgstr "VENDITE" | ||
796 | 76 | |||
797 | 77 | #. module: l10n_it | ||
798 | 78 | #: report:l10n_it.report.libroIVA_credito:0 | ||
799 | 79 | #: report:l10n_it.report.libroIVA_debito:0 | ||
800 | 80 | msgid "Aliquota" | ||
801 | 81 | msgstr "Aliquota" | ||
802 | 82 | |||
803 | 83 | #. module: l10n_it | ||
804 | 84 | #: field:account.report_libroiva,company_id:0 | ||
805 | 85 | msgid "Company" | ||
806 | 86 | msgstr "Azienda" | ||
807 | 87 | |||
808 | 88 | #. module: l10n_it | ||
809 | 89 | #: field:account.report_libroiva,name:0 | ||
810 | 90 | msgid "Fiscal year" | ||
811 | 91 | msgstr "Anno fiscale" | ||
812 | 92 | |||
813 | 93 | #. module: l10n_it | ||
814 | 94 | #: report:l10n_it.report.libroIVA_credito:0 | ||
815 | 95 | #: report:l10n_it.report.libroIVA_debito:0 | ||
816 | 96 | msgid "Numero" | ||
817 | 97 | msgstr "Numero" | ||
818 | 98 | |||
819 | 99 | #. module: l10n_it | ||
820 | 100 | #: report:l10n_it.report.libroIVA_debito:0 | ||
821 | 101 | msgid "Fornitore" | ||
822 | 102 | msgstr "Fornitore" | ||
823 | 103 | |||
824 | 104 | #. module: l10n_it | ||
825 | 105 | #: report:l10n_it.report.libroIVA_debito:0 | ||
826 | 106 | msgid "ACQUISTI" | ||
827 | 107 | msgstr "ACQUISTI" | ||
830 | 108 | 17 | ||
831 | 109 | #. module: l10n_it | 18 | #. module: l10n_it |
832 | 110 | #: model:ir.module.module,description:l10n_it.module_meta_information | 19 | #: model:ir.module.module,description:l10n_it.module_meta_information |
887 | 111 | msgid "" | 20 | msgid "\n" |
888 | 112 | "\n" | 21 | " Piano dei conti italiano di un'impresa generica\n" |
889 | 113 | " Piano dei conti italiano di un'impresa generica\n" | 22 | " " |
890 | 114 | " " | 23 | msgstr "\n" |
891 | 115 | msgstr "" | 24 | " Piano dei conti italiano di un'impresa generica\n" |
892 | 116 | "\n" | 25 | " " |
839 | 117 | " Piano dei conti italiano di un'impresa generica\n" | ||
840 | 118 | " " | ||
841 | 119 | |||
842 | 120 | #. module: l10n_it | ||
843 | 121 | #: report:l10n_it.report.libroIVA_credito:0 | ||
844 | 122 | msgid "Cliente" | ||
845 | 123 | msgstr "Cliente" | ||
846 | 124 | |||
847 | 125 | #. module: l10n_it | ||
848 | 126 | #: model:ir.actions.report.xml,name:l10n_it.account_ita_libroIVA_credit | ||
849 | 127 | msgid "Registro vendite" | ||
850 | 128 | msgstr "Registro vendite" | ||
851 | 129 | |||
852 | 130 | #. module: l10n_it | ||
853 | 131 | #: report:l10n_it.report.libroIVA_credito:0 | ||
854 | 132 | #: report:l10n_it.report.libroIVA_debito:0 | ||
855 | 133 | msgid "Periodo" | ||
856 | 134 | msgstr "Periodo" | ||
857 | 135 | |||
858 | 136 | #. module: l10n_it | ||
859 | 137 | #: view:account.report_libroiva:0 | ||
860 | 138 | #: model:ir.actions.act_window,name:l10n_it.l10n_chart_it_report_libroIVA_action | ||
861 | 139 | #: model:ir.ui.menu,name:l10n_it.menu_report_l10n_chart_it_libroIVA | ||
862 | 140 | msgid "Registri IVA" | ||
863 | 141 | msgstr "Registri IVA" | ||
864 | 142 | |||
865 | 143 | #. module: l10n_it | ||
866 | 144 | #: report:l10n_it.report.libroIVA_credito:0 | ||
867 | 145 | #: report:l10n_it.report.libroIVA_debito:0 | ||
868 | 146 | msgid "Imposta" | ||
869 | 147 | msgstr "Imposta" | ||
870 | 148 | |||
871 | 149 | #. module: l10n_it | ||
872 | 150 | #: model:account.fiscal.position.template,name:l10n_it.intra | ||
873 | 151 | msgid "Regime Intra comunitario" | ||
874 | 152 | msgstr "Regime Intra comunitario" | ||
875 | 153 | |||
876 | 154 | #. module: l10n_it | ||
877 | 155 | #: report:l10n_it.report.libroIVA_credito:0 | ||
878 | 156 | #: report:l10n_it.report.libroIVA_debito:0 | ||
879 | 157 | msgid "Data fattura" | ||
880 | 158 | msgstr "Data fattura" | ||
881 | 159 | |||
882 | 160 | #. module: l10n_it | ||
883 | 161 | #: report:l10n_it.report.libroIVA_credito:0 | ||
884 | 162 | #: report:l10n_it.report.libroIVA_debito:0 | ||
885 | 163 | msgid "Imponibile" | ||
886 | 164 | msgstr "Imponibile" | ||
893 | 165 | 26 | ||
894 | 166 | #. module: l10n_it | 27 | #. module: l10n_it |
895 | 167 | #: model:ir.module.module,shortdesc:l10n_it.module_meta_information | 28 | #: model:ir.module.module,shortdesc:l10n_it.module_meta_information |
896 | @@ -169,6 +30,14 @@ | |||
897 | 169 | msgstr "Italia - Piano dei conti generico" | 30 | msgstr "Italia - Piano dei conti generico" |
898 | 170 | 31 | ||
899 | 171 | #. module: l10n_it | 32 | #. module: l10n_it |
903 | 172 | #: model:ir.model,name:l10n_it.model_account_report_libroiva | 33 | #: model:ir.actions.todo,note:l10n_it.config_call_account_template_generic |
904 | 173 | msgid "SQL view for libro IVA" | 34 | msgid "Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.\n" |
905 | 174 | msgstr "Vista SQL per registro IVA" | 35 | " This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template." |
906 | 36 | msgstr "Genera il piano dei conti da un template. Verrà chiesto di indicare il nome dell'azienda, il piano dei conti da seguire, il numero di cifre per generare il codice dei conti, la valuta per creare i sezionali. Quindi, una semplice copia del template verrà generata.\n" | ||
907 | 37 | " Questo è lo stesso wizard che viene eseguito da Contabilità/Configurazione/Contabilità Generale/Assetto finanziario della nuova azienda" | ||
908 | 38 | |||
909 | 39 | #. module: l10n_it | ||
910 | 40 | #: model:ir.model,name:l10n_it.model_account_tax | ||
911 | 41 | msgid "account.tax" | ||
912 | 42 | msgstr "account.tax" | ||
913 | 43 | |||
914 | 175 | 44 | ||
915 | === modified file 'l10n_it/i18n/l10n_it.pot' | |||
916 | --- l10n_it/i18n/l10n_it.pot 2011-01-07 07:09:43 +0000 | |||
917 | +++ l10n_it/i18n/l10n_it.pot 2011-11-23 14:06:29 +0000 | |||
918 | @@ -4,10 +4,10 @@ | |||
919 | 4 | # | 4 | # |
920 | 5 | msgid "" | 5 | msgid "" |
921 | 6 | msgstr "" | 6 | msgstr "" |
923 | 7 | "Project-Id-Version: OpenERP Server 6.0.0-rc2\n" | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" |
924 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
927 | 9 | "POT-Creation-Date: 2011-01-07 06:04:30+0000\n" | 9 | "POT-Creation-Date: 2011-08-11 20:06+0000\n" |
928 | 10 | "PO-Revision-Date: 2011-01-07 06:04:30+0000\n" | 10 | "PO-Revision-Date: 2011-08-11 20:06+0000\n" |
929 | 11 | "Last-Translator: <>\n" | 11 | "Last-Translator: <>\n" |
930 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
931 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
932 | @@ -16,81 +16,6 @@ | |||
933 | 16 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
934 | 17 | 17 | ||
935 | 18 | #. module: l10n_it | 18 | #. module: l10n_it |
936 | 19 | #: model:ir.actions.report.xml,name:l10n_it.account_ita_libroIVA_debit | ||
937 | 20 | msgid "Registro acquisti" | ||
938 | 21 | msgstr "" | ||
939 | 22 | |||
940 | 23 | #. module: l10n_it | ||
941 | 24 | #: model:ir.actions.todo,note:l10n_it.config_call_account_template_generic | ||
942 | 25 | msgid "Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.\n" | ||
943 | 26 | " This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template." | ||
944 | 27 | msgstr "" | ||
945 | 28 | |||
946 | 29 | #. module: l10n_it | ||
947 | 30 | #: view:account.report_libroiva:0 | ||
948 | 31 | msgid "Anno Fiscale" | ||
949 | 32 | msgstr "" | ||
950 | 33 | |||
951 | 34 | #. module: l10n_it | ||
952 | 35 | #: model:account.fiscal.position.template,name:l10n_it.it | ||
953 | 36 | msgid "Italia" | ||
954 | 37 | msgstr "" | ||
955 | 38 | |||
956 | 39 | #. module: l10n_it | ||
957 | 40 | #: report:l10n_it.report.libroIVA_credito:0 | ||
958 | 41 | #: report:l10n_it.report.libroIVA_debito:0 | ||
959 | 42 | msgid "REGISTRO IVA" | ||
960 | 43 | msgstr "" | ||
961 | 44 | |||
962 | 45 | #. module: l10n_it | ||
963 | 46 | #: report:l10n_it.report.libroIVA_credito:0 | ||
964 | 47 | #: report:l10n_it.report.libroIVA_debito:0 | ||
965 | 48 | msgid "Protocollo" | ||
966 | 49 | msgstr "" | ||
967 | 50 | |||
968 | 51 | #. module: l10n_it | ||
969 | 52 | #: model:account.fiscal.position.template,name:l10n_it.extra | ||
970 | 53 | msgid "Regime Extra comunitario" | ||
971 | 54 | msgstr "" | ||
972 | 55 | |||
973 | 56 | #. module: l10n_it | ||
974 | 57 | #: report:l10n_it.report.libroIVA_credito:0 | ||
975 | 58 | msgid "VENDITE" | ||
976 | 59 | msgstr "" | ||
977 | 60 | |||
978 | 61 | #. module: l10n_it | ||
979 | 62 | #: report:l10n_it.report.libroIVA_credito:0 | ||
980 | 63 | #: report:l10n_it.report.libroIVA_debito:0 | ||
981 | 64 | msgid "Aliquota" | ||
982 | 65 | msgstr "" | ||
983 | 66 | |||
984 | 67 | #. module: l10n_it | ||
985 | 68 | #: field:account.report_libroiva,company_id:0 | ||
986 | 69 | msgid "Company" | ||
987 | 70 | msgstr "" | ||
988 | 71 | |||
989 | 72 | #. module: l10n_it | ||
990 | 73 | #: field:account.report_libroiva,name:0 | ||
991 | 74 | msgid "Fiscal year" | ||
992 | 75 | msgstr "" | ||
993 | 76 | |||
994 | 77 | #. module: l10n_it | ||
995 | 78 | #: report:l10n_it.report.libroIVA_credito:0 | ||
996 | 79 | #: report:l10n_it.report.libroIVA_debito:0 | ||
997 | 80 | msgid "Numero" | ||
998 | 81 | msgstr "" | ||
999 | 82 | |||
1000 | 83 | #. module: l10n_it | ||
1001 | 84 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1002 | 85 | msgid "Fornitore" | ||
1003 | 86 | msgstr "" | ||
1004 | 87 | |||
1005 | 88 | #. module: l10n_it | ||
1006 | 89 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1007 | 90 | msgid "ACQUISTI" | ||
1008 | 91 | msgstr "" | ||
1009 | 92 | |||
1010 | 93 | #. module: l10n_it | ||
1011 | 94 | #: model:ir.module.module,description:l10n_it.module_meta_information | 19 | #: model:ir.module.module,description:l10n_it.module_meta_information |
1012 | 95 | msgid "\n" | 20 | msgid "\n" |
1013 | 96 | " Piano dei conti italiano di un'impresa generica\n" | 21 | " Piano dei conti italiano di un'impresa generica\n" |
1014 | @@ -98,58 +23,18 @@ | |||
1015 | 98 | msgstr "" | 23 | msgstr "" |
1016 | 99 | 24 | ||
1017 | 100 | #. module: l10n_it | 25 | #. module: l10n_it |
1018 | 101 | #: report:l10n_it.report.libroIVA_credito:0 | ||
1019 | 102 | msgid "Cliente" | ||
1020 | 103 | msgstr "" | ||
1021 | 104 | |||
1022 | 105 | #. module: l10n_it | ||
1023 | 106 | #: model:ir.actions.report.xml,name:l10n_it.account_ita_libroIVA_credit | ||
1024 | 107 | msgid "Registro vendite" | ||
1025 | 108 | msgstr "" | ||
1026 | 109 | |||
1027 | 110 | #. module: l10n_it | ||
1028 | 111 | #: report:l10n_it.report.libroIVA_credito:0 | ||
1029 | 112 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1030 | 113 | msgid "Periodo" | ||
1031 | 114 | msgstr "" | ||
1032 | 115 | |||
1033 | 116 | #. module: l10n_it | ||
1034 | 117 | #: view:account.report_libroiva:0 | ||
1035 | 118 | #: model:ir.actions.act_window,name:l10n_it.l10n_chart_it_report_libroIVA_action | ||
1036 | 119 | #: model:ir.ui.menu,name:l10n_it.menu_report_l10n_chart_it_libroIVA | ||
1037 | 120 | msgid "Registri IVA" | ||
1038 | 121 | msgstr "" | ||
1039 | 122 | |||
1040 | 123 | #. module: l10n_it | ||
1041 | 124 | #: report:l10n_it.report.libroIVA_credito:0 | ||
1042 | 125 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1043 | 126 | msgid "Imposta" | ||
1044 | 127 | msgstr "" | ||
1045 | 128 | |||
1046 | 129 | #. module: l10n_it | ||
1047 | 130 | #: model:account.fiscal.position.template,name:l10n_it.intra | ||
1048 | 131 | msgid "Regime Intra comunitario" | ||
1049 | 132 | msgstr "" | ||
1050 | 133 | |||
1051 | 134 | #. module: l10n_it | ||
1052 | 135 | #: report:l10n_it.report.libroIVA_credito:0 | ||
1053 | 136 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1054 | 137 | msgid "Data fattura" | ||
1055 | 138 | msgstr "" | ||
1056 | 139 | |||
1057 | 140 | #. module: l10n_it | ||
1058 | 141 | #: report:l10n_it.report.libroIVA_credito:0 | ||
1059 | 142 | #: report:l10n_it.report.libroIVA_debito:0 | ||
1060 | 143 | msgid "Imponibile" | ||
1061 | 144 | msgstr "" | ||
1062 | 145 | |||
1063 | 146 | #. module: l10n_it | ||
1064 | 147 | #: model:ir.module.module,shortdesc:l10n_it.module_meta_information | 26 | #: model:ir.module.module,shortdesc:l10n_it.module_meta_information |
1065 | 148 | msgid "Italy - Generic Chart of Accounts" | 27 | msgid "Italy - Generic Chart of Accounts" |
1066 | 149 | msgstr "" | 28 | msgstr "" |
1067 | 150 | 29 | ||
1068 | 151 | #. module: l10n_it | 30 | #. module: l10n_it |
1071 | 152 | #: model:ir.model,name:l10n_it.model_account_report_libroiva | 31 | #: model:ir.actions.todo,note:l10n_it.config_call_account_template_generic |
1072 | 153 | msgid "SQL view for libro IVA" | 32 | msgid "Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.\n" |
1073 | 33 | " This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template." | ||
1074 | 34 | msgstr "" | ||
1075 | 35 | |||
1076 | 36 | #. module: l10n_it | ||
1077 | 37 | #: model:ir.model,name:l10n_it.model_account_tax | ||
1078 | 38 | msgid "account.tax" | ||
1079 | 154 | msgstr "" | 39 | msgstr "" |
1080 | 155 | 40 | ||
1081 | 156 | 41 | ||
1082 | === removed file 'l10n_it/libroIVA.py' | |||
1083 | --- l10n_it/libroIVA.py 2011-01-14 00:11:01 +0000 | |||
1084 | +++ l10n_it/libroIVA.py 1970-01-01 00:00:00 +0000 | |||
1085 | @@ -1,54 +0,0 @@ | |||
1086 | 1 | # -*- encoding: utf-8 -*- | ||
1087 | 2 | ############################################################################## | ||
1088 | 3 | # | ||
1089 | 4 | # OpenERP, Open Source Management Solution | ||
1090 | 5 | # Copyright (C) 2010 | ||
1091 | 6 | # Italian OpenERP Community (<http://www.openerp-italia.com>) | ||
1092 | 7 | # Servabit srl | ||
1093 | 8 | # Agile Business Group sagl | ||
1094 | 9 | # Domsense srl | ||
1095 | 10 | # | ||
1096 | 11 | # This program is free software: you can redistribute it and/or modify | ||
1097 | 12 | # it under the terms of the GNU Affero General Public License as | ||
1098 | 13 | # published by the Free Software Foundation, either version 3 of the | ||
1099 | 14 | # License, or (at your option) any later version. | ||
1100 | 15 | # | ||
1101 | 16 | # This program is distributed in the hope that it will be useful, | ||
1102 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1103 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1104 | 19 | # GNU Affero General Public License for more details. | ||
1105 | 20 | # | ||
1106 | 21 | # You should have received a copy of the GNU Affero General Public License | ||
1107 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1108 | 23 | # | ||
1109 | 24 | ############################################################################## | ||
1110 | 25 | |||
1111 | 26 | |||
1112 | 27 | # ################################################################################## | ||
1113 | 28 | # Questa vista SQL viene usata solo per far scegliere l'anno di pianificazione all'utente | ||
1114 | 29 | # Viene infatti costruita una vista XML di tipo tree che contiene solo i diversi anni per i quali stata fatta almeno una pianificazione | ||
1115 | 30 | # ################################################################################## | ||
1116 | 31 | |||
1117 | 32 | from osv import fields, osv | ||
1118 | 33 | |||
1119 | 34 | class l10n_chart_it_report_libroIVA (osv.osv): | ||
1120 | 35 | _name = "account.report_libroiva" | ||
1121 | 36 | _description = "SQL view for libro IVA" | ||
1122 | 37 | _auto = False | ||
1123 | 38 | _rec_name = "name" | ||
1124 | 39 | #_order = "fiscal_year"; | ||
1125 | 40 | |||
1126 | 41 | _columns = { | ||
1127 | 42 | 'name': fields.char('Fiscal year',size=64), | ||
1128 | 43 | 'company_id': fields.many2one('res.company', 'Company'), | ||
1129 | 44 | } | ||
1130 | 45 | |||
1131 | 46 | def init (self, cr) : | ||
1132 | 47 | cr.execute("""DROP VIEW IF EXISTS account_report_libroiva""") | ||
1133 | 48 | cr.execute(""" | ||
1134 | 49 | CREATE VIEW account_report_libroiva AS ( | ||
1135 | 50 | SELECT id, name, company_id FROM account_fiscalyear | ||
1136 | 51 | )""") | ||
1137 | 52 | l10n_chart_it_report_libroIVA() | ||
1138 | 53 | |||
1139 | 54 | |||
1140 | 55 | 0 | ||
1141 | === removed file 'l10n_it/libroIVA_menu.xml' | |||
1142 | --- l10n_it/libroIVA_menu.xml 2011-01-14 00:11:01 +0000 | |||
1143 | +++ l10n_it/libroIVA_menu.xml 1970-01-01 00:00:00 +0000 | |||
1144 | @@ -1,16 +0,0 @@ | |||
1145 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
1146 | 2 | <!DOCTYPE terp SYSTEM "openerp-view.dtd"> | ||
1147 | 3 | <openerp> | ||
1148 | 4 | <data> | ||
1149 | 5 | |||
1150 | 6 | <!-- **************************** | ||
1151 | 7 | MENU REPORT LIBRI IVA | ||
1152 | 8 | **************************** --> | ||
1153 | 9 | <menuitem name="Registri IVA" | ||
1154 | 10 | id="menu_report_l10n_chart_it_libroIVA" | ||
1155 | 11 | sequence="20" | ||
1156 | 12 | parent="account.menu_finance_reporting" | ||
1157 | 13 | action="l10n_chart_it_report_libroIVA_action" | ||
1158 | 14 | /> | ||
1159 | 15 | </data> | ||
1160 | 16 | </openerp> | ||
1161 | 17 | 0 | ||
1162 | === removed file 'l10n_it/libroIVA_view.xml' | |||
1163 | --- l10n_it/libroIVA_view.xml 2011-01-14 00:11:01 +0000 | |||
1164 | +++ l10n_it/libroIVA_view.xml 1970-01-01 00:00:00 +0000 | |||
1165 | @@ -1,47 +0,0 @@ | |||
1166 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
1167 | 2 | <openerp> | ||
1168 | 3 | <data> | ||
1169 | 4 | |||
1170 | 5 | <!-- **************************** | ||
1171 | 6 | REGISTRI IVA TREE VIEW | ||
1172 | 7 | ****************************--> | ||
1173 | 8 | <record model="ir.ui.view" id="l10n_chart_it_report_libroIVA_tree"> | ||
1174 | 9 | <field name="name">l10n_chart_it_report_libroIVA_tree</field> | ||
1175 | 10 | <field name="model">account.report_libroiva</field> | ||
1176 | 11 | <field name="type">tree</field> | ||
1177 | 12 | <field name="arch" type="xml"> | ||
1178 | 13 | <tree string="Registri IVA" limit="80"> | ||
1179 | 14 | <field name="name" string="Anno Fiscale" readonly="True" select="1" /> | ||
1180 | 15 | </tree> | ||
1181 | 16 | </field> | ||
1182 | 17 | </record> | ||
1183 | 18 | |||
1184 | 19 | |||
1185 | 20 | <!-- **************************** | ||
1186 | 21 | REGISTRI IVA FORM VIEW | ||
1187 | 22 | ****************************--> | ||
1188 | 23 | <record model="ir.ui.view" id="l10n_chart_it_report_libroIVA_form"> | ||
1189 | 24 | <field name="name">l10n_chart_it_report_libroIVA_form</field> | ||
1190 | 25 | <field name="model">account.report_libroiva</field> | ||
1191 | 26 | <field name="type">form</field> | ||
1192 | 27 | <field name="arch" type="xml"> | ||
1193 | 28 | <form string="Registri IVA" > | ||
1194 | 29 | <field name="name" string="Anno Fiscale" readonly="True" /> | ||
1195 | 30 | </form> | ||
1196 | 31 | </field> | ||
1197 | 32 | </record> | ||
1198 | 33 | |||
1199 | 34 | <!-- **************************** | ||
1200 | 35 | REGISTRI IVA ACTION | ||
1201 | 36 | ****************************--> | ||
1202 | 37 | <record model="ir.actions.act_window" id="l10n_chart_it_report_libroIVA_action"> | ||
1203 | 38 | <field name="name">Registri IVA</field> | ||
1204 | 39 | <field name="res_model">account.report_libroiva</field> | ||
1205 | 40 | <field name="view_id" ref="l10n_chart_it_report_libroIVA_tree"/> | ||
1206 | 41 | <field name="view_type">form</field> | ||
1207 | 42 | <field name="view_mode">tree,form</field> | ||
1208 | 43 | </record> | ||
1209 | 44 | |||
1210 | 45 | |||
1211 | 46 | </data> | ||
1212 | 47 | </openerp> | ||
1213 | 48 | 0 | ||
1214 | === removed directory 'l10n_it/report' | |||
1215 | === removed file 'l10n_it/report.xml' | |||
1216 | --- l10n_it/report.xml 2011-01-14 00:11:01 +0000 | |||
1217 | +++ l10n_it/report.xml 1970-01-01 00:00:00 +0000 | |||
1218 | @@ -1,24 +0,0 @@ | |||
1219 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
1220 | 2 | <openerp> | ||
1221 | 3 | <data> | ||
1222 | 4 | |||
1223 | 5 | <report name="l10n_it.report.libroIVA_credito" | ||
1224 | 6 | id="account_ita_libroIVA_credit" | ||
1225 | 7 | string="Registro vendite" | ||
1226 | 8 | model="account.report_libroiva" | ||
1227 | 9 | rml="addons/l10n_it/report/libroIVA_credito.rml" | ||
1228 | 10 | auto="False" | ||
1229 | 11 | header="False" | ||
1230 | 12 | /> | ||
1231 | 13 | |||
1232 | 14 | <report name="l10n_it.report.libroIVA_debito" | ||
1233 | 15 | id="account_ita_libroIVA_debit" | ||
1234 | 16 | string="Registro acquisti" | ||
1235 | 17 | model="account.report_libroiva" | ||
1236 | 18 | rml="addons/l10n_it/report/libroIVA_debito.rml" | ||
1237 | 19 | auto="False" | ||
1238 | 20 | header="False" | ||
1239 | 21 | /> | ||
1240 | 22 | |||
1241 | 23 | </data> | ||
1242 | 24 | </openerp> | ||
1243 | 25 | 0 | ||
1244 | === removed file 'l10n_it/report/__init__.py' | |||
1245 | --- l10n_it/report/__init__.py 2011-01-14 00:11:01 +0000 | |||
1246 | +++ l10n_it/report/__init__.py 1970-01-01 00:00:00 +0000 | |||
1247 | @@ -1,2 +0,0 @@ | |||
1248 | 1 | import libroIVA_credito | ||
1249 | 2 | import libroIVA_debito | ||
1250 | 3 | \ No newline at end of file | 0 | \ No newline at end of file |
1251 | 4 | 1 | ||
1252 | === removed file 'l10n_it/report/libroIVA_credito.py' | |||
1253 | --- l10n_it/report/libroIVA_credito.py 2011-01-14 00:11:01 +0000 | |||
1254 | +++ l10n_it/report/libroIVA_credito.py 1970-01-01 00:00:00 +0000 | |||
1255 | @@ -1,79 +0,0 @@ | |||
1256 | 1 | import datetime | ||
1257 | 2 | import time | ||
1258 | 3 | from report import report_sxw | ||
1259 | 4 | from osv import osv | ||
1260 | 5 | import pooler | ||
1261 | 6 | |||
1262 | 7 | |||
1263 | 8 | class l10n_chart_it_report_libroIVA_credito(report_sxw.rml_parse): | ||
1264 | 9 | |||
1265 | 10 | def __init__(self, cr, uid, name, context): | ||
1266 | 11 | super(l10n_chart_it_report_libroIVA_credito,self).__init__(cr,uid,name,context) | ||
1267 | 12 | self.localcontext.update({ | ||
1268 | 13 | 'time' : time, | ||
1269 | 14 | 'get_company' : self.get_company, | ||
1270 | 15 | 'get_periods' : self.get_periods, | ||
1271 | 16 | 'get_lines' : self.get_lines, | ||
1272 | 17 | }) | ||
1273 | 18 | |||
1274 | 19 | |||
1275 | 20 | def get_company(self,fiscal_year): | ||
1276 | 21 | #print 'COMP = ',fiscal_year | ||
1277 | 22 | return "" | ||
1278 | 23 | |||
1279 | 24 | def get_periods(self,fiscal_year): | ||
1280 | 25 | #print 'Fiscal year id:',fiscal_year.id | ||
1281 | 26 | obj=pooler.get_pool(self.cr.dbname).get('account.fiscalyear') | ||
1282 | 27 | fy=obj.browse(self.cr,self.uid,fiscal_year.id) | ||
1283 | 28 | #print 'Periods = ',fy.period_ids | ||
1284 | 29 | res=[rec for rec in fy.period_ids] | ||
1285 | 30 | #return fy.periods => non funziona?!? bool object !?!? | ||
1286 | 31 | return res | ||
1287 | 32 | |||
1288 | 33 | def get_invoices(self,period): | ||
1289 | 34 | #print 'PERIOD = ',period.name | ||
1290 | 35 | obj=pooler.get_pool(self.cr.dbname).get('account.invoice') | ||
1291 | 36 | # Selezione tutte le fatture emesse nel periodo | ||
1292 | 37 | self.cr.execute( """ | ||
1293 | 38 | SELECT id FROM account_invoice | ||
1294 | 39 | WHERE (state='open' OR state='paid') AND | ||
1295 | 40 | period_id="""+str(period.id)+""" | ||
1296 | 41 | AND (type='out_invoice' OR type='out_refund') | ||
1297 | 42 | """) | ||
1298 | 43 | ids=self.cr.fetchall() | ||
1299 | 44 | #print 'IDS = ', | ||
1300 | 45 | if ids: | ||
1301 | 46 | ids=[id[0] for id in ids ] | ||
1302 | 47 | invoices=obj.browse(self.cr,self.uid,ids) | ||
1303 | 48 | #print 'INVOICES = ',invoices | ||
1304 | 49 | return invoices | ||
1305 | 50 | |||
1306 | 51 | def get_lines(self,fiscal_year): | ||
1307 | 52 | res=[] | ||
1308 | 53 | obj_fy=pooler.get_pool(self.cr.dbname).get('account.fiscalyear') | ||
1309 | 54 | fy=obj_fy.browse(self.cr,self.uid,fiscal_year.id) | ||
1310 | 55 | for period in fy.period_ids: | ||
1311 | 56 | invoices=self.get_invoices(period) | ||
1312 | 57 | for invoice in invoices: | ||
1313 | 58 | d={'periodo': period.name} | ||
1314 | 59 | d['protocollo']=invoice.number | ||
1315 | 60 | #print 'PARTNER ',invoice.partner_id.name | ||
1316 | 61 | causale=invoice.partner_id.name | ||
1317 | 62 | #print 'CAUSALE = ',causale | ||
1318 | 63 | d['causale']=causale | ||
1319 | 64 | d['numero']=invoice.reference | ||
1320 | 65 | d['data_doc']=invoice.date_invoice | ||
1321 | 66 | for tax in invoice.tax_line: | ||
1322 | 67 | #print '\tTAX: ',tax | ||
1323 | 68 | d['aliquota']=tax.tax_code_id.name | ||
1324 | 69 | d['imponibile']=tax.base | ||
1325 | 70 | d['imposta']=tax.amount | ||
1326 | 71 | res.append(d) | ||
1327 | 72 | d={'periodo':'', 'protocollo':'', 'causale':'', 'numero':'', 'data_doc':'', } | ||
1328 | 73 | return res | ||
1329 | 74 | |||
1330 | 75 | |||
1331 | 76 | |||
1332 | 77 | report_sxw.report_sxw('report.l10n_it.report.libroIVA_credito','account.report_libroiva', | ||
1333 | 78 | 'l10n_it/report/libroIVA_credito.rml', | ||
1334 | 79 | parser=l10n_chart_it_report_libroIVA_credito,header=False) | ||
1335 | 80 | 0 | ||
1336 | === removed file 'l10n_it/report/libroIVA_credito.rml' | |||
1337 | --- l10n_it/report/libroIVA_credito.rml 2011-01-14 00:11:01 +0000 | |||
1338 | +++ l10n_it/report/libroIVA_credito.rml 1970-01-01 00:00:00 +0000 | |||
1339 | @@ -1,203 +0,0 @@ | |||
1340 | 1 | <?xml version="1.0"?> | ||
1341 | 2 | <document filename="test.pdf"> | ||
1342 | 3 | <template pageSize="(612.0,792.0)" title="Test" author="Martin Simon" allowSplitting="20"> | ||
1343 | 4 | <pageTemplate id="first"> | ||
1344 | 5 | <frame id="first" x1="57.0" y1="57.0" width="498" height="678"/> | ||
1345 | 6 | </pageTemplate> | ||
1346 | 7 | </template> | ||
1347 | 8 | <stylesheet> | ||
1348 | 9 | <blockTableStyle id="Standard_Outline"> | ||
1349 | 10 | <blockAlignment value="LEFT"/> | ||
1350 | 11 | <blockValign value="TOP"/> | ||
1351 | 12 | </blockTableStyle> | ||
1352 | 13 | <blockTableStyle id="Table1"> | ||
1353 | 14 | <blockAlignment value="LEFT"/> | ||
1354 | 15 | <blockValign value="TOP"/> | ||
1355 | 16 | </blockTableStyle> | ||
1356 | 17 | <blockTableStyle id="Table2"> | ||
1357 | 18 | <blockAlignment value="LEFT"/> | ||
1358 | 19 | <blockValign value="TOP"/> | ||
1359 | 20 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
1360 | 21 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
1361 | 22 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
1362 | 23 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="1,0" stop="1,-1"/> | ||
1363 | 24 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
1364 | 25 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
1365 | 26 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="2,0" stop="2,-1"/> | ||
1366 | 27 | <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/> | ||
1367 | 28 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
1368 | 29 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="3,0" stop="3,-1"/> | ||
1369 | 30 | <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/> | ||
1370 | 31 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
1371 | 32 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="4,0" stop="4,-1"/> | ||
1372 | 33 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | ||
1373 | 34 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
1374 | 35 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="5,0" stop="5,-1"/> | ||
1375 | 36 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | ||
1376 | 37 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
1377 | 38 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="6,0" stop="6,-1"/> | ||
1378 | 39 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
1379 | 40 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
1380 | 41 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="7,0" stop="7,-1"/> | ||
1381 | 42 | <lineStyle kind="LINEAFTER" colorName="#000000" start="7,0" stop="7,-1"/> | ||
1382 | 43 | <lineStyle kind="LINEABOVE" colorName="#000000" start="7,0" stop="7,0"/> | ||
1383 | 44 | <lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/> | ||
1384 | 45 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,1" stop="0,-1"/> | ||
1385 | 46 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
1386 | 47 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="1,1" stop="1,-1"/> | ||
1387 | 48 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
1388 | 49 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="2,1" stop="2,-1"/> | ||
1389 | 50 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
1390 | 51 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="3,1" stop="3,-1"/> | ||
1391 | 52 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
1392 | 53 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="4,1" stop="4,-1"/> | ||
1393 | 54 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
1394 | 55 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="5,1" stop="5,-1"/> | ||
1395 | 56 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
1396 | 57 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="6,1" stop="6,-1"/> | ||
1397 | 58 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
1398 | 59 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="7,1" stop="7,-1"/> | ||
1399 | 60 | <lineStyle kind="LINEAFTER" colorName="#000000" start="7,1" stop="7,-1"/> | ||
1400 | 61 | <lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/> | ||
1401 | 62 | <blockBackground colorName="#ffcc99" start="0,0" stop="0,-1"/> | ||
1402 | 63 | <blockBackground colorName="#ffcc99" start="1,0" stop="1,-1"/> | ||
1403 | 64 | <blockBackground colorName="#ffcc99" start="2,0" stop="2,-1"/> | ||
1404 | 65 | <blockBackground colorName="#ffcc99" start="3,0" stop="3,-1"/> | ||
1405 | 66 | <blockBackground colorName="#ffcc99" start="4,0" stop="4,-1"/> | ||
1406 | 67 | <blockBackground colorName="#ffcc99" start="5,0" stop="5,-1"/> | ||
1407 | 68 | <blockBackground colorName="#ffcc99" start="6,0" stop="6,-1"/> | ||
1408 | 69 | <blockBackground colorName="#ffcc99" start="7,0" stop="7,-1"/> | ||
1409 | 70 | <blockBackground colorName="#ffffff" start="0,1" stop="0,-1"/> | ||
1410 | 71 | <blockBackground colorName="#ffffff" start="1,1" stop="1,-1"/> | ||
1411 | 72 | <blockBackground colorName="#ffffff" start="2,1" stop="2,-1"/> | ||
1412 | 73 | <blockBackground colorName="#ffffff" start="3,1" stop="3,-1"/> | ||
1413 | 74 | <blockBackground colorName="#ffffff" start="4,1" stop="4,-1"/> | ||
1414 | 75 | <blockBackground colorName="#ffffff" start="5,1" stop="5,-1"/> | ||
1415 | 76 | <blockBackground colorName="#ffffff" start="6,1" stop="6,-1"/> | ||
1416 | 77 | <blockBackground colorName="#ffffff" start="7,1" stop="7,-1"/> | ||
1417 | 78 | </blockTableStyle> | ||
1418 | 79 | <initialize> | ||
1419 | 80 | <paraStyle name="all" alignment="justify"/> | ||
1420 | 81 | </initialize> | ||
1421 | 82 | <paraStyle name="P1" fontName="Times-Roman" alignment="RIGHT"/> | ||
1422 | 83 | <paraStyle name="P2" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT"/> | ||
1423 | 84 | <paraStyle name="P3" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1424 | 85 | <paraStyle name="P4" fontName="Helvetica" fontSize="12.0" leading="15" alignment="CENTER"/> | ||
1425 | 86 | <paraStyle name="P5" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT"/> | ||
1426 | 87 | <paraStyle name="P6" rightIndent="0.0" leftIndent="71.0" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"/> | ||
1427 | 88 | <paraStyle name="P7" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1428 | 89 | <paraStyle name="P8" fontName="Helvetica" fontSize="12.0" leading="15" alignment="CENTER"/> | ||
1429 | 90 | <paraStyle name="P9" fontName="Helvetica" fontSize="12.0" leading="15" alignment="LEFT"/> | ||
1430 | 91 | <paraStyle name="P10" fontName="Helvetica" fontSize="12.0" leading="15" alignment="LEFT"/> | ||
1431 | 92 | <paraStyle name="P11" fontName="Helvetica" fontSize="12.0" leading="15" alignment="CENTER"/> | ||
1432 | 93 | <paraStyle name="P12" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT"/> | ||
1433 | 94 | <paraStyle name="P13" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1434 | 95 | <paraStyle name="P14" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT"/> | ||
1435 | 96 | <paraStyle name="P15" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/> | ||
1436 | 97 | <paraStyle name="P16" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"/> | ||
1437 | 98 | <paraStyle name="P17" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1438 | 99 | <paraStyle name="Standard" fontName="Times-Roman"/> | ||
1439 | 100 | <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/> | ||
1440 | 101 | <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> | ||
1441 | 102 | <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> | ||
1442 | 103 | <paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/> | ||
1443 | 104 | <paraStyle name="Index" fontName="Times-Roman"/> | ||
1444 | 105 | <paraStyle name="Table Contents" fontName="Times-Roman"/> | ||
1445 | 106 | <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER"/> | ||
1446 | 107 | <paraStyle name="Footer" fontName="Times-Roman"/> | ||
1447 | 108 | <paraStyle name="MP1" fontName="Times-Roman" alignment="RIGHT"/> | ||
1448 | 109 | </stylesheet> | ||
1449 | 110 | <images/> | ||
1450 | 111 | <story> | ||
1451 | 112 | <para style="P2">[[ repeatIn(objects, 'o') ]]</para> | ||
1452 | 113 | <blockTable colWidths="249.0,249.0" style="Table1"> | ||
1453 | 114 | <tr> | ||
1454 | 115 | <td> | ||
1455 | 116 | <para style="P10"> | ||
1456 | 117 | <font face="Times-Roman" size="10.0">[[ get_company(o) ]]</font> | ||
1457 | 118 | </para> | ||
1458 | 119 | </td> | ||
1459 | 120 | <td> | ||
1460 | 121 | <para style="P16"> | ||
1461 | 122 | <font face="Times-Roman">REGISTRO IVA </font> | ||
1462 | 123 | </para> | ||
1463 | 124 | <para style="P16"> | ||
1464 | 125 | <font face="Times-Roman">VENDITE </font> | ||
1465 | 126 | </para> | ||
1466 | 127 | </td> | ||
1467 | 128 | </tr> | ||
1468 | 129 | </blockTable> | ||
1469 | 130 | <para style="P2"> | ||
1470 | 131 | <font color="white"> </font> | ||
1471 | 132 | </para> | ||
1472 | 133 | <para style="P11">[[ o.name ]] </para> | ||
1473 | 134 | <para style="P2"> | ||
1474 | 135 | <font color="white"> </font> | ||
1475 | 136 | </para> | ||
1476 | 137 | <blockTable colWidths="39.0,50.0,92.0,45.0,54.0,76.0,69.0,74.0" repeatRows="1" style="Table2"> | ||
1477 | 138 | <tr> | ||
1478 | 139 | <td> | ||
1479 | 140 | <para style="P7">Periodo</para> | ||
1480 | 141 | </td> | ||
1481 | 142 | <td> | ||
1482 | 143 | <para style="P7">Protocollo</para> | ||
1483 | 144 | </td> | ||
1484 | 145 | <td> | ||
1485 | 146 | <para style="P7">Cliente</para> | ||
1486 | 147 | </td> | ||
1487 | 148 | <td> | ||
1488 | 149 | <para style="P7">Numero</para> | ||
1489 | 150 | </td> | ||
1490 | 151 | <td> | ||
1491 | 152 | <para style="P7">Data fattura</para> | ||
1492 | 153 | </td> | ||
1493 | 154 | <td> | ||
1494 | 155 | <para style="P7">Aliquota</para> | ||
1495 | 156 | </td> | ||
1496 | 157 | <td> | ||
1497 | 158 | <para style="P7">Imponibile</para> | ||
1498 | 159 | </td> | ||
1499 | 160 | <td> | ||
1500 | 161 | <para style="P7">Imposta</para> | ||
1501 | 162 | </td> | ||
1502 | 163 | </tr> | ||
1503 | 164 | <tr> | ||
1504 | 165 | <td> | ||
1505 | 166 | <para style="P3">[[ repeatIn(get_lines(o), 'line') ]]</para> | ||
1506 | 167 | <para style="P3">[[ line['periodo'] ]]</para> | ||
1507 | 168 | </td> | ||
1508 | 169 | <td> | ||
1509 | 170 | <para style="P3">[[ line['protocollo'] ]]</para> | ||
1510 | 171 | </td> | ||
1511 | 172 | <td> | ||
1512 | 173 | <para style="P3">[[ line['causale'] ]]</para> | ||
1513 | 174 | </td> | ||
1514 | 175 | <td> | ||
1515 | 176 | <para style="P3">[[ line['numero'] ]]</para> | ||
1516 | 177 | </td> | ||
1517 | 178 | <td> | ||
1518 | 179 | <para style="P3">[[ line['data_doc'] ]]</para> | ||
1519 | 180 | </td> | ||
1520 | 181 | <td> | ||
1521 | 182 | <para style="P14">[[ line['aliquota'] ]]</para> | ||
1522 | 183 | </td> | ||
1523 | 184 | <td> | ||
1524 | 185 | <para style="P15">[[ line['imponibile'] ]]</para> | ||
1525 | 186 | </td> | ||
1526 | 187 | <td> | ||
1527 | 188 | <para style="P15">[[ line['imposta'] ]]</para> | ||
1528 | 189 | </td> | ||
1529 | 190 | </tr> | ||
1530 | 191 | </blockTable> | ||
1531 | 192 | <para style="P9"> | ||
1532 | 193 | <font color="white"> </font> | ||
1533 | 194 | </para> | ||
1534 | 195 | <para style="P4"> | ||
1535 | 196 | <font color="white"> </font> | ||
1536 | 197 | </para> | ||
1537 | 198 | <para style="P4"> | ||
1538 | 199 | <font color="white"> </font> | ||
1539 | 200 | </para> | ||
1540 | 201 | </story> | ||
1541 | 202 | </document> | ||
1542 | 203 | |||
1543 | 204 | 0 | ||
1544 | === removed file 'l10n_it/report/libroIVA_credito.sxw' | |||
1545 | 205 | Binary files l10n_it/report/libroIVA_credito.sxw 2011-01-14 00:11:01 +0000 and l10n_it/report/libroIVA_credito.sxw 1970-01-01 00:00:00 +0000 differ | 1 | Binary files l10n_it/report/libroIVA_credito.sxw 2011-01-14 00:11:01 +0000 and l10n_it/report/libroIVA_credito.sxw 1970-01-01 00:00:00 +0000 differ |
1546 | === removed file 'l10n_it/report/libroIVA_debito.py' | |||
1547 | --- l10n_it/report/libroIVA_debito.py 2011-01-14 00:11:01 +0000 | |||
1548 | +++ l10n_it/report/libroIVA_debito.py 1970-01-01 00:00:00 +0000 | |||
1549 | @@ -1,80 +0,0 @@ | |||
1550 | 1 | import datetime | ||
1551 | 2 | import time | ||
1552 | 3 | from report import report_sxw | ||
1553 | 4 | from osv import osv | ||
1554 | 5 | import pooler | ||
1555 | 6 | |||
1556 | 7 | |||
1557 | 8 | class l10n_chart_it_report_libroIVA_debito(report_sxw.rml_parse): | ||
1558 | 9 | |||
1559 | 10 | def __init__(self, cr, uid, name, context): | ||
1560 | 11 | super(l10n_chart_it_report_libroIVA_debito,self).__init__(cr,uid,name,context) | ||
1561 | 12 | self.localcontext.update({ | ||
1562 | 13 | 'time' : time, | ||
1563 | 14 | 'get_company' : self.get_company, | ||
1564 | 15 | 'get_periods' : self.get_periods, | ||
1565 | 16 | 'get_lines' : self.get_lines, | ||
1566 | 17 | }) | ||
1567 | 18 | |||
1568 | 19 | |||
1569 | 20 | def get_company(self,fiscal_year): | ||
1570 | 21 | #print 'COMP = ',fiscal_year | ||
1571 | 22 | return "" | ||
1572 | 23 | |||
1573 | 24 | |||
1574 | 25 | def get_periods(self,fiscal_year): | ||
1575 | 26 | #print 'Fiscal year id:',fiscal_year.id | ||
1576 | 27 | obj=pooler.get_pool(self.cr.dbname).get('account.fiscalyear') | ||
1577 | 28 | fy=obj.browse(self.cr,self.uid,fiscal_year.id) | ||
1578 | 29 | #print 'Periods = ',fy.period_ids | ||
1579 | 30 | res=[rec for rec in fy.period_ids] | ||
1580 | 31 | #return fy.periods => non funziona?!? bool object !?!? | ||
1581 | 32 | return res | ||
1582 | 33 | |||
1583 | 34 | def get_invoices(self,period): | ||
1584 | 35 | #print 'PERIOD = ',period.name | ||
1585 | 36 | obj=pooler.get_pool(self.cr.dbname).get('account.invoice') | ||
1586 | 37 | # Selezione tutte le fatture emesse nel periodo | ||
1587 | 38 | self.cr.execute( """ | ||
1588 | 39 | SELECT id FROM account_invoice | ||
1589 | 40 | WHERE (state='open' OR state='paid') AND | ||
1590 | 41 | period_id="""+str(period.id)+""" | ||
1591 | 42 | AND (type='in_invoice' OR type='in_refund') | ||
1592 | 43 | """) | ||
1593 | 44 | ids=self.cr.fetchall() | ||
1594 | 45 | #print 'IDS = ', | ||
1595 | 46 | if ids: | ||
1596 | 47 | ids=[id[0] for id in ids ] | ||
1597 | 48 | invoices=obj.browse(self.cr,self.uid,ids) | ||
1598 | 49 | #print 'INVOICES = ',invoices | ||
1599 | 50 | return invoices | ||
1600 | 51 | |||
1601 | 52 | def get_lines(self,fiscal_year): | ||
1602 | 53 | res=[] | ||
1603 | 54 | obj_fy=pooler.get_pool(self.cr.dbname).get('account.fiscalyear') | ||
1604 | 55 | fy=obj_fy.browse(self.cr,self.uid,fiscal_year.id) | ||
1605 | 56 | for period in fy.period_ids: | ||
1606 | 57 | invoices=self.get_invoices(period) | ||
1607 | 58 | for invoice in invoices: | ||
1608 | 59 | d={'periodo': period.name} | ||
1609 | 60 | d['protocollo']=invoice.number | ||
1610 | 61 | #print 'PARTNER ',invoice.partner_id.name | ||
1611 | 62 | causale=invoice.partner_id.name | ||
1612 | 63 | #print 'CAUSALE = ',causale | ||
1613 | 64 | d['causale']=causale | ||
1614 | 65 | d['numero']=invoice.reference | ||
1615 | 66 | d['data_doc']=invoice.date_invoice | ||
1616 | 67 | for tax in invoice.tax_line: | ||
1617 | 68 | #print '\tTAX: ',tax | ||
1618 | 69 | d['aliquota']=tax.tax_code_id.name | ||
1619 | 70 | d['imponibile']=tax.base | ||
1620 | 71 | d['imposta']=tax.amount | ||
1621 | 72 | res.append(d) | ||
1622 | 73 | d={'periodo':'', 'protocollo':'', 'causale':'', 'numero':'', 'data_doc':'', } | ||
1623 | 74 | return res | ||
1624 | 75 | |||
1625 | 76 | |||
1626 | 77 | |||
1627 | 78 | report_sxw.report_sxw('report.l10n_it.report.libroIVA_debito','account.report_libroiva', | ||
1628 | 79 | 'l10n_it/report/libroIVA_debito.rml', | ||
1629 | 80 | parser=l10n_chart_it_report_libroIVA_debito,header=False) | ||
1630 | 81 | 0 | ||
1631 | === removed file 'l10n_it/report/libroIVA_debito.rml' | |||
1632 | --- l10n_it/report/libroIVA_debito.rml 2011-01-14 00:11:01 +0000 | |||
1633 | +++ l10n_it/report/libroIVA_debito.rml 1970-01-01 00:00:00 +0000 | |||
1634 | @@ -1,195 +0,0 @@ | |||
1635 | 1 | <?xml version="1.0"?> | ||
1636 | 2 | <document filename="test.pdf"> | ||
1637 | 3 | <template pageSize="(612.0,792.0)" title="Test" author="Martin Simon" allowSplitting="20"> | ||
1638 | 4 | <pageTemplate id="first"> | ||
1639 | 5 | <frame id="first" x1="57.0" y1="57.0" width="498" height="678"/> | ||
1640 | 6 | </pageTemplate> | ||
1641 | 7 | </template> | ||
1642 | 8 | <stylesheet> | ||
1643 | 9 | <blockTableStyle id="Standard_Outline"> | ||
1644 | 10 | <blockAlignment value="LEFT"/> | ||
1645 | 11 | <blockValign value="TOP"/> | ||
1646 | 12 | </blockTableStyle> | ||
1647 | 13 | <blockTableStyle id="Table2"> | ||
1648 | 14 | <blockAlignment value="LEFT"/> | ||
1649 | 15 | <blockValign value="TOP"/> | ||
1650 | 16 | </blockTableStyle> | ||
1651 | 17 | <blockTableStyle id="Table1"> | ||
1652 | 18 | <blockAlignment value="LEFT"/> | ||
1653 | 19 | <blockValign value="TOP"/> | ||
1654 | 20 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
1655 | 21 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
1656 | 22 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
1657 | 23 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="1,0" stop="1,-1"/> | ||
1658 | 24 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
1659 | 25 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
1660 | 26 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="2,0" stop="2,-1"/> | ||
1661 | 27 | <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/> | ||
1662 | 28 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
1663 | 29 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="3,0" stop="3,-1"/> | ||
1664 | 30 | <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/> | ||
1665 | 31 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
1666 | 32 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="4,0" stop="4,-1"/> | ||
1667 | 33 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | ||
1668 | 34 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
1669 | 35 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="5,0" stop="5,-1"/> | ||
1670 | 36 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | ||
1671 | 37 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
1672 | 38 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="6,0" stop="6,-1"/> | ||
1673 | 39 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
1674 | 40 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
1675 | 41 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="7,0" stop="7,-1"/> | ||
1676 | 42 | <lineStyle kind="LINEAFTER" colorName="#000000" start="7,0" stop="7,-1"/> | ||
1677 | 43 | <lineStyle kind="LINEABOVE" colorName="#000000" start="7,0" stop="7,0"/> | ||
1678 | 44 | <lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/> | ||
1679 | 45 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,1" stop="0,-1"/> | ||
1680 | 46 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
1681 | 47 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="1,1" stop="1,-1"/> | ||
1682 | 48 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
1683 | 49 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="2,1" stop="2,-1"/> | ||
1684 | 50 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
1685 | 51 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="3,1" stop="3,-1"/> | ||
1686 | 52 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
1687 | 53 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="4,1" stop="4,-1"/> | ||
1688 | 54 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
1689 | 55 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="5,1" stop="5,-1"/> | ||
1690 | 56 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
1691 | 57 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="6,1" stop="6,-1"/> | ||
1692 | 58 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
1693 | 59 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="7,1" stop="7,-1"/> | ||
1694 | 60 | <lineStyle kind="LINEAFTER" colorName="#000000" start="7,1" stop="7,-1"/> | ||
1695 | 61 | <lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/> | ||
1696 | 62 | <blockBackground colorName="#ffcc99" start="0,0" stop="0,-1"/> | ||
1697 | 63 | <blockBackground colorName="#ffcc99" start="1,0" stop="1,-1"/> | ||
1698 | 64 | <blockBackground colorName="#ffcc99" start="2,0" stop="2,-1"/> | ||
1699 | 65 | <blockBackground colorName="#ffcc99" start="3,0" stop="3,-1"/> | ||
1700 | 66 | <blockBackground colorName="#ffcc99" start="4,0" stop="4,-1"/> | ||
1701 | 67 | <blockBackground colorName="#ffcc99" start="5,0" stop="5,-1"/> | ||
1702 | 68 | <blockBackground colorName="#ffcc99" start="6,0" stop="6,-1"/> | ||
1703 | 69 | <blockBackground colorName="#ffcc99" start="7,0" stop="7,-1"/> | ||
1704 | 70 | <blockBackground colorName="#ffffff" start="0,1" stop="0,-1"/> | ||
1705 | 71 | <blockBackground colorName="#ffffff" start="1,1" stop="1,-1"/> | ||
1706 | 72 | <blockBackground colorName="#ffffff" start="2,1" stop="2,-1"/> | ||
1707 | 73 | <blockBackground colorName="#ffffff" start="3,1" stop="3,-1"/> | ||
1708 | 74 | <blockBackground colorName="#ffffff" start="4,1" stop="4,-1"/> | ||
1709 | 75 | <blockBackground colorName="#ffffff" start="5,1" stop="5,-1"/> | ||
1710 | 76 | <blockBackground colorName="#ffffff" start="6,1" stop="6,-1"/> | ||
1711 | 77 | <blockBackground colorName="#ffffff" start="7,1" stop="7,-1"/> | ||
1712 | 78 | </blockTableStyle> | ||
1713 | 79 | <initialize> | ||
1714 | 80 | <paraStyle name="all" alignment="justify"/> | ||
1715 | 81 | </initialize> | ||
1716 | 82 | <paraStyle name="P1" fontName="Times-Roman" alignment="RIGHT"/> | ||
1717 | 83 | <paraStyle name="P2" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1718 | 84 | <paraStyle name="P3" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT"/> | ||
1719 | 85 | <paraStyle name="P4" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/> | ||
1720 | 86 | <paraStyle name="P5" fontName="Helvetica" fontSize="12.0" leading="15" alignment="LEFT"/> | ||
1721 | 87 | <paraStyle name="P6" fontName="Helvetica" fontSize="12.0" leading="15" alignment="CENTER"/> | ||
1722 | 88 | <paraStyle name="P7" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT"/> | ||
1723 | 89 | <paraStyle name="P8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER"/> | ||
1724 | 90 | <paraStyle name="P9" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT"/> | ||
1725 | 91 | <paraStyle name="P10" fontName="Helvetica" fontSize="12.0" leading="15" alignment="LEFT"/> | ||
1726 | 92 | <paraStyle name="P11" fontName="Helvetica" fontSize="12.0" leading="15" alignment="CENTER"/> | ||
1727 | 93 | <paraStyle name="P12" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"/> | ||
1728 | 94 | <paraStyle name="Standard" fontName="Times-Roman"/> | ||
1729 | 95 | <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/> | ||
1730 | 96 | <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> | ||
1731 | 97 | <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> | ||
1732 | 98 | <paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/> | ||
1733 | 99 | <paraStyle name="Index" fontName="Times-Roman"/> | ||
1734 | 100 | <paraStyle name="Table Contents" fontName="Times-Roman"/> | ||
1735 | 101 | <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER"/> | ||
1736 | 102 | <paraStyle name="Footer" fontName="Times-Roman"/> | ||
1737 | 103 | <paraStyle name="MP1" fontName="Times-Roman" alignment="RIGHT"/> | ||
1738 | 104 | </stylesheet> | ||
1739 | 105 | <images/> | ||
1740 | 106 | <story> | ||
1741 | 107 | <para style="P7">[[ repeatIn(objects, 'o') ]]</para> | ||
1742 | 108 | <blockTable colWidths="249.0,249.0" style="Table2"> | ||
1743 | 109 | <tr> | ||
1744 | 110 | <td> | ||
1745 | 111 | <para style="P10"> | ||
1746 | 112 | <font face="Times-Roman" size="10.0">[[ get_company(o) ]]</font> | ||
1747 | 113 | </para> | ||
1748 | 114 | </td> | ||
1749 | 115 | <td> | ||
1750 | 116 | <para style="P12"> | ||
1751 | 117 | <font face="Times-Roman">REGISTRO IVA</font> | ||
1752 | 118 | </para> | ||
1753 | 119 | <para style="P12"> | ||
1754 | 120 | <font face="Times-Roman">ACQUISTI</font> | ||
1755 | 121 | </para> | ||
1756 | 122 | </td> | ||
1757 | 123 | </tr> | ||
1758 | 124 | </blockTable> | ||
1759 | 125 | <para style="P7"> | ||
1760 | 126 | <font color="white"> </font> | ||
1761 | 127 | </para> | ||
1762 | 128 | <para style="P11">[[ o.name ]] </para> | ||
1763 | 129 | <para style="P7"> | ||
1764 | 130 | <font color="white"> </font> | ||
1765 | 131 | </para> | ||
1766 | 132 | <blockTable colWidths="39.0,50.0,92.0,45.0,54.0,76.0,69.0,74.0" repeatRows="1" style="Table1"> | ||
1767 | 133 | <tr> | ||
1768 | 134 | <td> | ||
1769 | 135 | <para style="P8">Periodo</para> | ||
1770 | 136 | </td> | ||
1771 | 137 | <td> | ||
1772 | 138 | <para style="P8">Protocollo</para> | ||
1773 | 139 | </td> | ||
1774 | 140 | <td> | ||
1775 | 141 | <para style="P8">Fornitore</para> | ||
1776 | 142 | </td> | ||
1777 | 143 | <td> | ||
1778 | 144 | <para style="P8">Numero</para> | ||
1779 | 145 | </td> | ||
1780 | 146 | <td> | ||
1781 | 147 | <para style="P8">Data fattura</para> | ||
1782 | 148 | </td> | ||
1783 | 149 | <td> | ||
1784 | 150 | <para style="P8">Aliquota</para> | ||
1785 | 151 | </td> | ||
1786 | 152 | <td> | ||
1787 | 153 | <para style="P8">Imponibile</para> | ||
1788 | 154 | </td> | ||
1789 | 155 | <td> | ||
1790 | 156 | <para style="P8">Imposta</para> | ||
1791 | 157 | </td> | ||
1792 | 158 | </tr> | ||
1793 | 159 | <tr> | ||
1794 | 160 | <td> | ||
1795 | 161 | <para style="P2">[[ repeatIn(get_lines(o), 'line') ]]</para> | ||
1796 | 162 | <para style="P2">[[ line['periodo'] ]]</para> | ||
1797 | 163 | </td> | ||
1798 | 164 | <td> | ||
1799 | 165 | <para style="P2">[[ line['protocollo'] ]]</para> | ||
1800 | 166 | </td> | ||
1801 | 167 | <td> | ||
1802 | 168 | <para style="P2">[[ line['causale'] ]]</para> | ||
1803 | 169 | </td> | ||
1804 | 170 | <td> | ||
1805 | 171 | <para style="P2">[[ line['numero'] ]]</para> | ||
1806 | 172 | </td> | ||
1807 | 173 | <td> | ||
1808 | 174 | <para style="P2">[[ line['data_doc'] ]]</para> | ||
1809 | 175 | </td> | ||
1810 | 176 | <td> | ||
1811 | 177 | <para style="P3">[[ line['aliquota'] ]]</para> | ||
1812 | 178 | </td> | ||
1813 | 179 | <td> | ||
1814 | 180 | <para style="P4">[[ line['imponibile'] ]]</para> | ||
1815 | 181 | </td> | ||
1816 | 182 | <td> | ||
1817 | 183 | <para style="P4">[[ line['imposta'] ]]</para> | ||
1818 | 184 | </td> | ||
1819 | 185 | </tr> | ||
1820 | 186 | </blockTable> | ||
1821 | 187 | <para style="P5"> | ||
1822 | 188 | <font color="white"> </font> | ||
1823 | 189 | </para> | ||
1824 | 190 | <para style="P6"> | ||
1825 | 191 | <font color="white"> </font> | ||
1826 | 192 | </para> | ||
1827 | 193 | </story> | ||
1828 | 194 | </document> | ||
1829 | 195 | |||
1830 | 196 | 0 | ||
1831 | === removed file 'l10n_it/report/libroIVA_debito.sxw' | |||
1832 | 197 | Binary files l10n_it/report/libroIVA_debito.sxw 2011-01-14 00:11:01 +0000 and l10n_it/report/libroIVA_debito.sxw 1970-01-01 00:00:00 +0000 differ | 1 | Binary files l10n_it/report/libroIVA_debito.sxw 2011-01-14 00:11:01 +0000 and l10n_it/report/libroIVA_debito.sxw 1970-01-01 00:00:00 +0000 differ |
1833 | === removed file 'l10n_it/report/normalized_oo2rml.xsl' | |||
1834 | --- l10n_it/report/normalized_oo2rml.xsl 2011-01-14 00:11:01 +0000 | |||
1835 | +++ l10n_it/report/normalized_oo2rml.xsl 1970-01-01 00:00:00 +0000 | |||
1836 | @@ -1,696 +0,0 @@ | |||
1837 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
1838 | 2 | <xsl:stylesheet | ||
1839 | 3 | version="1.0" | ||
1840 | 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
1841 | 5 | xmlns:fo="http://www.w3.org/1999/XSL/Format" | ||
1842 | 6 | xmlns:office="http://openoffice.org/2000/office" | ||
1843 | 7 | xmlns:style="http://openoffice.org/2000/style" | ||
1844 | 8 | xmlns:text="http://openoffice.org/2000/text" | ||
1845 | 9 | xmlns:table="http://openoffice.org/2000/table" | ||
1846 | 10 | xmlns:draw="http://openoffice.org/2000/drawing" | ||
1847 | 11 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
1848 | 12 | xmlns:number="http://openoffice.org/2000/datastyle" | ||
1849 | 13 | xmlns:svg="http://www.w3.org/2000/svg" | ||
1850 | 14 | xmlns:chart="http://openoffice.org/2000/chart" | ||
1851 | 15 | xmlns:dr3d="http://openoffice.org/2000/dr3d" | ||
1852 | 16 | xmlns:math="http://www.w3.org/1998/Math/MathML" | ||
1853 | 17 | xmlns:form="http://openoffice.org/2000/form" | ||
1854 | 18 | xmlns:script="http://openoffice.org/2000/script" | ||
1855 | 19 | office:class="text" office:version="1.0" | ||
1856 | 20 | exclude-result-prefixes = "xsl fo office style text table draw xlink number svg chart dr3d math form script"> | ||
1857 | 21 | |||
1858 | 22 | <!--TODO's: indent, picture cache (trml2pdf) --> | ||
1859 | 23 | |||
1860 | 24 | <xsl:output method="xml" indent="yes" /> | ||
1861 | 25 | <xsl:strip-space elements="*"/> | ||
1862 | 26 | |||
1863 | 27 | <xsl:key name="text_style" match="style:style[@style:family='text']" use="@style:name" /> | ||
1864 | 28 | <xsl:key name="page_break_before" match="style:style[@style:family='paragraph' and ./style:properties/@fo:break-before='page']" use="@style:name" /> | ||
1865 | 29 | <xsl:key name="page_break_after" match="style:style[@style:family='paragraph' and ./style:properties/@fo:break-after='page']" use="@style:name" /> | ||
1866 | 30 | <xsl:key name="table_column_style" match="style:style[@style:family='table-column']" use="@style:name" /> | ||
1867 | 31 | <xsl:key name="table_cell_style" match="style:style[@style:family='table-cell']" use="@style:name" /> | ||
1868 | 32 | <xsl:key name="paragraph_style" match="style:style[@style:family='paragraph']" use="@style:name" /> | ||
1869 | 33 | |||
1870 | 34 | <xsl:template match="office:document-content"> | ||
1871 | 35 | <document filename="test.pdf"> | ||
1872 | 36 | <xsl:apply-templates select="office:automatic-styles" /> | ||
1873 | 37 | <xsl:apply-templates select="office:body" /> | ||
1874 | 38 | </document> | ||
1875 | 39 | </xsl:template> | ||
1876 | 40 | |||
1877 | 41 | <xsl:template name="page_size"> | ||
1878 | 42 | <xsl:attribute name="pageSize"> | ||
1879 | 43 | <xsl:text>(</xsl:text> | ||
1880 | 44 | <xsl:value-of select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-width" /> | ||
1881 | 45 | <xsl:text>,</xsl:text> | ||
1882 | 46 | <xsl:value-of select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-height" /> | ||
1883 | 47 | <xsl:text>)</xsl:text> | ||
1884 | 48 | </xsl:attribute> | ||
1885 | 49 | </xsl:template> | ||
1886 | 50 | |||
1887 | 51 | <xsl:template name="fixed_frame"> | ||
1888 | 52 | <xsl:for-each select="//draw:text-box"> | ||
1889 | 53 | <frame> | ||
1890 | 54 | <xsl:attribute name="id"><xsl:value-of select="./@draw:name" /></xsl:attribute> | ||
1891 | 55 | <xsl:attribute name="x1"><xsl:value-of select="./@svg:x" /></xsl:attribute> | ||
1892 | 56 | <xsl:attribute name="y1"> | ||
1893 | 57 | <xsl:value-of | ||
1894 | 58 | select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-height - ./@svg:y - ./@fo:min-height" /> | ||
1895 | 59 | </xsl:attribute> | ||
1896 | 60 | <xsl:attribute name="width"> | ||
1897 | 61 | <xsl:value-of select="./@svg:width" /> | ||
1898 | 62 | </xsl:attribute> | ||
1899 | 63 | <xsl:attribute name="height"> | ||
1900 | 64 | <xsl:value-of select="./@fo:min-height" /> | ||
1901 | 65 | </xsl:attribute> | ||
1902 | 66 | </frame> | ||
1903 | 67 | </xsl:for-each> | ||
1904 | 68 | </xsl:template> | ||
1905 | 69 | |||
1906 | 70 | <xsl:template name="margin_sizes"> | ||
1907 | 71 | <xsl:variable name="margin_left" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-left" /> | ||
1908 | 72 | <xsl:variable name="margin_right" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-right" /> | ||
1909 | 73 | <xsl:variable name="margin_top" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-top" /> | ||
1910 | 74 | <xsl:variable name="margin_bottom" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-bottom" /> | ||
1911 | 75 | <xsl:variable name="page_width" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-width" /> | ||
1912 | 76 | <xsl:variable name="page_height" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-height" /> | ||
1913 | 77 | <xsl:attribute name="x1"><xsl:value-of select="$margin_left" /></xsl:attribute> | ||
1914 | 78 | <xsl:attribute name="y1"><xsl:value-of select="$margin_bottom" /></xsl:attribute> | ||
1915 | 79 | <xsl:attribute name="width"><xsl:value-of select="$page_width - $margin_left - $margin_right"/></xsl:attribute> | ||
1916 | 80 | <xsl:attribute name="height"><xsl:value-of select="$page_height - $margin_bottom - $margin_top"/></xsl:attribute> | ||
1917 | 81 | </xsl:template> | ||
1918 | 82 | |||
1919 | 83 | <xsl:template name="text_width"> | ||
1920 | 84 | <!-- You need this for the workaround to make primitive outlines--> | ||
1921 | 85 | <xsl:variable name="margin_left" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-left" /> | ||
1922 | 86 | <xsl:variable name="margin_right" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:margin-right" /> | ||
1923 | 87 | <xsl:variable name="page_width" select="//transferredfromstylesxml/style:page-master[1]/style:properties/@fo:page-width" /> | ||
1924 | 88 | <xsl:value-of select="$page_width - $margin_left - $margin_right - 18"/> | ||
1925 | 89 | </xsl:template> | ||
1926 | 90 | |||
1927 | 91 | |||
1928 | 92 | |||
1929 | 93 | <xsl:template match="office:automatic-styles"> | ||
1930 | 94 | <!--<template pageSize="(21cm, 29.7cm)" leftMargin="1.0cm" rightMargin="2.0cm" topMargin="1.0cm" bottomMargin="1.0cm" title="Test" author="Martin Simon" allowSplitting="20">--> | ||
1931 | 95 | <template pageSize="(21cm, 29.7cm)" title="Test" author="Martin Simon" allowSplitting="20"> | ||
1932 | 96 | <xsl:call-template name="page_size" /> | ||
1933 | 97 | <pageTemplate id="first"> | ||
1934 | 98 | <xsl:call-template name="fixed_frame" /> | ||
1935 | 99 | <frame id="first" x1="2cm" y1="2cm" width="17cm" height="26cm"> | ||
1936 | 100 | <xsl:call-template name="margin_sizes" /> | ||
1937 | 101 | </frame> | ||
1938 | 102 | </pageTemplate> | ||
1939 | 103 | </template> | ||
1940 | 104 | <stylesheet> | ||
1941 | 105 | <!--A table style to simulate primitive outlines -till the <addOutline> tag is implemented in trml2pdf --> | ||
1942 | 106 | <blockTableStyle id="Standard_Outline"> | ||
1943 | 107 | <blockAlignment value="LEFT"/> | ||
1944 | 108 | <blockValign value="TOP"/> | ||
1945 | 109 | </blockTableStyle> | ||
1946 | 110 | <!--use two standard table grid styles like PyOpenOffice "Old Way": with and without a grid--> | ||
1947 | 111 | <!--TODO insert table cell colors here, not within the <td> tag - otherwise | ||
1948 | 112 | it will not work with flowables as cell content--> | ||
1949 | 113 | <xsl:call-template name="make_blocktablestyle" /> | ||
1950 | 114 | <initialize> | ||
1951 | 115 | <paraStyle name="all" alignment="justify" /> | ||
1952 | 116 | </initialize> | ||
1953 | 117 | <xsl:apply-templates select="style:style" /> | ||
1954 | 118 | </stylesheet> | ||
1955 | 119 | </xsl:template> | ||
1956 | 120 | |||
1957 | 121 | <xsl:template name="make_blocktablestyle"> | ||
1958 | 122 | <xsl:for-each select="//table:table"> | ||
1959 | 123 | <xsl:variable name="test"> | ||
1960 | 124 | <xsl:value-of select="./@table:name" /> | ||
1961 | 125 | </xsl:variable> | ||
1962 | 126 | <xsl:if test="not(boolean(count(preceding-sibling::table:table[@table:name=$test])))"> | ||
1963 | 127 | <!--Test if this is the first table with this style, nested tables not counted--> | ||
1964 | 128 | <blockTableStyle id="{@table:name}"> | ||
1965 | 129 | <xsl:if test=".//draw:image"> | ||
1966 | 130 | <blockTopPadding value="0"/> | ||
1967 | 131 | <blockBottomPadding value="0"/> | ||
1968 | 132 | </xsl:if> | ||
1969 | 133 | <blockAlignment value="LEFT" /> | ||
1970 | 134 | <blockValign value="TOP" /> | ||
1971 | 135 | <xsl:call-template name="make_linestyle" /> | ||
1972 | 136 | <xsl:call-template name="make_tablebackground" /> | ||
1973 | 137 | </blockTableStyle> | ||
1974 | 138 | </xsl:if> | ||
1975 | 139 | </xsl:for-each> | ||
1976 | 140 | </xsl:template> | ||
1977 | 141 | |||
1978 | 142 | <xsl:template name="make_linestyle"> | ||
1979 | 143 | <xsl:for-each select=".//table:table-row"> | ||
1980 | 144 | <xsl:variable name="row" select="position() - 1"/> | ||
1981 | 145 | <xsl:for-each select=".//table:table-cell"> | ||
1982 | 146 | <xsl:variable name="col" select="position() - 1"/> | ||
1983 | 147 | <xsl:variable name="linebefore"> | ||
1984 | 148 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:border-left"/> | ||
1985 | 149 | </xsl:variable> | ||
1986 | 150 | <xsl:if test="not($linebefore='') and not($linebefore='none')"> | ||
1987 | 151 | <xsl:variable name="colorname"> | ||
1988 | 152 | <xsl:value-of select="substring-after($linebefore,'#')"/> | ||
1989 | 153 | </xsl:variable> | ||
1990 | 154 | <lineStyle kind="LINEBEFORE" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},-1"/> | ||
1991 | 155 | </xsl:if> | ||
1992 | 156 | <xsl:variable name="lineafter"> | ||
1993 | 157 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:border-right"/> | ||
1994 | 158 | </xsl:variable> | ||
1995 | 159 | <xsl:if test="not($lineafter='') and not($lineafter='none')"> | ||
1996 | 160 | <xsl:variable name="colorname"> | ||
1997 | 161 | <xsl:value-of select="substring-after($lineafter,'#')"/> | ||
1998 | 162 | </xsl:variable> | ||
1999 | 163 | <lineStyle kind="LINEAFTER" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},-1"/> | ||
2000 | 164 | </xsl:if> | ||
2001 | 165 | <xsl:variable name="lineabove"> | ||
2002 | 166 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:border-top"/> | ||
2003 | 167 | </xsl:variable> | ||
2004 | 168 | <xsl:if test="not($lineabove='') and not($lineabove='none')"> | ||
2005 | 169 | <xsl:variable name="colorname"> | ||
2006 | 170 | <xsl:value-of select="substring-after($lineabove,'#')"/> | ||
2007 | 171 | </xsl:variable> | ||
2008 | 172 | <lineStyle kind="LINEABOVE" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},{$row}"/> | ||
2009 | 173 | </xsl:if> | ||
2010 | 174 | <xsl:variable name="linebelow"> | ||
2011 | 175 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:border-bottom"/> | ||
2012 | 176 | </xsl:variable> | ||
2013 | 177 | <xsl:if test="not($linebelow='') and not($linebelow='none')"> | ||
2014 | 178 | <xsl:variable name="colorname"> | ||
2015 | 179 | <xsl:value-of select="substring-after($linebelow,'#')"/> | ||
2016 | 180 | </xsl:variable> | ||
2017 | 181 | <lineStyle kind="LINEBELOW" colorName="#{$colorname}" start="{$col},{-1}" stop="{$col},{-1}"/> | ||
2018 | 182 | </xsl:if> | ||
2019 | 183 | <xsl:variable name="grid"> | ||
2020 | 184 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:border"/> | ||
2021 | 185 | </xsl:variable> | ||
2022 | 186 | <xsl:if test="not($grid='') and not($grid='none')"> | ||
2023 | 187 | <xsl:variable name="colorname"> | ||
2024 | 188 | <xsl:value-of select="substring-after($grid,'#')"/> | ||
2025 | 189 | </xsl:variable> | ||
2026 | 190 | <!-- Don't use grid because we don't need a line between each rows --> | ||
2027 | 191 | <lineStyle kind="LINEBEFORE" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},-1"/> | ||
2028 | 192 | <lineStyle kind="LINEAFTER" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},-1"/> | ||
2029 | 193 | <lineStyle kind="LINEABOVE" colorName="#{$colorname}" start="{$col},{$row}" stop="{$col},{$row}"/> | ||
2030 | 194 | <lineStyle kind="LINEBELOW" colorName="#{$colorname}" start="{$col},{-1}" stop="{$col},{-1}"/> | ||
2031 | 195 | </xsl:if> | ||
2032 | 196 | </xsl:for-each> | ||
2033 | 197 | </xsl:for-each> | ||
2034 | 198 | </xsl:template> | ||
2035 | 199 | |||
2036 | 200 | <!-- Was needed to simulate bulleted lists: | ||
2037 | 201 | <xsl:template match="text:ordered-list|text:unordered-list"> | ||
2038 | 202 | <xsl:variable name = "text_width"> | ||
2039 | 203 | <xsl:call-template name="text_width" /> | ||
2040 | 204 | </xsl:variable> | ||
2041 | 205 | <blockTable style="Standard_Outline" colWidths="18,{$text_width}"> | ||
2042 | 206 | <xsl:apply-templates match="text:list-item" /> | ||
2043 | 207 | </blockTable> | ||
2044 | 208 | </xsl:template> | ||
2045 | 209 | |||
2046 | 210 | <xsl:template match="text:list-item"> | ||
2047 | 211 | <tr> | ||
2048 | 212 | <td><para><font face="Helvetica-Bold" size="10">*</font></para></td> | ||
2049 | 213 | <td> | ||
2050 | 214 | <xsl:apply-templates /> | ||
2051 | 215 | </td> | ||
2052 | 216 | </tr> | ||
2053 | 217 | </xsl:template> | ||
2054 | 218 | |||
2055 | 219 | --> | ||
2056 | 220 | |||
2057 | 221 | |||
2058 | 222 | <xsl:template match="office:body"> | ||
2059 | 223 | <story> | ||
2060 | 224 | <xsl:apply-templates /> | ||
2061 | 225 | <xsl:for-each select="//draw:text-box"> | ||
2062 | 226 | <currentFrame> | ||
2063 | 227 | <xsl:attribute name="name"> | ||
2064 | 228 | <xsl:value-of select="./@draw:name" /> | ||
2065 | 229 | </xsl:attribute> | ||
2066 | 230 | </currentFrame> | ||
2067 | 231 | <xsl:apply-templates> | ||
2068 | 232 | <xsl:with-param name="skip_draw" select="0" /> | ||
2069 | 233 | </xsl:apply-templates> | ||
2070 | 234 | <frameEnd /> | ||
2071 | 235 | </xsl:for-each> | ||
2072 | 236 | <xsl:for-each select="//text:ordered-list"> | ||
2073 | 237 | <para><seqReset id="{//text:ordered-list/@text:style-name}"/></para> | ||
2074 | 238 | </xsl:for-each> | ||
2075 | 239 | </story> | ||
2076 | 240 | </xsl:template> | ||
2077 | 241 | |||
2078 | 242 | <xsl:template match="table:table"> | ||
2079 | 243 | <blockTable> | ||
2080 | 244 | <xsl:attribute name="colWidths"> | ||
2081 | 245 | <xsl:call-template name="make_columns" /> | ||
2082 | 246 | </xsl:attribute> | ||
2083 | 247 | <xsl:call-template name="make_tableheaders" /> | ||
2084 | 248 | <xsl:attribute name="style"> | ||
2085 | 249 | <xsl:value-of select="@table:name" /> | ||
2086 | 250 | </xsl:attribute> | ||
2087 | 251 | <xsl:apply-templates /> | ||
2088 | 252 | </blockTable> | ||
2089 | 253 | </xsl:template> | ||
2090 | 254 | |||
2091 | 255 | <xsl:template name="make_tableheaders"> | ||
2092 | 256 | <xsl:if test="boolean(count(table:table-header-rows))"> | ||
2093 | 257 | <xsl:attribute name="repeatRows">1</xsl:attribute> | ||
2094 | 258 | </xsl:if> | ||
2095 | 259 | </xsl:template> | ||
2096 | 260 | |||
2097 | 261 | <xsl:template name="make_tablebackground"> | ||
2098 | 262 | <xsl:for-each select=".//table:table-row"> | ||
2099 | 263 | <!--Be careful when there are table:table-header-rows as | ||
2100 | 264 | parent node of table:table-row --> | ||
2101 | 265 | <xsl:variable name="row" select="position() - 1" /> | ||
2102 | 266 | <xsl:for-each select="./table:table-cell"> | ||
2103 | 267 | <xsl:variable name="col" select="position() - 1" /> | ||
2104 | 268 | <xsl:variable name="background"> | ||
2105 | 269 | <xsl:value-of select="key('table_cell_style',@table:style-name)/style:properties/@fo:background-color" /> | ||
2106 | 270 | </xsl:variable> | ||
2107 | 271 | <xsl:if test="not($background='') and boolean(key('table_cell_style',@table:style-name)/style:properties/@fo:background-color) and starts-with($background,'#')"> | ||
2108 | 272 | <!--only RGB hexcolors are accepted --> | ||
2109 | 273 | <blockBackground colorName="{$background}" start="{$col},{$row}" stop="{$col},-1" /> | ||
2110 | 274 | </xsl:if> | ||
2111 | 275 | </xsl:for-each> | ||
2112 | 276 | </xsl:for-each> | ||
2113 | 277 | </xsl:template> | ||
2114 | 278 | |||
2115 | 279 | <xsl:template name="make_columns"> | ||
2116 | 280 | <xsl:variable name="columns" > | ||
2117 | 281 | <xsl:for-each select="table:table-column"> | ||
2118 | 282 | <xsl:value-of select="key('table_column_style',@table:style-name)/style:properties/@style:column-width" /> | ||
2119 | 283 | <xsl:text>,</xsl:text> | ||
2120 | 284 | </xsl:for-each> | ||
2121 | 285 | </xsl:variable> | ||
2122 | 286 | <xsl:value-of select="substring($columns,1,string-length($columns) - 1)" /> | ||
2123 | 287 | <!--strip the last comma--> | ||
2124 | 288 | </xsl:template> | ||
2125 | 289 | |||
2126 | 290 | <xsl:template match="table:table-row"> | ||
2127 | 291 | <tr> | ||
2128 | 292 | <xsl:apply-templates /> | ||
2129 | 293 | </tr> | ||
2130 | 294 | </xsl:template> | ||
2131 | 295 | |||
2132 | 296 | <xsl:template match="table:table-cell"> | ||
2133 | 297 | <td> | ||
2134 | 298 | <xsl:apply-templates /> | ||
2135 | 299 | </td> | ||
2136 | 300 | </xsl:template> | ||
2137 | 301 | |||
2138 | 302 | <xsl:template match="text:section"> | ||
2139 | 303 | <section> | ||
2140 | 304 | <xsl:apply-templates /> | ||
2141 | 305 | </section> | ||
2142 | 306 | </xsl:template> | ||
2143 | 307 | |||
2144 | 308 | |||
2145 | 309 | <xsl:template match="text:span"> | ||
2146 | 310 | <font> | ||
2147 | 311 | <xsl:call-template name="make_fontnames_span" /> | ||
2148 | 312 | <xsl:call-template name="make_fontsize_span" /> | ||
2149 | 313 | <xsl:apply-templates /> | ||
2150 | 314 | </font> | ||
2151 | 315 | </xsl:template> | ||
2152 | 316 | |||
2153 | 317 | <xsl:template name="make_fontsize_span"> | ||
2154 | 318 | <xsl:variable name ="fontsize"> | ||
2155 | 319 | <xsl:value-of select="key('text_style',@text:style-name)/style:properties/@fo:font-size" /> | ||
2156 | 320 | </xsl:variable> | ||
2157 | 321 | <xsl:if test="not($fontsize='') and boolean(key('text_style',@text:style-name)/style:properties/@fo:font-size)" > | ||
2158 | 322 | <xsl:attribute name="size"> | ||
2159 | 323 | <xsl:value-of select="$fontsize" /> | ||
2160 | 324 | </xsl:attribute> | ||
2161 | 325 | </xsl:if> | ||
2162 | 326 | </xsl:template> | ||
2163 | 327 | |||
2164 | 328 | <xsl:template name="make_fontnames_span"> | ||
2165 | 329 | <xsl:attribute name="face"> | ||
2166 | 330 | <xsl:call-template name="make_fontnames"> | ||
2167 | 331 | <xsl:with-param name="fontName" select="key('text_style',@text:style-name)/style:properties/@style:font-name" /> | ||
2168 | 332 | <xsl:with-param name="fontWeight" select="key('text_style',@text:style-name)/style:properties/@fo:font-weight" /> | ||
2169 | 333 | <xsl:with-param name="fontStyle" select="key('text_style',@text:style-name)/style:properties/@fo:font-style" /> | ||
2170 | 334 | </xsl:call-template> | ||
2171 | 335 | </xsl:attribute> | ||
2172 | 336 | </xsl:template> | ||
2173 | 337 | |||
2174 | 338 | <xsl:template name="make_image"> | ||
2175 | 339 | <illustration height="{.//draw:image/@svg:height}" width="{.//draw:image/@svg:width}"> | ||
2176 | 340 | <image x="0" y="0" file="{substring-after(.//draw:image/@xlink:href,'#Pictures/')}" height="{.//draw:image/@svg:height}" width="{.//draw:image/@svg:width}" /> | ||
2177 | 341 | </illustration> | ||
2178 | 342 | </xsl:template> | ||
2179 | 343 | |||
2180 | 344 | <xsl:template name="empty_paragraph"> | ||
2181 | 345 | <xsl:if test="not(boolean(count(descendant::node())))"> | ||
2182 | 346 | <xsl:call-template name="distance_point"> | ||
2183 | 347 | <xsl:with-param name="background" select="key('paragraph_style',@text:style-name)/style:properties/@fo:background-color" /> | ||
2184 | 348 | </xsl:call-template> | ||
2185 | 349 | </xsl:if> | ||
2186 | 350 | </xsl:template> | ||
2187 | 351 | |||
2188 | 352 | <xsl:template name="distance_point"> | ||
2189 | 353 | <xsl:param name="background" /> | ||
2190 | 354 | <xsl:param name="tab_stop"></xsl:param> | ||
2191 | 355 | <xsl:variable name="local_back"> | ||
2192 | 356 | <xsl:choose> | ||
2193 | 357 | <xsl:when test="not(boolean($background)) or not(contains($background,'#'))"> | ||
2194 | 358 | <!-- Do not accept OO colors like "transparent", only hex-colors --> | ||
2195 | 359 | <xsl:text>white</xsl:text> | ||
2196 | 360 | </xsl:when> | ||
2197 | 361 | <xsl:otherwise> | ||
2198 | 362 | <xsl:value-of select="$background" /> | ||
2199 | 363 | </xsl:otherwise> | ||
2200 | 364 | </xsl:choose> | ||
2201 | 365 | </xsl:variable> | ||
2202 | 366 | <font color="{$local_back}"> | ||
2203 | 367 | <xsl:text> </xsl:text> | ||
2204 | 368 | <xsl:if test="boolean($tab_stop)"> | ||
2205 | 369 | <!-- simulate a tabstop with white/background-color points --> | ||
2206 | 370 | <xsl:text>.........</xsl:text> | ||
2207 | 371 | </xsl:if> | ||
2208 | 372 | </font> | ||
2209 | 373 | </xsl:template> | ||
2210 | 374 | |||
2211 | 375 | <xsl:template match="text:ordered-list"> | ||
2212 | 376 | <xsl:apply-templates /> | ||
2213 | 377 | |||
2214 | 378 | <!-- Reset the counter. seqreset is not a trml2pdf tag, but a Platypus Intra Paragraph Markup, | ||
2215 | 379 | so it needs a dummy paragraph to enclose it --> | ||
2216 | 380 | </xsl:template> | ||
2217 | 381 | |||
2218 | 382 | <xsl:template name="make_listitem"> | ||
2219 | 383 | <xsl:if test="(name(..)='text:list-item')"> | ||
2220 | 384 | <xsl:attribute name="leftIndent">15</xsl:attribute> | ||
2221 | 385 | <xsl:attribute name="bulletIndent">0</xsl:attribute> | ||
2222 | 386 | <xsl:choose> | ||
2223 | 387 | <xsl:when test="(name(../..)='text:unordered-list')"> | ||
2224 | 388 | <xsl:variable name="fontsize"> | ||
2225 | 389 | <xsl:value-of select="number(key('paragraph_style',@text:style-name)/style:properties/@fo:font-size)" /> | ||
2226 | 390 | </xsl:variable> | ||
2227 | 391 | <xsl:choose> | ||
2228 | 392 | <xsl:when test="$fontsize='NaN'"> | ||
2229 | 393 | <!-- you should exclude non-numerical values for bulletFontSize. <== Sometimes the preprocessing went wrong.--> | ||
2230 | 394 | <!--use a default bullet font size--> | ||
2231 | 395 | <xsl:attribute name="bulletFontSize">6</xsl:attribute> | ||
2232 | 396 | </xsl:when> | ||
2233 | 397 | <xsl:otherwise> | ||
2234 | 398 | <xsl:attribute name="bulletFontSize"><xsl:value-of select="floor(($fontsize div 2) + 1)" /></xsl:attribute> | ||
2235 | 399 | </xsl:otherwise> | ||
2236 | 400 | </xsl:choose> | ||
2237 | 401 | <xsl:attribute name="bulletFontName">ZapfDingbats</xsl:attribute> | ||
2238 | 402 | <xsl:attribute name="bulletText">l</xsl:attribute> | ||
2239 | 403 | </xsl:when> | ||
2240 | 404 | <xsl:otherwise> | ||
2241 | 405 | <!-- Generate the numbers for an ordered list --> | ||
2242 | 406 | <xsl:variable name="size"> | ||
2243 | 407 | <xsl:value-of select="key('paragraph_style',@text:style-name)/style:properties/@fo:font-size" /> | ||
2244 | 408 | </xsl:variable> | ||
2245 | 409 | <!-- For ordered lists we use the bullet tag from Platypus Intra Paragraph Markup --> | ||
2246 | 410 | <bullet> | ||
2247 | 411 | <xsl:if test="not($size='') and boolean(key('paragraph_style',@text:style-name)/style:properties/@fo:font-size)"> | ||
2248 | 412 | <xsl:attribute name="size"> | ||
2249 | 413 | <!-- adapt the fontsize to the fontsize of the current paragraph --> | ||
2250 | 414 | <xsl:value-of select="$size" /> | ||
2251 | 415 | </xsl:attribute> | ||
2252 | 416 | </xsl:if> | ||
2253 | 417 | <seq id="{../../@text:style-name}"/>.</bullet> | ||
2254 | 418 | |||
2255 | 419 | </xsl:otherwise> | ||
2256 | 420 | </xsl:choose> | ||
2257 | 421 | </xsl:if> | ||
2258 | 422 | </xsl:template> | ||
2259 | 423 | |||
2260 | 424 | <xsl:template match="text:drop-down"> | ||
2261 | 425 | <xsl:value-of select="text:label[2]/@text:value" /> | ||
2262 | 426 | </xsl:template> | ||
2263 | 427 | |||
2264 | 428 | |||
2265 | 429 | <xsl:template match="text:p|text:h"> | ||
2266 | 430 | <xsl:param name="skip_draw" select="1" /> | ||
2267 | 431 | <xsl:if test="boolean(key('page_break_before',@text:style-name))" > | ||
2268 | 432 | <pageBreak /> | ||
2269 | 433 | </xsl:if> | ||
2270 | 434 | <xsl:choose> | ||
2271 | 435 | <xsl:when test="boolean(.//draw:image)"> | ||
2272 | 436 | <xsl:call-template name="make_image" /> | ||
2273 | 437 | </xsl:when> | ||
2274 | 438 | <xsl:when test="boolean(name(..) = 'draw:text-box') and boolean($skip_draw)"> | ||
2275 | 439 | </xsl:when> | ||
2276 | 440 | <xsl:otherwise> | ||
2277 | 441 | <para> | ||
2278 | 442 | <xsl:attribute name="style"> | ||
2279 | 443 | <xsl:value-of select="@text:style-name" /> | ||
2280 | 444 | </xsl:attribute> | ||
2281 | 445 | <xsl:call-template name="make_listitem" /> | ||
2282 | 446 | <xsl:apply-templates /> | ||
2283 | 447 | <xsl:call-template name="empty_paragraph" /> | ||
2284 | 448 | </para> | ||
2285 | 449 | </xsl:otherwise> | ||
2286 | 450 | </xsl:choose> | ||
2287 | 451 | <xsl:if test="boolean(key('page_break_after',@text:style-name))" > | ||
2288 | 452 | <pageBreak /> | ||
2289 | 453 | </xsl:if> | ||
2290 | 454 | </xsl:template> | ||
2291 | 455 | |||
2292 | 456 | <xsl:template match="text:p/text:tab-stop"> | ||
2293 | 457 | <!-- simulate a tabstop --> | ||
2294 | 458 | <xsl:call-template name="distance_point"> | ||
2295 | 459 | <xsl:with-param name="background" select="key('paragraph_style',@text:style-name)/style:properties/@fo:background-color" /> | ||
2296 | 460 | <xsl:with-param name="tab_stop">yes</xsl:with-param> | ||
2297 | 461 | </xsl:call-template> | ||
2298 | 462 | </xsl:template> | ||
2299 | 463 | |||
2300 | 464 | <!-- experimental - switched off | ||
2301 | 465 | <xsl:template match="text:h"> | ||
2302 | 466 | <para> | ||
2303 | 467 | <xsl:attribute name="style"> | ||
2304 | 468 | <xsl:value-of select="@text:style-name" /> | ||
2305 | 469 | </xsl:attribute> | ||
2306 | 470 | <xsl:call-template name="make_number" /> | ||
2307 | 471 | <xsl:apply-templates /> | ||
2308 | 472 | <xsl:call-template name="empty_paragraph" /> | ||
2309 | 473 | </para> | ||
2310 | 474 | </xsl:template> | ||
2311 | 475 | |||
2312 | 476 | <xsl:template name="make_number"> | ||
2313 | 477 | <xsl:choose> | ||
2314 | 478 | <xsl:when test="@text:level='1'"> | ||
2315 | 479 | <xsl:number format="1. " /> | ||
2316 | 480 | </xsl:when> | ||
2317 | 481 | <xsl:when test="@text:level='2'"> | ||
2318 | 482 | <xsl:number count="text:h[@text:level='1']|text:h[text:level='2']" level="any" format="1.1." /> | ||
2319 | 483 | </xsl:when> | ||
2320 | 484 | </xsl:choose> | ||
2321 | 485 | </xsl:template> | ||
2322 | 486 | |||
2323 | 487 | --> | ||
2324 | 488 | |||
2325 | 489 | <xsl:template match="style:style[@style:family='paragraph']"> | ||
2326 | 490 | <paraStyle> | ||
2327 | 491 | <xsl:attribute name="name"> | ||
2328 | 492 | <xsl:value-of select="@style:name" /> | ||
2329 | 493 | </xsl:attribute> | ||
2330 | 494 | <xsl:call-template name="make_indent_paragraph" /> | ||
2331 | 495 | <xsl:call-template name="make_fontnames_paragraph" /> | ||
2332 | 496 | <xsl:call-template name="make_fontsize" /> | ||
2333 | 497 | <!--<xsl:call-template name="make_parent" /> not necessary - | ||
2334 | 498 | parent styles processed by PyOpenOffice --> | ||
2335 | 499 | <xsl:call-template name="make_alignment" /> | ||
2336 | 500 | <xsl:call-template name="make_background" /> | ||
2337 | 501 | <xsl:call-template name="make_space_beforeafter" /> | ||
2338 | 502 | <xsl:call-template name="make_fontcolor" /> | ||
2339 | 503 | </paraStyle> | ||
2340 | 504 | </xsl:template> | ||
2341 | 505 | |||
2342 | 506 | <xsl:template name="make_indent_paragraph"> | ||
2343 | 507 | <xsl:variable name="right_indent"><xsl:value-of select="style:properties/@fo:margin-right" /></xsl:variable> | ||
2344 | 508 | <xsl:variable name="left_indent"><xsl:value-of select="style:properties/@fo:margin-left" /></xsl:variable> | ||
2345 | 509 | <xsl:if test="not($right_indent='') and boolean(style:properties/@fo:margin-right)"> | ||
2346 | 510 | <xsl:attribute name="rightIndent"> | ||
2347 | 511 | <xsl:value-of select="$right_indent" /> | ||
2348 | 512 | </xsl:attribute> | ||
2349 | 513 | </xsl:if> | ||
2350 | 514 | <xsl:if test="not($left_indent='') and boolean(style:properties/@fo:margin-left)"> | ||
2351 | 515 | <xsl:attribute name="leftIndent"> | ||
2352 | 516 | <xsl:value-of select="$left_indent" /> | ||
2353 | 517 | </xsl:attribute> | ||
2354 | 518 | </xsl:if> | ||
2355 | 519 | </xsl:template> | ||
2356 | 520 | |||
2357 | 521 | <xsl:template name="make_background"> | ||
2358 | 522 | <xsl:variable name="background"> | ||
2359 | 523 | <xsl:value-of select="style:properties/@fo:background-color" /> | ||
2360 | 524 | </xsl:variable> | ||
2361 | 525 | <xsl:if test="not($background='') and boolean(style:properties/@fo:background-color) and starts-with($background,'#')" > | ||
2362 | 526 | <xsl:attribute name="backColor"> | ||
2363 | 527 | <xsl:value-of select="$background" /> | ||
2364 | 528 | </xsl:attribute> | ||
2365 | 529 | </xsl:if> | ||
2366 | 530 | </xsl:template> | ||
2367 | 531 | |||
2368 | 532 | <xsl:template name="make_space_beforeafter"> | ||
2369 | 533 | <xsl:variable name="before"> | ||
2370 | 534 | <xsl:value-of select="style:properties/@fo:margin-top" /> | ||
2371 | 535 | </xsl:variable> | ||
2372 | 536 | <xsl:variable name="after"> | ||
2373 | 537 | <xsl:value-of select="style:properties/@fo:margin-bottom" /> | ||
2374 | 538 | </xsl:variable> | ||
2375 | 539 | <xsl:if test="not($before='') and boolean(style:properties/@fo:margin-top)" > | ||
2376 | 540 | <xsl:attribute name="spaceBefore"> | ||
2377 | 541 | <xsl:value-of select="$before" /> | ||
2378 | 542 | </xsl:attribute> | ||
2379 | 543 | </xsl:if> | ||
2380 | 544 | <xsl:if test="not($after='') and boolean(style:properties/@fo:margin-bottom)" > | ||
2381 | 545 | <xsl:attribute name="spaceAfter"> | ||
2382 | 546 | <xsl:value-of select="$after" /> | ||
2383 | 547 | </xsl:attribute> | ||
2384 | 548 | </xsl:if> | ||
2385 | 549 | </xsl:template> | ||
2386 | 550 | |||
2387 | 551 | <xsl:template name="make_fontsize"> | ||
2388 | 552 | <xsl:variable name="fontSize"> | ||
2389 | 553 | <xsl:value-of select="style:properties/@fo:font-size" /> | ||
2390 | 554 | </xsl:variable> | ||
2391 | 555 | <xsl:if test="not($fontSize='') and boolean(style:properties/@fo:font-size)"> | ||
2392 | 556 | <xsl:attribute name="fontSize"> | ||
2393 | 557 | <xsl:value-of select="$fontSize" /> | ||
2394 | 558 | </xsl:attribute> | ||
2395 | 559 | <xsl:attribute name="leading"> | ||
2396 | 560 | <xsl:value-of select="$fontSize + floor($fontSize div 5) + 1" /> | ||
2397 | 561 | <!--use a standard leading related to the font size --> | ||
2398 | 562 | </xsl:attribute> | ||
2399 | 563 | </xsl:if> | ||
2400 | 564 | </xsl:template> | ||
2401 | 565 | |||
2402 | 566 | <!--this template is not needed anymore for "normalized" sxw files --> | ||
2403 | 567 | <xsl:template name="make_parent"> | ||
2404 | 568 | <xsl:variable name="parent"> | ||
2405 | 569 | <xsl:value-of select="@style:parent-style-name" /> | ||
2406 | 570 | </xsl:variable> | ||
2407 | 571 | <xsl:if test="not($parent='') and boolean(@style:parent-style-name)"> | ||
2408 | 572 | <xsl:attribute name="parent"> | ||
2409 | 573 | <xsl:value-of select="$parent" /> | ||
2410 | 574 | </xsl:attribute> | ||
2411 | 575 | </xsl:if> | ||
2412 | 576 | </xsl:template> | ||
2413 | 577 | |||
2414 | 578 | <xsl:template name="make_alignment"> | ||
2415 | 579 | <xsl:variable name="alignment"> | ||
2416 | 580 | <xsl:value-of select="style:properties/@fo:text-align" /> | ||
2417 | 581 | </xsl:variable> | ||
2418 | 582 | <xsl:if test="not($alignment='') and boolean(style:properties/@fo:text-align)"> | ||
2419 | 583 | <xsl:choose> | ||
2420 | 584 | <xsl:when test="$alignment='start'"> | ||
2421 | 585 | <xsl:attribute name="alignment">LEFT</xsl:attribute> | ||
2422 | 586 | </xsl:when> | ||
2423 | 587 | <xsl:when test="$alignment='center'"> | ||
2424 | 588 | <xsl:attribute name="alignment">CENTER</xsl:attribute> | ||
2425 | 589 | </xsl:when> | ||
2426 | 590 | <xsl:when test="$alignment='end'"> | ||
2427 | 591 | <xsl:attribute name="alignment">RIGHT</xsl:attribute> | ||
2428 | 592 | </xsl:when> | ||
2429 | 593 | <xsl:when test="$alignment='justify'"> | ||
2430 | 594 | <xsl:attribute name="alignment">JUSTIFY</xsl:attribute> | ||
2431 | 595 | </xsl:when> | ||
2432 | 596 | </xsl:choose> | ||
2433 | 597 | </xsl:if> | ||
2434 | 598 | </xsl:template> | ||
2435 | 599 | |||
2436 | 600 | <xsl:template name="make_fontnames_paragraph"> | ||
2437 | 601 | <xsl:attribute name="fontName"> | ||
2438 | 602 | <xsl:call-template name="make_fontnames"> | ||
2439 | 603 | <xsl:with-param name="fontName" select="style:properties/@style:font-name" /> | ||
2440 | 604 | <xsl:with-param name="fontWeight" select="style:properties/@fo:font-weight" /> | ||
2441 | 605 | <xsl:with-param name="fontStyle" select="style:properties/@fo:font-style" /> | ||
2442 | 606 | </xsl:call-template> | ||
2443 | 607 | </xsl:attribute> | ||
2444 | 608 | </xsl:template> | ||
2445 | 609 | |||
2446 | 610 | <xsl:template name="make_fontnames"> | ||
2447 | 611 | <!--much too verbose, needs improvement--> | ||
2448 | 612 | <xsl:param name="fontName" /> | ||
2449 | 613 | <xsl:param name="fontWeight" /> | ||
2450 | 614 | <xsl:param name="fontStyle" /> | ||
2451 | 615 | <xsl:choose> | ||
2452 | 616 | <xsl:when test="not($fontName='') and boolean($fontName)"> | ||
2453 | 617 | <xsl:choose> | ||
2454 | 618 | <xsl:when test="contains($fontName,'Courier')"> | ||
2455 | 619 | <xsl:choose> | ||
2456 | 620 | <xsl:when test="($fontWeight='bold') and ($fontStyle='italic')"> | ||
2457 | 621 | <xsl:text>Courier-BoldOblique</xsl:text> | ||
2458 | 622 | </xsl:when> | ||
2459 | 623 | <xsl:when test="($fontWeight='bold') and not ($fontStyle='italic')"> | ||
2460 | 624 | <xsl:text>Courier-Bold</xsl:text> | ||
2461 | 625 | </xsl:when> | ||
2462 | 626 | <xsl:when test="not($fontWeight='bold') and ($fontStyle='italic')"> | ||
2463 | 627 | <xsl:text>Courier-Oblique</xsl:text> | ||
2464 | 628 | </xsl:when> | ||
2465 | 629 | <xsl:otherwise> | ||
2466 | 630 | <xsl:text>Courier</xsl:text> | ||
2467 | 631 | </xsl:otherwise> | ||
2468 | 632 | </xsl:choose> | ||
2469 | 633 | </xsl:when> | ||
2470 | 634 | <xsl:when test="contains($fontName,'Helvetica') or contains($fontName,'Arial') or contains($fontName,'Sans')"> | ||
2471 | 635 | <xsl:choose> | ||
2472 | 636 | <xsl:when test="($fontWeight='bold') and ($fontStyle='italic')"> | ||
2473 | 637 | <xsl:text>Helvetica-BoldOblique</xsl:text> | ||
2474 | 638 | </xsl:when> | ||
2475 | 639 | <xsl:when test="($fontWeight='bold') and not ($fontStyle='italic')"> | ||
2476 | 640 | <xsl:text>Helvetica-Bold</xsl:text> | ||
2477 | 641 | </xsl:when> | ||
2478 | 642 | <xsl:when test="not($fontWeight='bold') and ($fontStyle='italic')"> | ||
2479 | 643 | <xsl:text>Helvetica-Oblique</xsl:text> | ||
2480 | 644 | </xsl:when> | ||
2481 | 645 | <xsl:otherwise> | ||
2482 | 646 | <xsl:text>Helvetica</xsl:text> | ||
2483 | 647 | </xsl:otherwise> | ||
2484 | 648 | </xsl:choose> | ||
2485 | 649 | </xsl:when> | ||
2486 | 650 | <xsl:otherwise> | ||
2487 | 651 | <xsl:choose> | ||
2488 | 652 | <xsl:when test="($fontWeight='bold') and ($fontStyle='italic')"> | ||
2489 | 653 | <xsl:text>Times-BoldItalic</xsl:text> | ||
2490 | 654 | </xsl:when> | ||
2491 | 655 | <xsl:when test="($fontWeight='bold') and not ($fontStyle='italic')"> | ||
2492 | 656 | <xsl:text>Times-Bold</xsl:text> | ||
2493 | 657 | </xsl:when> | ||
2494 | 658 | <xsl:when test="not($fontWeight='bold') and ($fontStyle='italic')"> | ||
2495 | 659 | <xsl:text>Times-Italic</xsl:text> | ||
2496 | 660 | </xsl:when> | ||
2497 | 661 | <xsl:otherwise> | ||
2498 | 662 | <xsl:text>Times-Roman</xsl:text> | ||
2499 | 663 | </xsl:otherwise> | ||
2500 | 664 | </xsl:choose> | ||
2501 | 665 | </xsl:otherwise> | ||
2502 | 666 | </xsl:choose> | ||
2503 | 667 | </xsl:when> | ||
2504 | 668 | <xsl:otherwise> | ||
2505 | 669 | <!--Use this as default --> | ||
2506 | 670 | <xsl:text>Times-Roman</xsl:text> | ||
2507 | 671 | </xsl:otherwise> | ||
2508 | 672 | </xsl:choose> | ||
2509 | 673 | </xsl:template> | ||
2510 | 674 | <xsl:template name="make_fontcolor"> | ||
2511 | 675 | <xsl:variable name="textColor"> | ||
2512 | 676 | <xsl:value-of select="style:properties/@fo:color"/> | ||
2513 | 677 | </xsl:variable> | ||
2514 | 678 | <xsl:if test="not($textColor='') and boolean(style:properties/@fo:color)"> | ||
2515 | 679 | <xsl:attribute name="textColor"> | ||
2516 | 680 | <xsl:value-of select="$textColor" /> | ||
2517 | 681 | </xsl:attribute> | ||
2518 | 682 | </xsl:if> | ||
2519 | 683 | </xsl:template> | ||
2520 | 684 | |||
2521 | 685 | <!-- | ||
2522 | 686 | This stylesheet is part of: | ||
2523 | 687 | PyOpenOffice Version 0.4 | ||
2524 | 688 | Copyright (C) 2005: Martin Simon | ||
2525 | 689 | Homepage: www.bezirksreiter.de | ||
2526 | 690 | |||
2527 | 691 | GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 | ||
2528 | 692 | --> | ||
2529 | 693 | |||
2530 | 694 | </xsl:stylesheet> | ||
2531 | 695 | |||
2532 | 696 | |||
2533 | 697 | 0 | ||
2534 | === removed directory 'l10n_it/security' | |||
2535 | === removed file 'l10n_it/security/ir.model.access.csv' | |||
2536 | --- l10n_it/security/ir.model.access.csv 2011-01-14 00:11:01 +0000 | |||
2537 | +++ l10n_it/security/ir.model.access.csv 1970-01-01 00:00:00 +0000 | |||
2538 | @@ -1,3 +0,0 @@ | |||
2539 | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | ||
2540 | 2 | "access_l10n_it_report_manager","l10n_it.report account manager","model_account_report_libroiva","account.group_account_manager",1,1,1,1 | ||
2541 | 3 | "access_l10n_it_report_user","l10n_it_report account user","model_account_report_libroiva","account.group_account_user",1,1,1,1 |
Verify if it's possible to avoid 'Decimal'
Verify 'tax_amount' and 'base_amount' (for tax.code)