forked from OCA/interface-github
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX]do not delete module version if already exists and just update (O…
…CA#30) * [FIX]do not delete module version if already exists and just update * [FIX]remove not needed code * [IMP] added clean odoo module version cron * [IMP]support module_paths also * [IMP]separate function fo the module path to remove redundant code
- Loading branch information
1 parent
800bc9b
commit 2fad0e4
Showing
4 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (C) 2016-Today: Odoo Community Association (OCA) | ||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<odoo noupdate="1"> | ||
|
||
<record model="ir.cron" id="cron_clean_odoo_module_version"> | ||
<field name="name">Clean Odoo Module Version</field> | ||
<field name="interval_number">1</field> | ||
<field name="active" eval="False"/> | ||
<field name="user_id" ref="base.user_root"/> | ||
<field name="interval_type">days</field> | ||
<field name="numbercall">-1</field> | ||
<field name="doall" eval="False"/> | ||
<field name="state">code</field> | ||
<field name="model_id" ref="model_odoo_module_version"/> | ||
<field name="code">model.cron_clean_odoo_module_version()</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters