初始提交

This commit is contained in:
2026-11-04 19:58:07 +08:00
commit 53b7d22429
829 changed files with 469986 additions and 0 deletions

9
iap/data/neutralize.sql Normal file
View File

@@ -0,0 +1,9 @@
-- happy path
UPDATE iap_account
SET account_token = REGEXP_REPLACE(account_token, '(\+.*)?$', '+disabled')
WHERE LENGTH(account_token) <= 33;
-- Legacy (invalid) records (pre v17)
UPDATE iap_account
SET account_token = 'dummy_value+disabled'
WHERE LENGTH(account_token) > 33
AND account_token NOT LIKE '%+disabled';

13
iap/data/services.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- The reveal service is defined in the iap module, as a lot of different modules depend on it. -->
<record id="iap_service_reveal" model="iap.service">
<field name="name">Lead Generation</field>
<field name="technical_name">reveal</field>
<field name="description">Get quality leads and opportunities: convert your website visitors into leads, generate leads based on a set of criteria and enrich the company data of your opportunities.</field>
<field name="unit_name">Credits</field>
<field name="integer_balance">True</field>
</record>
</data>
</odoo>