Merge lp:~domsense/domsense-agilebg-addons/adding_account_vat_on_cash_receipts into lp:domsense-agilebg-addons/6.0

Proposed by Lorenzo Battistini
Status: Merged
Merged at revision: 141
Proposed branch: lp:~domsense/domsense-agilebg-addons/adding_account_vat_on_cash_receipts
Merge into: lp:domsense-agilebg-addons/6.0
Diff against target: 667 lines (+624/-0)
8 files modified
account_vat_on_cash_receipts/AUTHORS.txt (+1/-0)
account_vat_on_cash_receipts/SPECS.txt (+31/-0)
account_vat_on_cash_receipts/__init__.py (+22/-0)
account_vat_on_cash_receipts/__openerp__.py (+51/-0)
account_vat_on_cash_receipts/account.py (+147/-0)
account_vat_on_cash_receipts/account_view.xml (+72/-0)
account_vat_on_cash_receipts/i18n/account_vat_on_cash_receipts.pot (+143/-0)
account_vat_on_cash_receipts/i18n/it.po (+157/-0)
To merge this branch: bzr merge lp:~domsense/domsense-agilebg-addons/adding_account_vat_on_cash_receipts
Reviewer Review Type Date Requested Status
Agile Business Group Pending
Review via email: mp+77020@code.launchpad.net
To post a comment you must log in.
23. By Lorenzo Battistini

