mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: create lines with same sequence name
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
{
|
||||
"name": "Account Payment Order",
|
||||
"version": "16.0.1.0.0",
|
||||
"version": "16.0.1.0.1",
|
||||
"license": "AGPL-3",
|
||||
"author": "ACSONE SA/NV, "
|
||||
"Therp BV, "
|
||||
|
||||
@@ -9,15 +9,16 @@ msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-05-01 15:18+0000\n"
|
||||
"PO-Revision-Date: 2018-05-01 15:18+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"PO-Revision-Date: 2023-04-11 13:22+0000\n"
|
||||
"Last-Translator: Matjaz Mozetic <matjaz@luxim.si>\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3;\n"
|
||||
"X-Generator: Weblate 4.14.1\n"
|
||||
|
||||
#. module: account_payment_order
|
||||
#. odoo-python
|
||||
@@ -377,7 +378,7 @@ msgstr ""
|
||||
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__display_name
|
||||
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Prikazni naziv"
|
||||
msgstr "Prikazani naziv"
|
||||
|
||||
#. module: account_payment_order
|
||||
#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__draft
|
||||
|
||||
@@ -192,6 +192,9 @@ class AccountPaymentLine(models.Model):
|
||||
"date": self[:1].date,
|
||||
"currency_id": self.currency_id.id,
|
||||
"ref": self.order_id.name,
|
||||
# Put the name as the wildcard for forcing a unique name. If not, Odoo gets
|
||||
# the sequence for all the payment at the same time
|
||||
"name": "/",
|
||||
"payment_reference": "-".join([line.communication for line in self]),
|
||||
"journal_id": journal.id,
|
||||
"partner_bank_id": self.partner_bank_id.id,
|
||||
|
||||
Reference in New Issue
Block a user