mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[IMP] rma: Return created sequence on create_rma_index
Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: rma-12.0/rma-12.0-rma Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
This commit is contained in:
committed by
Nikolaus Weingartmair
parent
89dcaaeab1
commit
6d55c9d6b7
@@ -14,7 +14,7 @@ class Company(models.Model):
|
||||
return company
|
||||
|
||||
def create_rma_index(self):
|
||||
self.env['ir.sequence'].sudo().create({
|
||||
return self.env['ir.sequence'].sudo().create({
|
||||
'name': _('RMA Code'),
|
||||
'prefix': 'RMA',
|
||||
'code': 'rma',
|
||||
|
||||
Reference in New Issue
Block a user