[FIX] description

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'account_vat_on_cash_receipts'
2=== added file 'account_vat_on_cash_receipts/AUTHORS.txt'
3--- account_vat_on_cash_receipts/AUTHORS.txt 1970-01-01 00:00:00 +0000
4+++ account_vat_on_cash_receipts/AUTHORS.txt 2011-11-18 19:21:28 +0000
5@@ -0,0 +1,1 @@
6+Lorenzo Battistini <lorenzo.battistini@domsense.com>
7
8=== added file 'account_vat_on_cash_receipts/SPECS.txt'
9--- account_vat_on_cash_receipts/SPECS.txt 1970-01-01 00:00:00 +0000
10+++ account_vat_on_cash_receipts/SPECS.txt 2011-11-18 19:21:28 +0000
11@@ -0,0 +1,31 @@
12+=== Soluzione ideale ===
13+
14+ ACCOUNT DR CR
15+
16+fattura emessa crediti clienti (shadow) 120
17+ IVA debito (shadow) 20
18+ conto vendite (shadow) 100
19+
20+fattura pagata banca 120
21+ IVA debito 20
22+ conto vendite 100
23+
24+operazioni shadow crediti clienti (shadow) 120
25+ IVA debito (shadow) 20
26+ conto vendite (shadow) 100
27+
28+=== Soluzione accettabile ===
29+
30+ ACCOUNT DR CR
31+
32+fattura emessa crediti clienti (shadow) 120
33+ IVA debito (shadow) 20
34+ conto vendite (shadow) 100
35+
36+fattura pagata banca 120
37+ crediti clienti (shadow) 120
38+
39+operazioni shadow IVA debito 20
40+ conto vendite 100
41+ IVA debito (shadow) 20
42+ conto vendite (shadow) 100
43
44=== added file 'account_vat_on_cash_receipts/__init__.py'
45--- account_vat_on_cash_receipts/__init__.py 1970-01-01 00:00:00 +0000
46+++ account_vat_on_cash_receipts/__init__.py 2011-11-18 19:21:28 +0000
47@@ -0,0 +1,22 @@
48+# -*- coding: utf-8 -*-
49+##############################################################################
50+#
51+# OpenERP, Open Source Management Solution
52+# Copyright (C) 2011 Domsense s.r.l. (<http://www.domsense.com>).
53+#
54+# This program is free software: you can redistribute it and/or modify
55+# it under the terms of the GNU Affero General Public License as
56+# published by the Free Software Foundation, either version 3 of the
57+# License, or (at your option) any later version.
58+#
59+# This program is distributed in the hope that it will be useful,
60+# but WITHOUT ANY WARRANTY; without even the implied warranty of
61+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62+# GNU Affero General Public License for more details.
63+#
64+# You should have received a copy of the GNU Affero General Public License
65+# along with this program. If not, see <http://www.gnu.org/licenses/>.
66+#
67+##############################################################################
68+import account
69+import report
70
71=== added file 'account_vat_on_cash_receipts/__openerp__.py'
72--- account_vat_on_cash_receipts/__openerp__.py 1970-01-01 00:00:00 +0000
73+++ account_vat_on_cash_receipts/__openerp__.py 2011-11-18 19:21:28 +0000
74@@ -0,0 +1,51 @@
75+# -*- coding: utf-8 -*-
76+##############################################################################
77+#
78+# OpenERP, Open Source Management Solution
79+# Copyright (C) 2011 Domsense s.r.l. (<http://www.domsense.com>).
80+#
81+# This program is free software: you can redistribute it and/or modify
82+# it under the terms of the GNU Affero General Public License as
83+# published by the Free Software Foundation, either version 3 of the
84+# License, or (at your option) any later version.
85+#
86+# This program is distributed in the hope that it will be useful,
87+# but WITHOUT ANY WARRANTY; without even the implied warranty of
88+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
89+# GNU Affero General Public License for more details.
90+#
91+# You should have received a copy of the GNU Affero General Public License
92+# along with this program. If not, see <http://www.gnu.org/licenses/>.
93+#
94+##############################################################################
95+
96+
97+{
98+ "name": "VAT on cash receipts",
99+ "version": "1.0",
100+ 'category': 'Generic Modules/Accounting',
101+ "depends": ["account_voucher"],
102+ "author": "Agile Business Group & Domsense",
103+ "description": """
104+ In some countries, under certain conditions, companies can apply the 'Cash Receipts' basis.
105+ The 'Cash Receipts' basis means businesses may account for VAT as cash comes in from their customers. It is easier to manage than the normal method, which forces businesses to account for VAT based on invoices issued, regardless of whether or not the money has come in.
106+ The key advantage to accounting for VAT on a cash receipts basis is the cashflow benefit to your business. The effect of the cash receipts basis is that you only become liable for VAT when you have actually received payment, so you don't have to fund the VAT on your debtors. This is particularly helpful in a startup situation and in the case of an expanding business.
107+
108+ To activate this behaviour, this module adds a checkbox on the invoice form: 'Vat on cash receipts'
109+
110+ Moreover, three things have to be configured:
111+ - On account object, Related account used for real registrations on a VAT on cash basis
112+ - On journal object, Related journal used for real registrations on a VAT on cash basis (optional)
113+ - On tax code object, Related tax code used for real registrations on a VAT on cash basis (optional)
114+
115+ Requirements (Italian): http://wiki.openerp-italia.org/doku.php/area_utente/requisiti/iva_per_cassa
116+ """,
117+ 'website': 'http://www.agilebg.com',
118+ 'init_xml': [],
119+ 'update_xml': [
120+ 'account_view.xml',
121+ ],
122+ 'demo_xml': [],
123+ 'installable': True,
124+ 'active': False,
125+}
126
127=== added file 'account_vat_on_cash_receipts/account.py'
128--- account_vat_on_cash_receipts/account.py 1970-01-01 00:00:00 +0000
129+++ account_vat_on_cash_receipts/account.py 2011-11-18 19:21:28 +0000
130@@ -0,0 +1,147 @@
131+# -*- coding: utf-8 -*-
132+##############################################################################
133+#
134+# OpenERP, Open Source Management Solution
135+# Copyright (C) 2011 Domsense s.r.l. (<http://www.domsense.com>).
136+#
137+# This program is free software: you can redistribute it and/or modify
138+# it under the terms of the GNU Affero General Public License as
139+# published by the Free Software Foundation, either version 3 of the
140+# License, or (at your option) any later version.
141+#
142+# This program is distributed in the hope that it will be useful,
143+# but WITHOUT ANY WARRANTY; without even the implied warranty of
144+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
145+# GNU Affero General Public License for more details.
146+#
147+# You should have received a copy of the GNU Affero General Public License
148+# along with this program. If not, see <http://www.gnu.org/licenses/>.
149+#
150+##############################################################################
151+
152+from osv import fields, osv
153+from tools.translate import _
154+
155+class account_invoice(osv.osv):
156+ _inherit = "account.invoice"
157+ _columns = {
158+ 'vat_on_cash': fields.boolean('Vat on cash receipts'),
159+ }
160+account_invoice()
161+
162+class account_voucher(osv.osv):
163+ _inherit = "account.voucher"
164+
165+ def action_move_line_create(self, cr, uid, ids, context=None):
166+ if isinstance(ids, (int, long)):
167+ ids = [ids]
168+ if not context:
169+ context={}
170+ res = super(account_voucher, self).action_move_line_create(cr, uid, ids, context)
171+ invoice_pool=self.pool.get('account.invoice')
172+ move_pool=self.pool.get('account.move')
173+ line_pool=self.pool.get('account.move.line')
174+
175+ invoices = []
176+ # search for reconciled invoices and compute partial payment
177+ for voucher in self.browse(cr, uid, ids):
178+ for line in voucher.move_ids:
179+ if line.reconcile_partial_id:
180+ paid_amount = 0.0
181+ inv_amount = 0.0
182+ for reconcile_line in line.reconcile_partial_id.line_partial_ids:
183+ if reconcile_line.invoice:
184+ invoice_id = reconcile_line.invoice.id
185+ inv_amount = reconcile_line.invoice.amount_total
186+ elif reconcile_line.credit > 0.0:
187+ paid_amount += reconcile_line.credit
188+ inv_tuple = (invoice_id, paid_amount / inv_amount)
189+ if inv_tuple not in invoices:
190+ invoices.append(inv_tuple)
191+ if line.reconcile_id:
192+ for reconcile_line in line.reconcile_id.line_id:
193+ if reconcile_line.invoice:
194+ if (reconcile_line.invoice.id,1) not in invoices:
195+ invoices.append((reconcile_line.invoice.id,1))
196+
197+ for invoice_tuple in invoices:
198+ invoice = invoice_pool.browse(cr, uid, invoice_tuple[0], context)
199+ if invoice.vat_on_cash:
200+ move_data = {
201+ 'name': _('VAT on cash') + ' - ' + invoice.move_id.name,
202+ }
203+ if invoice.journal_id.vat_on_cash_related_journal_id:
204+ move_data['journal_id'
205+ ] = invoice.journal_id.vat_on_cash_related_journal_id.id
206+ else:
207+ move_data['journal_id'] = invoice.journal_id.id
208+ move_id = move_pool.create(cr, uid, move_data)
209+ move = move_pool.browse(cr, uid, move_id)
210+
211+ for move_line in invoice.move_id.line_id:
212+ line_count = 0
213+ if move_line.credit > 0.0:
214+ if move_line.account_id.vat_on_cash_related_account_id:
215+ line_count +=1
216+
217+ line_data = {
218+ 'name': _('VAT on cash') + ' - ' + move_line.name,
219+ 'debit': move_line.debit * invoice_tuple[1],
220+ 'credit': move_line.credit * invoice_tuple[1],
221+ 'account_id': move_line.account_id.vat_on_cash_related_account_id.id,
222+ 'move_id': move_id,
223+ 'journal_id': move.journal_id.id,
224+ 'period_id': move.period_id.id,
225+ }
226+
227+ shadow_line_data = {
228+ 'name': _('VAT on cash') + ' - ' + move_line.name,
229+ 'debit': move_line.credit * invoice_tuple[1],
230+ 'credit': move_line.debit * invoice_tuple[1],
231+ 'account_id': move_line.account_id.id,
232+ 'move_id': move_id,
233+ 'journal_id': move.journal_id.id,
234+ 'period_id': move.period_id.id,
235+ }
236+
237+ if move_line.tax_code_id:
238+ shadow_line_data['tax_code_id'] = move_line.tax_code_id.id
239+ shadow_line_data['tax_amount'] = (shadow_line_data['credit']
240+ - shadow_line_data['debit'])
241+ if move_line.tax_code_id.vat_on_cash_related_tax_code_id:
242+ line_data['tax_code_id'
243+ ] = move_line.tax_code_id.vat_on_cash_related_tax_code_id.id
244+ line_data['tax_amount'] = (line_data['credit']
245+ - line_data['debit'])
246+
247+ line_pool.create(cr, uid, line_data)
248+ line_pool.create(cr, uid, shadow_line_data)
249+ if line_count == 0:
250+ raise osv.except_osv(_('Error!'), _('You are trying to reconcile a "Vat on cash receipts" invoice, but no account used by the invoice has a related account used for real registrations on a VAT on cash basis'))
251+
252+ move_pool.post(cr, uid, [move_id], context={})
253+
254+ return res
255+
256+account_voucher()
257+
258+class account_account(osv.osv):
259+ _inherit = "account.account"
260+ _columns = {
261+ 'vat_on_cash_related_account_id': fields.many2one('account.account', 'Account for VAT on cash', help='Related account used for real registrations on a VAT on cash basis'),
262+ }
263+account_account()
264+
265+class account_tax_code(osv.osv):
266+ _inherit = "account.tax.code"
267+ _columns = {
268+ 'vat_on_cash_related_tax_code_id': fields.many2one('account.tax.code', 'Tax code for VAT on cash', help='Related tax code used for real registrations on a VAT on cash basis'),
269+ }
270+account_tax_code()
271+
272+class account_journal(osv.osv):
273+ _inherit = "account.journal"
274+ _columns = {
275+ 'vat_on_cash_related_journal_id': fields.many2one('account.journal', 'Journal for VAT on cash', help='Related journal used for real registrations on a VAT on cash basis'),
276+ }
277+account_journal()
278
279=== added file 'account_vat_on_cash_receipts/account_view.xml'
280--- account_vat_on_cash_receipts/account_view.xml 1970-01-01 00:00:00 +0000
281+++ account_vat_on_cash_receipts/account_view.xml 2011-11-18 19:21:28 +0000
282@@ -0,0 +1,72 @@
283+<?xml version="1.0" encoding="utf-8"?>
284+<openerp>
285+ <data>
286+
287+<!-- account -->
288+
289+ <record id="view_account_form" model="ir.ui.view">
290+ <field name="name">account.account.form</field>
291+ <field name="model">account.account</field>
292+ <field name="type">form</field>
293+ <field name="inherit_id" ref="account.view_account_form"/>
294+ <field name="arch" type="xml">
295+ <field position="after" name="child_consol_ids">
296+ <field name="vat_on_cash_related_account_id"/>
297+ </field>
298+ </field>
299+ </record>
300+
301+<!-- tax code -->
302+
303+ <record id="view_tax_code_form" model="ir.ui.view">
304+ <field name="name">account.tax.code.form</field>
305+ <field name="model">account.tax.code</field>
306+ <field name="type">form</field>
307+ <field name="inherit_id" ref="account.view_tax_code_form"/>
308+ <field name="arch" type="xml">
309+ <field position="after" name="company_id">
310+ <field name="vat_on_cash_related_tax_code_id"/>
311+ </field>
312+ </field>
313+ </record>
314+
315+<!-- journal -->
316+
317+ <record id="view_account_journal_form" model="ir.ui.view">
318+ <field name="name">account.journal.form</field>
319+ <field name="model">account.journal</field>
320+ <field name="inherit_id" ref="account.view_account_journal_form"/>
321+ <field name="type">form</field>
322+ <field name="arch" type="xml">
323+ <field name="group_invoice_lines" position="after">
324+ <field name="vat_on_cash_related_journal_id"/>
325+ </field>
326+ </field>
327+ </record>
328+
329+<!-- invoice -->
330+
331+ <record id="invoice_form" model="ir.ui.view">
332+ <field name="name">account.invoice.form</field>
333+ <field name="model">account.invoice</field>
334+ <field name="type">form</field>
335+ <field name="inherit_id" ref="account.invoice_form"/>
336+ <field name="arch" type="xml">
337+ <field name="payment_term" position="after">
338+ <field name="vat_on_cash"/>
339+ </field>
340+ </field>
341+ </record>
342+ <record id="invoice_supplier_form" model="ir.ui.view">
343+ <field name="name">account.invoice.supplier.form</field>
344+ <field name="model">account.invoice</field>
345+ <field name="type">form</field>
346+ <field name="inherit_id" ref="account.invoice_supplier_form"/>
347+ <field name="arch" type="xml">
348+ <field name="date_due" position="after">
349+ <field name="vat_on_cash"/>
350+ </field>
351+ </field>
352+ </record>
353+ </data>
354+</openerp>
355
356=== added directory 'account_vat_on_cash_receipts/i18n'
357=== added file 'account_vat_on_cash_receipts/i18n/account_vat_on_cash_receipts.pot'
358--- account_vat_on_cash_receipts/i18n/account_vat_on_cash_receipts.pot 1970-01-01 00:00:00 +0000
359+++ account_vat_on_cash_receipts/i18n/account_vat_on_cash_receipts.pot 2011-11-18 19:21:28 +0000
360@@ -0,0 +1,143 @@
361+# Translation of OpenERP Server.
362+# This file contains the translation of the following modules:
363+# * account_vat_on_cash_receipts
364+#
365+msgid ""
366+msgstr ""
367+"Project-Id-Version: OpenERP Server 6.0.2\n"
368+"Report-Msgid-Bugs-To: support@openerp.com\n"
369+"POT-Creation-Date: 2011-08-26 07:18+0000\n"
370+"PO-Revision-Date: 2011-08-26 07:18+0000\n"
371+"Last-Translator: <>\n"
372+"Language-Team: \n"
373+"MIME-Version: 1.0\n"
374+"Content-Type: text/plain; charset=UTF-8\n"
375+"Content-Transfer-Encoding: \n"
376+"Plural-Forms: \n"
377+
378+#. module: account_vat_on_cash_receipts
379+#: help:account.account,vat_on_cash_related_account_id:0
380+msgid "Related account used for real registrations on a VAT on cash basis"
381+msgstr ""
382+
383+#. module: account_vat_on_cash_receipts
384+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_tax_code
385+msgid "Tax Code"
386+msgstr ""
387+
388+#. module: account_vat_on_cash_receipts
389+#: sql_constraint:account.account:0
390+msgid "The code of the account must be unique per company !"
391+msgstr ""
392+
393+#. module: account_vat_on_cash_receipts
394+#: model:ir.module.module,shortdesc:account_vat_on_cash_receipts.module_meta_information
395+msgid "VAT on cash receipts"
396+msgstr ""
397+
398+#. module: account_vat_on_cash_receipts
399+#: model:ir.module.module,description:account_vat_on_cash_receipts.module_meta_information
400+msgid "In some countries, under certain conditions, companies can apply the 'Cash Receipts' basis.\n"
401+"The 'Cash Receipts' basis means businesses may account for VAT as cash comes in from their customers. It is easier to manage than the normal method, which forces businesses to account for VAT based on invoices issued, regardless of whether or not the money has come in.\n"
402+"The key advantage to accounting for VAT on a cash receipts basis is the cashflow benefit to your business. The effect of the cash receipts basis is that you only become liable for VAT when you have actually received payment, so you don't have to fund the VAT on your debtors. This is particularly helpful in a startup situation and in the case of an expanding business.\n"
403+"\n"
404+"To activate this behaviour, this module adds a checkbox on the invoice form: 'Vat on cash receipts'\n"
405+"\n"
406+"Moreover, three things have to be configured:\n"
407+" - On account object, Related account used for real registrations on a VAT on cash basis\n"
408+" - On journal object - Related journal used for real registrations on a VAT on cash basis (optional)\n"
409+" - On tax code object, Related tax code used for real registrations on a VAT on cash basis (optional)"
410+msgstr ""
411+
412+#. module: account_vat_on_cash_receipts
413+#: constraint:account.account:0
414+msgid "Configuration Error! \n"
415+"You cannot define children to an account with internal type different of \"View\"! "
416+msgstr ""
417+
418+#. module: account_vat_on_cash_receipts
419+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_journal
420+msgid "Journal"
421+msgstr ""
422+
423+#. module: account_vat_on_cash_receipts
424+#: field:account.account,vat_on_cash_related_account_id:0
425+msgid "Account for VAT on cash"
426+msgstr ""
427+
428+#. module: account_vat_on_cash_receipts
429+#: help:account.tax.code,vat_on_cash_related_tax_code_id:0
430+msgid "Related tax code used for real registrations on a VAT on cash basis"
431+msgstr ""
432+
433+#. module: account_vat_on_cash_receipts
434+#: field:account.journal,vat_on_cash_related_journal_id:0
435+msgid "Journal for VAT on cash"
436+msgstr ""
437+
438+#. module: account_vat_on_cash_receipts
439+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_account
440+msgid "Account"
441+msgstr ""
442+
443+#. module: account_vat_on_cash_receipts
444+#: help:account.journal,vat_on_cash_related_journal_id:0
445+msgid "Related journal used for real registrations on a VAT on cash basis"
446+msgstr ""
447+
448+#. module: account_vat_on_cash_receipts
449+#: code:addons/account_vat_on_cash_receipts/account.py:120
450+#, python-format
451+msgid "Error!"
452+msgstr ""
453+
454+#. module: account_vat_on_cash_receipts
455+#: field:account.invoice,vat_on_cash:0
456+msgid "Vat on cash receipts"
457+msgstr ""
458+
459+#. module: account_vat_on_cash_receipts
460+#: constraint:account.account:0
461+#: constraint:account.tax.code:0
462+msgid "Error ! You can not create recursive accounts."
463+msgstr ""
464+
465+#. module: account_vat_on_cash_receipts
466+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_voucher
467+msgid "Accounting Voucher"
468+msgstr ""
469+
470+#. module: account_vat_on_cash_receipts
471+#: sql_constraint:account.journal:0
472+msgid "The name of the journal must be unique per company !"
473+msgstr ""
474+
475+#. module: account_vat_on_cash_receipts
476+#: field:account.tax.code,vat_on_cash_related_tax_code_id:0
477+msgid "Tax code for VAT on cash"
478+msgstr ""
479+
480+#. module: account_vat_on_cash_receipts
481+#: code:addons/account_vat_on_cash_receipts/account.py:71
482+#: code:addons/account_vat_on_cash_receipts/account.py:88
483+#: code:addons/account_vat_on_cash_receipts/account.py:98
484+#, python-format
485+msgid "VAT on cash"
486+msgstr ""
487+
488+#. module: account_vat_on_cash_receipts
489+#: sql_constraint:account.journal:0
490+msgid "The code of the journal must be unique per company !"
491+msgstr ""
492+
493+#. module: account_vat_on_cash_receipts
494+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_invoice
495+msgid "Invoice"
496+msgstr ""
497+
498+#. module: account_vat_on_cash_receipts
499+#: code:addons/account_vat_on_cash_receipts/account.py:120
500+#, python-format
501+msgid "You are trying to reconcile a \"Vat on cash receipts\" invoice, but no account used by the invoice has a related account used for real registrations on a VAT on cash basis"
502+msgstr ""
503+
504
505=== added file 'account_vat_on_cash_receipts/i18n/it.mo'
506Binary files account_vat_on_cash_receipts/i18n/it.mo 1970-01-01 00:00:00 +0000 and account_vat_on_cash_receipts/i18n/it.mo 2011-11-18 19:21:28 +0000 differ
507=== added file 'account_vat_on_cash_receipts/i18n/it.po'
508--- account_vat_on_cash_receipts/i18n/it.po 1970-01-01 00:00:00 +0000
509+++ account_vat_on_cash_receipts/i18n/it.po 2011-11-18 19:21:28 +0000
510@@ -0,0 +1,157 @@
511+# Translation of OpenERP Server.
512+# This file contains the translation of the following modules:
513+# * account_vat_on_cash_receipts
514+#
515+msgid ""
516+msgstr ""
517+"Project-Id-Version: OpenERP Server 6.0.2\n"
518+"Report-Msgid-Bugs-To: support@openerp.com\n"
519+"POT-Creation-Date: 2011-08-26 07:18+0000\n"
520+"PO-Revision-Date: 2011-08-26 09:26+0100\n"
521+"Last-Translator: eLBati <lorenzo.battistini@domsense.com>\n"
522+"Language-Team: \n"
523+"MIME-Version: 1.0\n"
524+"Content-Type: text/plain; charset=UTF-8\n"
525+"Content-Transfer-Encoding: 8bit\n"
526+"Plural-Forms: \n"
527+
528+#. module: account_vat_on_cash_receipts
529+#: help:account.account,vat_on_cash_related_account_id:0
530+msgid "Related account used for real registrations on a VAT on cash basis"
531+msgstr "Conto utilizzato per le registrazioni IVA su incassato"
532+
533+#. module: account_vat_on_cash_receipts
534+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_tax_code
535+msgid "Tax Code"
536+msgstr "Codice imposta"
537+
538+#. module: account_vat_on_cash_receipts
539+#: sql_constraint:account.account:0
540+msgid "The code of the account must be unique per company !"
541+msgstr "Il codice del conto deve essere unico per ogni azienda!"
542+
543+#. module: account_vat_on_cash_receipts
544+#: model:ir.module.module,shortdesc:account_vat_on_cash_receipts.module_meta_information
545+msgid "VAT on cash receipts"
546+msgstr "IVA su incassato"
547+
548+#. module: account_vat_on_cash_receipts
549+#: model:ir.module.module,description:account_vat_on_cash_receipts.module_meta_information
550+msgid ""
551+"In some countries, under certain conditions, companies can apply the 'Cash Receipts' basis.\n"
552+"The 'Cash Receipts' basis means businesses may account for VAT as cash comes in from their customers. It is easier to manage than the normal method, which forces businesses to account for VAT based on invoices issued, regardless of whether or not the money has come in.\n"
553+"The key advantage to accounting for VAT on a cash receipts basis is the cashflow benefit to your business. The effect of the cash receipts basis is that you only become liable for VAT when you have actually received payment, so you don't have to fund the VAT on your debtors. This is particularly helpful in a startup situation and in the case of an expanding business.\n"
554+"\n"
555+"To activate this behaviour, this module adds a checkbox on the invoice form: 'Vat on cash receipts'\n"
556+"\n"
557+"Moreover, three things have to be configured:\n"
558+" - On account object, Related account used for real registrations on a VAT on cash basis\n"
559+" - On journal object - Related journal used for real registrations on a VAT on cash basis (optional)\n"
560+" - On tax code object, Related tax code used for real registrations on a VAT on cash basis (optional)"
561+msgstr ""
562+"In some countries, under certain conditions, companies can apply the 'Cash Receipts' basis.\n"
563+"The 'Cash Receipts' basis means businesses may account for VAT as cash comes in from their customers. It is easier to manage than the normal method, which forces businesses to account for VAT based on invoices issued, regardless of whether or not the money has come in.\n"
564+"The key advantage to accounting for VAT on a cash receipts basis is the cashflow benefit to your business. The effect of the cash receipts basis is that you only become liable for VAT when you have actually received payment, so you don't have to fund the VAT on your debtors. This is particularly helpful in a startup situation and in the case of an expanding business.\n"
565+"\n"
566+"To activate this behaviour, this module adds a checkbox on the invoice form: 'Vat on cash receipts'\n"
567+"\n"
568+"Moreover, three things have to be configured:\n"
569+" - On account object, Related account used for real registrations on a VAT on cash basis\n"
570+" - On journal object - Related journal used for real registrations on a VAT on cash basis (optional)\n"
571+" - On tax code object, Related tax code used for real registrations on a VAT on cash basis (optional)"
572+
573+#. module: account_vat_on_cash_receipts
574+#: constraint:account.account:0
575+msgid ""
576+"Configuration Error! \n"
577+"You cannot define children to an account with internal type different of \"View\"! "
578+msgstr ""
579+"Errore di configurazione! \n"
580+"Non è possibile definire figli per un conto che ha un tipo interno diverso da \"Vista\"! "
581+
582+#. module: account_vat_on_cash_receipts
583+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_journal
584+msgid "Journal"
585+msgstr "Sezionale"
586+
587+#. module: account_vat_on_cash_receipts
588+#: field:account.account,vat_on_cash_related_account_id:0
589+msgid "Account for VAT on cash"
590+msgstr "Conto per IVA su incassato"
591+
592+#. module: account_vat_on_cash_receipts
593+#: help:account.tax.code,vat_on_cash_related_tax_code_id:0
594+msgid "Related tax code used for real registrations on a VAT on cash basis"
595+msgstr "Conto imposta utilizzato per le registrazioni IVA su incassato"
596+
597+#. module: account_vat_on_cash_receipts
598+#: field:account.journal,vat_on_cash_related_journal_id:0
599+msgid "Journal for VAT on cash"
600+msgstr "Sezionale per IVA su incassato"
601+
602+#. module: account_vat_on_cash_receipts
603+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_account
604+msgid "Account"
605+msgstr "Contabilità"
606+
607+#. module: account_vat_on_cash_receipts
608+#: help:account.journal,vat_on_cash_related_journal_id:0
609+msgid "Related journal used for real registrations on a VAT on cash basis"
610+msgstr "Sezionale utilizzato per le registrazioni IVA su incassato"
611+
612+#. module: account_vat_on_cash_receipts
613+#: code:addons/account_vat_on_cash_receipts/account.py:120
614+#, python-format
615+msgid "Error!"
616+msgstr "Errore!"
617+
618+#. module: account_vat_on_cash_receipts
619+#: field:account.invoice,vat_on_cash:0
620+msgid "Vat on cash receipts"
621+msgstr "IVA su incassato"
622+
623+#. module: account_vat_on_cash_receipts
624+#: constraint:account.account:0
625+#: constraint:account.tax.code:0
626+msgid "Error ! You can not create recursive accounts."
627+msgstr "Errore! Non puoi creare conti ricorsivi"
628+
629+#. module: account_vat_on_cash_receipts
630+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_voucher
631+msgid "Accounting Voucher"
632+msgstr "Voucher contabile"
633+
634+#. module: account_vat_on_cash_receipts
635+#: sql_constraint:account.journal:0
636+msgid "The name of the journal must be unique per company !"
637+msgstr "Il nome del sezionale deve essere unico per ogni azienda!"
638+
639+#. module: account_vat_on_cash_receipts
640+#: field:account.tax.code,vat_on_cash_related_tax_code_id:0
641+msgid "Tax code for VAT on cash"
642+msgstr "Conto imposta per IVA su incassato"
643+
644+#. module: account_vat_on_cash_receipts
645+#: code:addons/account_vat_on_cash_receipts/account.py:71
646+#: code:addons/account_vat_on_cash_receipts/account.py:88
647+#: code:addons/account_vat_on_cash_receipts/account.py:98
648+#, python-format
649+msgid "VAT on cash"
650+msgstr "IVA su incassato"
651+
652+#. module: account_vat_on_cash_receipts
653+#: sql_constraint:account.journal:0
654+msgid "The code of the journal must be unique per company !"
655+msgstr "Il codice del sezionale deve essere unico per una stessa azienda!"
656+
657+#. module: account_vat_on_cash_receipts
658+#: model:ir.model,name:account_vat_on_cash_receipts.model_account_invoice
659+msgid "Invoice"
660+msgstr "Fattura"
661+
662+#. module: account_vat_on_cash_receipts
663+#: code:addons/account_vat_on_cash_receipts/account.py:120
664+#, python-format
665+msgid "You are trying to reconcile a \"Vat on cash receipts\" invoice, but no account used by the invoice has a related account used for real registrations on a VAT on cash basis"
666+msgstr "Si sta cercando di riconciliare una fattura \"IVA su incassato\", ma nessun conto utilizzato dalla fattura è associato ad un conto per le registrazioni IVA su incassato"
667+

Subscribers

People subscribed via source and target branches

to status/vote changes: