Merge lp:~santiago-pexego/account-payment/account-payment_improvments into lp:~account-payment-team/account-payment/6.1

Proposed by Santi Argüeso(Pexego)
Status: Merged
Merged at revision: 99
Proposed branch: lp:~santiago-pexego/account-payment/account-payment_improvments
Merge into: lp:~account-payment-team/account-payment/6.1
Diff against target: 2226 lines (+1073/-747)
9 files modified
.bzrignore (+1/-0)
account_payment_extension/__openerp__.py (+1/-0)
account_payment_extension/account_move_line.py (+137/-12)
account_payment_extension/i18n/account_payment_extension.pot (+408/-320)
account_payment_extension/i18n/es.po (+423/-409)
account_payment_extension/payment_view.xml (+17/-6)
account_payment_extension/wizard/__init__.py (+1/-0)
account_payment_extension/wizard/account_move_line_payment.py (+40/-0)
account_payment_extension/wizard/account_move_line_payment_view.xml (+45/-0)
To merge this branch: bzr merge lp:~santiago-pexego/account-payment/account-payment_improvments
Reviewer Review Type Date Requested Status
Pedro Manuel Baeza Approve
Santi Argüeso(Pexego) Needs Resubmitting
Review via email: mp+152631@code.launchpad.net

Description of the change

Adds a simple button and wizard for direct payment from account_move_line payments tree view. You can now manage your payments completly from this view (not only onformation)

Redefine the _invoice function for account_move_line so it can search for the related invoce if you have several chained payments.

Propose a change for fields_view get in accont_move_line in account_payment_extension

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Santi, __openerp__.py references a payment_wizard.xml file, but it's not present. Can you fix it?

Regards.

Revision history for this message
Santi Argüeso(Pexego) (santiago-pexego) wrote :

Thanks Pedro. I have fixed it. I had forgotten to remove the reference so payment_wizard.xml has been removed in a previous revision.
Again, thanks for the early revision.

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Now it's working correctly.

Maybe spanish translation for new button? ;) (or pot file updated)

Revision history for this message
Santi Argüeso(Pexego) (santiago-pexego) wrote :

Yes I have to update a few translations.... I'll do it as soon as posible

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Can you put the status of the proposal to 'Work in progress' if you still need to add the translations please?
Put it back to 'Needs review' when you are done.

Thanks

Revision history for this message
Santi Argüeso(Pexego) (santiago-pexego) wrote :

The traslations are done and another little improvements

review: Needs Resubmitting
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Hi, Santi:

I have proposed a MP to your branch to update some spanish translations. Please merge it with your branch and I will proceed with this MP.

For the rest of the things, it's working perfectly.

Cheers.

review: Approve
103. By Santi Argüeso(Pexego)

[IMP] account_payment_extension. Added translations form Pedro Baeza. Thanks. :)

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

All is working correctly and spanish translations are done, so I proceed with the merge.

