You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
449 B

# 2019 Vauxoo (<http://www.vauxoo.com/>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
@api.multi
def action_change_all_sequences(self):
self.ensure_one()
action = self.env.ref(
'ir_sequence_standard_default.action_sequence_standard_default')
return action.read()[0]