Merge lp:~openobject-italia-core-devs/openobject-italia/adding_l10n_it_corrispettivi into lp:~openobject-italia-core-devs/openobject-italia/italian-addons
- adding_l10n_it_corrispettivi
- Merge into italian-addons
Proposed by
Lorenzo Battistini
Status: | Merged |
---|---|
Merged at revision: | 117 |
Proposed branch: | lp:~openobject-italia-core-devs/openobject-italia/adding_l10n_it_corrispettivi |
Merge into: | lp:~openobject-italia-core-devs/openobject-italia/italian-addons |
Diff against target: |
1214 lines (+1168/-0) 9 files modified
l10n_it_corrispettivi/AUTHORS.txt (+2/-0) l10n_it_corrispettivi/__init__.py (+23/-0) l10n_it_corrispettivi/__openerp__.py (+39/-0) l10n_it_corrispettivi/account.py (+122/-0) l10n_it_corrispettivi/account_view.xml (+243/-0) l10n_it_corrispettivi/i18n/it.po (+306/-0) l10n_it_corrispettivi/i18n/l10n_it_corrispettivi.pot (+306/-0) l10n_it_corrispettivi/installer.py (+68/-0) l10n_it_corrispettivi/installer_view.xml (+59/-0) |
To merge this branch: | bzr merge lp:~openobject-italia-core-devs/openobject-italia/adding_l10n_it_corrispettivi |
Related bugs: | |
Related blueprints: |
Corrispettivi
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Italia core devs | Pending | ||
Review via email: mp+71265@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'l10n_it_corrispettivi' | |||
2 | === added file 'l10n_it_corrispettivi/AUTHORS.txt' | |||
3 | --- l10n_it_corrispettivi/AUTHORS.txt 1970-01-01 00:00:00 +0000 | |||
4 | +++ l10n_it_corrispettivi/AUTHORS.txt 2011-08-11 19:51:22 +0000 | |||
5 | @@ -0,0 +1,2 @@ | |||
6 | 1 | Lorenzo Battistini <lorenzo.battistini@domsense.com> | ||
7 | 2 | |||
8 | 0 | 3 | ||
9 | === added file 'l10n_it_corrispettivi/__init__.py' | |||
10 | --- l10n_it_corrispettivi/__init__.py 1970-01-01 00:00:00 +0000 | |||
11 | +++ l10n_it_corrispettivi/__init__.py 2011-08-11 19:51:22 +0000 | |||
12 | @@ -0,0 +1,23 @@ | |||
13 | 1 | # -*- encoding: utf-8 -*- | ||
14 | 2 | ############################################################################## | ||
15 | 3 | # | ||
16 | 4 | # Copyright (C) 2011 Associazione OpenERP Italia | ||
17 | 5 | # (<http://www.openerp-italia.org>). | ||
18 | 6 | # All Rights Reserved | ||
19 | 7 | # | ||
20 | 8 | # This program is free software: you can redistribute it and/or modify | ||
21 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
22 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
23 | 11 | # (at your option) any later version. | ||
24 | 12 | # | ||
25 | 13 | # This program is distributed in the hope that it will be useful, | ||
26 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
27 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
28 | 16 | # GNU General Public License for more details. | ||
29 | 17 | # | ||
30 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
31 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
32 | 20 | # | ||
33 | 21 | ############################################################################## | ||
34 | 22 | import account | ||
35 | 23 | import installer | ||
36 | 0 | 24 | ||
37 | === added file 'l10n_it_corrispettivi/__openerp__.py' | |||
38 | --- l10n_it_corrispettivi/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
39 | +++ l10n_it_corrispettivi/__openerp__.py 2011-08-11 19:51:22 +0000 | |||
40 | @@ -0,0 +1,39 @@ | |||
41 | 1 | # -*- encoding: utf-8 -*- | ||
42 | 2 | ############################################################################## | ||
43 | 3 | # | ||
44 | 4 | # Copyright (C) 2011 Associazione OpenERP Italia | ||
45 | 5 | # (<http://www.openerp-italia.org>). | ||
46 | 6 | # All Rights Reserved | ||
47 | 7 | # | ||
48 | 8 | # This program is free software: you can redistribute it and/or modify | ||
49 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
50 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
51 | 11 | # (at your option) any later version. | ||
52 | 12 | # | ||
53 | 13 | # This program is distributed in the hope that it will be useful, | ||
54 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
55 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
56 | 16 | # GNU General Public License for more details. | ||
57 | 17 | # | ||
58 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
59 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
60 | 20 | # | ||
61 | 21 | ############################################################################## | ||
62 | 22 | { | ||
63 | 23 | 'name': 'Italian Localisation - Corrispettivi', | ||
64 | 24 | 'version': '0.1', | ||
65 | 25 | 'category': 'Localisation/Italy', | ||
66 | 26 | 'description': """This module helps to easily input Corrispettivi within OpenERP""", | ||
67 | 27 | 'author': 'OpenERP Italian Community', | ||
68 | 28 | 'website': 'http://www.openerp-italia.org', | ||
69 | 29 | 'license': 'AGPL-3', | ||
70 | 30 | "depends" : ['account_voucher'], | ||
71 | 31 | "init_xml" : [], | ||
72 | 32 | "update_xml" : [ | ||
73 | 33 | 'account_view.xml', | ||
74 | 34 | 'installer_view.xml', | ||
75 | 35 | ], | ||
76 | 36 | "demo_xml" : [], | ||
77 | 37 | "active": False, | ||
78 | 38 | "installable": True | ||
79 | 39 | } | ||
80 | 0 | 40 | ||
81 | === added file 'l10n_it_corrispettivi/account.py' | |||
82 | --- l10n_it_corrispettivi/account.py 1970-01-01 00:00:00 +0000 | |||
83 | +++ l10n_it_corrispettivi/account.py 2011-08-11 19:51:22 +0000 | |||
84 | @@ -0,0 +1,122 @@ | |||
85 | 1 | # -*- encoding: utf-8 -*- | ||
86 | 2 | ############################################################################## | ||
87 | 3 | # | ||
88 | 4 | # Copyright (C) 2011 Associazione OpenERP Italia | ||
89 | 5 | # (<http://www.openerp-italia.org>). | ||
90 | 6 | # All Rights Reserved | ||
91 | 7 | # | ||
92 | 8 | # This program is free software: you can redistribute it and/or modify | ||
93 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
94 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
95 | 11 | # (at your option) any later version. | ||
96 | 12 | # | ||
97 | 13 | # This program is distributed in the hope that it will be useful, | ||
98 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
99 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
100 | 16 | # GNU General Public License for more details. | ||
101 | 17 | # | ||
102 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
103 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
104 | 20 | # | ||
105 | 21 | ############################################################################## | ||
106 | 22 | |||
107 | 23 | from osv import fields, osv | ||
108 | 24 | from tools.translate import _ | ||
109 | 25 | |||
110 | 26 | class account_invoice(osv.osv): | ||
111 | 27 | _inherit = 'account.invoice' | ||
112 | 28 | _columns = { | ||
113 | 29 | 'corrispettivo': fields.boolean('Corrispettivo'), | ||
114 | 30 | } | ||
115 | 31 | |||
116 | 32 | def onchange_company_id(self, cr, uid, ids, company_id, part_id, type, invoice_line, currency_id, context=None): | ||
117 | 33 | if not context: | ||
118 | 34 | context={} | ||
119 | 35 | journal_obj = self.pool.get('account.journal') | ||
120 | 36 | res = super(account_invoice, self).onchange_company_id(cr, uid, ids, company_id, part_id, type, invoice_line, currency_id) | ||
121 | 37 | is_corrispettivo = context.get('corrispettivo', False) | ||
122 | 38 | corr_journal_ids = journal_obj.search(cr, uid, [('corrispettivi','=', True), ('company_id','=', company_id)]) | ||
123 | 39 | |||
124 | 40 | # Se è un corrispettivo e la company ha almeno un sezionale corrispettivi | ||
125 | 41 | if is_corrispettivo and corr_journal_ids: | ||
126 | 42 | res['value']['journal_id'] = corr_journal_ids[0] | ||
127 | 43 | |||
128 | 44 | # Se la company ha almeno un sezionale corrispettivi ma l'invoice non è un corrispettivo | ||
129 | 45 | elif corr_journal_ids and corr_journal_ids[0] in res['domain']['journal_id'][0][2]: | ||
130 | 46 | # Se l'on_change di invoice ha impostato il journal corrispettivi | ||
131 | 47 | if corr_journal_ids[0] == res['value']['journal_id'] and len(res['domain']['journal_id'][0][2]) > 1: | ||
132 | 48 | for j_id in res['domain']['journal_id'][0][2]: | ||
133 | 49 | if corr_journal_ids[0] != j_id: | ||
134 | 50 | res['value']['journal_id'] = j_id | ||
135 | 51 | break | ||
136 | 52 | return res | ||
137 | 53 | |||
138 | 54 | |||
139 | 55 | def _get_account(self, cr, uid, context=None): | ||
140 | 56 | if context is None: | ||
141 | 57 | context = {} | ||
142 | 58 | is_corrispettivo = context.get('corrispettivo', False) | ||
143 | 59 | res = False | ||
144 | 60 | if is_corrispettivo: | ||
145 | 61 | partner_obj = partner_ids = self.pool.get('res.partner') | ||
146 | 62 | partner_ids=partner_obj.search(cr, uid, [('corrispettivi', '=', True)]) | ||
147 | 63 | if not partner_ids: | ||
148 | 64 | raise osv.except_osv(_('Error!'), | ||
149 | 65 | _('No partner "corrispettivi" found')) | ||
150 | 66 | partner = partner_obj.browse(cr, uid, partner_ids[0]) | ||
151 | 67 | res = partner.property_account_receivable.id | ||
152 | 68 | return res | ||
153 | 69 | |||
154 | 70 | def _get_partner_id(self, cr, uid, context=None): | ||
155 | 71 | if context is None: | ||
156 | 72 | context = {} | ||
157 | 73 | is_corrispettivo = context.get('corrispettivo', False) | ||
158 | 74 | res = False | ||
159 | 75 | if is_corrispettivo: | ||
160 | 76 | partner_obj = partner_ids = self.pool.get('res.partner') | ||
161 | 77 | partner_ids=partner_obj.search(cr, uid, [('corrispettivi', '=', True)]) | ||
162 | 78 | if not partner_ids: | ||
163 | 79 | raise osv.except_osv(_('Error!'), | ||
164 | 80 | _('No partner "corrispettivi" found')) | ||
165 | 81 | res = partner_ids[0] | ||
166 | 82 | return res | ||
167 | 83 | |||
168 | 84 | def _get_address_invoice_id(self, cr, uid, context=None): | ||
169 | 85 | if context is None: | ||
170 | 86 | context = {} | ||
171 | 87 | is_corrispettivo = context.get('corrispettivo', False) | ||
172 | 88 | res = False | ||
173 | 89 | if is_corrispettivo: | ||
174 | 90 | partner_obj = partner_ids = self.pool.get('res.partner') | ||
175 | 91 | partner_ids=partner_obj.search(cr, uid, [('corrispettivi', '=', True)]) | ||
176 | 92 | if not partner_ids: | ||
177 | 93 | raise osv.except_osv(_('Error!'), | ||
178 | 94 | _('No partner "corrispettivi" found')) | ||
179 | 95 | partner = partner_obj.browse(cr, uid, partner_ids[0]) | ||
180 | 96 | if not partner.address: | ||
181 | 97 | raise osv.except_osv(_('Error!'), | ||
182 | 98 | _('No address specified for partner %s') % partner.name) | ||
183 | 99 | res = partner.address[0].id | ||
184 | 100 | return res | ||
185 | 101 | |||
186 | 102 | _defaults = { | ||
187 | 103 | 'partner_id': _get_partner_id, | ||
188 | 104 | 'address_invoice_id': _get_address_invoice_id, | ||
189 | 105 | 'account_id': _get_account, | ||
190 | 106 | } | ||
191 | 107 | |||
192 | 108 | account_invoice() | ||
193 | 109 | |||
194 | 110 | class account_journal(osv.osv): | ||
195 | 111 | _inherit = 'account.journal' | ||
196 | 112 | _columns = { | ||
197 | 113 | 'corrispettivi': fields.boolean('Corrispettivi'), | ||
198 | 114 | } | ||
199 | 115 | account_journal() | ||
200 | 116 | |||
201 | 117 | class res_partner(osv.osv): | ||
202 | 118 | _inherit = 'res.partner' | ||
203 | 119 | _columns = { | ||
204 | 120 | 'corrispettivi': fields.boolean('Corrispettivi'), | ||
205 | 121 | } | ||
206 | 122 | res_partner() | ||
207 | 0 | 123 | ||
208 | === added file 'l10n_it_corrispettivi/account_view.xml' | |||
209 | --- l10n_it_corrispettivi/account_view.xml 1970-01-01 00:00:00 +0000 | |||
210 | +++ l10n_it_corrispettivi/account_view.xml 2011-08-11 19:51:22 +0000 | |||
211 | @@ -0,0 +1,243 @@ | |||
212 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
213 | 2 | <openerp> | ||
214 | 3 | <data> | ||
215 | 4 | |||
216 | 5 | <!-- invoice --> | ||
217 | 6 | |||
218 | 7 | <record id="corrispettivi_tree" model="ir.ui.view"> | ||
219 | 8 | <field name="name">account.corrispettivi.tree</field> | ||
220 | 9 | <field name="model">account.invoice</field> | ||
221 | 10 | <field name="priority" eval="17"/> | ||
222 | 11 | <field name="type">tree</field> | ||
223 | 12 | <field name="arch" type="xml"> | ||
224 | 13 | <tree colors="blue:state in ('draft');black:state in ('proforma','proforma2','open');gray:state in ('cancel')" string="Corrispettivi"> | ||
225 | 14 | <field name="date_invoice" string="Date"/> | ||
226 | 15 | <field name="number"/> | ||
227 | 16 | <field name="partner_id" groups="base.group_erp_manager"/> | ||
228 | 17 | <field name="name"/> | ||
229 | 18 | <field name="journal_id" invisible="1"/> | ||
230 | 19 | <field name="period_id" invisible="1" groups="account.group_account_user"/> | ||
231 | 20 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | ||
232 | 21 | <field name="user_id"/> | ||
233 | 22 | <field name="date_due" groups="base.group_erp_manager"/> | ||
234 | 23 | <field name="origin" groups="base.group_erp_manager"/> | ||
235 | 24 | <field name="currency_id"/> | ||
236 | 25 | <field name="residual" sum="Residual Amount"/> | ||
237 | 26 | <field name="amount_untaxed" sum="Untaxed Amount"/> | ||
238 | 27 | <field name="amount_total" sum="Total Amount"/> | ||
239 | 28 | <field name="state"/> | ||
240 | 29 | |||
241 | 30 | <button name="invoice_open" states="draft,proforma2" string="Approve" icon="terp-camera_test"/> | ||
242 | 31 | </tree> | ||
243 | 32 | </field> | ||
244 | 33 | </record> | ||
245 | 34 | <record id="corrispettivi_form" model="ir.ui.view"> | ||
246 | 35 | <field name="name">account.corrispettivi.form</field> | ||
247 | 36 | <field name="model">account.invoice</field> | ||
248 | 37 | <field name="priority" eval="17"/> | ||
249 | 38 | <field name="type">form</field> | ||
250 | 39 | <field name="arch" type="xml"> | ||
251 | 40 | <form string="Corrispettivi"> | ||
252 | 41 | <group colspan="4" col="8"> | ||
253 | 42 | <field name="journal_id" groups="base.group_user" on_change="onchange_journal_id(journal_id)" widget="selection"/> | ||
254 | 43 | <field name="number"/> | ||
255 | 44 | <field name="type" invisible="1"/> | ||
256 | 45 | <field name="currency_id" width="50"/> | ||
257 | 46 | <button name="%(account.action_account_change_currency)d" type="action" icon="terp-stock_effects-object-colorize" string="Change" attrs="{'invisible':[('state','!=','draft')]}" groups="account.group_account_user"/> | ||
258 | 47 | <newline/> | ||
259 | 48 | <field string="Customer" name="partner_id" groups="base.group_erp_manager"/> | ||
260 | 49 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id" groups="base.group_erp_manager"/> | ||
261 | 50 | <field name="fiscal_position" groups="base.group_erp_manager" widget="selection"/> | ||
262 | 51 | <newline/> | ||
263 | 52 | <field name="date_invoice" string="Date"/> | ||
264 | 53 | <field name="corrispettivo" groups="base.group_erp_manager"/> | ||
265 | 54 | <field name="period_id" domain="[('state', '=', 'draft')]" groups="account.group_account_user" widget="selection"/> | ||
266 | 55 | <group colspan="2" col="1" groups="account.group_account_user"> | ||
267 | 56 | <label align="0.0" string="(keep empty to use the current period)"/> | ||
268 | 57 | </group> | ||
269 | 58 | </group> | ||
270 | 59 | <notebook colspan="4"> | ||
271 | 60 | <page string="Invoice"> | ||
272 | 61 | <field domain="[('company_id', '=', company_id),('type','=', 'receivable')]" name="account_id" groups="account.group_account_user"/> | ||
273 | 62 | <field name="name"/> | ||
274 | 63 | <field name="payment_term" widget="selection" groups="base.group_erp_manager"/> | ||
275 | 64 | <field colspan="4" name="invoice_line" nolabel="1" widget="one2many_list"/> | ||
276 | 65 | <group col="1" colspan="2"> | ||
277 | 66 | <field name="tax_line" nolabel="1"> | ||
278 | 67 | <tree editable="bottom" string="Taxes"> | ||
279 | 68 | <field name="name"/> | ||
280 | 69 | <field name="account_id" groups="account.group_account_invoice"/> | ||
281 | 70 | <field name="base" on_change="base_change(base,parent.currency_id,parent.company_id,parent.date_invoice)" readonly="1"/> | ||
282 | 71 | <field name="amount" on_change="amount_change(amount,parent.currency_id,parent.company_id,parent.date_invoice)"/> | ||
283 | 72 | <field invisible="True" name="base_amount"/> | ||
284 | 73 | <field invisible="True" name="tax_amount"/> | ||
285 | 74 | <field name="factor_base" invisible="True"/> | ||
286 | 75 | <field name="factor_tax" invisible="True"/> | ||
287 | 76 | </tree> | ||
288 | 77 | </field> | ||
289 | 78 | </group> | ||
290 | 79 | <group col="4" colspan="2"> | ||
291 | 80 | <button colspan="2" name="button_reset_taxes" states="draft" string="Compute Taxes" type="object" groups="base.group_user" icon="terp-stock_format-scientific"/> | ||
292 | 81 | <field name="amount_untaxed"/> | ||
293 | 82 | <label string="" colspan="2"/> | ||
294 | 83 | <field name="amount_tax"/> | ||
295 | 84 | <field name="reconciled"/> | ||
296 | 85 | <field name="amount_total"/> | ||
297 | 86 | <field name="state"/> | ||
298 | 87 | <field name="residual"/> | ||
299 | 88 | <group col="8" colspan="4" groups="base.group_user"> | ||
300 | 89 | <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" icon="gtk-cancel"/> | ||
301 | 90 | <button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object" icon="terp-stock_effects-object-colorize"/> | ||
302 | 91 | |||
303 | 92 | <button name="%(account.action_account_invoice_refund)d" type='action' string='Refund' states='open,paid' icon="gtk-execute"/> | ||
304 | 93 | <button name='%(account.action_account_state_open)d' type='action' string='Re-Open' states='paid' icon="gtk-convert" groups="base.group_no_one"/> | ||
305 | 94 | <button name="invoice_proforma2" states="draft" string="PRO-FORMA" icon="terp-gtk-media-pause" groups="base.group_erp_manager"/> | ||
306 | 95 | <button name="invoice_open" states="draft,proforma2" string="Validate" icon="gtk-go-forward"/> | ||
307 | 96 | <button name="invoice_pay_customer" type="object" string="Payment" states="open" icon="gtk-go-forward"/> | ||
308 | 97 | </group> | ||
309 | 98 | </group> | ||
310 | 99 | </page> | ||
311 | 100 | <page string="Other Info"> | ||
312 | 101 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id,context)" widget="selection" groups="base.group_multi_company"/> | ||
313 | 102 | <newline/> | ||
314 | 103 | <field name="date_due" groups="base.group_erp_manager"/> | ||
315 | 104 | <field name="user_id"/> | ||
316 | 105 | <newline/> | ||
317 | 106 | <field domain="[('partner_id.ref_companies', 'in', [company_id])]" name="partner_bank_id" | ||
318 | 107 | groups="base.group_erp_manager"/> | ||
319 | 108 | <field name="origin" groups="base.group_erp_manager"/> | ||
320 | 109 | <field colspan="4" domain="[('partner_id','=',partner_id)]" name="address_contact_id" | ||
321 | 110 | groups="base.group_erp_manager"/> | ||
322 | 111 | <field name="move_id" groups="account.group_account_user"/> | ||
323 | 112 | <separator colspan="4" string="Additional Information"/> | ||
324 | 113 | <field colspan="4" name="comment" nolabel="1"/> | ||
325 | 114 | </page> | ||
326 | 115 | <page string="Payments"> | ||
327 | 116 | <field name="payment_ids" colspan="4" nolabel="1"> | ||
328 | 117 | <tree string="Payments"> | ||
329 | 118 | <field name="date"/> | ||
330 | 119 | <field name="ref"/> | ||
331 | 120 | <field name="name"/> | ||
332 | 121 | <field name="journal_id" groups="base.group_user"/> | ||
333 | 122 | <field name="debit"/> | ||
334 | 123 | <field name="credit"/> | ||
335 | 124 | <field name="amount_currency"/> | ||
336 | 125 | <field name="currency_id"/> | ||
337 | 126 | </tree> | ||
338 | 127 | </field> | ||
339 | 128 | </page> | ||
340 | 129 | </notebook> | ||
341 | 130 | </form> | ||
342 | 131 | </field> | ||
343 | 132 | </record> | ||
344 | 133 | |||
345 | 134 | <record id="invoice_form" model="ir.ui.view"> | ||
346 | 135 | <field name="name">account.invoice.form</field> | ||
347 | 136 | <field name="model">account.invoice</field> | ||
348 | 137 | <field name="type">form</field> | ||
349 | 138 | <field name="inherit_id" ref="account.invoice_form"></field> | ||
350 | 139 | <field name="arch" type="xml"> | ||
351 | 140 | <field name="company_id" position="replace"> | ||
352 | 141 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id,context)" widget="selection" groups="base.group_multi_company"/> | ||
353 | 142 | </field> | ||
354 | 143 | </field> | ||
355 | 144 | </record> | ||
356 | 145 | |||
357 | 146 | <record id="view_account_corrispettivi_filter" model="ir.ui.view"> | ||
358 | 147 | <field name="name">account.corrispettivi.select</field> | ||
359 | 148 | <field name="model">account.invoice</field> | ||
360 | 149 | <field name="type">search</field> | ||
361 | 150 | <field name="arch" type="xml"> | ||
362 | 151 | <search string="Search Corrispettivi"> | ||
363 | 152 | <group col="10" colspan="4"> | ||
364 | 153 | <filter name="draft" icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Invoices"/> | ||
365 | 154 | <filter name="invoices" icon="terp-dolar" string="Corrispettivi" domain="[('state','not in',['draft','cancel'])]" help="Open/Paid"/> | ||
366 | 155 | <separator orientation="vertical"/> | ||
367 | 156 | <filter name="unpaid" icon="terp-dolar_ok!" string="Unpaid" domain="[('state','=','open')]" help="Unpaid"/> | ||
368 | 157 | <separator orientation="vertical"/> | ||
369 | 158 | <field name="number"/> | ||
370 | 159 | <field name="user_id" select="1" widget="selection" string="Salesman"> | ||
371 | 160 | <filter domain="[('user_id','=',uid)]" help="My invoices" icon="terp-personal" separator="1"/> | ||
372 | 161 | </field> | ||
373 | 162 | <field name="amount_total"/> | ||
374 | 163 | </group> | ||
375 | 164 | <newline/> | ||
376 | 165 | <group col="10" colspan="4"> | ||
377 | 166 | <field name="journal_id" widget="selection" select='1'/> | ||
378 | 167 | <field name="period_id" select='1' string="Period"/> | ||
379 | 168 | </group> | ||
380 | 169 | <newline/> | ||
381 | 170 | <group expand="0" string="Group By..."> | ||
382 | 171 | <filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/> | ||
383 | 172 | <separator orientation="vertical"/> | ||
384 | 173 | <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/> | ||
385 | 174 | <separator orientation="vertical"/> | ||
386 | 175 | <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/> | ||
387 | 176 | <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_invoice'}"/> | ||
388 | 177 | </group> | ||
389 | 178 | </search> | ||
390 | 179 | </field> | ||
391 | 180 | </record> | ||
392 | 181 | |||
393 | 182 | <record id="action_corrispettivi_tree" model="ir.actions.act_window"> | ||
394 | 183 | <field name="name">Corrispettivi</field> | ||
395 | 184 | <field name="res_model">account.invoice</field> | ||
396 | 185 | <field name="view_type">form</field> | ||
397 | 186 | <field name="view_mode">tree,form,calendar,graph</field> | ||
398 | 187 | <field eval="False" name="view_id"/> | ||
399 | 188 | <field name="domain">[('type','=','out_invoice'),('corrispettivo','=',True)]</field> | ||
400 | 189 | <field name="context">{'type':'out_invoice', 'journal_type': 'sale', 'corrispettivo': True}</field> | ||
401 | 190 | <field name="search_view_id" ref="view_account_corrispettivi_filter"/> | ||
402 | 191 | </record> | ||
403 | 192 | |||
404 | 193 | <record id="account.action_invoice_tree1" model="ir.actions.act_window"> | ||
405 | 194 | <field name="domain">[('type','=','out_invoice'),('corrispettivo','=', False)]</field> | ||
406 | 195 | </record> | ||
407 | 196 | |||
408 | 197 | |||
409 | 198 | <record id="action_corrispettivi_tree_view1" model="ir.actions.act_window.view"> | ||
410 | 199 | <field eval="1" name="sequence"/> | ||
411 | 200 | <field name="view_mode">tree</field> | ||
412 | 201 | <field name="view_id" ref="corrispettivi_tree"/> | ||
413 | 202 | <field name="act_window_id" ref="action_corrispettivi_tree"/> | ||
414 | 203 | </record> | ||
415 | 204 | |||
416 | 205 | <record id="action_corrispettivi_tree_view2" model="ir.actions.act_window.view"> | ||
417 | 206 | <field eval="2" name="sequence"/> | ||
418 | 207 | <field name="view_mode">form</field> | ||
419 | 208 | <field name="view_id" ref="corrispettivi_form"/> | ||
420 | 209 | <field name="act_window_id" ref="action_corrispettivi_tree"/> | ||
421 | 210 | </record> | ||
422 | 211 | |||
423 | 212 | <menuitem action="action_corrispettivi_tree" id="menu_action_corrispettivi_tree" parent="account.menu_finance_receivables"/> | ||
424 | 213 | |||
425 | 214 | <!-- partner --> | ||
426 | 215 | |||
427 | 216 | <record id="view_partner_form" model="ir.ui.view"> | ||
428 | 217 | <field name="name">res.partner.form</field> | ||
429 | 218 | <field name="model">res.partner</field> | ||
430 | 219 | <field name="type">form</field> | ||
431 | 220 | <field name="inherit_id" ref="base.view_partner_form"/> | ||
432 | 221 | <field name="arch" type="xml"> | ||
433 | 222 | <field name="supplier" position="after"> | ||
434 | 223 | <field name="corrispettivi" groups="account.group_account_manager"/> | ||
435 | 224 | </field> | ||
436 | 225 | </field> | ||
437 | 226 | </record> | ||
438 | 227 | |||
439 | 228 | <!-- journal --> | ||
440 | 229 | |||
441 | 230 | <record id="view_account_journal_form" model="ir.ui.view"> | ||
442 | 231 | <field name="name">account.journal.form</field> | ||
443 | 232 | <field name="model">account.journal</field> | ||
444 | 233 | <field name="type">form</field> | ||
445 | 234 | <field name="inherit_id" ref="account.view_account_journal_form"/> | ||
446 | 235 | <field name="arch" type="xml"> | ||
447 | 236 | <field name="allow_date" position="after"> | ||
448 | 237 | <field name="corrispettivi"/> | ||
449 | 238 | </field> | ||
450 | 239 | </field> | ||
451 | 240 | </record> | ||
452 | 241 | |||
453 | 242 | </data> | ||
454 | 243 | </openerp> | ||
455 | 0 | 244 | ||
456 | === added directory 'l10n_it_corrispettivi/i18n' | |||
457 | === added file 'l10n_it_corrispettivi/i18n/it.po' | |||
458 | --- l10n_it_corrispettivi/i18n/it.po 1970-01-01 00:00:00 +0000 | |||
459 | +++ l10n_it_corrispettivi/i18n/it.po 2011-08-11 19:51:22 +0000 | |||
460 | @@ -0,0 +1,306 @@ | |||
461 | 1 | # Translation of OpenERP Server. | ||
462 | 2 | # This file contains the translation of the following modules: | ||
463 | 3 | # * l10n_it_corrispettivi | ||
464 | 4 | # | ||
465 | 5 | msgid "" | ||
466 | 6 | msgstr "" | ||
467 | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" | ||
468 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
469 | 9 | "POT-Creation-Date: 2011-07-30 15:56+0000\n" | ||
470 | 10 | "PO-Revision-Date: 2011-07-30 15:56+0000\n" | ||
471 | 11 | "Last-Translator: <>\n" | ||
472 | 12 | "Language-Team: \n" | ||
473 | 13 | "MIME-Version: 1.0\n" | ||
474 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
475 | 15 | "Content-Transfer-Encoding: \n" | ||
476 | 16 | "Plural-Forms: \n" | ||
477 | 17 | |||
478 | 18 | #. module: l10n_it_corrispettivi | ||
479 | 19 | #: view:account.invoice:0 | ||
480 | 20 | msgid "(keep empty to use the current period)" | ||
481 | 21 | msgstr "(lasciare il campo vuoto per usare il periodo corrente)" | ||
482 | 22 | |||
483 | 23 | #. module: l10n_it_corrispettivi | ||
484 | 24 | #: view:account.invoice:0 | ||
485 | 25 | msgid "Other Info" | ||
486 | 26 | msgstr "Altre informazioni" | ||
487 | 27 | |||
488 | 28 | #. module: l10n_it_corrispettivi | ||
489 | 29 | #: field:corrispettivi.config.data,default_credit_account_id:0 | ||
490 | 30 | msgid "Default credit account" | ||
491 | 31 | msgstr "Conto di credito di default" | ||
492 | 32 | |||
493 | 33 | #. module: l10n_it_corrispettivi | ||
494 | 34 | #: model:ir.module.module,shortdesc:l10n_it_corrispettivi.module_meta_information | ||
495 | 35 | msgid "Italian Localisation - Corrispettivi" | ||
496 | 36 | msgstr "Italian Localisation - Corrispettivi" | ||
497 | 37 | |||
498 | 38 | #. module: l10n_it_corrispettivi | ||
499 | 39 | #: view:account.invoice:0 | ||
500 | 40 | msgid "Responsible" | ||
501 | 41 | msgstr "Responsabile" | ||
502 | 42 | |||
503 | 43 | #. module: l10n_it_corrispettivi | ||
504 | 44 | #: view:account.invoice:0 | ||
505 | 45 | msgid "Period" | ||
506 | 46 | msgstr "Periodo" | ||
507 | 47 | |||
508 | 48 | #. module: l10n_it_corrispettivi | ||
509 | 49 | #: view:account.invoice:0 | ||
510 | 50 | msgid "Group By..." | ||
511 | 51 | msgstr "Raggruppa per..." | ||
512 | 52 | |||
513 | 53 | #. module: l10n_it_corrispettivi | ||
514 | 54 | #: view:account.invoice:0 | ||
515 | 55 | msgid "State" | ||
516 | 56 | msgstr "Stato" | ||
517 | 57 | |||
518 | 58 | #. module: l10n_it_corrispettivi | ||
519 | 59 | #: view:account.invoice:0 | ||
520 | 60 | msgid "Draft" | ||
521 | 61 | msgstr "Bozza" | ||
522 | 62 | |||
523 | 63 | #. module: l10n_it_corrispettivi | ||
524 | 64 | #: view:account.invoice:0 | ||
525 | 65 | msgid "PRO-FORMA" | ||
526 | 66 | msgstr "Pro-Forma" | ||
527 | 67 | |||
528 | 68 | #. module: l10n_it_corrispettivi | ||
529 | 69 | #: field:corrispettivi.config.data,paid_tax_account_id:0 | ||
530 | 70 | msgid "Paid Tax Account" | ||
531 | 71 | msgstr "Conto Imposte Pagate" | ||
532 | 72 | |||
533 | 73 | #. module: l10n_it_corrispettivi | ||
534 | 74 | #: field:corrispettivi.config.data,progress:0 | ||
535 | 75 | msgid "Configuration Progress" | ||
536 | 76 | msgstr "Avanzamento configurazione" | ||
537 | 77 | |||
538 | 78 | #. module: l10n_it_corrispettivi | ||
539 | 79 | #: view:corrispettivi.config.data:0 | ||
540 | 80 | msgid "title" | ||
541 | 81 | msgstr "Titolo" | ||
542 | 82 | |||
543 | 83 | #. module: l10n_it_corrispettivi | ||
544 | 84 | #: model:ir.model,name:l10n_it_corrispettivi.model_corrispettivi_config_data | ||
545 | 85 | msgid "corrispettivi.config.data" | ||
546 | 86 | msgstr "corrispettivi.config.data" | ||
547 | 87 | |||
548 | 88 | #. module: l10n_it_corrispettivi | ||
549 | 89 | #: model:ir.model,name:l10n_it_corrispettivi.model_account_journal | ||
550 | 90 | msgid "Journal" | ||
551 | 91 | msgstr "Giornale" | ||
552 | 92 | |||
553 | 93 | #. module: l10n_it_corrispettivi | ||
554 | 94 | #: view:account.invoice:0 | ||
555 | 95 | msgid "Reset to Draft" | ||
556 | 96 | msgstr "Reimposta a \"Bozza\"" | ||
557 | 97 | |||
558 | 98 | #. module: l10n_it_corrispettivi | ||
559 | 99 | #: view:account.invoice:0 | ||
560 | 100 | msgid "Date" | ||
561 | 101 | msgstr "Data" | ||
562 | 102 | |||
563 | 103 | #. module: l10n_it_corrispettivi | ||
564 | 104 | #: view:corrispettivi.config.data:0 | ||
565 | 105 | msgid "Corrispettivi Configuration" | ||
566 | 106 | msgstr "Configurazione Corrispettivi" | ||
567 | 107 | |||
568 | 108 | #. module: l10n_it_corrispettivi | ||
569 | 109 | #: view:account.invoice:0 | ||
570 | 110 | msgid "Payment" | ||
571 | 111 | msgstr "Pagamento" | ||
572 | 112 | |||
573 | 113 | #. module: l10n_it_corrispettivi | ||
574 | 114 | #: view:account.invoice:0 | ||
575 | 115 | msgid "Change" | ||
576 | 116 | msgstr "Modifica" | ||
577 | 117 | |||
578 | 118 | #. module: l10n_it_corrispettivi | ||
579 | 119 | #: view:account.invoice:0 | ||
580 | 120 | msgid "Customer" | ||
581 | 121 | msgstr "Cliente" | ||
582 | 122 | |||
583 | 123 | #. module: l10n_it_corrispettivi | ||
584 | 124 | #: view:account.invoice:0 | ||
585 | 125 | msgid "Refund" | ||
586 | 126 | msgstr "Rimborso" | ||
587 | 127 | |||
588 | 128 | #. module: l10n_it_corrispettivi | ||
589 | 129 | #: field:corrispettivi.config.data,collected_tax_account_id:0 | ||
590 | 130 | msgid "Collected Tax Account" | ||
591 | 131 | msgstr "Conto Imposte Accumulate" | ||
592 | 132 | |||
593 | 133 | #. module: l10n_it_corrispettivi | ||
594 | 134 | #: code:addons/l10n_it_corrispettivi/account.py:98 | ||
595 | 135 | #, python-format | ||
596 | 136 | msgid "No address specified for partner %s" | ||
597 | 137 | msgstr "Nessun indirizzo specificato per il partner %s" | ||
598 | 138 | |||
599 | 139 | #. module: l10n_it_corrispettivi | ||
600 | 140 | #: field:account.invoice,corrispettivo:0 | ||
601 | 141 | msgid "Corrispettivo" | ||
602 | 142 | msgstr "Corrispettivo" | ||
603 | 143 | |||
604 | 144 | #. module: l10n_it_corrispettivi | ||
605 | 145 | #: view:account.invoice:0 | ||
606 | 146 | msgid "Search Corrispettivi" | ||
607 | 147 | msgstr "Cerca Corrispettivi" | ||
608 | 148 | |||
609 | 149 | #. module: l10n_it_corrispettivi | ||
610 | 150 | #: view:account.invoice:0 | ||
611 | 151 | msgid "Taxes" | ||
612 | 152 | msgstr "Imposte" | ||
613 | 153 | |||
614 | 154 | #. module: l10n_it_corrispettivi | ||
615 | 155 | #: view:account.invoice:0 | ||
616 | 156 | msgid "Compute Taxes" | ||
617 | 157 | msgstr "Calcola Imposte e Totali" | ||
618 | 158 | |||
619 | 159 | #. module: l10n_it_corrispettivi | ||
620 | 160 | #: view:account.invoice:0 | ||
621 | 161 | #: field:account.journal,corrispettivi:0 | ||
622 | 162 | #: model:ir.actions.act_window,name:l10n_it_corrispettivi.action_corrispettivi_tree | ||
623 | 163 | #: model:ir.ui.menu,name:l10n_it_corrispettivi.menu_action_corrispettivi_tree | ||
624 | 164 | #: field:res.partner,corrispettivi:0 | ||
625 | 165 | msgid "Corrispettivi" | ||
626 | 166 | msgstr "Corrispettivi" | ||
627 | 167 | |||
628 | 168 | #. module: l10n_it_corrispettivi | ||
629 | 169 | #: code:addons/l10n_it_corrispettivi/account.py:64 | ||
630 | 170 | #: code:addons/l10n_it_corrispettivi/account.py:79 | ||
631 | 171 | #: code:addons/l10n_it_corrispettivi/account.py:93 | ||
632 | 172 | #: code:addons/l10n_it_corrispettivi/account.py:97 | ||
633 | 173 | #, python-format | ||
634 | 174 | msgid "Error!" | ||
635 | 175 | msgstr "Errore!" | ||
636 | 176 | |||
637 | 177 | #. module: l10n_it_corrispettivi | ||
638 | 178 | #: field:corrispettivi.config.data,journal_view_id:0 | ||
639 | 179 | msgid "Journal View" | ||
640 | 180 | msgstr "Visualizzazione sezionale" | ||
641 | 181 | |||
642 | 182 | #. module: l10n_it_corrispettivi | ||
643 | 183 | #: view:account.invoice:0 | ||
644 | 184 | msgid "Payments" | ||
645 | 185 | msgstr "Pagamenti" | ||
646 | 186 | |||
647 | 187 | #. module: l10n_it_corrispettivi | ||
648 | 188 | #: view:corrispettivi.config.data:0 | ||
649 | 189 | msgid "Select data to configure Corrispettivi module." | ||
650 | 190 | msgstr "Selezionare i dati con cui configurare il modulo Corrispettivi" | ||
651 | 191 | |||
652 | 192 | #. module: l10n_it_corrispettivi | ||
653 | 193 | #: view:account.invoice:0 | ||
654 | 194 | msgid "Approve" | ||
655 | 195 | msgstr "Approva" | ||
656 | 196 | |||
657 | 197 | #. module: l10n_it_corrispettivi | ||
658 | 198 | #: view:account.invoice:0 | ||
659 | 199 | msgid "Validate" | ||
660 | 200 | msgstr "Valida" | ||
661 | 201 | |||
662 | 202 | #. module: l10n_it_corrispettivi | ||
663 | 203 | #: view:corrispettivi.config.data:0 | ||
664 | 204 | msgid "Configure" | ||
665 | 205 | msgstr "Configura" | ||
666 | 206 | |||
667 | 207 | #. module: l10n_it_corrispettivi | ||
668 | 208 | #: help:corrispettivi.config.data,default_credit_account_id:0 | ||
669 | 209 | #: help:corrispettivi.config.data,default_debit_account_id:0 | ||
670 | 210 | msgid "If doubtful, use income account" | ||
671 | 211 | msgstr "Se inverti, utilizzare il conto vendite" | ||
672 | 212 | |||
673 | 213 | #. module: l10n_it_corrispettivi | ||
674 | 214 | #: view:account.invoice:0 | ||
675 | 215 | msgid "Residual Amount" | ||
676 | 216 | msgstr "Ammontare residuo" | ||
677 | 217 | |||
678 | 218 | #. module: l10n_it_corrispettivi | ||
679 | 219 | #: view:account.invoice:0 | ||
680 | 220 | msgid "Unpaid" | ||
681 | 221 | msgstr "Non pagato" | ||
682 | 222 | |||
683 | 223 | #. module: l10n_it_corrispettivi | ||
684 | 224 | #: field:corrispettivi.config.data,default_debit_account_id:0 | ||
685 | 225 | msgid "Default debit account" | ||
686 | 226 | msgstr "Conto di debito di default" | ||
687 | 227 | |||
688 | 228 | #. module: l10n_it_corrispettivi | ||
689 | 229 | #: field:corrispettivi.config.data,config_logo:0 | ||
690 | 230 | msgid "Image" | ||
691 | 231 | msgstr "Immagine" | ||
692 | 232 | |||
693 | 233 | #. module: l10n_it_corrispettivi | ||
694 | 234 | #: sql_constraint:account.journal:0 | ||
695 | 235 | msgid "The name of the journal must be unique per company !" | ||
696 | 236 | msgstr "Il nome del giornale deve essere unico per ogni azienda!" | ||
697 | 237 | |||
698 | 238 | #. module: l10n_it_corrispettivi | ||
699 | 239 | #: view:corrispettivi.config.data:0 | ||
700 | 240 | msgid "Configure Corrispettivi Journal" | ||
701 | 241 | msgstr "Configura sezionale corrispettivi" | ||
702 | 242 | |||
703 | 243 | #. module: l10n_it_corrispettivi | ||
704 | 244 | #: model:ir.actions.act_window,name:l10n_it_corrispettivi.action_corrispettivi_config_data | ||
705 | 245 | msgid "Configure Corrispettivi" | ||
706 | 246 | msgstr "Configura Corrispettivi" | ||
707 | 247 | |||
708 | 248 | #. module: l10n_it_corrispettivi | ||
709 | 249 | #: code:addons/l10n_it_corrispettivi/account.py:65 | ||
710 | 250 | #: code:addons/l10n_it_corrispettivi/account.py:80 | ||
711 | 251 | #: code:addons/l10n_it_corrispettivi/account.py:94 | ||
712 | 252 | #, python-format | ||
713 | 253 | msgid "No partner \"corrispettivi\" found" | ||
714 | 254 | msgstr "Nessun partner di tipo \"corrispettivi\" trovato" | ||
715 | 255 | |||
716 | 256 | #. module: l10n_it_corrispettivi | ||
717 | 257 | #: view:account.invoice:0 | ||
718 | 258 | msgid "Re-Open" | ||
719 | 259 | msgstr "Riapri" | ||
720 | 260 | |||
721 | 261 | #. module: l10n_it_corrispettivi | ||
722 | 262 | #: model:ir.module.module,description:l10n_it_corrispettivi.module_meta_information | ||
723 | 263 | msgid "This module helps to easily input Corrispettivi within OpenERP" | ||
724 | 264 | msgstr "Questo modulo permette di inserire agevolmente i corrispettivi in OpenERP" | ||
725 | 265 | |||
726 | 266 | #. module: l10n_it_corrispettivi | ||
727 | 267 | #: view:account.invoice:0 | ||
728 | 268 | #: model:ir.model,name:l10n_it_corrispettivi.model_account_invoice | ||
729 | 269 | msgid "Invoice" | ||
730 | 270 | msgstr "Fattura" | ||
731 | 271 | |||
732 | 272 | #. module: l10n_it_corrispettivi | ||
733 | 273 | #: sql_constraint:account.journal:0 | ||
734 | 274 | msgid "The code of the journal must be unique per company !" | ||
735 | 275 | msgstr "Il codice del giornale deve essere unico per una stessa azienda!" | ||
736 | 276 | |||
737 | 277 | #. module: l10n_it_corrispettivi | ||
738 | 278 | #: view:account.invoice:0 | ||
739 | 279 | msgid "Cancel" | ||
740 | 280 | msgstr "Annulla" | ||
741 | 281 | |||
742 | 282 | #. module: l10n_it_corrispettivi | ||
743 | 283 | #: model:ir.model,name:l10n_it_corrispettivi.model_res_partner | ||
744 | 284 | msgid "Partner" | ||
745 | 285 | msgstr "Partner" | ||
746 | 286 | |||
747 | 287 | #. module: l10n_it_corrispettivi | ||
748 | 288 | #: view:account.invoice:0 | ||
749 | 289 | msgid "Untaxed Amount" | ||
750 | 290 | msgstr "Importo non tassato" | ||
751 | 291 | |||
752 | 292 | #. module: l10n_it_corrispettivi | ||
753 | 293 | #: view:account.invoice:0 | ||
754 | 294 | msgid "Salesman" | ||
755 | 295 | msgstr "Commerciale" | ||
756 | 296 | |||
757 | 297 | #. module: l10n_it_corrispettivi | ||
758 | 298 | #: view:account.invoice:0 | ||
759 | 299 | msgid "Total Amount" | ||
760 | 300 | msgstr "Importo Totale" | ||
761 | 301 | |||
762 | 302 | #. module: l10n_it_corrispettivi | ||
763 | 303 | #: view:account.invoice:0 | ||
764 | 304 | msgid "Additional Information" | ||
765 | 305 | msgstr "Informazioni Aggiuntive" | ||
766 | 306 | |||
767 | 0 | 307 | ||
768 | === added file 'l10n_it_corrispettivi/i18n/l10n_it_corrispettivi.pot' | |||
769 | --- l10n_it_corrispettivi/i18n/l10n_it_corrispettivi.pot 1970-01-01 00:00:00 +0000 | |||
770 | +++ l10n_it_corrispettivi/i18n/l10n_it_corrispettivi.pot 2011-08-11 19:51:22 +0000 | |||
771 | @@ -0,0 +1,306 @@ | |||
772 | 1 | # Translation of OpenERP Server. | ||
773 | 2 | # This file contains the translation of the following modules: | ||
774 | 3 | # * l10n_it_corrispettivi | ||
775 | 4 | # | ||
776 | 5 | msgid "" | ||
777 | 6 | msgstr "" | ||
778 | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" | ||
779 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
780 | 9 | "POT-Creation-Date: 2011-07-30 15:56+0000\n" | ||
781 | 10 | "PO-Revision-Date: 2011-07-30 15:56+0000\n" | ||
782 | 11 | "Last-Translator: <>\n" | ||
783 | 12 | "Language-Team: \n" | ||
784 | 13 | "MIME-Version: 1.0\n" | ||
785 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
786 | 15 | "Content-Transfer-Encoding: \n" | ||
787 | 16 | "Plural-Forms: \n" | ||
788 | 17 | |||
789 | 18 | #. module: l10n_it_corrispettivi | ||
790 | 19 | #: view:account.invoice:0 | ||
791 | 20 | msgid "(keep empty to use the current period)" | ||
792 | 21 | msgstr "" | ||
793 | 22 | |||
794 | 23 | #. module: l10n_it_corrispettivi | ||
795 | 24 | #: view:account.invoice:0 | ||
796 | 25 | msgid "Other Info" | ||
797 | 26 | msgstr "" | ||
798 | 27 | |||
799 | 28 | #. module: l10n_it_corrispettivi | ||
800 | 29 | #: field:corrispettivi.config.data,default_credit_account_id:0 | ||
801 | 30 | msgid "Default credit account" | ||
802 | 31 | msgstr "" | ||
803 | 32 | |||
804 | 33 | #. module: l10n_it_corrispettivi | ||
805 | 34 | #: model:ir.module.module,shortdesc:l10n_it_corrispettivi.module_meta_information | ||
806 | 35 | msgid "Italian Localisation - Corrispettivi" | ||
807 | 36 | msgstr "" | ||
808 | 37 | |||
809 | 38 | #. module: l10n_it_corrispettivi | ||
810 | 39 | #: view:account.invoice:0 | ||
811 | 40 | msgid "Responsible" | ||
812 | 41 | msgstr "" | ||
813 | 42 | |||
814 | 43 | #. module: l10n_it_corrispettivi | ||
815 | 44 | #: view:account.invoice:0 | ||
816 | 45 | msgid "Period" | ||
817 | 46 | msgstr "" | ||
818 | 47 | |||
819 | 48 | #. module: l10n_it_corrispettivi | ||
820 | 49 | #: view:account.invoice:0 | ||
821 | 50 | msgid "Group By..." | ||
822 | 51 | msgstr "" | ||
823 | 52 | |||
824 | 53 | #. module: l10n_it_corrispettivi | ||
825 | 54 | #: view:account.invoice:0 | ||
826 | 55 | msgid "State" | ||
827 | 56 | msgstr "" | ||
828 | 57 | |||
829 | 58 | #. module: l10n_it_corrispettivi | ||
830 | 59 | #: view:account.invoice:0 | ||
831 | 60 | msgid "Draft" | ||
832 | 61 | msgstr "" | ||
833 | 62 | |||
834 | 63 | #. module: l10n_it_corrispettivi | ||
835 | 64 | #: view:account.invoice:0 | ||
836 | 65 | msgid "PRO-FORMA" | ||
837 | 66 | msgstr "" | ||
838 | 67 | |||
839 | 68 | #. module: l10n_it_corrispettivi | ||
840 | 69 | #: field:corrispettivi.config.data,paid_tax_account_id:0 | ||
841 | 70 | msgid "Paid Tax Account" | ||
842 | 71 | msgstr "" | ||
843 | 72 | |||
844 | 73 | #. module: l10n_it_corrispettivi | ||
845 | 74 | #: field:corrispettivi.config.data,progress:0 | ||
846 | 75 | msgid "Configuration Progress" | ||
847 | 76 | msgstr "" | ||
848 | 77 | |||
849 | 78 | #. module: l10n_it_corrispettivi | ||
850 | 79 | #: view:corrispettivi.config.data:0 | ||
851 | 80 | msgid "title" | ||
852 | 81 | msgstr "" | ||
853 | 82 | |||
854 | 83 | #. module: l10n_it_corrispettivi | ||
855 | 84 | #: model:ir.model,name:l10n_it_corrispettivi.model_corrispettivi_config_data | ||
856 | 85 | msgid "corrispettivi.config.data" | ||
857 | 86 | msgstr "" | ||
858 | 87 | |||
859 | 88 | #. module: l10n_it_corrispettivi | ||
860 | 89 | #: model:ir.model,name:l10n_it_corrispettivi.model_account_journal | ||
861 | 90 | msgid "Journal" | ||
862 | 91 | msgstr "" | ||
863 | 92 | |||
864 | 93 | #. module: l10n_it_corrispettivi | ||
865 | 94 | #: view:account.invoice:0 | ||
866 | 95 | msgid "Reset to Draft" | ||
867 | 96 | msgstr "" | ||
868 | 97 | |||
869 | 98 | #. module: l10n_it_corrispettivi | ||
870 | 99 | #: view:account.invoice:0 | ||
871 | 100 | msgid "Date" | ||
872 | 101 | msgstr "" | ||
873 | 102 | |||
874 | 103 | #. module: l10n_it_corrispettivi | ||
875 | 104 | #: view:corrispettivi.config.data:0 | ||
876 | 105 | msgid "Corrispettivi Configuration" | ||
877 | 106 | msgstr "" | ||
878 | 107 | |||
879 | 108 | #. module: l10n_it_corrispettivi | ||
880 | 109 | #: view:account.invoice:0 | ||
881 | 110 | msgid "Payment" | ||
882 | 111 | msgstr "" | ||
883 | 112 | |||
884 | 113 | #. module: l10n_it_corrispettivi | ||
885 | 114 | #: view:account.invoice:0 | ||
886 | 115 | msgid "Change" | ||
887 | 116 | msgstr "" | ||
888 | 117 | |||
889 | 118 | #. module: l10n_it_corrispettivi | ||
890 | 119 | #: view:account.invoice:0 | ||
891 | 120 | msgid "Customer" | ||
892 | 121 | msgstr "" | ||
893 | 122 | |||
894 | 123 | #. module: l10n_it_corrispettivi | ||
895 | 124 | #: view:account.invoice:0 | ||
896 | 125 | msgid "Refund" | ||
897 | 126 | msgstr "" | ||
898 | 127 | |||
899 | 128 | #. module: l10n_it_corrispettivi | ||
900 | 129 | #: field:corrispettivi.config.data,collected_tax_account_id:0 | ||
901 | 130 | msgid "Collected Tax Account" | ||
902 | 131 | msgstr "" | ||
903 | 132 | |||
904 | 133 | #. module: l10n_it_corrispettivi | ||
905 | 134 | #: code:addons/l10n_it_corrispettivi/account.py:98 | ||
906 | 135 | #, python-format | ||
907 | 136 | msgid "No address specified for partner %s" | ||
908 | 137 | msgstr "" | ||
909 | 138 | |||
910 | 139 | #. module: l10n_it_corrispettivi | ||
911 | 140 | #: field:account.invoice,corrispettivo:0 | ||
912 | 141 | msgid "Corrispettivo" | ||
913 | 142 | msgstr "" | ||
914 | 143 | |||
915 | 144 | #. module: l10n_it_corrispettivi | ||
916 | 145 | #: view:account.invoice:0 | ||
917 | 146 | msgid "Search Corrispettivi" | ||
918 | 147 | msgstr "" | ||
919 | 148 | |||
920 | 149 | #. module: l10n_it_corrispettivi | ||
921 | 150 | #: view:account.invoice:0 | ||
922 | 151 | msgid "Taxes" | ||
923 | 152 | msgstr "" | ||
924 | 153 | |||
925 | 154 | #. module: l10n_it_corrispettivi | ||
926 | 155 | #: view:account.invoice:0 | ||
927 | 156 | msgid "Compute Taxes" | ||
928 | 157 | msgstr "" | ||
929 | 158 | |||
930 | 159 | #. module: l10n_it_corrispettivi | ||
931 | 160 | #: view:account.invoice:0 | ||
932 | 161 | #: field:account.journal,corrispettivi:0 | ||
933 | 162 | #: model:ir.actions.act_window,name:l10n_it_corrispettivi.action_corrispettivi_tree | ||
934 | 163 | #: model:ir.ui.menu,name:l10n_it_corrispettivi.menu_action_corrispettivi_tree | ||
935 | 164 | #: field:res.partner,corrispettivi:0 | ||
936 | 165 | msgid "Corrispettivi" | ||
937 | 166 | msgstr "" | ||
938 | 167 | |||
939 | 168 | #. module: l10n_it_corrispettivi | ||
940 | 169 | #: code:addons/l10n_it_corrispettivi/account.py:64 | ||
941 | 170 | #: code:addons/l10n_it_corrispettivi/account.py:79 | ||
942 | 171 | #: code:addons/l10n_it_corrispettivi/account.py:93 | ||
943 | 172 | #: code:addons/l10n_it_corrispettivi/account.py:97 | ||
944 | 173 | #, python-format | ||
945 | 174 | msgid "Error!" | ||
946 | 175 | msgstr "" | ||
947 | 176 | |||
948 | 177 | #. module: l10n_it_corrispettivi | ||
949 | 178 | #: field:corrispettivi.config.data,journal_view_id:0 | ||
950 | 179 | msgid "Journal View" | ||
951 | 180 | msgstr "" | ||
952 | 181 | |||
953 | 182 | #. module: l10n_it_corrispettivi | ||
954 | 183 | #: view:account.invoice:0 | ||
955 | 184 | msgid "Payments" | ||
956 | 185 | msgstr "" | ||
957 | 186 | |||
958 | 187 | #. module: l10n_it_corrispettivi | ||
959 | 188 | #: view:corrispettivi.config.data:0 | ||
960 | 189 | msgid "Select data to configure Corrispettivi module." | ||
961 | 190 | msgstr "" | ||
962 | 191 | |||
963 | 192 | #. module: l10n_it_corrispettivi | ||
964 | 193 | #: view:account.invoice:0 | ||
965 | 194 | msgid "Approve" | ||
966 | 195 | msgstr "" | ||
967 | 196 | |||
968 | 197 | #. module: l10n_it_corrispettivi | ||
969 | 198 | #: view:account.invoice:0 | ||
970 | 199 | msgid "Validate" | ||
971 | 200 | msgstr "" | ||
972 | 201 | |||
973 | 202 | #. module: l10n_it_corrispettivi | ||
974 | 203 | #: view:corrispettivi.config.data:0 | ||
975 | 204 | msgid "Configure" | ||
976 | 205 | msgstr "" | ||
977 | 206 | |||
978 | 207 | #. module: l10n_it_corrispettivi | ||
979 | 208 | #: help:corrispettivi.config.data,default_credit_account_id:0 | ||
980 | 209 | #: help:corrispettivi.config.data,default_debit_account_id:0 | ||
981 | 210 | msgid "If doubtful, use income account" | ||
982 | 211 | msgstr "" | ||
983 | 212 | |||
984 | 213 | #. module: l10n_it_corrispettivi | ||
985 | 214 | #: view:account.invoice:0 | ||
986 | 215 | msgid "Residual Amount" | ||
987 | 216 | msgstr "" | ||
988 | 217 | |||
989 | 218 | #. module: l10n_it_corrispettivi | ||
990 | 219 | #: view:account.invoice:0 | ||
991 | 220 | msgid "Unpaid" | ||
992 | 221 | msgstr "" | ||
993 | 222 | |||
994 | 223 | #. module: l10n_it_corrispettivi | ||
995 | 224 | #: field:corrispettivi.config.data,default_debit_account_id:0 | ||
996 | 225 | msgid "Default debit account" | ||
997 | 226 | msgstr "" | ||
998 | 227 | |||
999 | 228 | #. module: l10n_it_corrispettivi | ||
1000 | 229 | #: field:corrispettivi.config.data,config_logo:0 | ||
1001 | 230 | msgid "Image" | ||
1002 | 231 | msgstr "" | ||
1003 | 232 | |||
1004 | 233 | #. module: l10n_it_corrispettivi | ||
1005 | 234 | #: sql_constraint:account.journal:0 | ||
1006 | 235 | msgid "The name of the journal must be unique per company !" | ||
1007 | 236 | msgstr "" | ||
1008 | 237 | |||
1009 | 238 | #. module: l10n_it_corrispettivi | ||
1010 | 239 | #: view:corrispettivi.config.data:0 | ||
1011 | 240 | msgid "Configure Corrispettivi Journal" | ||
1012 | 241 | msgstr "" | ||
1013 | 242 | |||
1014 | 243 | #. module: l10n_it_corrispettivi | ||
1015 | 244 | #: model:ir.actions.act_window,name:l10n_it_corrispettivi.action_corrispettivi_config_data | ||
1016 | 245 | msgid "Configure Corrispettivi" | ||
1017 | 246 | msgstr "" | ||
1018 | 247 | |||
1019 | 248 | #. module: l10n_it_corrispettivi | ||
1020 | 249 | #: code:addons/l10n_it_corrispettivi/account.py:65 | ||
1021 | 250 | #: code:addons/l10n_it_corrispettivi/account.py:80 | ||
1022 | 251 | #: code:addons/l10n_it_corrispettivi/account.py:94 | ||
1023 | 252 | #, python-format | ||
1024 | 253 | msgid "No partner \"corrispettivi\" found" | ||
1025 | 254 | msgstr "" | ||
1026 | 255 | |||
1027 | 256 | #. module: l10n_it_corrispettivi | ||
1028 | 257 | #: view:account.invoice:0 | ||
1029 | 258 | msgid "Re-Open" | ||
1030 | 259 | msgstr "" | ||
1031 | 260 | |||
1032 | 261 | #. module: l10n_it_corrispettivi | ||
1033 | 262 | #: model:ir.module.module,description:l10n_it_corrispettivi.module_meta_information | ||
1034 | 263 | msgid "This module helps to easily input Corrispettivi within OpenERP" | ||
1035 | 264 | msgstr "" | ||
1036 | 265 | |||
1037 | 266 | #. module: l10n_it_corrispettivi | ||
1038 | 267 | #: view:account.invoice:0 | ||
1039 | 268 | #: model:ir.model,name:l10n_it_corrispettivi.model_account_invoice | ||
1040 | 269 | msgid "Invoice" | ||
1041 | 270 | msgstr "" | ||
1042 | 271 | |||
1043 | 272 | #. module: l10n_it_corrispettivi | ||
1044 | 273 | #: sql_constraint:account.journal:0 | ||
1045 | 274 | msgid "The code of the journal must be unique per company !" | ||
1046 | 275 | msgstr "" | ||
1047 | 276 | |||
1048 | 277 | #. module: l10n_it_corrispettivi | ||
1049 | 278 | #: view:account.invoice:0 | ||
1050 | 279 | msgid "Cancel" | ||
1051 | 280 | msgstr "" | ||
1052 | 281 | |||
1053 | 282 | #. module: l10n_it_corrispettivi | ||
1054 | 283 | #: model:ir.model,name:l10n_it_corrispettivi.model_res_partner | ||
1055 | 284 | msgid "Partner" | ||
1056 | 285 | msgstr "" | ||
1057 | 286 | |||
1058 | 287 | #. module: l10n_it_corrispettivi | ||
1059 | 288 | #: view:account.invoice:0 | ||
1060 | 289 | msgid "Untaxed Amount" | ||
1061 | 290 | msgstr "" | ||
1062 | 291 | |||
1063 | 292 | #. module: l10n_it_corrispettivi | ||
1064 | 293 | #: view:account.invoice:0 | ||
1065 | 294 | msgid "Salesman" | ||
1066 | 295 | msgstr "" | ||
1067 | 296 | |||
1068 | 297 | #. module: l10n_it_corrispettivi | ||
1069 | 298 | #: view:account.invoice:0 | ||
1070 | 299 | msgid "Total Amount" | ||
1071 | 300 | msgstr "" | ||
1072 | 301 | |||
1073 | 302 | #. module: l10n_it_corrispettivi | ||
1074 | 303 | #: view:account.invoice:0 | ||
1075 | 304 | msgid "Additional Information" | ||
1076 | 305 | msgstr "" | ||
1077 | 306 | |||
1078 | 0 | 307 | ||
1079 | === added file 'l10n_it_corrispettivi/installer.py' | |||
1080 | --- l10n_it_corrispettivi/installer.py 1970-01-01 00:00:00 +0000 | |||
1081 | +++ l10n_it_corrispettivi/installer.py 2011-08-11 19:51:22 +0000 | |||
1082 | @@ -0,0 +1,68 @@ | |||
1083 | 1 | # -*- encoding: utf-8 -*- | ||
1084 | 2 | ############################################################################## | ||
1085 | 3 | # | ||
1086 | 4 | # Copyright (C) 2011 Associazione OpenERP Italia | ||
1087 | 5 | # (<http://www.openerp-italia.org>). | ||
1088 | 6 | # All Rights Reserved | ||
1089 | 7 | # | ||
1090 | 8 | # This program is free software: you can redistribute it and/or modify | ||
1091 | 9 | # it under the terms of the GNU Affero General Public License as published | ||
1092 | 10 | # by the Free Software Foundation, either version 3 of the License, or | ||
1093 | 11 | # (at your option) any later version. | ||
1094 | 12 | # | ||
1095 | 13 | # This program is distributed in the hope that it will be useful, | ||
1096 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1097 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1098 | 16 | # GNU General Public License for more details. | ||
1099 | 17 | # | ||
1100 | 18 | # You should have received a copy of the GNU Affero General Public License | ||
1101 | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1102 | 20 | # | ||
1103 | 21 | ############################################################################## | ||
1104 | 22 | |||
1105 | 23 | from osv import fields, osv | ||
1106 | 24 | |||
1107 | 25 | class corrispettivi_config_data(osv.osv_memory): | ||
1108 | 26 | _name = 'corrispettivi.config.data' | ||
1109 | 27 | _inherit = 'res.config' | ||
1110 | 28 | |||
1111 | 29 | _columns = { | ||
1112 | 30 | 'default_credit_account_id': fields.many2one('account.account', 'Default credit account', | ||
1113 | 31 | domain=[('type','!=','view')], required=True, help='If doubtful, use income account'), | ||
1114 | 32 | 'default_debit_account_id': fields.many2one('account.account', 'Default debit account', | ||
1115 | 33 | domain=[('type','!=','view')], required=True, help='If doubtful, use income account'), | ||
1116 | 34 | 'journal_view_id': fields.many2one('account.journal.view', 'Journal View', required=True), | ||
1117 | 35 | } | ||
1118 | 36 | |||
1119 | 37 | def execute(self, cr, uid, ids, context=None): | ||
1120 | 38 | for o in self.browse(cr, uid, ids, context=context): | ||
1121 | 39 | seq_id = self.pool.get('ir.sequence').create(cr, uid, { | ||
1122 | 40 | 'name': 'Corrispettivi Journal', | ||
1123 | 41 | 'code': 'account.journal', | ||
1124 | 42 | 'padding': 3, | ||
1125 | 43 | 'prefix': 'COJ/%(year)s/', | ||
1126 | 44 | }) | ||
1127 | 45 | journal_id = self.pool.get('account.journal').create(cr, uid, { | ||
1128 | 46 | 'view_id': o.journal_view_id.id, | ||
1129 | 47 | 'code': 'COJ', | ||
1130 | 48 | 'name': 'Corrispettivi Journal', | ||
1131 | 49 | 'type': 'sale', | ||
1132 | 50 | 'corrispettivi': True, | ||
1133 | 51 | 'sequence_id': seq_id, | ||
1134 | 52 | 'default_credit_account_id': o.default_credit_account_id.id, | ||
1135 | 53 | 'default_debit_account_id': o.default_debit_account_id.id, | ||
1136 | 54 | }) | ||
1137 | 55 | partner_id = self.pool.get('res.partner').create(cr, uid, { | ||
1138 | 56 | 'name': 'Corrispettivi', | ||
1139 | 57 | 'ref': 'COJ', | ||
1140 | 58 | 'customer': False, | ||
1141 | 59 | 'supplier': False, | ||
1142 | 60 | 'corrispettivi': True, | ||
1143 | 61 | }) | ||
1144 | 62 | address_id = self.pool.get('res.partner.address').create(cr, uid, { | ||
1145 | 63 | 'name': 'Corrispettivi', | ||
1146 | 64 | 'partner_id': partner_id, | ||
1147 | 65 | }) | ||
1148 | 66 | |||
1149 | 67 | corrispettivi_config_data() | ||
1150 | 68 | |||
1151 | 0 | 69 | ||
1152 | === added file 'l10n_it_corrispettivi/installer_view.xml' | |||
1153 | --- l10n_it_corrispettivi/installer_view.xml 1970-01-01 00:00:00 +0000 | |||
1154 | +++ l10n_it_corrispettivi/installer_view.xml 2011-08-11 19:51:22 +0000 | |||
1155 | @@ -0,0 +1,59 @@ | |||
1156 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
1157 | 2 | <openerp> | ||
1158 | 3 | <data> | ||
1159 | 4 | |||
1160 | 5 | <!-- configartion view --> | ||
1161 | 6 | |||
1162 | 7 | <record id="view_corrispettivi_config_data" model="ir.ui.view"> | ||
1163 | 8 | <field name="name">Configure Corrispettivi</field> | ||
1164 | 9 | <field name="model">corrispettivi.config.data</field> | ||
1165 | 10 | <field name="type">form</field> | ||
1166 | 11 | <field name="inherit_id" ref="base.res_config_installer"/> | ||
1167 | 12 | <field name="arch" type="xml"> | ||
1168 | 13 | <data> | ||
1169 | 14 | <form position="attributes"> | ||
1170 | 15 | <attribute name="string">Corrispettivi Configuration</attribute> | ||
1171 | 16 | </form> | ||
1172 | 17 | <separator string="title" position="attributes"> | ||
1173 | 18 | <attribute name="string">Configure Corrispettivi Journal</attribute> | ||
1174 | 19 | </separator> | ||
1175 | 20 | <xpath expr="//label[@string='description']" position="attributes"> | ||
1176 | 21 | <attribute name="string">Select data to configure Corrispettivi module.</attribute> | ||
1177 | 22 | </xpath> | ||
1178 | 23 | <xpath expr="//button[@string='Install Modules']" position="attributes"> | ||
1179 | 24 | <attribute name="string">Configure</attribute> | ||
1180 | 25 | </xpath> | ||
1181 | 26 | <xpath expr='//separator[@string="vsep"]' position='attributes'> | ||
1182 | 27 | <attribute name='rowspan'>15</attribute> | ||
1183 | 28 | <attribute name='string'></attribute> | ||
1184 | 29 | </xpath> | ||
1185 | 30 | <group colspan="8"> | ||
1186 | 31 | <group colspan="4" > | ||
1187 | 32 | <field name="default_credit_account_id"/> | ||
1188 | 33 | <field name="default_debit_account_id"/> | ||
1189 | 34 | <field name="journal_view_id"/> | ||
1190 | 35 | </group> | ||
1191 | 36 | </group> | ||
1192 | 37 | </data> | ||
1193 | 38 | </field> | ||
1194 | 39 | </record> | ||
1195 | 40 | |||
1196 | 41 | <record id="action_corrispettivi_config_data" model="ir.actions.act_window"> | ||
1197 | 42 | <field name="name">Configure Corrispettivi</field> | ||
1198 | 43 | <field name="type">ir.actions.act_window</field> | ||
1199 | 44 | <field name="res_model">corrispettivi.config.data</field> | ||
1200 | 45 | <field name="view_id" ref="view_corrispettivi_config_data"/> | ||
1201 | 46 | <field name="view_type">form</field> | ||
1202 | 47 | <field name="view_mode">form</field> | ||
1203 | 48 | <field name="target">new</field> | ||
1204 | 49 | </record> | ||
1205 | 50 | |||
1206 | 51 | <!-- register configuration wizard --> | ||
1207 | 52 | <record id="config_wizard_step_corrispettivi_config_data" model="ir.actions.todo"> | ||
1208 | 53 | <field name="action_id" ref="action_corrispettivi_config_data"/> | ||
1209 | 54 | <field name="restart">onskip</field> | ||
1210 | 55 | <field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/> | ||
1211 | 56 | </record> | ||
1212 | 57 | |||
1213 | 58 | </data> | ||
1214 | 59 | </openerp> |