Thanks for your contribution, Santi, and all the people involved in this review.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2013-06-03 10:33:26 +0000
4@@ -0,0 +1,1 @@
5+*.orig
6
7=== modified file 'account_payment_extension/__openerp__.py'
8--- account_payment_extension/__openerp__.py 2013-04-04 17:22:38 +0000
9+++ account_payment_extension/__openerp__.py 2013-06-03 10:33:26 +0000
10@@ -58,6 +58,7 @@
11 "wizard/account_payment_order_view.xml",
12 "payment_view.xml",
13 "payment_sequence.xml",
14+ "wizard/account_move_line_payment_view.xml",
15 ],
16 "active": False,
17 "installable": True,
18
19=== modified file 'account_payment_extension/account_move_line.py'
20--- account_payment_extension/account_move_line.py 2012-11-01 21:49:33 +0000
21+++ account_payment_extension/account_move_line.py 2013-06-03 10:33:26 +0000
22@@ -25,13 +25,66 @@
23
24 import netsvc
25 from osv import fields, osv
26+from tools.translate import _
27
28 class account_move_line(osv.osv):
29 _name = 'account.move.line'
30 _inherit = 'account.move.line'
31
32- def _invoice(self, cr, uid, ids, name, arg, context=None):
33- return super(account_move_line, self)._invoice(cr, uid, ids, name, arg, context)
34+ def _invoice(self, cursor, user, ids, name, arg, context=None):
35+ invoice_obj = self.pool.get('account.invoice')
36+ res = {}
37+ for line_id in ids:
38+ res[line_id] = False
39+ cursor.execute('SELECT l.id, i.id ' \
40+ 'FROM account_move_line l, account_invoice i ' \
41+ 'WHERE l.move_id = i.move_id ' \
42+ 'AND l.id IN %s',
43+ (tuple(ids),))
44+ invoice_ids = []
45+
46+
47+ for line_id, invoice_id in cursor.fetchall():
48+ res[line_id] = invoice_id
49+ invoice_ids.append(invoice_id)
50+ invoice_names = {False: ''}
51+ for invoice_id, name in invoice_obj.name_get(cursor, user, invoice_ids, context=context):
52+ invoice_names[invoice_id] = name
53+ for line_id in res.keys():
54+ invoice_id = res[line_id]
55+ res[line_id] = (invoice_id, invoice_names[invoice_id])
56+
57+ for key in res.keys():
58+ if res[key][0] == False:
59+ # if there is no a direct invoice related
60+ move_line_obj = self.pool.get('account.move.line')
61+ line1 = move_line_obj.browse(cursor, user, key)
62+ move = self.pool.get('account.move').browse (cursor, user, line1.move_id.id)
63+
64+ if move:
65+ for line_in in move.line_id:
66+ if line_in.id <> key and (line_in.reconcile_id or line_in.reconcile_partial_id):
67+ if line_in.reconcile_id:
68+ for line_in2 in line_in.reconcile_id.line_id:
69+ if line_in2.id <> line_in.id:
70+ dict = self._invoice (cursor, user, [line_in2.id], name, arg, context)
71+ for item in dict.keys():
72+ res[key] = dict[item]
73+ else:
74+ if line_in.reconcile_partial_id:
75+ for line_in2 in line_in.reconcile_partial_id.line_partial_ids:
76+ if line_in2.id <> line_in.id:
77+ dict = self._invoice (cursor, user, [line_in2.id], name, arg, context)
78+ for item in dict.keys():
79+ res[key] = dict[item]
80+
81+
82+ return res
83+
84+ #===========================================================================
85+ # def _invoice(self, cr, uid, ids, name, arg, context=None):
86+ # return super(account_move_line, self)._invoice(cr, uid, ids, name, arg, context)
87+ #===========================================================================
88
89 def _invoice_search(self, cr, uid, obj, name, args, context={}):
90 """ Redefinition for searching account move lines without any invoice related ('invoice.id','=',False)"""
91@@ -160,7 +213,7 @@
92 type='many2one', relation='account.invoice', fnct_search=_invoice_search),
93 'received_check': fields.boolean('Received check', help="To write down that a check in paper support has been received, for example."),
94 'partner_bank_id': fields.many2one('res.partner.bank','Bank Account'),
95- 'amount_to_pay' : fields.function(amount_to_pay, method=True, type='float', string='Amount to pay', fnct_search=_to_pay_search),
96+ 'amount_to_pay' : fields.function(amount_to_pay, method=True, type='float', string='Amount to pay', fnct_search=_to_pay_search, store=True),
97 'payment_type': fields.function(_payment_type_get, fnct_search=_payment_type_search, method=True, type="many2one", relation="payment.type", string="Payment type"),
98 }
99
100@@ -173,20 +226,92 @@
101 def fields_view_get(self, cr, uid, view_id=None, view_type='form', context={}, toolbar=False, submenu=False):
102 menus = [
103 self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'menu_action_invoice_payments'),
104- self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'menu_action_done_payments'),
105- ]
106+ #self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'menu_action_done_payments'),
107+ ]
108+ views = [
109+ self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'view_payments_tree'),
110+
111+ ]
112+
113 menus = [m[1] for m in menus]
114- if 'active_id' in context and context['active_id'] in menus:
115- # Use standard views for account.move.line object
116- if view_type == 'search':
117- # Get a specific search view (bug in 6.0RC1, it does not give the search view defined in the action window)
118- view_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'view_payments_filter')[1]
119+ views = [v[1] for v in views]
120+ #=======================================================================
121+ # if 'active_id' in context and context['active_id'] in menus:
122+ # # Use standard views for account.move.line object
123+ # if view_type == 'search':
124+ # # Get a specific search view (bug in 6.0RC1, it does not give the search view defined in the action window)
125+ # view_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_payment_extension', 'view_payments_filter')[1]
126+ # result = super(osv.osv, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
127+ # else:
128+ # # Use special views for account.move.line object (for ex. tree view contains user defined fields)
129+ # result = super(account_move_line, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
130+ #=======================================================================
131+ if view_id in views:
132 result = super(osv.osv, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
133 else:
134- # Use special views for account.move.line object (for ex. tree view contains user defined fields)
135 result = super(account_move_line, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
136+
137 return result
138-
139+
140+ def pay_move_lines(self, cr, uid, ids, context=None):
141+
142+ #obj_move = self.pool.get('account.move')
143+ amount = 0
144+ name = ''
145+ ttype = ''
146+ invoice_type = ''
147+ partner_id = False
148+ inv_id = False
149+ several_invoices = False
150+ if context is None:
151+ context = {}
152+ data_line = self.browse(cr, uid,ids, context)
153+ for line in data_line:
154+ #move_ids.append(line.move_id.id)
155+ if not inv_id:
156+ inv_id = line.invoice.id
157+ if inv_id and (line.invoice.id <> inv_id):
158+ several_invoices = True
159+ if partner_id and (line.partner_id.id <> partner_id):
160+ raise osv.except_osv(_('Warning'), _('The pay entries have to be for the same partner!!!'))
161+ else :
162+ amount += line.amount_to_pay
163+ partner_id = line.partner_id.id
164+ name += line.name + '/'
165+ if several_invoices:
166+ inv_id = False
167+ if amount > 0:
168+ ttype = 'payment'
169+ invoice_type = 'in_invoice'
170+ else:
171+ amount = -amount
172+ ttype = 'receipt'
173+ invoice_type = 'out_invoice'
174+
175+ print amount
176+
177+ return {
178+ 'name':_("Pay Moves"),
179+ 'view_mode': 'form',
180+ 'view_id': False,
181+ 'view_type': 'form',
182+ 'res_model': 'account.voucher',
183+ 'type': 'ir.actions.act_window',
184+ 'nodestroy': True,
185+ 'target': 'current',
186+ 'domain': '[]',
187+ 'context': {
188+ 'default_partner_id': partner_id,
189+ 'default_amount': amount,
190+ 'default_name': name,
191+ 'close_after_process': True,
192+ 'invoice_type': invoice_type,
193+ 'invoice_id':inv_id,
194+ 'default_type': ttype ,
195+ 'type': ttype ,
196+ 'move_line_ids': ids
197+ }
198+ }
199 account_move_line()
200
201 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
202
203=== modified file 'account_payment_extension/i18n/account_payment_extension.pot'
204--- account_payment_extension/i18n/account_payment_extension.pot 2011-01-03 20:25:26 +0000
205+++ account_payment_extension/i18n/account_payment_extension.pot 2013-06-03 10:33:26 +0000
206@@ -4,10 +4,10 @@
207 #
208 msgid ""
209 msgstr ""
210-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
211-"Report-Msgid-Bugs-To: support@openerp.com\n"
212-"POT-Creation-Date: 2010-12-17 20:52:45+0000\n"
213-"PO-Revision-Date: 2010-12-17 20:52:45+0000\n"
214+"Project-Id-Version: OpenERP Server 6.1\n"
215+"Report-Msgid-Bugs-To: \n"
216+"POT-Creation-Date: 2013-05-15 16:13+0000\n"
217+"PO-Revision-Date: 2013-05-15 16:13+0000\n"
218 "Last-Translator: <>\n"
219 "Language-Team: \n"
220 "MIME-Version: 1.0\n"
221@@ -16,64 +16,19 @@
222 "Plural-Forms: \n"
223
224 #. module: account_payment_extension
225-#: selection:payment.order,type:0
226-msgid "Receivable"
227-msgstr "Receivable"
228-
229-#. module: account_payment_extension
230-#: model:ir.actions.act_window,name:account_payment_extension.action_payment_type
231-#: model:ir.ui.menu,name:account_payment_extension.menu_action_payment_type
232-#: view:payment.type:0
233-#: help:payment.type,name:0
234-msgid "Payment Type"
235-msgstr "Payment Type"
236-
237-#. module: account_payment_extension
238-#: selection:payment.order,create_account_moves:0
239-msgid "Direct Payment"
240-msgstr "Direct Payment"
241-
242-#. module: account_payment_extension
243-#: code:addons/account_payment_extension/payment.py:0
244-#, python-format
245-msgid "Payment order should create account moves but line with amount %.2f for partner \"%s\" has no account assigned."
246-msgstr "Payment order should create account moves but line with amount %.2f for partner \"%s\" has no account assigned."
247-
248-#. module: account_payment_extension
249-#: constraint:ir.actions.act_window:0
250-msgid "Invalid model name in the action definition."
251-msgstr "Invalid model name in the action definition."
252-
253-#. module: account_payment_extension
254-#: help:payment.type,code:0
255-msgid "Specify the Code for Payment Type"
256-msgstr "Specify the Code for Payment Type"
257-
258-#. module: account_payment_extension
259-#: view:account.move.line:0
260-msgid "Pay"
261-msgstr "Pay"
262-
263-#. module: account_payment_extension
264-#: code:addons/account_payment_extension/payment.py:0
265-#, python-format
266-msgid "You cannot delete payment order(s) which are already confirmed or done!"
267-msgstr "You cannot delete payment order(s) which are already confirmed or done!"
268-
269-#. module: account_payment_extension
270-#: model:ir.model,name:account_payment_extension.model_payment_order
271-msgid "Payment Order"
272-msgstr "Payment Order"
273-
274-#. module: account_payment_extension
275-#: view:account.move.line:0
276-msgid "Receive"
277-msgstr "Receive"
278-
279-#. module: account_payment_extension
280-#: constraint:ir.ui.view:0
281-msgid "Invalid XML for View Architecture!"
282-msgstr "Invalid XML for View Architecture!"
283+#: view:payment.order.create:0
284+msgid "Extra message of payment communication"
285+msgstr "Extra message of payment communication"
286+
287+#. module: account_payment_extension
288+#: field:payment.mode,require_received_check:0
289+msgid "Require Received Check"
290+msgstr "Require Received Check"
291+
292+#. module: account_payment_extension
293+#: model:ir.actions.act_window,help:account_payment_extension.action_pay_account_move_line
294+msgid "with this wizard ypu can change the state of the selected entries. "
295+msgstr "with this wizard ypu can change the state of the selected entries. "
296
297 #. module: account_payment_extension
298 #: field:payment.mode,require_bank_account:0
299@@ -81,71 +36,9 @@
300 msgstr "Require Bank Account"
301
302 #. module: account_payment_extension
303-#: model:ir.actions.wizard,name:account_payment_extension.wizard_populate_statement_ext
304-msgid "Populate Statement with Payment lines"
305-msgstr "Populate Statement with Payment lines"
306-
307-#. module: account_payment_extension
308-#: wizard_field:populate_statement_ext,init,lines:0
309-msgid "Payment Lines"
310-msgstr "Payment Lines"
311-
312-#. module: account_payment_extension
313-#: model:ir.model,name:account_payment_extension.model_payment_line
314-msgid "Payment Line"
315-msgstr "Payment Line"
316-
317-#. module: account_payment_extension
318-#: constraint:ir.ui.menu:0
319-msgid "Error ! You can not create recursive Menu."
320-msgstr "Error ! You can not create recursive Menu."
321-
322-#. module: account_payment_extension
323-#: model:ir.model,name:account_payment_extension.model_payment_mode
324-msgid "Payment Mode"
325-msgstr "Payment Mode"
326-
327-#. module: account_payment_extension
328-#: wizard_field:populate_payment_ext,search,communication2:0
329-msgid "Communication 2"
330-msgstr "Communication 2"
331-
332-#. module: account_payment_extension
333-#: help:payment.type,note:0
334-msgid "Description of the payment type that will be shown in the invoices"
335-msgstr "Description of the payment type that will be shown in the invoices"
336-
337-#. module: account_payment_extension
338-#: field:payment.order,type:0
339-msgid "Type"
340-msgstr "Type"
341-
342-#. module: account_payment_extension
343 #: view:account.move.line:0
344-msgid "Search Invoice Payments"
345-msgstr "Search Invoice Payments"
346-
347-#. module: account_payment_extension
348-#: view:payment.type:0
349-msgid "Suitable Bank Types"
350-msgstr "Suitable Bank Types"
351-
352-#. module: account_payment_extension
353-#: wizard_button:populate_statement_ext,init,add:0
354-msgid "_Add"
355-msgstr "_Add"
356-
357-#. module: account_payment_extension
358-#: code:addons/account_payment_extension/payment.py:0
359-#, python-format
360-msgid "Error !"
361-msgstr "Error !"
362-
363-#. module: account_payment_extension
364-#: view:payment.type:0
365-#: field:payment.type,note:0
366-msgid "Description"
367-msgstr "Description"
368+msgid "Group By..."
369+msgstr "Group By..."
370
371 #. module: account_payment_extension
372 #: field:payment.type,company_id:0
373@@ -153,78 +46,36 @@
374 msgstr "Company"
375
376 #. module: account_payment_extension
377-#: code:addons/account_payment_extension/payment.py:0
378+#: code:addons/account_payment_extension/payment.py:298
379 #, python-format
380 msgid "Account move line \"%s\" is not valid"
381 msgstr "Account move line \"%s\" is not valid"
382
383 #. module: account_payment_extension
384-#: wizard_button:populate_payment_ext,init,end:0
385-#: wizard_button:populate_payment_ext,search,end:0
386-#: wizard_button:populate_statement_ext,init,end:0
387-msgid "_Cancel"
388-msgstr "_Cancel"
389-
390-#. module: account_payment_extension
391-#: field:payment.order,payment_type_name:0
392-msgid "Payment type name"
393-msgstr "Payment type name"
394-
395-#. module: account_payment_extension
396-#: model:ir.actions.act_window,name:account_payment_extension.action_rec_payment_order_tree
397-#: model:ir.ui.menu,name:account_payment_extension.menu_action_rec_payment_order_form
398-msgid "Rec. payment order"
399-msgstr "Rec. payment order"
400-
401-#. module: account_payment_extension
402+#: selection:payment.line,type:0
403 #: selection:payment.order,type:0
404 msgid "Payable"
405 msgstr "Payable"
406
407 #. module: account_payment_extension
408-#: model:ir.actions.wizard,name:account_payment_extension.wizard_populate_payment_ext
409-msgid "Populate payment to pay"
410-msgstr "Populate payment to pay"
411-
412-#. module: account_payment_extension
413 #: field:res.partner,payment_type_customer:0
414 msgid "Customer Payment Type"
415 msgstr "Customer Payment Type"
416
417 #. module: account_payment_extension
418-#: help:populate_payment_ext,init,amount:0
419-msgid "Next step will automatically select payments up to this amount."
420-msgstr "Next step will automatically select payments up to this amount."
421-
422-#. module: account_payment_extension
423-#: wizard_field:populate_payment_ext,search,entries:0
424+#: view:payment.order.create:0
425 msgid "Entries"
426 msgstr "Entries"
427
428 #. module: account_payment_extension
429-#: field:payment.type,active:0
430-msgid "Active"
431-msgstr "Active"
432-
433-#. module: account_payment_extension
434-#: view:payment.order:0
435-msgid "Select invoices to pay/receive payment"
436-msgstr "Select invoices to pay/receive payment"
437-
438-#. module: account_payment_extension
439-#: help:payment.line,payment_move_id:0
440-msgid "Account move that pays this debt."
441-msgstr "Account move that pays this debt."
442-
443-#. module: account_payment_extension
444-#: help:populate_payment_ext,search,communication2:0
445-msgid "The successor message of payment communication."
446-msgstr "The successor message of payment communication."
447+#: view:account.move.line.payment:0
448+msgid "Pay Journal Entries"
449+msgstr "Pay Journal Entries"
450
451 #. module: account_payment_extension
452 #: view:account.move.line:0
453-msgid "Payment"
454-msgstr "Payment"
455+msgid "Total Credit"
456+msgstr "Total Credit"
457
458 #. module: account_payment_extension
459 #: field:payment.order,create_account_moves:0
460@@ -232,75 +83,33 @@
461 msgstr "Create Account Moves"
462
463 #. module: account_payment_extension
464-#: field:payment.line,payment_move_id:0
465-msgid "Payment Move"
466-msgstr "Payment Move"
467-
468-#. module: account_payment_extension
469 #: field:payment.line,account_id:0
470 msgid "Account"
471 msgstr "Account"
472
473 #. module: account_payment_extension
474-#: field:payment.type,suitable_bank_types:0
475-msgid "Suitable bank types"
476-msgstr "Suitable bank types"
477-
478-#. module: account_payment_extension
479 #: help:payment.mode,require_bank_account:0
480 msgid "Ensure all lines in the payment order have a bank account when proposing lines to be added in the payment order."
481 msgstr "Ensure all lines in the payment order have a bank account when proposing lines to be added in the payment order."
482
483 #. module: account_payment_extension
484-#: field:payment.order,name:0
485-#: field:payment.type,name:0
486-msgid "Name"
487-msgstr "Name"
488-
489-#. module: account_payment_extension
490-#: wizard_field:populate_payment_ext,init,duedate:0
491+#: view:account.move.line:0
492 msgid "Due Date"
493 msgstr "Due Date"
494
495 #. module: account_payment_extension
496-#: field:res.partner.bank,default_bank:0
497-msgid "Default"
498-msgstr "Default"
499-
500-#. module: account_payment_extension
501-#: wizard_button:populate_payment_ext,init,search:0
502-msgid "_Search"
503-msgstr "_Search"
504-
505-#. module: account_payment_extension
506-#: field:account.move.line,partner_bank_id:0
507-msgid "Bank Account"
508-msgstr "Bank Account"
509-
510-#. module: account_payment_extension
511-#: wizard_button:populate_payment_ext,search,create:0
512-msgid "_Add to payment order"
513-msgstr "_Add to payment order"
514-
515-#. module: account_payment_extension
516-#: code:addons/account_payment_extension/payment.py:0
517-#, python-format
518-msgid "Invalid action!"
519-msgstr "Invalid action!"
520-
521-#. module: account_payment_extension
522 #: view:account.move.line:0
523-msgid "Unreconciled"
524-msgstr "Unreconciled"
525+msgid "Total Debit"
526+msgstr "Total Debit"
527
528 #. module: account_payment_extension
529-#: code:addons/account_payment_extension/payment.py:0
530+#: code:addons/account_payment_extension/payment.py:223
531 #, python-format
532 msgid "Error!"
533 msgstr "Error!"
534
535 #. module: account_payment_extension
536-#: wizard_field:populate_payment_ext,init,amount:0
537+#: field:payment.order.create,amount:0
538 msgid "Amount"
539 msgstr "Amount"
540
541@@ -310,14 +119,64 @@
542 msgstr "Select the Payment Type for the Payment Mode."
543
544 #. module: account_payment_extension
545-#: view:account.bank.statement:0
546-msgid "Import payment lines"
547-msgstr "Import payment lines"
548-
549-#. module: account_payment_extension
550-#: view:account.move.line:0
551-msgid "Payments"
552-msgstr "Payments"
553+#: sql_constraint:account.move.line:0
554+msgid "Wrong credit or debit value in accounting entry !"
555+msgstr "Wrong credit or debit value in accounting entry !"
556+
557+#. module: account_payment_extension
558+#: view:account.move.line:0
559+msgid "Payable payments"
560+msgstr "Payable payments"
561+
562+#. module: account_payment_extension
563+#: sql_constraint:payment.line:0
564+msgid "The payment line name must be unique!"
565+msgstr "The payment line name must be unique!"
566+
567+#. module: account_payment_extension
568+#: constraint:account.move.line:0
569+msgid "The date of your Journal Entry is not in the defined period! You should change the date or remove this constraint from the journal."
570+msgstr "The date of your Journal Entry is not in the defined period! You should change the date or remove this constraint from the journal."
571+
572+#. module: account_payment_extension
573+#: code:addons/account_payment_extension/account_move_line.py:276
574+#, python-format
575+msgid "Warning"
576+msgstr "Warning"
577+
578+#. module: account_payment_extension
579+#: help:account.move.line,received_check:0
580+msgid "To write down that a check in paper support has been received, for example."
581+msgstr "To write down that a check in paper support has been received, for example."
582+
583+#. module: account_payment_extension
584+#: field:payment.order.create,show_refunds:0
585+msgid "Show Refunds"
586+msgstr "Show Refunds"
587+
588+#. module: account_payment_extension
589+#: view:account.move.line:0
590+#: model:ir.model,name:account_payment_extension.model_res_partner
591+msgid "Partner"
592+msgstr "Partner"
593+
594+#. module: account_payment_extension
595+#: field:payment.type,suitable_bank_types:0
596+msgid "Suitable bank types"
597+msgstr "Suitable bank types"
598+
599+#. module: account_payment_extension
600+#: model:ir.actions.act_window,name:account_payment_extension.action_payment_type
601+#: model:ir.ui.menu,name:account_payment_extension.menu_action_payment_type
602+#: view:payment.type:0
603+#: help:payment.type,name:0
604+msgid "Payment Type"
605+msgstr "Payment Type"
606+
607+#. module: account_payment_extension
608+#: model:ir.model,name:account_payment_extension.model_res_partner_bank
609+msgid "Bank Accounts"
610+msgstr "Bank Accounts"
611
612 #. module: account_payment_extension
613 #: field:res.partner,payment_type_supplier:0
614@@ -325,15 +184,178 @@
615 msgstr "Supplier Payment Type"
616
617 #. module: account_payment_extension
618+#: view:account.move.line:0
619+msgid "State"
620+msgstr "State"
621+
622+#. module: account_payment_extension
623+#: model:ir.actions.act_window,name:account_payment_extension.action_rec_payment_order_tree
624+#: model:ir.ui.menu,name:account_payment_extension.menu_action_rec_payment_order_form
625+msgid "Rec. payment order"
626+msgstr "Rec. payment order"
627+
628+#. module: account_payment_extension
629+#: model:ir.model,name:account_payment_extension.model_payment_mode
630+msgid "Payment Mode"
631+msgstr "Payment Mode"
632+
633+#. module: account_payment_extension
634+#: field:payment.line,type:0
635+#: field:payment.order,type:0
636+msgid "Type"
637+msgstr "Type"
638+
639+#. module: account_payment_extension
640+#: help:res.partner,payment_type_supplier:0
641+msgid "Payment type of the supplier"
642+msgstr "Payment type of the supplier"
643+
644+#. module: account_payment_extension
645+#: code:addons/account_payment_extension/payment.py:298
646+#, python-format
647+msgid "Error !"
648+msgstr "Error !"
649+
650+#. module: account_payment_extension
651+#: model:ir.model,name:account_payment_extension.model_account_move_line_payment
652+msgid "Pay Account Move Lines"
653+msgstr "Pay Account Move Lines"
654+
655+#. module: account_payment_extension
656+#: code:addons/account_payment_extension/account_move_line.py:276
657+#, python-format
658+msgid "The pay entries have to be for the same partner!!!"
659+msgstr "The pay entries have to be for the same partner!!!"
660+
661+#. module: account_payment_extension
662+#: help:payment.order.create,communication2:0
663+msgid "The successor message of payment communication."
664+msgstr "The successor message of payment communication."
665+
666+#. module: account_payment_extension
667+#: field:payment.line,payment_move_id:0
668+msgid "Payment Move"
669+msgstr "Payment Move"
670+
671+#. module: account_payment_extension
672+#: view:account.move.line:0
673+msgid "Receive"
674+msgstr "Receive"
675+
676+#. module: account_payment_extension
677+#: view:account.move.line:0
678+msgid "Unreconciled payments"
679+msgstr "Unreconciled payments"
680+
681+#. module: account_payment_extension
682 #: help:res.partner,payment_type_customer:0
683 msgid "Payment type of the customer"
684 msgstr "Payment type of the customer"
685
686 #. module: account_payment_extension
687-#: model:ir.actions.act_window,name:account_payment_extension.action_pay_payment_order_tree
688-#: model:ir.ui.menu,name:account_payment_extension.menu_action_pay_payment_order_form
689-msgid "Pay. payment order"
690-msgstr "Pay. payment order"
691+#: view:account.move.line.payment:0
692+msgid "Change payment entries"
693+msgstr "Change payment entries"
694+
695+#. module: account_payment_extension
696+#: code:addons/account_payment_extension/account_move_line.py:294
697+#, python-format
698+msgid "Pay Moves"
699+msgstr "Pay Moves"
700+
701+#. module: account_payment_extension
702+#: constraint:account.move.line:0
703+msgid "The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal."
704+msgstr "The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal."
705+
706+#. module: account_payment_extension
707+#: selection:payment.order,create_account_moves:0
708+msgid "Direct Payment"
709+msgstr "Direct Payment"
710+
711+#. module: account_payment_extension
712+#: code:addons/account_payment_extension/payment.py:196
713+#, python-format
714+msgid "You cannot delete payment order(s) which are already confirmed or done!"
715+msgstr "You cannot delete payment order(s) which are already confirmed or done!"
716+
717+#. module: account_payment_extension
718+#: view:account.move.line:0
719+msgid "Total Amount to Pay"
720+msgstr "Total Amount to Pay"
721+
722+#. module: account_payment_extension
723+#: view:account.move.line:0
724+msgid "Unreconciled"
725+msgstr "Unreconciled"
726+
727+#. module: account_payment_extension
728+#: model:ir.model,name:account_payment_extension.model_payment_line
729+msgid "Payment Line"
730+msgstr "Payment Line"
731+
732+#. module: account_payment_extension
733+#: view:account.move.line:0
734+msgid "Search Invoice Payments"
735+msgstr "Search Invoice Payments"
736+
737+#. module: account_payment_extension
738+#: view:account.move.line.payment:0
739+msgid "Puede cambiar el estado de los efectos comerciales mediante el siguiente asistente"
740+msgstr "Puede cambiar el estado de los efectos comerciales mediante el siguiente asistente"
741+
742+#. module: account_payment_extension
743+#: view:payment.order:0
744+msgid "Select invoices to pay/receive payment"
745+msgstr "Select invoices to pay/receive payment"
746+
747+#. module: account_payment_extension
748+#: field:payment.type,active:0
749+msgid "Active"
750+msgstr "Active"
751+
752+#. module: account_payment_extension
753+#: help:payment.line,payment_move_id:0
754+msgid "Account move that pays this debt."
755+msgstr "Account move that pays this debt."
756+
757+#. module: account_payment_extension
758+#: constraint:res.partner.bank:0
759+msgid "\n"
760+"Please define BIC/Swift code on bank for bank type IBAN Account to make valid payments"
761+msgstr "\n"
762+"Please define BIC/Swift code on bank for bank type IBAN Account to make valid payments"
763+
764+#. module: account_payment_extension
765+#: field:res.partner.bank,default_bank:0
766+msgid "Default"
767+msgstr "Default"
768+
769+#. module: account_payment_extension
770+#: code:addons/account_payment_extension/payment.py:196
771+#, python-format
772+msgid "Invalid action!"
773+msgstr "Invalid action!"
774+
775+#. module: account_payment_extension
776+#: model:ir.model,name:account_payment_extension.model_account_move_line
777+msgid "Journal Items"
778+msgstr "Journal Items"
779+
780+#. module: account_payment_extension
781+#: help:payment.type,code:0
782+msgid "Specify the Code for Payment Type"
783+msgstr "Specify the Code for Payment Type"
784+
785+#. module: account_payment_extension
786+#: help:payment.mode,require_received_check:0
787+msgid "Ensure all lines in the payment order have the Received Check flag set."
788+msgstr "Ensure all lines in the payment order have the Received Check flag set."
789+
790+#. module: account_payment_extension
791+#: constraint:account.move.line:0
792+msgid "You can not create journal items on an account of type view."
793+msgstr "You can not create journal items on an account of type view."
794
795 #. module: account_payment_extension
796 #: model:ir.actions.act_window,name:account_payment_extension.action_invoice_payments
797@@ -342,18 +364,14 @@
798 msgstr "Invoice payments"
799
800 #. module: account_payment_extension
801-#: model:ir.actions.act_window,name:account_payment_extension.action_done_payments
802-#: model:ir.ui.menu,name:account_payment_extension.menu_action_done_payments
803-msgid "Done payments"
804-msgstr "Done payments"
805+#: help:payment.mode,require_same_bank_account:0
806+msgid "Ensure all lines in the payment order and the payment mode have the same account number."
807+msgstr "Ensure all lines in the payment order and the payment mode have the same account number."
808
809 #. module: account_payment_extension
810-#: field:account.invoice,payment_type:0
811-#: field:account.move.line,payment_type:0
812-#: model:ir.model,name:account_payment_extension.model_payment_type
813-#: field:payment.mode,type:0
814-msgid "Payment type"
815-msgstr "Payment type"
816+#: sql_constraint:account.invoice:0
817+msgid "Invoice Number must be unique per Company!"
818+msgstr "Invoice Number must be unique per Company!"
819
820 #. module: account_payment_extension
821 #: field:payment.type,code:0
822@@ -361,16 +379,12 @@
823 msgstr "Code"
824
825 #. module: account_payment_extension
826-#: view:res.partner:0
827-msgid "Bank Details"
828-msgstr "Bank Details"
829-
830-#. module: account_payment_extension
831-#: model:ir.model,name:account_payment_extension.model_res_partner_bank
832-msgid "Bank Accounts"
833-msgstr "Bank Accounts"
834-
835-#. module: account_payment_extension
836+#: help:payment.type,note:0
837+msgid "Description of the payment type that will be shown in the invoices"
838+msgstr "Description of the payment type that will be shown in the invoices"
839+
840+#. module: account_payment_extension
841+#: view:account.move.line:0
842 #: field:payment.order,period_id:0
843 msgid "Period"
844 msgstr "Period"
845@@ -381,24 +395,9 @@
846 msgstr "Bank Statement"
847
848 #. module: account_payment_extension
849-#: help:res.partner,payment_type_supplier:0
850-msgid "Payment type of the supplier"
851-msgstr "Payment type of the supplier"
852-
853-#. module: account_payment_extension
854-#: constraint:ir.model:0
855-msgid "The Object name must start with x_ and not contain any special character !"
856-msgstr "The Object name must start with x_ and not contain any special character !"
857-
858-#. module: account_payment_extension
859-#: model:ir.model,name:account_payment_extension.model_account_move_line
860-msgid "Journal Items"
861-msgstr "Journal Items"
862-
863-#. module: account_payment_extension
864-#: help:account.move.line,received_check:0
865-msgid "To write down that a check in paper support has been received, for example."
866-msgstr "To write down that a check in paper support has been received, for example."
867+#: constraint:account.move.line:0
868+msgid "You can not create journal items on closed account."
869+msgstr "You can not create journal items on closed account."
870
871 #. module: account_payment_extension
872 #: model:ir.model,name:account_payment_extension.model_account_invoice
873@@ -406,29 +405,15 @@
874 msgstr "Invoice"
875
876 #. module: account_payment_extension
877-#: view:account.move.line:0
878-msgid "Narration"
879-msgstr "Narration"
880-
881-#. module: account_payment_extension
882-#: model:ir.model,name:account_payment_extension.model_res_partner
883-msgid "Partner"
884-msgstr "Partner"
885-
886-#. module: account_payment_extension
887-#: field:account.move.line,received_check:0
888-msgid "Received check"
889-msgstr "Received check"
890-
891-#. module: account_payment_extension
892-#: wizard_view:populate_payment_ext,init:0
893-msgid "Search Payment lines"
894-msgstr "Search Payment lines"
895-
896-#. module: account_payment_extension
897-#: sql_constraint:ir.model.fields:0
898-msgid "Size of the field can never be less than 1 !"
899-msgstr "Size of the field can never be less than 1 !"
900+#: view:account.move.line.payment:0
901+#: view:payment.order:0
902+msgid "Cancel"
903+msgstr "Cancel"
904+
905+#. module: account_payment_extension
906+#: view:payment.type:0
907+msgid "Suitable Bank Types"
908+msgstr "Suitable Bank Types"
909
910 #. module: account_payment_extension
911 #: help:payment.order,create_account_moves:0
912@@ -436,31 +421,134 @@
913 msgstr "Indicates when account moves should be created for order payment lines. \"Bank Statement\" will wait until user introduces those payments in bank a bank statement. \"Direct Payment\" will mark all payment lines as payied once the order is done."
914
915 #. module: account_payment_extension
916-#: model:ir.module.module,description:account_payment_extension.module_meta_information
917-msgid "Account payment extension.\n"
918-"\n"
919-"This module extends the account_payment module with a lot of features:\n"
920-" * Extension of payment types: The payment type has a translated name and note that can be shown in the invoices.\n"
921-" * Two default payment types for partners (client and supplier).\n"
922-" * Automatic selection of payment type in invoices. Now an invoice can have a payment term (30 days, 30/60 days, ...) and a payment type (cash, bank transfer, ...).\n"
923-" * A default check field in partner bank accounts. The default partner bank accounts are selected in invoices and payments.\n"
924-" * New menu/tree/forms to see payments to receive and payments to pay.\n"
925-" * The payments show tree editable fields: Due date, bank account and a check field (for example to write down if a bank check in paper support has been received).\n"
926-" * Two types of payment orders: Payable payment orders (from supplier invoices) and receivable payment orders (from client invoices). So we can make payment orders to receive the payments of our client invoices. Each payment order type has its own sequence.\n"
927-" * The payment orders allow negative payment amounts. So we can have payment orders for supplier invoices (pay money) and refund supplier invoices (return or receive money). Or for client invoices (receive money) and refund client invoices (return or pay money).\n"
928-" * Payment orders: Selected invoices are filtered by payment type, the second message communication can be set at the same time for several invoices.\n"
929-"Based on previous work of Pablo Rocandio & Zikzakmedia (version for 4.2).\n"
930-""
931-msgstr ""
932-
933-#. module: account_payment_extension
934-#: wizard_field:populate_payment_ext,init,show_refunds:0
935-msgid "Show Refunds"
936-msgstr "Show Refunds"
937-
938-#. module: account_payment_extension
939-#: help:populate_payment_ext,init,show_refunds:0
940+#: selection:payment.line,type:0
941+#: selection:payment.order,type:0
942+msgid "Receivable"
943+msgstr "Receivable"
944+
945+#. module: account_payment_extension
946+#: code:addons/account_payment_extension/payment.py:223
947+#, python-format
948+msgid "Payment order should create account moves but line with amount %.2f for partner \"%s\" has no account assigned."
949+msgstr "Payment order should create account moves but line with amount %.2f for partner \"%s\" has no account assigned."
950+
951+#. module: account_payment_extension
952+#: constraint:account.move.line:0
953+msgid "Company must be the same for its related account and period."
954+msgstr "Company must be the same for its related account and period."
955+
956+#. module: account_payment_extension
957+#: view:account.move.line:0
958+msgid "Pay"
959+msgstr "Pay"
960+
961+#. module: account_payment_extension
962+#: model:ir.model,name:account_payment_extension.model_payment_order
963+msgid "Payment Order"
964+msgstr "Payment Order"
965+
966+#. module: account_payment_extension
967+#: field:payment.order.create,communication2:0
968+msgid "Communication 2"
969+msgstr "Communication 2"
970+
971+#. module: account_payment_extension
972+#: view:payment.type:0
973+#: field:payment.type,note:0
974+msgid "Description"
975+msgstr "Description"
976+
977+#. module: account_payment_extension
978+#: view:account.move.line:0
979+msgid "Journal"
980+msgstr "Journal"
981+
982+#. module: account_payment_extension
983+#: field:payment.order,payment_type_name:0
984+msgid "Payment type name"
985+msgstr "Payment type name"
986+
987+#. module: account_payment_extension
988+#: view:account.move.line:0
989+msgid "Payment"
990+msgstr "Payment"
991+
992+#. module: account_payment_extension
993+#: field:payment.order,name:0
994+#: field:payment.type,name:0
995+msgid "Name"
996+msgstr "Name"
997+
998+#. module: account_payment_extension
999+#: field:account.move.line,partner_bank_id:0
1000+msgid "Bank Account"
1001+msgstr "Bank Account"
1002+
1003+#. module: account_payment_extension
1004+#: model:ir.actions.act_window,name:account_payment_extension.action_pay_account_move_line
1005+msgid "Change payment"
1006+msgstr "Change payment"
1007+
1008+#. module: account_payment_extension
1009+#: view:account.move.line:0
1010+msgid "Effective date"
1011+msgstr "Effective date"
1012+
1013+#. module: account_payment_extension
1014+#: model:ir.actions.act_window,name:account_payment_extension.action_create_payment_extension_order
1015+msgid "Seleccionar facturas a Pagar/Cobrar"
1016+msgstr "Seleccionar facturas a Pagar/Cobrar"
1017+
1018+#. module: account_payment_extension
1019+#: view:account.move.line:0
1020+msgid "Payments"
1021+msgstr "Payments"
1022+
1023+#. module: account_payment_extension
1024+#: model:ir.model,name:account_payment_extension.model_payment_order_create
1025+msgid "payment.order.create"
1026+msgstr "payment.order.create"
1027+
1028+#. module: account_payment_extension
1029+#: field:payment.mode,require_same_bank_account:0
1030+msgid "Require the Same Bank Account"
1031+msgstr "Require the Same Bank Account"
1032+
1033+#. module: account_payment_extension
1034+#: view:account.move.line.payment:0
1035+msgid "Approve"
1036+msgstr "Approve"
1037+
1038+#. module: account_payment_extension
1039+#: view:account.move.line:0
1040+msgid "Receivable payments"
1041+msgstr "Receivable payments"
1042+
1043+#. module: account_payment_extension
1044+#: field:account.invoice,payment_type:0
1045+#: field:account.move.line,payment_type:0
1046+#: model:ir.model,name:account_payment_extension.model_payment_type
1047+#: field:payment.mode,type:0
1048+msgid "Payment type"
1049+msgstr "Payment type"
1050+
1051+#. module: account_payment_extension
1052+#: view:res.partner:0
1053+msgid "Bank Details"
1054+msgstr "Bank Details"
1055+
1056+#. module: account_payment_extension
1057+#: help:payment.order.create,amount:0
1058+msgid "Next step will automatically select payments up to this amount as long as account moves have bank account if that is required by the selected payment mode."
1059+msgstr "Next step will automatically select payments up to this amount as long as account moves have bank account if that is required by the selected payment mode."
1060+
1061+#. module: account_payment_extension
1062+#: help:payment.order.create,show_refunds:0
1063 msgid "Indicates if search should include refunds."
1064 msgstr "Indicates if search should include refunds."
1065
1066+#. module: account_payment_extension
1067+#: field:account.move.line,received_check:0
1068+msgid "Received check"
1069+msgstr "Received check"
1070
1071
1072=== modified file 'account_payment_extension/i18n/es.po'
1073--- account_payment_extension/i18n/es.po 2013-05-15 05:52:59 +0000
1074+++ account_payment_extension/i18n/es.po 2013-06-03 10:33:26 +0000
1075@@ -1,88 +1,34 @@
1076 # Translation of OpenERP Server.
1077 # This file contains the translation of the following modules:
1078-# * account_payment_extension
1079+# * account_payment_extension
1080 #
1081-# Albert Cervera i Areny <albert@nan-tic.com>, 2010.
1082 msgid ""
1083 msgstr ""
1084-"Project-Id-Version: OpenERP Server 5.0.10\n"
1085-"Report-Msgid-Bugs-To: support@openerp.com\n"
1086-"POT-Creation-Date: 2010-12-17 20:52+0000\n"
1087-"PO-Revision-Date: 2012-11-22 18:31+0000\n"
1088-"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
1089-"<jesteve@zikzakmedia.com>\n"
1090-"Language-Team: Catalan <kde-i18n-ca@kde.org>\n"
1091+"Project-Id-Version: OpenERP Server 6.1\n"
1092+"Report-Msgid-Bugs-To: \n"
1093+"POT-Creation-Date: 2013-05-15 16:00+0000\n"
1094+"PO-Revision-Date: 2013-05-15 16:00+0000\n"
1095+"Last-Translator: <>\n"
1096+"Language-Team: \n"
1097 "MIME-Version: 1.0\n"
1098 "Content-Type: text/plain; charset=UTF-8\n"
1099-"Content-Transfer-Encoding: 8bit\n"
1100-"X-Launchpad-Export-Date: 2013-05-15 05:52+0000\n"
1101-"X-Generator: Launchpad (build 16617)\n"
1102-"Language: ca\n"
1103-
1104-#. module: account_payment_extension
1105-#: selection:payment.order,type:0
1106-msgid "Receivable"
1107-msgstr "A cobrar"
1108-
1109-#. module: account_payment_extension
1110-#: model:ir.actions.act_window,name:account_payment_extension.action_payment_type
1111-#: model:ir.ui.menu,name:account_payment_extension.menu_action_payment_type
1112-#: view:payment.type:0
1113-#: help:payment.type,name:0
1114-msgid "Payment Type"
1115-msgstr "Tipo de pago"
1116-
1117-#. module: account_payment_extension
1118-#: selection:payment.order,create_account_moves:0
1119-msgid "Direct Payment"
1120-msgstr "Por pago directo"
1121-
1122-#. module: account_payment_extension
1123-#: code:addons/account_payment_extension/payment.py:0
1124-#, python-format
1125-msgid ""
1126-"Payment order should create account moves but line with amount %.2f for "
1127-"partner \"%s\" has no account assigned."
1128-msgstr ""
1129-"La orden de pago debe generar los asientos pero la línea con importe %.2f y "
1130-"empresa \"%s\" no tiene cuenta asignada."
1131-
1132-#. module: account_payment_extension
1133-#: constraint:ir.actions.act_window:0
1134-msgid "Invalid model name in the action definition."
1135-msgstr "Nombre de modelo no válido en la definición de la acción."
1136-
1137-#. module: account_payment_extension
1138-#: help:payment.type,code:0
1139-msgid "Specify the Code for Payment Type"
1140-msgstr "Indica el código del tipo de pago."
1141-
1142-#. module: account_payment_extension
1143-#: view:account.move.line:0
1144-msgid "Pay"
1145-msgstr "Efectos a pagar"
1146-
1147-#. module: account_payment_extension
1148-#: code:addons/account_payment_extension/payment.py:0
1149-#, python-format
1150-msgid ""
1151-"You cannot delete payment order(s) which are already confirmed or done!"
1152-msgstr "¡No puede borrar ordenes de pago ya confirmadas o realizadas!"
1153-
1154-#. module: account_payment_extension
1155-#: model:ir.model,name:account_payment_extension.model_payment_order
1156-msgid "Payment Order"
1157-msgstr "Orden de pago"
1158-
1159-#. module: account_payment_extension
1160-#: view:account.move.line:0
1161-msgid "Receive"
1162-msgstr "A cobrar"
1163-
1164-#. module: account_payment_extension
1165-#: constraint:ir.ui.view:0
1166-msgid "Invalid XML for View Architecture!"
1167-msgstr "¡XML inválido para la definición de la vista!"
1168+"Content-Transfer-Encoding: \n"
1169+"Plural-Forms: \n"
1170+
1171+#. module: account_payment_extension
1172+#: view:payment.order.create:0
1173+msgid "Extra message of payment communication"
1174+msgstr "Mensaje extra de la comunicación de pagos"
1175+
1176+#. module: account_payment_extension
1177+#: field:payment.mode,require_received_check:0
1178+msgid "Require Received Check"
1179+msgstr "Requerir cheque recibido"
1180+
1181+#. module: account_payment_extension
1182+#: model:ir.actions.act_window,help:account_payment_extension.action_pay_account_move_line
1183+msgid "with this wizard ypu can change the state of the selected entries. "
1184+msgstr "Con este asistente puede cambiar el estado de los elementos seleccionados. "
1185
1186 #. module: account_payment_extension
1187 #: field:payment.mode,require_bank_account:0
1188@@ -90,71 +36,9 @@
1189 msgstr "Requerir cuenta bancaria"
1190
1191 #. module: account_payment_extension
1192-#: model:ir.actions.wizard,name:account_payment_extension.wizard_populate_statement_ext
1193-msgid "Populate Statement with Payment lines"
1194-msgstr "Rellenar extracto con líneas de pago"
1195-
1196-#. module: account_payment_extension
1197-#: wizard_field:populate_statement_ext,init,lines:0
1198-msgid "Payment Lines"
1199-msgstr "Pagos"
1200-
1201-#. module: account_payment_extension
1202-#: model:ir.model,name:account_payment_extension.model_payment_line
1203-msgid "Payment Line"
1204-msgstr "Línea de pago"
1205-
1206-#. module: account_payment_extension
1207-#: constraint:ir.ui.menu:0
1208-msgid "Error ! You can not create recursive Menu."
1209-msgstr "¡Error! No puede crear menús recursivos."
1210-
1211-#. module: account_payment_extension
1212-#: model:ir.model,name:account_payment_extension.model_payment_mode
1213-msgid "Payment Mode"
1214-msgstr "Modo de pago"
1215-
1216-#. module: account_payment_extension
1217-#: wizard_field:populate_payment_ext,search,communication2:0
1218-msgid "Communication 2"
1219-msgstr "Comunicación 2"
1220-
1221-#. module: account_payment_extension
1222-#: help:payment.type,note:0
1223-msgid "Description of the payment type that will be shown in the invoices"
1224-msgstr "Descripción del tipo de pago que se mostrará en las facturas."
1225-
1226-#. module: account_payment_extension
1227-#: field:payment.order,type:0
1228-msgid "Type"
1229-msgstr "Tipo"
1230-
1231-#. module: account_payment_extension
1232 #: view:account.move.line:0
1233-msgid "Search Invoice Payments"
1234-msgstr "Buscar pagos de facturas"
1235-
1236-#. module: account_payment_extension
1237-#: view:payment.type:0
1238-msgid "Suitable Bank Types"
1239-msgstr "Tipos de banco adecuados"
1240-
1241-#. module: account_payment_extension
1242-#: wizard_button:populate_statement_ext,init,add:0
1243-msgid "_Add"
1244-msgstr "_Añadir"
1245-
1246-#. module: account_payment_extension
1247-#: code:addons/account_payment_extension/payment.py:0
1248-#, python-format
1249-msgid "Error !"
1250-msgstr "¡ Error !"
1251-
1252-#. module: account_payment_extension
1253-#: view:payment.type:0
1254-#: field:payment.type,note:0
1255-msgid "Description"
1256-msgstr "Descripción"
1257+msgid "Group By..."
1258+msgstr "Agrupar por..."
1259
1260 #. module: account_payment_extension
1261 #: field:payment.type,company_id:0
1262@@ -162,80 +46,36 @@
1263 msgstr "Compañía"
1264
1265 #. module: account_payment_extension
1266-#: code:addons/account_payment_extension/payment.py:0
1267+#: code:addons/account_payment_extension/payment.py:298
1268 #, python-format
1269 msgid "Account move line \"%s\" is not valid"
1270 msgstr "El apunte \"%s\" no es válido."
1271
1272 #. module: account_payment_extension
1273-#: wizard_button:populate_payment_ext,init,end:0
1274-#: wizard_button:populate_payment_ext,search,end:0
1275-#: wizard_button:populate_statement_ext,init,end:0
1276-msgid "_Cancel"
1277-msgstr "_Cancelar"
1278-
1279-#. module: account_payment_extension
1280-#: field:payment.order,payment_type_name:0
1281-msgid "Payment type name"
1282-msgstr "Nombre tipo de pago"
1283-
1284-#. module: account_payment_extension
1285-#: model:ir.actions.act_window,name:account_payment_extension.action_rec_payment_order_tree
1286-#: model:ir.ui.menu,name:account_payment_extension.menu_action_rec_payment_order_form
1287-msgid "Rec. payment order"
1288-msgstr "Órdenes de cobro"
1289-
1290-#. module: account_payment_extension
1291+#: selection:payment.line,type:0
1292 #: selection:payment.order,type:0
1293 msgid "Payable"
1294 msgstr "A pagar"
1295
1296 #. module: account_payment_extension
1297-#: model:ir.actions.wizard,name:account_payment_extension.wizard_populate_payment_ext
1298-msgid "Populate payment to pay"
1299-msgstr "Buscar pagos a pagar/cobrar"
1300-
1301-#. module: account_payment_extension
1302 #: field:res.partner,payment_type_customer:0
1303 msgid "Customer Payment Type"
1304 msgstr "Tipo de pago cliente"
1305
1306 #. module: account_payment_extension
1307-#: help:populate_payment_ext,init,amount:0
1308-msgid "Next step will automatically select payments up to this amount."
1309-msgstr ""
1310-"El siguiente paso seleccionará automáticamente pagos hasta llegar a este "
1311-"importe."
1312-
1313-#. module: account_payment_extension
1314-#: wizard_field:populate_payment_ext,search,entries:0
1315+#: view:payment.order.create:0
1316 msgid "Entries"
1317-msgstr "Entradas"
1318-
1319-#. module: account_payment_extension
1320-#: field:payment.type,active:0
1321-msgid "Active"
1322-msgstr "Activo"
1323-
1324-#. module: account_payment_extension
1325-#: view:payment.order:0
1326-msgid "Select invoices to pay/receive payment"
1327-msgstr "Seleccionar facturas a pagar/cobrar"
1328-
1329-#. module: account_payment_extension
1330-#: help:payment.line,payment_move_id:0
1331-msgid "Account move that pays this debt."
1332-msgstr "Asiento que paga la deuda."
1333-
1334-#. module: account_payment_extension
1335-#: help:populate_payment_ext,search,communication2:0
1336-msgid "The successor message of payment communication."
1337-msgstr "El siguiente mensaje del comunicado del pago/cobro."
1338+msgstr "Asientos"
1339+
1340+#. module: account_payment_extension
1341+#: view:account.move.line.payment:0
1342+msgid "Pay Journal Entries"
1343+msgstr "Pagar/Cobrar efectos"
1344
1345 #. module: account_payment_extension
1346 #: view:account.move.line:0
1347-msgid "Payment"
1348-msgstr "Pago"
1349+msgid "Total Credit"
1350+msgstr "Total haber"
1351
1352 #. module: account_payment_extension
1353 #: field:payment.order,create_account_moves:0
1354@@ -243,79 +83,33 @@
1355 msgstr "Crear asientos contables"
1356
1357 #. module: account_payment_extension
1358-#: field:payment.line,payment_move_id:0
1359-msgid "Payment Move"
1360-msgstr "Asiento del pago"
1361-
1362-#. module: account_payment_extension
1363 #: field:payment.line,account_id:0
1364 msgid "Account"
1365 msgstr "Cuenta"
1366
1367 #. module: account_payment_extension
1368-#: field:payment.type,suitable_bank_types:0
1369-msgid "Suitable bank types"
1370-msgstr "Tipos de banco adecuados"
1371-
1372-#. module: account_payment_extension
1373 #: help:payment.mode,require_bank_account:0
1374-msgid ""
1375-"Ensure all lines in the payment order have a bank account when proposing "
1376-"lines to be added in the payment order."
1377-msgstr ""
1378-"Asegura que todas las línease propuestas para incluir en la orden tienen "
1379-"cuenta bancaria."
1380-
1381-#. module: account_payment_extension
1382-#: field:payment.order,name:0
1383-#: field:payment.type,name:0
1384-msgid "Name"
1385-msgstr "Nombre"
1386-
1387-#. module: account_payment_extension
1388-#: wizard_field:populate_payment_ext,init,duedate:0
1389+msgid "Ensure all lines in the payment order have a bank account when proposing lines to be added in the payment order."
1390+msgstr "Asegura que todas las líneas propuestas para incluir en la orden tienen cuenta bancaria."
1391+
1392+#. module: account_payment_extension
1393+#: view:account.move.line:0
1394 msgid "Due Date"
1395 msgstr "Fecha vencimiento"
1396
1397 #. module: account_payment_extension
1398-#: field:res.partner.bank,default_bank:0
1399-msgid "Default"
1400-msgstr "Por defecto"
1401-
1402-#. module: account_payment_extension
1403-#: wizard_button:populate_payment_ext,init,search:0
1404-msgid "_Search"
1405-msgstr "_Buscar"
1406-
1407-#. module: account_payment_extension
1408-#: field:account.move.line,partner_bank_id:0
1409-msgid "Bank Account"
1410-msgstr "Cuenta bancaria"
1411-
1412-#. module: account_payment_extension
1413-#: wizard_button:populate_payment_ext,search,create:0
1414-msgid "_Add to payment order"
1415-msgstr "_Añadir a la orden de pago"
1416-
1417-#. module: account_payment_extension
1418-#: code:addons/account_payment_extension/payment.py:0
1419-#, python-format
1420-msgid "Invalid action!"
1421-msgstr "Acción no válida!"
1422-
1423-#. module: account_payment_extension
1424 #: view:account.move.line:0
1425-msgid "Unreconciled"
1426-msgstr "No conciliado"
1427+msgid "Total Debit"
1428+msgstr "Total debe"
1429
1430 #. module: account_payment_extension
1431-#: code:addons/account_payment_extension/payment.py:0
1432+#: code:addons/account_payment_extension/payment.py:223
1433 #, python-format
1434 msgid "Error!"
1435 msgstr "¡Error!"
1436
1437 #. module: account_payment_extension
1438-#: wizard_field:populate_payment_ext,init,amount:0
1439+#: field:payment.order.create,amount:0
1440 msgid "Amount"
1441 msgstr "Importe"
1442
1443@@ -325,14 +119,64 @@
1444 msgstr "Seleccione el tipo de pago para el modo de pago."
1445
1446 #. module: account_payment_extension
1447-#: view:account.bank.statement:0
1448-msgid "Import payment lines"
1449-msgstr "Importar líneas de pago"
1450-
1451-#. module: account_payment_extension
1452-#: view:account.move.line:0
1453-msgid "Payments"
1454-msgstr "Efectos"
1455+#: sql_constraint:account.move.line:0
1456+msgid "Wrong credit or debit value in accounting entry !"
1457+msgstr "¡Valor haber o debe erróneo en el asiento contable!"
1458+
1459+#. module: account_payment_extension
1460+#: view:account.move.line:0
1461+msgid "Payable payments"
1462+msgstr "Efectos a pagar"
1463+
1464+#. module: account_payment_extension
1465+#: sql_constraint:payment.line:0
1466+msgid "The payment line name must be unique!"
1467+msgstr "¡El nombre de la línea de pago debe ser única!"
1468+
1469+#. module: account_payment_extension
1470+#: constraint:account.move.line:0
1471+msgid "The date of your Journal Entry is not in the defined period! You should change the date or remove this constraint from the journal."
1472+msgstr "¡La fecha de su asiento no está en el periodo definido! Debería cambiar la fecha o borrar esta restricción del diario."
1473+
1474+#. module: account_payment_extension
1475+#: code:addons/account_payment_extension/account_move_line.py:276
1476+#, python-format
1477+msgid "Warning"
1478+msgstr "Aviso"
1479+
1480+#. module: account_payment_extension
1481+#: help:account.move.line,received_check:0
1482+msgid "To write down that a check in paper support has been received, for example."
1483+msgstr "Sirve para indicar que se ha recibido un cheque en soporte papel, por ejemplo."
1484+
1485+#. module: account_payment_extension
1486+#: field:payment.order.create,show_refunds:0
1487+msgid "Show Refunds"
1488+msgstr "Mostrar reembolsos"
1489+
1490+#. module: account_payment_extension
1491+#: view:account.move.line:0
1492+#: model:ir.model,name:account_payment_extension.model_res_partner
1493+msgid "Partner"
1494+msgstr "Empresa"
1495+
1496+#. module: account_payment_extension
1497+#: field:payment.type,suitable_bank_types:0
1498+msgid "Suitable bank types"
1499+msgstr "Tipos de banco adecuados"
1500+
1501+#. module: account_payment_extension
1502+#: model:ir.actions.act_window,name:account_payment_extension.action_payment_type
1503+#: model:ir.ui.menu,name:account_payment_extension.menu_action_payment_type
1504+#: view:payment.type:0
1505+#: help:payment.type,name:0
1506+msgid "Payment Type"
1507+msgstr "Tipo de pago"
1508+
1509+#. module: account_payment_extension
1510+#: model:ir.model,name:account_payment_extension.model_res_partner_bank
1511+msgid "Bank Accounts"
1512+msgstr "Cuentas bancarias"
1513
1514 #. module: account_payment_extension
1515 #: field:res.partner,payment_type_supplier:0
1516@@ -340,15 +184,178 @@
1517 msgstr "Tipo de pago proveedor"
1518
1519 #. module: account_payment_extension
1520+#: view:account.move.line:0
1521+msgid "State"
1522+msgstr "Estado"
1523+
1524+#. module: account_payment_extension
1525+#: model:ir.actions.act_window,name:account_payment_extension.action_rec_payment_order_tree
1526+#: model:ir.ui.menu,name:account_payment_extension.menu_action_rec_payment_order_form
1527+msgid "Rec. payment order"
1528+msgstr "Órdenes de cobro"
1529+
1530+#. module: account_payment_extension
1531+#: model:ir.model,name:account_payment_extension.model_payment_mode
1532+msgid "Payment Mode"
1533+msgstr "Modo de pago"
1534+
1535+#. module: account_payment_extension
1536+#: field:payment.line,type:0
1537+#: field:payment.order,type:0
1538+msgid "Type"
1539+msgstr "Tipo"
1540+
1541+#. module: account_payment_extension
1542+#: help:res.partner,payment_type_supplier:0
1543+msgid "Payment type of the supplier"
1544+msgstr "Tipo de pago como proveedor."
1545+
1546+#. module: account_payment_extension
1547+#: code:addons/account_payment_extension/payment.py:298
1548+#, python-format
1549+msgid "Error !"
1550+msgstr "¡ Error !"
1551+
1552+#. module: account_payment_extension
1553+#: model:ir.model,name:account_payment_extension.model_account_move_line_payment
1554+msgid "Pay Account Move Lines"
1555+msgstr "Pagar/cobrar apuntes"
1556+
1557+#. module: account_payment_extension
1558+#: code:addons/account_payment_extension/account_move_line.py:276
1559+#, python-format
1560+msgid "The pay entries have to be for the same partner!!!"
1561+msgstr "¡Los efectos tienen que ser de la misma empresa!"
1562+
1563+#. module: account_payment_extension
1564+#: help:payment.order.create,communication2:0
1565+msgid "The successor message of payment communication."
1566+msgstr "Mensaje del sucesor de la comunicación del pago."
1567+
1568+#. module: account_payment_extension
1569+#: field:payment.line,payment_move_id:0
1570+msgid "Payment Move"
1571+msgstr "Asiento del pago"
1572+
1573+#. module: account_payment_extension
1574+#: view:account.move.line:0
1575+msgid "Receive"
1576+msgstr "A cobrar"
1577+
1578+#. module: account_payment_extension
1579+#: view:account.move.line:0
1580+msgid "Unreconciled payments"
1581+msgstr "Pagos no conciliados"
1582+
1583+#. module: account_payment_extension
1584 #: help:res.partner,payment_type_customer:0
1585 msgid "Payment type of the customer"
1586 msgstr "Tipo de pago como cliente."
1587
1588 #. module: account_payment_extension
1589-#: model:ir.actions.act_window,name:account_payment_extension.action_pay_payment_order_tree
1590-#: model:ir.ui.menu,name:account_payment_extension.menu_action_pay_payment_order_form
1591-msgid "Pay. payment order"
1592-msgstr "Órdenes de pago"
1593+#: view:account.move.line.payment:0
1594+msgid "Change payment entries"
1595+msgstr "Cambiar efectos"
1596+
1597+#. module: account_payment_extension
1598+#: code:addons/account_payment_extension/account_move_line.py:294
1599+#, python-format
1600+msgid "Pay Moves"
1601+msgstr "Movimientos de pago/cobro"
1602+
1603+#. module: account_payment_extension
1604+#: constraint:account.move.line:0
1605+msgid "The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal."
1606+msgstr "La cuenta selecionada de su diario obliga a tener una moneda secundaria. Debería eliminar la moneda secundaria de la cuenta o asignar una vista de multi-moneda al diario."
1607+
1608+#. module: account_payment_extension
1609+#: selection:payment.order,create_account_moves:0
1610+msgid "Direct Payment"
1611+msgstr "Por pago directo"
1612+
1613+#. module: account_payment_extension
1614+#: code:addons/account_payment_extension/payment.py:196
1615+#, python-format
1616+msgid "You cannot delete payment order(s) which are already confirmed or done!"
1617+msgstr "¡No puede borrar órdenes de pago ya confirmadas o realizadas!"
1618+
1619+#. module: account_payment_extension
1620+#: view:account.move.line:0
1621+msgid "Total Amount to Pay"
1622+msgstr "Cantidad total a pagar/cobrar"
1623+
1624+#. module: account_payment_extension
1625+#: view:account.move.line:0
1626+msgid "Unreconciled"
1627+msgstr "No conciliado"
1628+
1629+#. module: account_payment_extension
1630+#: model:ir.model,name:account_payment_extension.model_payment_line
1631+msgid "Payment Line"
1632+msgstr "Línea de pago"
1633+
1634+#. module: account_payment_extension
1635+#: view:account.move.line:0
1636+msgid "Search Invoice Payments"
1637+msgstr "Buscar pagos de facturas"
1638+
1639+#. module: account_payment_extension
1640+#: view:account.move.line.payment:0
1641+msgid "Puede cambiar el estado de los efectos comerciales mediante el siguiente asistente"
1642+msgstr "Puede cambiar el estado de los efectos comerciales mediante el siguiente asistente"
1643+
1644+#. module: account_payment_extension
1645+#: view:payment.order:0
1646+msgid "Select invoices to pay/receive payment"
1647+msgstr "Seleccionar facturas a pagar/cobrar"
1648+
1649+#. module: account_payment_extension
1650+#: field:payment.type,active:0
1651+msgid "Active"
1652+msgstr "Activo"
1653+
1654+#. module: account_payment_extension
1655+#: help:payment.line,payment_move_id:0
1656+msgid "Account move that pays this debt."
1657+msgstr "Asiento que paga la deuda."
1658+
1659+#. module: account_payment_extension
1660+#: constraint:res.partner.bank:0
1661+msgid "\n"
1662+"Please define BIC/Swift code on bank for bank type IBAN Account to make valid payments"
1663+msgstr "\n"
1664+"Por favor especifique el código BIC/Swift en el banco para el tipo de cuenta IBAN para realizar pagos válidos"
1665+
1666+#. module: account_payment_extension
1667+#: field:res.partner.bank,default_bank:0
1668+msgid "Default"
1669+msgstr "Por defecto"
1670+
1671+#. module: account_payment_extension
1672+#: code:addons/account_payment_extension/payment.py:196
1673+#, python-format
1674+msgid "Invalid action!"
1675+msgstr "¡Acción no válida!"
1676+
1677+#. module: account_payment_extension
1678+#: model:ir.model,name:account_payment_extension.model_account_move_line
1679+msgid "Journal Items"
1680+msgstr "Apuntes contables"
1681+
1682+#. module: account_payment_extension
1683+#: help:payment.type,code:0
1684+msgid "Specify the Code for Payment Type"
1685+msgstr "Indica el código del tipo de pago."
1686+
1687+#. module: account_payment_extension
1688+#: help:payment.mode,require_received_check:0
1689+msgid "Ensure all lines in the payment order have the Received Check flag set."
1690+msgstr "Asegúrese de que todos los elementos de la orden de cobro tienen marcado el campo cheque recibido."
1691+
1692+#. module: account_payment_extension
1693+#: constraint:account.move.line:0
1694+msgid "You can not create journal items on an account of type view."
1695+msgstr "No puede crear asientos en una cuenta de tipo vista"
1696
1697 #. module: account_payment_extension
1698 #: model:ir.actions.act_window,name:account_payment_extension.action_invoice_payments
1699@@ -357,18 +364,14 @@
1700 msgstr "Efectos"
1701
1702 #. module: account_payment_extension
1703-#: model:ir.actions.act_window,name:account_payment_extension.action_done_payments
1704-#: model:ir.ui.menu,name:account_payment_extension.menu_action_done_payments
1705-msgid "Done payments"
1706-msgstr "Pagos/cobros realizados"
1707+#: help:payment.mode,require_same_bank_account:0
1708+msgid "Ensure all lines in the payment order and the payment mode have the same account number."
1709+msgstr "Asegúrese de que todas las líneas de la orden de cobro tienen el mismo número de cuenta."
1710
1711 #. module: account_payment_extension
1712-#: field:account.invoice,payment_type:0
1713-#: field:account.move.line,payment_type:0
1714-#: model:ir.model,name:account_payment_extension.model_payment_type
1715-#: field:payment.mode,type:0
1716-msgid "Payment type"
1717-msgstr "Tipo de pago"
1718+#: sql_constraint:account.invoice:0
1719+msgid "Invoice Number must be unique per Company!"
1720+msgstr "¡El número de factura debe ser único por compañía!"
1721
1722 #. module: account_payment_extension
1723 #: field:payment.type,code:0
1724@@ -376,16 +379,12 @@
1725 msgstr "Código"
1726
1727 #. module: account_payment_extension
1728-#: view:res.partner:0
1729-msgid "Bank Details"
1730-msgstr "Detalles del banco"
1731-
1732-#. module: account_payment_extension
1733-#: model:ir.model,name:account_payment_extension.model_res_partner_bank
1734-msgid "Bank Accounts"
1735-msgstr "Cuentas bancarias"
1736-
1737-#. module: account_payment_extension
1738+#: help:payment.type,note:0
1739+msgid "Description of the payment type that will be shown in the invoices"
1740+msgstr "Descripción del tipo de pago que se mostrará en las facturas."
1741+
1742+#. module: account_payment_extension
1743+#: view:account.move.line:0
1744 #: field:payment.order,period_id:0
1745 msgid "Period"
1746 msgstr "Período"
1747@@ -396,30 +395,9 @@
1748 msgstr "Por extracto bancario"
1749
1750 #. module: account_payment_extension
1751-#: help:res.partner,payment_type_supplier:0
1752-msgid "Payment type of the supplier"
1753-msgstr "Tipo de pago como proveedor."
1754-
1755-#. module: account_payment_extension
1756-#: constraint:ir.model:0
1757-msgid ""
1758-"The Object name must start with x_ and not contain any special character !"
1759-msgstr ""
1760-"¡El nombre del objeto debe empezar con x_ y no contener ningún carácter "
1761-"especial!"
1762-
1763-#. module: account_payment_extension
1764-#: model:ir.model,name:account_payment_extension.model_account_move_line
1765-msgid "Journal Items"
1766-msgstr "Apuntes"
1767-
1768-#. module: account_payment_extension
1769-#: help:account.move.line,received_check:0
1770-msgid ""
1771-"To write down that a check in paper support has been received, for example."
1772-msgstr ""
1773-"Sirve para indicar que se ha recibido un cheque en soporte papel, por "
1774-"ejemplo."
1775+#: constraint:account.move.line:0
1776+msgid "You can not create journal items on closed account."
1777+msgstr "No puede crear asientos en cuentas cerradas"
1778
1779 #. module: account_payment_extension
1780 #: model:ir.model,name:account_payment_extension.model_account_invoice
1781@@ -427,114 +405,150 @@
1782 msgstr "Factura"
1783
1784 #. module: account_payment_extension
1785+#: view:account.move.line.payment:0
1786+#: view:payment.order:0
1787+msgid "Cancel"
1788+msgstr "Cancelar"
1789+
1790+#. module: account_payment_extension
1791+#: view:payment.type:0
1792+msgid "Suitable Bank Types"
1793+msgstr "Tipos de banco adecuados"
1794+
1795+#. module: account_payment_extension
1796+#: help:payment.order,create_account_moves:0
1797+msgid "Indicates when account moves should be created for order payment lines. \"Bank Statement\" will wait until user introduces those payments in bank a bank statement. \"Direct Payment\" will mark all payment lines as payied once the order is done."
1798+msgstr "Indica cuándo se deben generar los asientos contables para las líneas de la orden de pago. \"Por extracto bancario\" esperará a que el usuario introduzca los pagos en el extracto bancario. \"Por pago directo\" marcará todas las líneas como pagadas cuando se realice la orden."
1799+
1800+#. module: account_payment_extension
1801+#: selection:payment.line,type:0
1802+#: selection:payment.order,type:0
1803+msgid "Receivable"
1804+msgstr "A cobrar"
1805+
1806+#. module: account_payment_extension
1807+#: code:addons/account_payment_extension/payment.py:223
1808+#, python-format
1809+msgid "Payment order should create account moves but line with amount %.2f for partner \"%s\" has no account assigned."
1810+msgstr "La orden de pago debe generar los asientos pero la línea con importe %.2f y empresa \"%s\" no tiene cuenta asignada."
1811+
1812+#. module: account_payment_extension
1813+#: constraint:account.move.line:0
1814+msgid "Company must be the same for its related account and period."
1815+msgstr "La compañía debe ser la misma para su cuenta y periodos relacionados"
1816+
1817+#. module: account_payment_extension
1818 #: view:account.move.line:0
1819-msgid "Narration"
1820+msgid "Pay"
1821+msgstr "Efectos a pagar"
1822+
1823+#. module: account_payment_extension
1824+#: model:ir.model,name:account_payment_extension.model_payment_order
1825+msgid "Payment Order"
1826+msgstr "Orden de pago"
1827+
1828+#. module: account_payment_extension
1829+#: field:payment.order.create,communication2:0
1830+msgid "Communication 2"
1831+msgstr "Comunicación 2"
1832+
1833+#. module: account_payment_extension
1834+#: view:payment.type:0
1835+#: field:payment.type,note:0
1836+msgid "Description"
1837 msgstr "Descripción"
1838
1839 #. module: account_payment_extension
1840-#: model:ir.model,name:account_payment_extension.model_res_partner
1841-msgid "Partner"
1842-msgstr "Empresa"
1843+#: view:account.move.line:0
1844+msgid "Journal"
1845+msgstr "Diario"
1846+
1847+#. module: account_payment_extension
1848+#: field:payment.order,payment_type_name:0
1849+msgid "Payment type name"
1850+msgstr "Nombre tipo de pago"
1851+
1852+#. module: account_payment_extension
1853+#: view:account.move.line:0
1854+msgid "Payment"
1855+msgstr "Pago"
1856+
1857+#. module: account_payment_extension
1858+#: field:payment.order,name:0
1859+#: field:payment.type,name:0
1860+msgid "Name"
1861+msgstr "Nombre"
1862+
1863+#. module: account_payment_extension
1864+#: field:account.move.line,partner_bank_id:0
1865+msgid "Bank Account"
1866+msgstr "Cuenta bancaria"
1867+
1868+#. module: account_payment_extension
1869+#: model:ir.actions.act_window,name:account_payment_extension.action_pay_account_move_line
1870+msgid "Change payment"
1871+msgstr "Modificar efectos"
1872+
1873+#. module: account_payment_extension
1874+#: view:account.move.line:0
1875+msgid "Effective date"
1876+msgstr "Fecha de efecto"
1877+
1878+#. module: account_payment_extension
1879+#: model:ir.actions.act_window,name:account_payment_extension.action_create_payment_extension_order
1880+msgid "Seleccionar facturas a Pagar/Cobrar"
1881+msgstr "Seleccionar facturas a pagar/cobrar"
1882+
1883+#. module: account_payment_extension
1884+#: view:account.move.line:0
1885+msgid "Payments"
1886+msgstr "Efectos"
1887+
1888+#. module: account_payment_extension
1889+#: model:ir.model,name:account_payment_extension.model_payment_order_create
1890+msgid "payment.order.create"
1891+msgstr "pago.orden.crear"
1892+
1893+#. module: account_payment_extension
1894+#: field:payment.mode,require_same_bank_account:0
1895+msgid "Require the Same Bank Account"
1896+msgstr "Requerir la misma cuenta bancaria"
1897+
1898+#. module: account_payment_extension
1899+#: view:account.move.line.payment:0
1900+msgid "Approve"
1901+msgstr "Aprobar"
1902+
1903+#. module: account_payment_extension
1904+#: view:account.move.line:0
1905+msgid "Receivable payments"
1906+msgstr "Efectos a cobrar"
1907+
1908+#. module: account_payment_extension
1909+#: field:account.invoice,payment_type:0
1910+#: field:account.move.line,payment_type:0
1911+#: model:ir.model,name:account_payment_extension.model_payment_type
1912+#: field:payment.mode,type:0
1913+msgid "Payment type"
1914+msgstr "Tipo de pago"
1915+
1916+#. module: account_payment_extension
1917+#: view:res.partner:0
1918+msgid "Bank Details"
1919+msgstr "Detalles del banco"
1920+
1921+#. module: account_payment_extension
1922+#: help:payment.order.create,amount:0
1923+msgid "Next step will automatically select payments up to this amount as long as account moves have bank account if that is required by the selected payment mode."
1924+msgstr "El siguiente paso seleccionará automáticamente pagos/cobros hasta esta cantidad siempre que los apuntes tengan cuenta bancaria si ésta es requerida en el modo de pago seleccionado."
1925+
1926+#. module: account_payment_extension
1927+#: help:payment.order.create,show_refunds:0
1928+msgid "Indicates if search should include refunds."
1929+msgstr "Indica si la búsqueda debe incluir devoluciones."
1930
1931 #. module: account_payment_extension
1932 #: field:account.move.line,received_check:0
1933 msgid "Received check"
1934 msgstr "Cheque recibido"
1935
1936-#. module: account_payment_extension
1937-#: wizard_view:populate_payment_ext,init:0
1938-msgid "Search Payment lines"
1939-msgstr "Buscar líneas de pago"
1940-
1941-#. module: account_payment_extension
1942-#: sql_constraint:ir.model.fields:0
1943-msgid "Size of the field can never be less than 1 !"
1944-msgstr "¡El tamaño del campo no puede ser menor que 1!"
1945-
1946-#. module: account_payment_extension
1947-#: help:payment.order,create_account_moves:0
1948-msgid ""
1949-"Indicates when account moves should be created for order payment lines. "
1950-"\"Bank Statement\" will wait until user introduces those payments in bank a "
1951-"bank statement. \"Direct Payment\" will mark all payment lines as payied "
1952-"once the order is done."
1953-msgstr ""
1954-"Indica cuando se deben generar los asientos contables para las líneas de la "
1955-"orden de pago. \"Por extracto bancario\" esperará a que el usuario "
1956-"introduzca los pagos en el extracto bancario. \"Por pago directo\" marcará "
1957-"todas las líneas como pagadas cuando se realice la orden."
1958-
1959-#. module: account_payment_extension
1960-#: model:ir.module.module,description:account_payment_extension.module_meta_information
1961-msgid ""
1962-"Account payment extension.\n"
1963-"\n"
1964-"This module extends the account_payment module with a lot of features:\n"
1965-" * Extension of payment types: The payment type has a translated name and "
1966-"note that can be shown in the invoices.\n"
1967-" * Two default payment types for partners (client and supplier).\n"
1968-" * Automatic selection of payment type in invoices. Now an invoice can "
1969-"have a payment term (30 days, 30/60 days, ...) and a payment type (cash, "
1970-"bank transfer, ...).\n"
1971-" * A default check field in partner bank accounts. The default partner "
1972-"bank accounts are selected in invoices and payments.\n"
1973-" * New menu/tree/forms to see payments to receive and payments to pay.\n"
1974-" * The payments show tree editable fields: Due date, bank account and a "
1975-"check field (for example to write down if a bank check in paper support has "
1976-"been received).\n"
1977-" * Two types of payment orders: Payable payment orders (from supplier "
1978-"invoices) and receivable payment orders (from client invoices). So we can "
1979-"make payment orders to receive the payments of our client invoices. Each "
1980-"payment order type has its own sequence.\n"
1981-" * The payment orders allow negative payment amounts. So we can have "
1982-"payment orders for supplier invoices (pay money) and refund supplier "
1983-"invoices (return or receive money). Or for client invoices (receive money) "
1984-"and refund client invoices (return or pay money).\n"
1985-" * Payment orders: Selected invoices are filtered by payment type, the "
1986-"second message communication can be set at the same time for several "
1987-"invoices.\n"
1988-"Based on previous work of Pablo Rocandio & Zikzakmedia (version for 4.2).\n"
1989-msgstr ""
1990-"Extensión de pagos contables (Tesorería).\n"
1991-"\n"
1992-"Este módulo extiende el módulo account_payment con muchas características:\n"
1993-" * Extensión de los tipos de pago: El tipo de pago tiene un nombre y una "
1994-"descripción traducibles que se pueden mostrar en las facturas.\n"
1995-" * Dos tipos de pago por defecto para las empresas (cliente y "
1996-"proveedor).\n"
1997-" * Selección automática del tipo de pago en las facturas. Ahora, una "
1998-"factura puede tener un plazo de pago (30 días, 30/60 días, ...) y un tipo de "
1999-"pago (efectivo, transferencia bancaria, ...).\n"
2000-" * Un campo seleccionable por defecto en las cuentas bancarias de las "
2001-"empresas. Se selecciona la cuenta bancaria por defecto de la empresa en las "
2002-"facturas y los pagos.\n"
2003-" * Nuevos menús / listas / formularios para consultar los pagos (efectos) "
2004-"a cobrar y a pagar.\n"
2005-" * Los pagos muestran campos editables en la lista: Fecha de vencimiento, "
2006-"cuenta bancaria y un campo de verificación (por ejemplo, para indicar que se "
2007-"ha recibido un cheque bancario en soporte papel).\n"
2008-" * Dos tipos de órdenes de pago/cobro: las órdenes de pago (a partir de "
2009-"las facturas de proveedor) y las órdenes de cobro (a partir de las facturas "
2010-"de cliente). Ahora se puede hacer órdenes de cobro (remesas de recibos) para "
2011-"recibir los pagos de las facturas de nuestros clientes. Cada tipo de orden "
2012-"de pago tiene su propia secuencia.\n"
2013-" * Las órdenes de pago/cobro permiten cantidades en negativo. Podemos "
2014-"incluir en las órdenes de pago facturas de proveedor (pago de dinero) y "
2015-"facturas de abono de proveedor (devolución o recibir dinero). O las facturas "
2016-"de cliente (recepción de dinero) y las facturas de abono de cliente "
2017-"(devolución o pago de dinero).\n"
2018-" * En las órdenes de pago: Las facturas seleccionadas son filtradas por "
2019-"tipo de pago. Se puede indicar el segundo mensaje de la comunicación de la "
2020-"remesa al mismo tiempo para varias facturas.\n"
2021-"Basado en el trabajo anterior de Pablo Rocandio y Zikzakmedia (versión "
2022-"4.2).\n"
2023-
2024-#. module: account_payment_extension
2025-#: wizard_field:populate_payment_ext,init,show_refunds:0
2026-msgid "Show Refunds"
2027-msgstr "Mostrar abonos"
2028-
2029-#. module: account_payment_extension
2030-#: help:populate_payment_ext,init,show_refunds:0
2031-msgid "Indicates if search should include refunds."
2032-msgstr "Indica si la búsqueda debe incluir abonos."
2033
2034=== modified file 'account_payment_extension/payment_view.xml'
2035--- account_payment_extension/payment_view.xml 2012-12-31 10:14:41 +0000
2036+++ account_payment_extension/payment_view.xml 2013-06-03 10:33:26 +0000
2037@@ -2,6 +2,9 @@
2038 <openerp>
2039 <data>
2040
2041+
2042+
2043+
2044 <!--
2045 ========================================================================================================
2046 PARTNERS - default bank
2047@@ -190,6 +193,7 @@
2048 </field>
2049 </record>
2050
2051+
2052 <!--************ account.move.line extension to show additional fields **********-->
2053 <!--
2054 <record model="ir.ui.view" id="payments_move_line_tree">
2055@@ -313,6 +317,8 @@
2056 </record>
2057
2058
2059+
2060+
2061 <!--
2062 ====================================================================================================
2063 PAYABLE PAYMENT ORDER
2064@@ -346,7 +352,7 @@
2065 =========================================================================================
2066 PAYMENTS
2067 =========================================================================================
2068-
2069+ -->
2070 <record id="view_payments_tree" model="ir.ui.view">
2071 <field name="name">Payments</field>
2072 <field name="model">account.move.line</field>
2073@@ -369,6 +375,9 @@
2074 <field name="move_id" readonly="1"/>
2075 <field name="reconcile_id" readonly="1"/>
2076 <field name="reconcile_partial_id" readonly="1"/>
2077+ <field name="journal_id" invisible="1"/>
2078+ <field name="period_id" invisible="1"/>
2079+ <button name="pay_move_lines" type="object" string="Payment" icon="gtk-go-forward"/>
2080 </tree>
2081 </field>
2082 </record>
2083@@ -394,8 +403,8 @@
2084 <field name="payment_type" widget="selection"/>
2085 <field name="partner_bank_id"/>
2086 <field name="received_check"/>
2087- </group>
2088- <newline/>
2089+ </group>
2090+ <newline/>
2091 <group expand="0" string="Group By...">
2092 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
2093 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
2094@@ -403,12 +412,14 @@
2095 <separator orientation="vertical"/>
2096 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
2097 <filter string="Effective date" icon="terp-go-month" domain="[]" context="{'group_by':'date_maturity'}"/>
2098+ <filter string="Due Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_maturity'}"/>
2099+
2100 </group>
2101 </search>
2102 </field>
2103 </record>
2104- -->
2105- <!-- Invoice Payments
2106+
2107+ <!--Invoice Payments-->
2108 <record model="ir.actions.act_window" id="action_invoice_payments">
2109 <field name="name">Invoice payments</field>
2110 <field name="res_model">account.move.line</field>
2111@@ -418,7 +429,7 @@
2112 <field name="domain">[('account_id.type','in',['receivable','payable']),('invoice','&lt;&gt;',False)]</field>
2113 </record>
2114 <menuitem name="Invoice payments" parent="account_payment.menu_main_payment" action="action_invoice_payments" id="menu_action_invoice_payments" sequence="4"/>
2115- -->
2116+
2117 <!-- Done Payments
2118 <record model="ir.actions.act_window" id="action_done_payments">
2119 <field name="name">Done payments</field>
2120
2121=== modified file 'account_payment_extension/wizard/__init__.py'
2122--- account_payment_extension/wizard/__init__.py 2012-11-01 21:49:33 +0000
2123+++ account_payment_extension/wizard/__init__.py 2013-06-03 10:33:26 +0000
2124@@ -24,6 +24,7 @@
2125 ##############################################################################
2126
2127 import account_payment_order
2128+import account_move_line_payment
2129
2130 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2131
2132
2133=== added file 'account_payment_extension/wizard/account_move_line_payment.py'
2134--- account_payment_extension/wizard/account_move_line_payment.py 1970-01-01 00:00:00 +0000
2135+++ account_payment_extension/wizard/account_move_line_payment.py 2013-06-03 10:33:26 +0000
2136@@ -0,0 +1,40 @@
2137+# -*- coding: utf-8 -*-
2138+##############################################################################
2139+#
2140+# OpenERP, Open Source Management Solution
2141+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2142+#
2143+# This program is free software: you can redistribute it and/or modify
2144+# it under the terms of the GNU Affero General Public License as
2145+# published by the Free Software Foundation, either version 3 of the
2146+# License, or (at your option) any later version.
2147+#
2148+# This program is distributed in the hope that it will be useful,
2149+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2150+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2151+# GNU Affero General Public License for more details.
2152+#
2153+# You should have received a copy of the GNU Affero General Public License
2154+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2155+#
2156+##############################################################################
2157+from osv import fields, osv
2158+from tools.translate import _
2159+
2160+
2161+class account_move_line_payment(osv.osv_memory):
2162+ _name = "account.move.line.payment"
2163+ _description = "Pay Account Move Lines"
2164+
2165+ def pay_move_lines(self, cr, uid, ids, context=None):
2166+ obj_move_line = self.pool.get('account.move.line')
2167+ if context is None:
2168+ context = {}
2169+ res = obj_move_line.pay_move_lines(cr, uid, context['active_ids'], context)
2170+ res ['nodestroy'] =False
2171+ return res
2172+
2173+account_move_line_payment()
2174+
2175+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2176+
2177
2178=== added file 'account_payment_extension/wizard/account_move_line_payment_view.xml'
2179--- account_payment_extension/wizard/account_move_line_payment_view.xml 1970-01-01 00:00:00 +0000
2180+++ account_payment_extension/wizard/account_move_line_payment_view.xml 2013-06-03 10:33:26 +0000
2181@@ -0,0 +1,45 @@
2182+<?xml version="1.0" encoding="utf-8"?>
2183+<openerp>
2184+ <data>
2185+
2186+ <!--Account Move lines-->
2187+ <record id="pay_account_move_line_view" model="ir.ui.view">
2188+ <field name="name">Pay Journal Entries</field>
2189+ <field name="model">account.move.line.payment</field>
2190+ <field name="type">form</field>
2191+ <field name="arch" type="xml">
2192+ <form string="Change payment entries">
2193+ <separator string="Pay Journal Entries" colspan="4"/>
2194+ <label string="Puede cambiar el estado de los efectos comerciales mediante el siguiente asistente" colspan="4"/>
2195+ <separator colspan="4"/>
2196+ <group colspan="4" col="6">
2197+ <button icon="gtk-cancel" special="cancel" string="Cancel"/>
2198+ <button icon="terp-camera_test" string="Approve" name="pay_move_lines" type="object" default_focus="1"/>
2199+ </group>
2200+ </form>
2201+ </field>
2202+ </record>
2203+
2204+ <record id="action_pay_account_move_line" model="ir.actions.act_window">
2205+ <field name="name">Change payment</field>
2206+ <field name="type">ir.actions.act_window</field>
2207+ <field name="res_model">account.move.line.payment</field>
2208+ <field name="view_type">form</field>
2209+ <field name="view_mode">form</field>
2210+ <field name="view_id" ref="pay_account_move_line_view"/>
2211+ <field name="context">{}</field>
2212+ <field name="target">new</field>
2213+ <field name="help">with this wizard ypu can change the state of the selected entries. </field>
2214+ </record>
2215+
2216+ <record model="ir.values" id="account_move_line_payment_values">
2217+ <field name="model_id" ref="account.model_account_move_line" />
2218+ <field name="name">Change payment entries</field>
2219+ <field name="key2">client_action_multi</field>
2220+ <field name="value" eval="'ir.actions.act_window,' + str(ref('action_pay_account_move_line'))" />
2221+ <field name="key">action</field>
2222+ <field name="model">account.move.line</field>
2223+ </record>
2224+
2225+ </data>
2226+</openerp>

Subscribers

People subscribed via source and target branches