Skip to content

Commit

Permalink
Merge pull request OCA#96 from yvaucher/import-bauprojekt
Browse files Browse the repository at this point in the history
Import bauprojekt
  • Loading branch information
yvaucher committed Apr 12, 2016
2 parents df59f6d + 93ea441 commit 297a7b2
Show file tree
Hide file tree
Showing 9 changed files with 6,493 additions and 16 deletions.
3,364 changes: 3,364 additions & 0 deletions Scenario/OERPScenario.local/data/setup/building.project.csv

Large diffs are not rendered by default.

518 changes: 518 additions & 0 deletions Scenario/OERPScenario.local/data/setup/crm.meeting.csv

Large diffs are not rendered by default.

1,697 changes: 1,697 additions & 0 deletions Scenario/OERPScenario.local/data/setup/crm.phonecall.csv

Large diffs are not rendered by default.

297 changes: 297 additions & 0 deletions Scenario/OERPScenario.local/data/setup/dummy.opportunity.csv

Large diffs are not rendered by default.

572 changes: 572 additions & 0 deletions Scenario/OERPScenario.local/data/setup/dummy.opportunity2.csv

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Scenario/OERPScenario.local/data/setup/res_users.csv
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ scenario.res_users_ish,ish,Shtanaj,Ilir,changeme,de_DE,,base.ch,Europe/Zurich,sc
scenario.res_users_rwa,rwa,Wälchli,Roman,changeme,de_DE,,base.ch,Europe/Zurich,scenario.group_slx_base
scenario.res_users_swe,swe,Weber,Stefan,changeme,de_DE,[email protected],base.ch,Europe/Zurich,scenario.group_slx_base
scenario.res_users_vzu,vzu,Zullino,Valentina,changeme,de_DE,[email protected],base.ch,Europe/Zurich,scenario.group_slx_base
scenario.res_users_bla,bla,Langenegger,Bruno,changeme,de_DE,,base.ch,Europe/Zurich,
scenario.res_users_mca,mca,Careddu,Massimo,changeme,de_DE,,base.ch,Europe/Zurich,
scenario.res_users_cmu,cmu,Müller,Christoph,changeme,de_DE,[email protected],base.ch,Europe/Zurich,
scenario.res_users_pwi,pwi,Wietlisbach,Patrick,changeme,de_DE,,base.ch,Europe/Zurich,
scenario.res_users_snu,snu,Mohammed Nure,Saad,changeme,de_DE,[email protected],base.ch,Europe/Zurich,
scenario.res_users_sfi,sfi,Fischer,Sandra,changeme,de_DE,,base.ch,Europe/Zurich,
scenario.res_users_nem,nem,Emge,Nina,changeme,de_DE,[email protected],base.ch,Europe/Zurich,
scenario.res_users_oru,oru,Rüegg,Oliver,changeme,de_DE,[email protected],base.ch,Europe/Zurich,
scenario.res_users_afo,afo,Förster,Alan,changeme,de_DE,[email protected],base.ch,Europe/Zurich,
20 changes: 20 additions & 0 deletions Scenario/OERPScenario.local/features/setup/099_import_data.feature
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,23 @@ Feature: import master data
@csv @bomlines @slow
Scenario: import specific bom
Given "mrp.bom.line" is imported from CSV "setup/mrp.bom.line.csv" using delimiter ","

@csv @building_projects @slow
Scenario: import specific building projects
Given "building.project" is imported from CSV "setup/building.project.csv" using delimiter ","

@csv @meetings @dummy_opportunities @slow
Scenario: import dummy opportunities to link meetings to building projects
Given "crm.lead" is imported from CSV "setup/dummy.opportunity.csv" using delimiter ","

@csv @meetings @slow
Scenario: import specific meetings
Given "calendar.event" is imported from CSV "setup/crm.meeting.csv" using delimiter ","

@csv @phonecalls @dummy_opportunities4calls @slow
Scenario: import dummy opportunities to link meetings to building projects
Given "crm.lead" is imported from CSV "setup/dummy.opportunity2.csv" using delimiter ","

@csv @phonecalls @slow
Scenario: import specific meetings
Given "calendar.event" is imported from CSV "setup/crm.phonecall.csv" using delimiter ","
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<?xml version="1.0"?>
<odoo>
<record model="building.project.stage" id="building_project_stage_acquisiton">
<record model="building.project.stage" id="stage_acquisiton">
<field name="name">Akquise</field>
<field name="sequence">1</field>
</record>
<record model="building.project.stage" id="building_project_stage_submission">
<record model="building.project.stage" id="stage_submission">
<field name="name">Submission</field>
<field name="sequence">2</field>
</record>
<record model="building.project.stage" id="building_project_stage_offer">
<record model="building.project.stage" id="stage_quotation">
<field name="name">Offerte</field>
<field name="sequence">3</field>
</record>
<record model="building.project.stage" id="building_project_stage_positive">
<record model="building.project.stage" id="stage_won_realisation">
<field name="name">Realisation Positiv</field>
<field name="sequence">4</field>
</record>
<record model="building.project.stage" id="building_project_stage_active">
<record model="building.project.stage" id="stage_won_completed">
<field name="name">Aftersales</field>
<field name="sequence">5</field>
</record>
<record model="building.project.stage" id="building_project_stage_closed">
<record model="building.project.stage" id="stage_closed">
<field name="name">abgeschlossen</field>
<field name="fold">True</field>
<field name="sequence">6</field>
</record>
<record model="building.project.stage" id="building_project_stage_lost">
<record model="building.project.stage" id="stage_lost">
<field name="name">Auftrag verloren</field>
<field name="fold">True</field>
<field name="sequence">7</field>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<?xml version="1.0"?>
<odoo>
<record model="building.project.type" id="building_project_type_office">
<record model="building.project.type" id="type_office">
<field name="name">Büro / Verwaltung / Behörden</field>
</record>
<record model="building.project.type" id="building_project_type_public">
<record model="building.project.type" id="type_public">
<field name="name">Öffentliche Bauten, Kultur</field>
</record>
<record model="building.project.type" id="building_project_type_house">
<record model="building.project.type" id="type_house">
<field name="name">Wohnbauten</field>
</record>
<record model="building.project.type" id="building_project_type_industy">
<record model="building.project.type" id="type_industy">
<field name="name">Industrie und Gewerbe</field>
</record>
<record model="building.project.type" id="building_project_type_hospital">
<record model="building.project.type" id="type_hospital">
<field name="name">Spitälter und Heime</field>
</record>
<record model="building.project.type" id="building_project_type_school">
<record model="building.project.type" id="type_school">
<field name="name">Shulen und Universitäten</field>
</record>
<record model="building.project.type" id="building_project_type_mall">
<record model="building.project.type" id="type_mall">
<field name="name">Einkaufszentren</field>
</record>
<record model="building.project.type" id="building_project_type_hotel">
<record model="building.project.type" id="type_hotel">
<field name="name">Gastronomie und Hotellerie</field>
</record>
<record model="building.project.type" id="building_project_type_bank">
<record model="building.project.type" id="type_bank">
<field name="name">Banken und Versicherungen</field>
</record>
</odoo>

0 comments on commit 297a7b2

Please sign in to comment.