2 Commits
Author SHA1 Message Date
root 5e9d383970 20.0 versie 2026-09-30 05:27:04 +00:00
root d0e21d67a1 20.0 versie 2026-09-30 05:22:32 +00:00
12 changed files with 15 additions and 146 deletions
-3
View File
@@ -1,3 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
-16
View File
@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CsvFileAttributes">
<option name="attributeMap">
<map>
<entry key="/mailcatcher_menu/security/ir.model.access.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
</map>
</option>
</component>
</project>
-18
View File
@@ -1,18 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="email_validator" />
<item index="1" class="java.lang.String" itemvalue="html2text" />
<item index="2" class="java.lang.String" itemvalue="pyPostcode" />
<item index="3" class="java.lang.String" itemvalue="dicttoxml" />
<item index="4" class="java.lang.String" itemvalue="zeep" />
</list>
</value>
</option>
</inspection_tool>
</profile>
</component>
-7
View File
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Python 3.12" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
</project>
+5 -78
View File
@@ -1,17 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="417d3a9a-dab7-4fec-b2a8-da7eae112104" name="Changes" comment=""> <list default="true" id="417d3a9a-dab7-4fec-b2a8-da7eae112104" name="Changes" comment="" />
<change afterPath="$PROJECT_DIR$/.idea/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/csv-editor.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testserver_o2b/models/init_test.py" beforeDir="false" afterPath="$PROJECT_DIR$/testserver_o2b/models/init_test.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -28,69 +18,10 @@
<commands /> <commands />
<urls /> <urls />
</component> </component>
<component name="NextEditCompletionFeaturesState"> <component name="ProjectColorInfo"><![CDATA[{
<decayedCancelled> "associatedIndex": 7,
<entry key="MS100" value="1.0000176245739265" /> "fromUser": false
<entry key="MS500" value="1.1516799087116174" /> }]]></component>
<entry key="S2" value="2.3508135605215807" />
<entry key="S5" value="5.0655235775065535" />
<entry key="S10" value="10.140635249071844" />
<entry key="S30" value="25.213605668167464" />
<entry key="S60" value="36.66831147448945" />
<entry key="M2" value="47.05380012296843" />
<entry key="M5" value="56.49958831719205" />
<entry key="M10" value="60.4796547542878" />
<entry key="M15" value="61.92196701846374" />
<entry key="M30" value="63.42755420445976" />
<entry key="H1" value="64.20518727973476" />
<entry key="H2" value="64.6004163513982" />
<entry key="H4" value="64.79966007517336" />
<entry key="D1" value="64.96653356443815" />
<entry key="W1" value="64.9952172042081" />
</decayedCancelled>
<decayedSelected>
<entry key="MS100" value="0.0" />
<entry key="MS500" value="0.0" />
<entry key="S2" value="0.0" />
<entry key="S5" value="0.0" />
<entry key="S10" value="0.0" />
<entry key="S30" value="0.0" />
<entry key="S60" value="0.0" />
<entry key="M2" value="0.0" />
<entry key="M5" value="0.0" />
<entry key="M10" value="0.0" />
<entry key="M15" value="0.0" />
<entry key="M30" value="0.0" />
<entry key="H1" value="0.0" />
<entry key="H2" value="0.0" />
<entry key="H4" value="0.0" />
<entry key="D1" value="0.0" />
<entry key="W1" value="0.0" />
</decayedSelected>
<decayedShown>
<entry key="MS100" value="0.9395388491784205" />
<entry key="MS500" value="1.1360381732068667" />
<entry key="S2" value="2.3405250673032376" />
<entry key="S5" value="5.0572707766860585" />
<entry key="S10" value="10.132571948873133" />
<entry key="S30" value="25.206461182880567" />
<entry key="S60" value="36.662984381925554" />
<entry key="M2" value="47.05034189543017" />
<entry key="M5" value="56.497917153674166" />
<entry key="M10" value="60.47875869696431" />
<entry key="M15" value="61.921355052224094" />
<entry key="M30" value="63.42724060807389" />
<entry key="H1" value="64.20502851624506" />
<entry key="H2" value="64.60033647033136" />
<entry key="H4" value="64.79962000879364" />
<entry key="D1" value="64.96652686914257" />
<entry key="W1" value="64.995216247306" />
</decayedShown>
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 7,
&quot;fromUser&quot;: false
}</component>
<component name="ProjectId" id="3GRtXrhb1Z1wz5HO20Plf2KjZjN" /> <component name="ProjectId" id="3GRtXrhb1Z1wz5HO20Plf2KjZjN" />
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
@@ -108,10 +39,6 @@
"git-widget-placeholder": "19.0", "git-widget-placeholder": "19.0",
"junie.onboarding.icon.badge.shown": "true", "junie.onboarding.icon.badge.shown": "true",
"last_opened_file_path": "/home/dochse/development/testserver", "last_opened_file_path": "/home/dochse/development/testserver",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm", "nodejs_package_manager_path": "npm",
"to.speed.mode.migration.done": "true", "to.speed.mode.migration.done": "true",
"vue.rearranger.settings.migration": "true" "vue.rearranger.settings.migration": "true"
Binary file not shown.
+2 -2
View File
@@ -13,14 +13,14 @@
'website': "http://www.open2bizz.tech", 'website': "http://www.open2bizz.tech",
'category': 'Tools', 'category': 'Tools',
'license': "AGPL-3", 'license': "AGPL-3",
'version': '19.0.1.0.0', 'version': '20.0.1.0.0',
'module_type': 'official', 'module_type': 'official',
'depends': ['mail','base',], 'depends': ['mail','base',],
'data': [ 'data': [
'wizard/install_warning_wizard_view.xml', 'wizard/install_warning_wizard_view.xml',
'views/views.xml', 'views/views.xml',
'data/data.xml', 'data/data.xml',
'security/ir.model.access.csv', 'security/ir.access.csv',
], ],
'post_init_hook': 'post_init_hook', 'post_init_hook': 'post_init_hook',
} }
+2
View File
@@ -0,0 +1,2 @@
id,name,model_id,group_id/id,operation,domain
access_mailcatcher_install_warning_wizard,mailcatcher.install.warning.wizard,mailcatcher.install.warning.wizard,base.group_user,crud,
1 id name model_id group_id/id operation domain
2 access_mailcatcher_install_warning_wizard mailcatcher.install.warning.wizard mailcatcher.install.warning.wizard base.group_user crud
@@ -1,2 +0,0 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_mailcatcher_install_warning_wizard","mailcatcher.install.warning.wizard","model_mailcatcher_install_warning_wizard","base.group_user",1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_mailcatcher_install_warning_wizard mailcatcher.install.warning.wizard model_mailcatcher_install_warning_wizard base.group_user 1 1 1 1
+1 -1
View File
@@ -10,7 +10,7 @@
'website': "http://www.open2bizz.tech", 'website': "http://www.open2bizz.tech",
'category': 'Tools', 'category': 'Tools',
'license': "AGPL-3", 'license': "AGPL-3",
'version': '19.0.1.0.0', 'version': '20.0.1.0.0',
'depends': ['mail', 'base', 'mailcatcher_menu'], 'depends': ['mail', 'base', 'mailcatcher_menu'],
'data': [ 'data': [
'views/templates.xml', 'views/templates.xml',
+4 -18
View File
@@ -84,8 +84,7 @@ class IrLogging(models.Model):
def _disable_web_push_notifications(self): def _disable_web_push_notifications(self):
parameter = self.env['ir.config_parameter'].sudo() parameter = self.env['ir.config_parameter'].sudo()
parameter.set_param('web_push.notification.enabled', '0') parameter.set_str('web_push.notification.enabled', '0')
parameters = self.env['ir.config_parameter'].sudo().search([ parameters = self.env['ir.config_parameter'].sudo().search([
('key', 'in', ('mail.web_push_vapid_private_key', 'mail.web_push_vapid_public_key', 'mail.sfu_server_key'))]) ('key', 'in', ('mail.web_push_vapid_private_key', 'mail.web_push_vapid_public_key', 'mail.sfu_server_key'))])
for parameter in parameters: for parameter in parameters:
@@ -191,22 +190,9 @@ class IrLogging(models.Model):
if not attachment_ids: if not attachment_ids:
return 0 return 0
deleted_count = 0 self.env['ir.attachment'].sudo().browse(attachment_ids).unlink()
attachments = self.env['ir.attachment'].sudo() _logger.info('Deleted %s unneeded filestore attachments', len(attachment_ids))
for attachment_id in attachment_ids: return len(attachment_ids)
try:
with self.env.cr.savepoint():
attachments.browse(attachment_id).unlink()
except Exception:
_logger.warning(
'Could not delete unneeded filestore attachment with id %s',
attachment_id,
)
else:
deleted_count += 1
_logger.info('Deleted %s unneeded filestore attachments', deleted_count)
return deleted_count
def set_db_param(self): def set_db_param(self):
## Script to set database expiration date, when enterprise and test env. ## Script to set database expiration date, when enterprise and test env.
+1 -1
View File
@@ -10,7 +10,7 @@
'website': "http://www.open2bizz.tech", 'website': "http://www.open2bizz.tech",
'category': 'Tools', 'category': 'Tools',
'license': "AGPL-3", 'license': "AGPL-3",
'version': '19.0.1.0.0', 'version': '20.0.1.0.0',
'depends': ['testserver_o2b','website'], 'depends': ['testserver_o2b','website'],
'data': [ 'data': [
'views/templates.xml', 'views/templates.xml',