I'm currently working with the database of Odoo to bulk import and export data. For that I also use tags. For example I need to bulk tag 500 subscriptions. Does anyone know in which tables the relations between model and tag are saved in?
I already found those:
res_partner_res_partner_category_rel
sale_subscription_template_tag_rel
What I'm looking for are the tags on subscription level. Through the URL I can see, that the model I'm looking at is "sale.subscription". Therefore I started looking for a table named "sale_subscription_tag_relation" but there is nothing. sale_subscription_template_tag_rel is empty while there are already subscriptions tagged. So it can't be that.
The information shown on the UI needs to be stored somewhere, but I just can't find out where. The URL im looking at:
https://localhost/web#id=CUSTOMER_ID&action=454&active_id=1779&model=sale.subscription&view_type=form&cids=1&menu_id=329
Tables for the subscription model:
sale_subscription
sale_subscription_alert
sale_subscription_alert_sale_subscription_template_rel
sale_subscription_close_reason
sale_subscription_close_reason_wizard
sale_subscription_line
sale_subscription_price_wizard
sale_subscription_snapshot
sale_subscription_stage
sale_subscription_template
sale_subscription_template_tag_rel
sale_subscription_wizard
sale_subscription_wizard_option