Merge remote-tracking branch 'origin/17.0' into 17.0

This commit is contained in:
Ivan Office
2024-03-13 20:19:25 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
{
'name': 'odoo17 Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data,Development Enhance',
'version': '24.03.11',
'version': '24.03.12',
'author': 'odooai.cn',
'category': 'Extra Tools',
'website': 'https://www.odooai.cn',

View File

@@ -58,7 +58,7 @@ class IrModule(models.Model):
def button_get_po(self):
self.ensure_one()
action = self.env.ref('app_odoo_customize.action_server_module_multi_get_po').read()[0]
action = self.env.ref('app_odoo_customize.action_server_module_multi_get_po').sudo().read()[0]
action['context'].update({
'default_lang': self.env.user.lang,
})