forked from OCA/hr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
79 additions
and
15 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 |
---|---|---|
@@ -1 +1 @@ | ||
10.0.4 | ||
10.0.5 |
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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
id,name,email,login,password | ||
jfeigenblum,José Feigenblum,[email protected],jfeigenblum,jfeigenblum | ||
ngobbo,Nicola Gobbo,[email protected],ngobbo,ngobbo | ||
claterrade,Clotilde Laterrade,[email protected],claterrade,claterrade | ||
squilliet,Stéphane Quilliet,[email protected],squilliet,squilliet | ||
fperrier,Fabien Perrier,[email protected],fperrier,fperrier | ||
jfmartinez,Jean-François Martinez,[email protected],jfmartinez,jfmartinez | ||
ymocellin,Yann Mocellin,[email protected],ymocellin,ymocellin | ||
lschaal,Lionel Schaal,[email protected],lschaal,lschaal | ||
vthiebaud,Virginie Thiebaud,[email protected],vthiebaud,vthiebaud | ||
fchevot,Florian Chevot,[email protected],fchevot,fchevot | ||
grigoni,Guillaume Rigoni,[email protected],grigoni,grigoni | ||
crepetti,Christophe Repetti,[email protected],crepetti,crepetti | ||
bnoailles,Benjamin Noailles,[email protected],bnoailles,bnoailles | ||
id,name,login,email,company_id/id | ||
__setup__.ajanin,Anaïs Janin,ajanin,[email protected],base.main_company | ||
__setup__.bnoailles,Benjamin Noailles,bnoailles,[email protected],base.main_company | ||
__setup__.crepetti,Christophe Repetti,crepetti,[email protected],base.main_company | ||
__setup__.claterrade,Clotilde Laterrade,claterrade,[email protected],base.main_company | ||
__setup__.dveber,Denis Veber,dveber,[email protected],base.main_company | ||
__setup__.fperrier,Fabien Perrier,fperrier,[email protected],base.main_company | ||
__setup__.fchevot,Florian Chevot,fchevot,[email protected],base.main_company | ||
__setup__.grigoni,Guillaume Rigoni,grigoni,[email protected],base.main_company | ||
__setup__.jfmartinez,Jean-François Martinez,jfmartinez,[email protected],base.main_company | ||
__setup__.jfeigenblum,José Feigenblum,jfeigenblum,[email protected],base.main_company | ||
__setup__.lschaal,Lionel Schaal,lschaal,[email protected],base.main_company | ||
__setup__.ngobbo,Nicola Gobbo,ngobbo,[email protected],base.main_company | ||
__setup__.squilliet,Stéphane Quilliet,squilliet,[email protected],base.main_company | ||
__setup__.vchalmandrier,Valentin Chalmandrier,vchalmandrier,,base.main_company | ||
__setup__.vthiebaud,Virginie Thiebaud,vthiebaud,[email protected],base.main_company | ||
__setup__.ymocellin,Yann Mocellin,ymocellin,[email protected],base.main_company |
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,17 @@ | ||
id,groups_id/id | ||
__setup__.ajanin,"analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr_expense.group_hr_expense_manager,hr.group_hr_manager,hr_holidays.group_hr_holidays_manager,base.group_multi_company,base.group_multi_currency,hr_timesheet.group_hr_timesheet_user,hr_expense.group_hr_expense_user,hr_holidays.group_hr_holidays_user,hr.group_hr_user,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user" | ||
__setup__.bnoailles,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,project.group_project_user,purchase.group_purchase_user,survey.group_survey_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.crepetti,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user,project.group_project_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.claterrade,"base.group_erp_manager,account.group_account_user,account.group_account_manager,analytic.group_analytic_accounting,purchase.group_analytic_accounting,sale.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,website.group_website_designer,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,mrp.group_mrp_manager,hr.group_hr_manager,survey.group_survey_manager,project.group_project_manager,hr_expense.group_hr_expense_manager,sales_team.group_sale_manager,hr_holidays.group_hr_holidays_manager,stock.group_stock_manager,base.group_multi_company,base.group_multi_currency,hr_expense.group_hr_expense_user,hr_timesheet.group_hr_timesheet_user,hr.group_hr_user,hr_holidays.group_hr_holidays_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,mrp.group_mrp_user,stock.group_stock_user,survey.group_survey_user,project.group_project_user,purchase.group_purchase_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.dveber,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,project.group_project_manager,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,project.group_project_user,survey.group_survey_user,stock.group_stock_user,purchase.group_purchase_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.fperrier,"analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,survey.group_survey_manager,project.group_project_manager,mrp.group_mrp_manager,hr.group_hr_manager,hr_holidays.group_hr_holidays_manager,stock.group_stock_manager,purchase.group_purchase_manager,hr_expense.group_hr_expense_manager,base.group_multi_company,base.group_multi_currency,hr.group_hr_user,hr_timesheet.group_hr_timesheet_user,hr_expense.group_hr_expense_user,hr_holidays.group_hr_holidays_user,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user,survey.group_survey_user,mrp.group_mrp_user,project.group_project_user,stock.group_stock_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.fchevot,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr_holidays.group_hr_holidays_manager,base.group_multi_company,base.group_multi_currency,hr_holidays.group_hr_holidays_user,hr.group_hr_user,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,stock.group_stock_user,mrp.group_mrp_user,project.group_project_user,purchase.group_purchase_user" | ||
__setup__.grigoni,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user,project.group_project_user,mrp.group_mrp_user,stock.group_stock_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.jfmartinez,"analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr_holidays.group_hr_holidays_manager,stock.group_stock_manager,purchase.group_purchase_manager,hr_expense.group_hr_expense_manager,survey.group_survey_manager,project.group_project_manager,mrp.group_mrp_manager,hr.group_hr_manager,base.group_multi_company,base.group_multi_currency,hr.group_hr_user,hr_timesheet.group_hr_timesheet_user,hr_expense.group_hr_expense_user,hr_holidays.group_hr_holidays_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,survey.group_survey_user,mrp.group_mrp_user,stock.group_stock_user,project.group_project_user,purchase.group_purchase_user" | ||
__setup__.jfeigenblum,"account.group_account_user,account.group_account_manager,analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,website.group_website_designer,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr_holidays.group_hr_holidays_manager,project.group_project_manager,survey.group_survey_manager,hr.group_hr_manager,mrp.group_mrp_manager,stock.group_stock_manager,sales_team.group_sale_manager,hr_expense.group_hr_expense_manager,purchase.group_purchase_manager,base.group_multi_company,base.group_multi_currency,hr_expense.group_hr_expense_user,hr_holidays.group_hr_holidays_user,hr_timesheet.group_hr_timesheet_user,hr.group_hr_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,mrp.group_mrp_user,survey.group_survey_user,project.group_project_user,stock.group_stock_user,purchase.group_purchase_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.lschaal,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,sales_team.group_sale_manager,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,project.group_project_user,purchase.group_purchase_user,survey.group_survey_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.ngobbo,"account.group_account_user,account.group_account_manager,analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,website.group_website_designer,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr.group_hr_manager,mrp.group_mrp_manager,project.group_project_manager,survey.group_survey_manager,hr_expense.group_hr_expense_manager,purchase.group_purchase_manager,stock.group_stock_manager,sales_team.group_sale_manager,hr_holidays.group_hr_holidays_manager,base.group_multi_company,base.group_multi_currency,hr_timesheet.group_hr_timesheet_user,hr_expense.group_hr_expense_user,hr.group_hr_user,hr_holidays.group_hr_holidays_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,survey.group_survey_user,mrp.group_mrp_user,project.group_project_user,stock.group_stock_user,purchase.group_purchase_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.squilliet,"analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,hr.group_hr_manager,project.group_project_manager,survey.group_survey_manager,hr_expense.group_hr_expense_manager,purchase.group_purchase_manager,stock.group_stock_manager,hr_holidays.group_hr_holidays_manager,base.group_multi_company,base.group_multi_currency,hr.group_hr_user,hr_expense.group_hr_expense_user,hr_holidays.group_hr_holidays_user,hr_timesheet.group_hr_timesheet_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user,project.group_project_user,stock.group_stock_user,survey.group_survey_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" | ||
__setup__.vchalmandrier,"analytic.group_analytic_accounting,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,stock.group_stock_user,project.group_project_user,survey.group_survey_user,purchase.group_purchase_user,mrp.group_mrp_user" | ||
__setup__.vthiebaud,"account.group_account_user,analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,stock.group_production_lot,product.group_uom,product.group_product_variant,base.group_multi_company,base.group_multi_currency,product.group_product_pricelist,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,purchase.group_purchase_user" | ||
__setup__.ymocellin,"analytic.group_analytic_accounting,account.group_account_invoice,base.group_partner_manager,base.group_user,maintenance.group_equipment_manager,stock.group_production_lot,product.group_uom,product.group_product_variant,purchase.group_purchase_manager,hr_expense.group_hr_expense_manager,hr_holidays.group_hr_holidays_manager,stock.group_stock_manager,mrp.group_mrp_manager,hr.group_hr_manager,survey.group_survey_manager,project.group_project_manager,base.group_multi_company,base.group_multi_currency,hr_holidays.group_hr_holidays_user,hr_timesheet.group_hr_timesheet_user,hr.group_hr_user,hr_expense.group_hr_expense_user,product.group_product_pricelist,website.group_website_publisher,product.group_sale_pricelist,sale.group_show_price_subtotal,base.group_no_one,mrp.group_mrp_user,survey.group_survey_user,stock.group_stock_user,project.group_project_user,purchase.group_purchase_user,sales_team.group_sale_salesman_all_leads,sales_team.group_sale_salesman" |
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
Empty file.
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Camptocamp SA | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) | ||
|
||
from pkg_resources import resource_stream | ||
|
||
import anthem | ||
from anthem.lyrics.loaders import load_csv_stream | ||
from ...common import req | ||
|
||
|
||
@anthem.log | ||
def import_user_groups(ctx): | ||
content = resource_stream(req, 'data/upgrade/10_0_5/res.users.csv') | ||
load_csv_stream(ctx, 'res.users', content, delimiter=',') | ||
|
||
|
||
@anthem.log | ||
def main(ctx): | ||
""" Main: creating demo data """ | ||
import_user_groups(ctx) |