onoma 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Rakefile +11 -9
  4. data/bin/console +3 -3
  5. data/config/locales/arb.yml +6455 -4930
  6. data/config/locales/cmn.yml +7227 -0
  7. data/config/locales/deu.yml +7227 -0
  8. data/config/locales/eng.yml +2073 -534
  9. data/config/locales/fra.yml +2093 -452
  10. data/config/locales/ita.yml +7227 -0
  11. data/config/locales/jpn.yml +6412 -4887
  12. data/config/locales/por.yml +6261 -4736
  13. data/config/locales/spa.yml +6076 -4551
  14. data/db/migrate/20151211114316_add_beta_varieties.xml +1 -1
  15. data/db/migrate/20151211124757_add_allium_schoenoprasum_varieties.xml +2 -2
  16. data/db/migrate/20151211153218_add_zea_mays_varieties.xml +1 -1
  17. data/db/migrate/20151216100708_add_lifter_equipment_variants.xml +1 -1
  18. data/db/migrate/20151223164501_update_organic_fertilizer.xml +4 -0
  19. data/db/migrate/20151223171801_update_indicators.xml +4 -0
  20. data/db/migrate/20160104145418_add_matters.xml +14 -0
  21. data/db/migrate/20160104160843_change_product_nature_variants_drain.xml +4 -0
  22. data/db/migrate/20160105095120_add_plugin_cap_varieties.xml +261 -0
  23. data/db/migrate/20160106095232_add_orchard_plugin_cap_varieties.xml +405 -0
  24. data/db/migrate/20160108142009_add_product_nature_variants_nematicide.xml +6 -0
  25. data/db/migrate/20160113144856_update_prunus_avium_parent.xml +32 -0
  26. data/db/migrate/20160115090243_change_plant_varieties.xml +7 -0
  27. data/db/migrate/20160119115401_add_shipping_note_document.xml +4 -0
  28. data/db/migrate/20160128093149_fixes_invalid_parent.xml +102 -0
  29. data/db/migrate/20160128154202_add_product_natures_protective_canvas.xml +6 -0
  30. data/db/migrate/20160204115942_change_protective_net_nature.xml +4 -0
  31. data/db/migrate/20160204122030_change_cover_implanter_abilities.xml +6 -0
  32. data/db/migrate/20160206163031_simplifies_activity_families.xml +135 -0
  33. data/db/migrate/20160207142352_fix_spelling_mistakes_on_associate_accounts.xml +7 -0
  34. data/db/migrate/20160210124624_fix_invalid_abilities_on_product_natures.xml +5 -0
  35. data/db/migrate/20160224234901_add_seedling_sorting.xml +4 -0
  36. data/db/migrate/20160310145038_add_rhodes_grass.xml +5 -0
  37. data/db/migrate/20160315152217_remove_exchange_natures.xml +4 -0
  38. data/db/migrate/20160402125244_add_some_heavy_equipment.xml +14 -0
  39. data/db/migrate/20160408223901_change_zea_variety.xml +14 -0
  40. data/db/migrate/20160410082230_add_chemical_classifications.xml +486 -0
  41. data/db/migrate/20160425100840_add_product_nature_corn_topper.xml +6 -0
  42. data/db/migrate/20160427115742_add_production_systems.xml +9 -0
  43. data/db/migrate/20160428085808_add_rows_count_indicator.xml +4 -0
  44. data/db/migrate/20160503131928_add_equipment_indicators.xml +34 -0
  45. data/db/migrate/20160503155351_fix_taxes.xml +15 -0
  46. data/db/migrate/20160504143733_add_units.xml +6 -0
  47. data/db/migrate/20160509100749_change_item_corn_topper.xml +4 -0
  48. data/db/migrate/20160516075201_add_plant_analysis.xml +4 -0
  49. data/db/migrate/20160520144901_update_plant_analysis.xml +5 -0
  50. data/db/migrate/20160525073342_update_spreader_trailer_product_nature.xml +4 -0
  51. data/db/migrate/20160526075245_update_spreader_trailer_abilities.xml +4 -0
  52. data/db/migrate/20160526092246_update_product_natures_and_variants_for_vegetables.xml +37 -0
  53. data/db/migrate/20160527090330_update_product_natures_seed.xml +5 -0
  54. data/db/migrate/20160531071525_add_procedure_actions.xml +6 -0
  55. data/db/migrate/20160531094927_add_items_for_pollination_pocedure.xml +9 -0
  56. data/db/migrate/20160605122001_add_worker_register.xml +4 -0
  57. data/db/migrate/20160608075549_update_spatial_reference_systems.xml +5437 -0
  58. data/db/migrate/20160608202134_add_missing_procedure_actions.xml +6 -0
  59. data/db/migrate/20160613154204_add_product_nature_variants_hoe_weeder.xml +6 -0
  60. data/db/migrate/20160615121350_add_pivots_in_nomenclature.xml +11 -0
  61. data/db/migrate/20160615122805_add_daily_average_working_time_indicator_and_lifespan_indicators.xml +6 -0
  62. data/db/migrate/20160617142409_add_items_for_hay_bales.xml +8 -0
  63. data/db/migrate/20160622121241_add_procedure_action_conservation_plowing.xml +4 -0
  64. data/db/migrate/20160624073237_add_musca_varieties.xml +5 -0
  65. data/db/migrate/20160627095008_add_weeding_kit.xml +5 -0
  66. data/db/migrate/20160630075849_update_product_nature_additive.xml +4 -0
  67. data/db/migrate/20160630124401_fix_coop_variants.xml +9 -0
  68. data/db/migrate/20160719094049_add_new_procedure_actions.xml +6 -0
  69. data/db/migrate/20160719100836_add_issue_nature.xml +4 -0
  70. data/db/migrate/20160720144130_update_equipment_varieties.xml +33 -0
  71. data/db/migrate/20160721124220_update_product_natures_varieties.xml +58 -0
  72. data/db/migrate/20160725182008_fix_abilities_on_old_equipment.xml +4 -0
  73. data/db/migrate/20160726173309_rename_equipments_to_equipment.xml +6 -0
  74. data/db/migrate/20160727092830_update_malus_pumila_variety_name.xml +4 -0
  75. data/db/migrate/20160802123639_update_unit_name_for_equipment_product_nature_variants.xml +39 -0
  76. data/db/migrate/20160816083232_add_issue_natures.xml +6 -0
  77. data/db/migrate/20160819082951_Add_plant_varieties.xml +10 -0
  78. data/db/migrate/20160829072846_add_procedure_action.xml +4 -0
  79. data/db/migrate/20160830153251_add_new_varieties.xml +6 -0
  80. data/db/migrate/20160909225801_add_missing_stock_variation_accounts.xml +17 -0
  81. data/db/migrate/20160911091901_update_product_nature_categories.xml +53 -0
  82. data/db/migrate/20160912182501_fix_product_nature_categories.xml +5 -0
  83. data/db/migrate/20160914114043_add_tool_maintaining_support.xml +7 -0
  84. data/db/migrate/20160915143142_add_pest_related_indicators.xml +5 -0
  85. data/db/migrate/20160919210501_add_transportation_actions.xml +4 -0
  86. data/db/migrate/20160928113101_add_missing_general_accounts.xml +108 -0
  87. data/db/migrate/20160930091201_add_missing_tax_natures.xml +17 -0
  88. data/db/migrate/20161017090516_fix_product_nature_categories_stock_movement_account.xml +5 -0
  89. data/db/migrate/20161019133613_add_ednotif_eu_country_code.xml +33 -0
  90. data/db/migrate/20161019145441_add_ednotif_animal_indicators.xml +22 -0
  91. data/db/migrate/20161022103401_add_portuguese_chart_of_account.xml +34 -0
  92. data/db/migrate/20161024115013_add_ednotif_indicators_to_cow_product_natures.xml +7 -0
  93. data/db/migrate/20161030174001_add_missing_cap_2016_varieties.xml +13 -0
  94. data/db/migrate/20161103111303_add_plants_sorting_action.xml +4 -0
  95. data/db/migrate/20161202083820_add_new_plant_varieties.xml +13 -0
  96. data/db/migrate/20161212181852_add_procedure_categories.xml +5 -0
  97. data/db/migrate/20161214093347_add_procedure_actions.xml +10 -0
  98. data/db/migrate/20161219171601_add_missing_vat_accounts.xml +4 -0
  99. data/db/migrate/20161219231801_add_outgoing_payment_report.xml +4 -0
  100. data/db/migrate/20170104161824_add_indicators_for_plant_analysis.xml +6 -0
  101. data/db/migrate/20170201180806_set_animal_group_population_counting_to_unitary.xml +23 -0
  102. data/db/migrate/20170203132125_update_momenclature_for_animal_housing_mulching_procedure.xml +7 -0
  103. data/db/migrate/20170206125311_update_nomenclature_for_animal_housing_disinfection_procedure.xml +5 -0
  104. data/db/migrate/20170206163322_update_disinfectant_product_variant.xml +4 -0
  105. data/db/migrate/20170214125925_clean_cow_indicators.xml +8 -0
  106. data/db/migrate/20170216100144_add_algerian_vat.xml +10 -0
  107. data/db/migrate/20170219210901_add_fixed_asset_registry.xml +4 -0
  108. data/db/migrate/20170220211447_add_procedure_category.xml +4 -0
  109. data/db/migrate/20170220222412_add_procedure_action.xml +4 -0
  110. data/db/migrate/20170221102405_add_milking_robot_in_nomenclature.xml +6 -0
  111. data/db/migrate/20170222113119_add_animal_varieties.xml +29 -0
  112. data/db/migrate/20170306154901_add_missing_outstanding_account.xml +4 -0
  113. data/db/migrate/20170308232701_add_fr_pcga_profit_and_loss.xml +4 -0
  114. data/db/migrate/20170312112401_add_fr_pcga_balance_sheet.xml +4 -0
  115. data/db/migrate/20170312172301_add_fr_pcg82_balance_sheet.xml +5 -0
  116. data/db/migrate/20170320073301_add_journal_entry_sheet.xml +8 -0
  117. data/db/migrate/20170320144338_add_sundry_debtors_and_creditors_usage.xml +4 -0
  118. data/db/migrate/20170322223101_add_loan_registry.xml +4 -0
  119. data/db/migrate/20170324084701_add_fixed_asset_sheet.xml +4 -0
  120. data/db/migrate/20170328144501_add_pnt_loan_accounts.xml +5 -0
  121. data/db/migrate/20170328165900_update_foliar_spray_product_nature.xml +4 -0
  122. data/db/migrate/20170328170000_add_indicator.xml +4 -0
  123. data/db/migrate/20170328170100_update_product_nature_seedling.xml +6 -0
  124. data/db/migrate/20170328170200_add_indicators.xml +4 -0
  125. data/db/migrate/20170328170300_add_indicators2.xml +4 -0
  126. data/db/migrate/20170328170400_update_seedling_product_natures.xml +4 -0
  127. data/db/migrate/20170405135101_add_account_journal_entry_sheet.xml +4 -0
  128. data/db/migrate/20170407214236_add_portuguese_account_config.xml +4 -0
  129. data/db/migrate/20170524094443_add_urtica_variety.xml +5 -0
  130. data/db/migrate/20170614130921_add_varieties.xml +117 -0
  131. data/db/migrate/20170627075545_add_varieties2.xml +37 -0
  132. data/db/migrate/20170627081533_add_pending_deposit_payments_account_number_for_pt_accounting_system.xml +4 -0
  133. data/db/migrate/20170718131724_add_issue_natures.xml +54 -0
  134. data/db/migrate/20170803164344_add_procedure_nature_and_category.xml +5 -0
  135. data/db/reference.xml +7904 -939
  136. data/lib/onoma/database.rb +77 -32
  137. data/lib/onoma/item.rb +74 -24
  138. data/lib/onoma/migration/actions/base.rb +1 -1
  139. data/lib/onoma/migration/actions/item_change.rb +5 -5
  140. data/lib/onoma/migration/actions/item_creation.rb +4 -4
  141. data/lib/onoma/migration/actions/item_merging.rb +5 -1
  142. data/lib/onoma/migration/actions/item_removal.rb +1 -1
  143. data/lib/onoma/migration/actions/nomenclature_change.rb +3 -3
  144. data/lib/onoma/migration/actions/nomenclature_creation.rb +4 -4
  145. data/lib/onoma/migration/actions/nomenclature_removal.rb +3 -3
  146. data/lib/onoma/migration/actions/property_creation.rb +2 -2
  147. data/lib/onoma/migration.rb +114 -3
  148. data/lib/onoma/nomenclature.rb +79 -49
  149. data/lib/onoma/property.rb +14 -14
  150. data/lib/onoma/reference.rb +1 -1
  151. data/lib/onoma/reflection.rb +8 -3
  152. data/lib/onoma/relation.rb +25 -3
  153. data/lib/onoma/version.rb +1 -1
  154. data/lib/onoma.rb +31 -62
  155. data/onoma.gemspec +15 -15
  156. metadata +123 -7
  157. data/lib/onoma/migration/base.rb +0 -45
  158. data/lib/onoma/migrator/reference.rb +0 -77
  159. data/lib/onoma/migrator/translation.rb +0 -30
  160. data/lib/onoma/migrator.rb +0 -3
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing procedure actions">
3
+ <item-creation item="procedure_actions#net_removal"/>
4
+ <item-creation item="procedure_actions#tunnel_installation"/>
5
+ <item-creation item="procedure_actions#tunnel_removal"/>
6
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add product nature variants hoe weeder">
3
+ <item-change item="indicators#theoretical_working_speed" datatype="decimal" unit="hectare_per_hour"/>
4
+ <item-creation item="product_natures#hoe_weeder" category="equipment" variety="equipment" population_counting="unitary" abilities="kill(plant), spray" frozen_indicators="nominal_storable_net_volume, application_width, theoretical_working_speed" variable_indicators="geolocation"/>
5
+ <item-creation item="product_nature_variants#hoe_weeder" nature="hoe_weeder" frozen_indicators_values="theoretical_working_speed: 9.00hectare_per_hour" unit_name="equipment"/>
6
+ </migration>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add pivots in nomenclature">
3
+ <item-creation item="units#liter_per_minute" dimension="volume_flow" symbol="l/min" a="0.001" d="60"/>
4
+ <item-creation item="units#cubic_meter_per_hour" dimension="volume_flow" symbol="m³/h" d="3600"/>
5
+ <item-creation item="indicators#volume_flow" datatype="measure" unit="cubic_meter_per_hour"/>
6
+ <item-creation item="indicators#spans_count" datatype="integer"/>
7
+ <item-change item="indicators#theoretical_working_speed" datatype="measure" unit="hectare_per_hour"/>
8
+ <item-change item="product_natures#water_spreader" category="equipment" variety="spreader" population_counting="unitary" abilities="spread(water)" frozen_indicators="length, diameter"/>
9
+ <item-creation item="product_natures#irrigation_pivot" category="equipment" variety="spreader" population_counting="unitary" abilities="spread(water)" frozen_indicators="length, diameter, volume_flow, spans_count" variable_indicators="geolocation"/>
10
+ <item-creation item="product_nature_variants#irrigation_pivot" nature="irrigation_pivot" frozen_indicators_values="" unit_name="equipment"/>
11
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add daily average working time indicator, lifespan and working_lifespan indicators">
3
+ <item-creation item="indicators#daily_average_working_time" datatype="measure" unit="hour"/>
4
+ <item-creation item="indicators#lifespan" datatype="measure" unit="hour"/>
5
+ <item-creation item="indicators#working_lifespan" datatype="measure" unit="hour"/>
6
+ </migration>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add items for fodder bales">
3
+ <item-creation item="indicators#fodder_bales_count" datatype="integer"/>
4
+ <item-creation item="product_natures#fodder_bale" category="grass" variety="grass" derivative_of="plant" population_counting="decimal" abilities="feed(animal)" variable_indicators="dry_matter_rate" frozen_indicators="net_mass, net_volume, fodder_bales_count"/>
5
+ <item-change item="product_nature_variants#hay_big_rectangular_bales" nature="fodder_bale" frozen_indicators_values="net_mass: 438.00kilogram, net_volume: 2.30cubic_meter, fodder_bales_count: 1"/>
6
+ <item-change item="product_nature_variants#hay_round_bales" nature="fodder_bale" frozen_indicators_values="net_mass: 300.00kilogram, net_volume: 1.87cubic_meter, fodder_bales_count: 1"/>
7
+ <item-change item="product_nature_variants#hay_small_rectangular_bales" nature="fodder_bale" frozen_indicators_values="net_mass: 438.00kilogram, net_volume: 2.30cubic_meter, fodder_bales_count: 1"/>
8
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add procedure action conservation plowing">
3
+ <item-creation item="procedure_actions#conservation_plowing"/>
4
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add musca varieties">
3
+ <item-creation item="varieties#musca" parent="insecta" itis_tsn="150249"/>
4
+ <item-creation item="varieties#musca_domestica" parent="musca" itis_tsn="150251"/>
5
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add weeding kit">
3
+ <item-creation item="product_natures#weeding_kit" category="equipment" variety="equipment" population_counting="unitary" abilities="kill(plant), spray" frozen_indicators="nominal_storable_net_volume, rows_count" variable_indicators="geolocation"/>
4
+ <item-creation item="product_nature_variants#weeding_kit" nature="weeding_kit" unit_name="equipment"/>
5
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update product nature additive">
3
+ <item-change item="product_natures#additive" abilities="care(plant)"/>
4
+ </migration>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix coop variants">
3
+ <item-change item="product_natures#protective_canvas" population_counting="decimal"/>
4
+ <item-change item="product_natures#wire" population_counting="decimal"/>
5
+ <item-change item="product_nature_variants#coop:ficelle_filogamm_350_bob_5kg" nature="wire"/>
6
+ <item-change item="product_nature_variants#coop:film_ensil_ensigamm_8m" nature="protective_canvas"/>
7
+ <item-change item="product_nature_variants#coop:film_ensil_ensigamm_10m" nature="protective_canvas"/>
8
+ <item-change item="product_nature_variants#coop:film_ensil_ensigamm_14m" nature="protective_canvas"/>
9
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add new procedure actions">
3
+ <item-creation item="procedure_actions#curative_maintenance"/>
4
+ <item-creation item="procedure_actions#preventive_maintenance"/>
5
+ <item-creation item="procedure_actions#upgrading_maintenance"/>
6
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add issue nature">
3
+ <item-creation item="issue_natures#bad_vegetative_growth_conditions" parent="disease" target="plant"/>
4
+ </migration>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update equipment varieties">
3
+ <item-creation item="varieties#motorized_vehicle" parent="equipment"/>
4
+ <item-creation item="varieties#trailed_equipment" parent="equipment"/>
5
+ <item-creation item="varieties#portable_equipment" parent="equipment"/>
6
+ <item-creation item="varieties#truck" parent="motorized_vehicle"/>
7
+ <item-creation item="varieties#car" parent="motorized_vehicle"/>
8
+ <item-creation item="varieties#self_propelled_equipment" parent="motorized_vehicle"/>
9
+ <item-change item="varieties#tractor" parent="motorized_vehicle"/>
10
+ <item-creation item="varieties#heavy_equipment" parent="motorized_vehicle"/>
11
+ <item-creation item="varieties#handling_equipment" parent="motorized_vehicle"/>
12
+ <item-change item="varieties#item" name="equipment_part" parent="matter"/>
13
+ <item-merging item="varieties#bale_collector" into="trailed_equipment"/>
14
+ <item-merging item="varieties#baler" into="trailed_equipment"/>
15
+ <item-merging item="varieties#bottler" into="equipment"/>
16
+ <item-merging item="varieties#cleaner" into="portable_equipment"/>
17
+ <item-merging item="varieties#corker" into="equipment"/>
18
+ <item-merging item="varieties#food_deliver" into="trailed_equipment"/>
19
+ <item-merging item="varieties#forager" into="trailed_equipment"/>
20
+ <item-merging item="varieties#harvester" into="trailed_equipment"/>
21
+ <item-merging item="varieties#implanter" into="trailed_equipment"/>
22
+ <item-merging item="varieties#mower" into="trailed_equipment"/>
23
+ <item-merging item="varieties#plower" into="trailed_equipment"/>
24
+ <item-merging item="varieties#press" into="equipment"/>
25
+ <item-merging item="varieties#pruner" into="portable_equipment"/>
26
+ <item-merging item="varieties#reaper" into="trailed_equipment"/>
27
+ <item-merging item="varieties#sower" into="trailed_equipment"/>
28
+ <item-merging item="varieties#sprayer" into="trailed_equipment"/>
29
+ <item-merging item="varieties#spreader" into="trailed_equipment"/>
30
+ <item-merging item="varieties#telescopic_handler" into="handling_equipment"/>
31
+ <item-merging item="varieties#trailer" into="trailed_equipment"/>
32
+ <item-merging item="varieties#wheel_loader" into="heavy_equipment"/>
33
+ </migration>
@@ -0,0 +1,58 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update product natures varieties">
3
+ <item-change item="product_natures#air_compressor" variety="portable_equipment"/>
4
+ <item-change item="product_natures#animal_housing_cleaner" variety="portable_equipment"/>
5
+ <item-change item="product_natures#bale_collector" variety="trailed_equipment"/>
6
+ <item-change item="product_natures#baler" variety="trailed_equipment"/>
7
+ <item-change item="product_natures#car" variety="car"/>
8
+ <item-change item="product_natures#chainsaw" variety="portable_equipment"/>
9
+ <item-change item="product_natures#complete_sower" variety="trailed_equipment"/>
10
+ <item-change item="product_natures#corn_topper" variety="trailed_equipment"/>
11
+ <item-change item="product_natures#cover_implanter" variety="trailed_equipment"/>
12
+ <item-change item="product_natures#dumper" variety="heavy_equipment"/>
13
+ <item-change item="product_natures#ferry" variety="trailed_equipment"/>
14
+ <item-change item="product_natures#food_distributor" variety="trailed_equipment"/>
15
+ <item-change item="product_natures#forager" variety="trailed_equipment"/>
16
+ <item-change item="product_natures#forklift" variety="handling_equipment"/>
17
+ <item-change item="product_natures#gas_engine" variety="portable_equipment"/>
18
+ <item-change item="product_natures#grape_reaper" variety="trailed_equipment"/>
19
+ <item-change item="product_natures#grape_trailer" variety="trailed_equipment"/>
20
+ <item-change item="product_natures#grinder" variety="trailed_equipment"/>
21
+ <item-change item="product_natures#harrow" variety="trailed_equipment"/>
22
+ <item-change item="product_natures#harvester" variety="trailed_equipment"/>
23
+ <item-change item="product_natures#hay_rake" variety="trailed_equipment"/>
24
+ <item-change item="product_natures#hedge_cutter" variety="trailed_equipment"/>
25
+ <item-change item="product_natures#hiller" variety="trailed_equipment"/>
26
+ <item-change item="product_natures#hoe" variety="trailed_equipment"/>
27
+ <item-change item="product_natures#hoe_weeder" variety="trailed_equipment"/>
28
+ <item-change item="product_natures#implanter" variety="trailed_equipment"/>
29
+ <item-change item="product_natures#irrigation_pivot" variety="equipment"/>
30
+ <item-change item="product_natures#mower" variety="trailed_equipment"/>
31
+ <item-change item="product_natures#picker" variety="trailed_equipment"/>
32
+ <item-change item="product_natures#plow" variety="trailed_equipment"/>
33
+ <item-change item="product_natures#plum_reaper" variety="trailed_equipment"/>
34
+ <item-change item="product_natures#pollinator" variety="portable_equipment"/>
35
+ <item-change item="product_natures#pruning_platform" variety="trailed_equipment"/>
36
+ <item-change item="product_natures#reaper" variety="trailed_equipment"/>
37
+ <item-change item="product_natures#roll" variety="trailed_equipment"/>
38
+ <item-change item="product_natures#seedbed_preparator" variety="trailed_equipment"/>
39
+ <item-change item="product_natures#shell_fruit_reaper" variety="trailed_equipment"/>
40
+ <item-change item="product_natures#sieve_shaker" variety="trailed_equipment"/>
41
+ <item-change item="product_natures#soil_loosener" variety="trailed_equipment"/>
42
+ <item-change item="product_natures#sower" variety="trailed_equipment"/>
43
+ <item-change item="product_natures#sprayer" variety="trailed_equipment"/>
44
+ <item-change item="product_natures#spreader" variety="trailed_equipment"/>
45
+ <item-change item="product_natures#spreader_trailer" variety="trailed_equipment"/>
46
+ <item-change item="product_natures#steam_engine" variety="portable_equipment"/>
47
+ <item-change item="product_natures#superficial_plow" variety="trailed_equipment"/>
48
+ <item-change item="product_natures#telescopic_handler" variety="handling_equipment"/>
49
+ <item-change item="product_natures#topper" variety="trailed_equipment"/>
50
+ <item-change item="product_natures#trailer" variety="trailed_equipment"/>
51
+ <item-change item="product_natures#trimmer" variety="trailed_equipment"/>
52
+ <item-change item="product_natures#truck" variety="handling_equipment"/>
53
+ <item-change item="product_natures#uncover" variety="trailed_equipment"/>
54
+ <item-change item="product_natures#water_spreader" variety="equipment"/>
55
+ <item-change item="product_natures#weeder" variety="trailed_equipment"/>
56
+ <item-change item="product_natures#wheel_loader" variety="heavy_equipment"/>
57
+ <item-change item="product_natures#wine_press" variety="equipment"/>
58
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix abilities on old equipment">
3
+ <item-change item="product_natures#motor_oil" abilities="lubricate(trailed_equipment), lubricate(motorized_vehicle)"/>
4
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Rename equipments to equipment">
3
+ <item-change item="accounts#equipment_expenses" name="equipment_maintenance_expenses"/>
4
+ <item-change item="accounts#equipments_expenses" name="equipment_expenses"/>
5
+ <item-change item="accounts#equipments_depreciations_inputations_expenses" name="equipment_depreciations_inputations_expenses"/>
6
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update malus_pumila variety name">
3
+ <item-merging item="varieties#malus_pumila_belle-fille_de_la_creuse" into="malus_pumila_belle_fille_de_la_creuse"/>
4
+ </migration>
@@ -0,0 +1,39 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update unit name for equipment product nature variants">
3
+ <item-change item="product_nature_variants#bale_collector" unit_name="equipment"/>
4
+ <item-change item="product_nature_variants#bed_former" unit_name="equipment"/>
5
+ <item-change item="product_nature_variants#corn_topper" unit_name="equipment"/>
6
+ <item-change item="product_nature_variants#cover_crop" unit_name="equipment"/>
7
+ <item-change item="product_nature_variants#disc_harrow" unit_name="equipment"/>
8
+ <item-change item="product_nature_variants#drain" unit_name="equipment"/>
9
+ <item-change item="product_nature_variants#dumper" unit_name="equipment"/>
10
+ <item-change item="product_nature_variants#ferry" unit_name="equipment"/>
11
+ <item-change item="product_nature_variants#gas_burner" unit_name="equipment"/>
12
+ <item-change item="product_nature_variants#gas_engine" unit_name="equipment"/>
13
+ <item-change item="product_nature_variants#harrow" unit_name="equipment"/>
14
+ <item-change item="product_nature_variants#harvester" unit_name="equipment"/>
15
+ <item-change item="product_nature_variants#hiller" unit_name="equipment"/>
16
+ <item-change item="product_nature_variants#hive" unit_name="equipment"/>
17
+ <item-change item="product_nature_variants#irrigation_pivot" unit_name="equipment"/>
18
+ <item-change item="product_nature_variants#lifter" unit_name="equipment"/>
19
+ <item-change item="product_nature_variants#motor_hoe" unit_name="equipment"/>
20
+ <item-change item="product_nature_variants#picker" unit_name="equipment"/>
21
+ <item-change item="product_nature_variants#pollination_tool" unit_name="equipment"/>
22
+ <item-change item="product_nature_variants#pollinator" unit_name="equipment"/>
23
+ <item-change item="product_nature_variants#punching_machine" unit_name="equipment"/>
24
+ <item-change item="product_nature_variants#ridger" unit_name="equipment"/>
25
+ <item-change item="product_nature_variants#rotavator" unit_name="equipment"/>
26
+ <item-change item="product_nature_variants#sieve_shaker" unit_name="equipment"/>
27
+ <item-change item="product_nature_variants#soil_loosener" unit_name="equipment"/>
28
+ <item-change item="product_nature_variants#steam_engine" unit_name="equipment"/>
29
+ <item-change item="product_nature_variants#stubble_cultivator" unit_name="equipment"/>
30
+ <item-change item="product_nature_variants#topper" unit_name="equipment"/>
31
+ <item-change item="product_nature_variants#trimmer" unit_name="equipment"/>
32
+ <item-change item="product_nature_variants#uncover" unit_name="equipment"/>
33
+ <item-change item="product_nature_variants#vibrocultivator" unit_name="equipment"/>
34
+ <item-change item="product_nature_variants#water_bowser" unit_name="equipment"/>
35
+ <item-change item="product_nature_variants#weeder" unit_name="equipment"/>
36
+ <item-change item="product_nature_variants#weeding_kit" unit_name="equipment"/>
37
+ <item-change item="product_nature_variants#wheel_loader" unit_name="equipment"/>
38
+ <item-change item="product_nature_variants#protective_canvas" unit_name="meter"/>
39
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add issue natures">
3
+ <item-creation item="issue_natures#plant_issue" target="plant"/>
4
+ <item-creation item="issue_natures#field_edge_male_seed_corn_defect" parent="plant_issue" target="plant"/>
5
+ <item-creation item="issue_natures#seed_corn_castration_defect" parent="plant_issue" target="plant"/>
6
+ </migration>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add plant varieties">
3
+ <item-creation item="varieties#zea_mays_capuzi" parent="zea_mays" itis_tsn="42269"/>
4
+ <item-creation item="varieties#zea_mays_pw450" parent="zea_mays" itis_tsn="42269"/>
5
+ <item-creation item="varieties#zea_mays_ph450" parent="zea_mays" itis_tsn="42269"/>
6
+ <item-creation item="varieties#zea_mays_5142" parent="zea_mays" itis_tsn="42269"/>
7
+ <item-creation item="varieties#zea_mays_ceratina_mas56wx" parent="zea_mays_ceratina" itis_tsn="42269"/>
8
+ <item-creation item="varieties#helianthus_annuus_es_romantic" parent="helianthus_annuus" itis_tsn="36616"/>
9
+ <item-creation item="varieties#phaseolus_vulgaris_red_kindley" parent="phaseolus_vulgaris" itis_tsn="26857"/>
10
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add procedure action">
3
+ <item-creation item="procedure_actions#solarization"/>
4
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add new varieties">
3
+ <item-creation item="varieties#brassica_oleracea_italica_naxos" parent="brassica_oleracea_italica" itis_tsn="23062"/>
4
+ <item-creation item="varieties#daucus_carota_tino" parent="daucus_carota" itis_tsn="29476"/>
5
+ <item-creation item="varieties#allium_cepa_valenciana" parent="allium_cepa" itis_tsn="42720"/>
6
+ </migration>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing stock variation account">
3
+ <item-creation item="accounts#supply_stock" fr_pcga="301"/>
4
+ <item-creation item="accounts#long_cycle_vegetals_stock" fr_pcga="33"/>
5
+ <item-creation item="accounts#short_cycle_vegetals_stock" fr_pcga="34"/>
6
+ <item-creation item="accounts#fertilizer_stocks_variation" fr_pcga="60311"/>
7
+ <item-creation item="accounts#seed_stocks_variation" fr_pcga="60312"/>
8
+ <item-creation item="accounts#plant_medicine_stocks_variation" fr_pcga="60313"/>
9
+ <item-creation item="accounts#livestock_feed_stocks_variation" fr_pcga="60314"/>
10
+ <item-creation item="accounts#animal_medicine_stocks_variation" fr_pcga="60315"/>
11
+ <item-creation item="accounts#animal_reproduction_stocks_variation" fr_pcga="60316"/>
12
+ <item-creation item="accounts#merchandising_stocks_variation" fr_pcga="6037"/>
13
+ <item-creation item="accounts#adult_reproductor_animals_inventory_variations" fr_pcga="7121"/>
14
+ <item-creation item="accounts#young_reproductor_animals_inventory_variations" fr_pcga="7122"/>
15
+ <item-creation item="accounts#long_cycle_product_inventory_variations" fr_pcga="7135"/>
16
+ <item-creation item="accounts#short_cycle_product_inventory_variations" fr_pcga="7136"/>
17
+ </migration>
@@ -0,0 +1,53 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update product nature categories">
3
+ <item-creation item="accounts#gas_stock" fr_pcga="3018"/>
4
+ <item-creation item="accounts#workshop_supplies_stock" fr_pcga="3023"/>
5
+ <item-creation item="accounts#raw_product_stock" fr_pcga="3028"/>
6
+ <property-creation property="product_nature_categories.stock_movement_account" type="item" choices="accounts"/>
7
+ <item-change item="product_nature_categories#animal_food" stock_movement_account="livestock_feed_stocks_variation"/>
8
+ <item-change item="product_nature_categories#animal_medicine" stock_movement_account="animal_medicine_stocks_variation"/>
9
+ <item-change item="product_nature_categories#animal_reproduction" stock_movement_account="animal_reproduction_stocks_variation"/>
10
+ <item-change item="product_nature_categories#aves_band" stock_movement_account="short_cycle_animals_inventory_variations"/>
11
+ <item-change item="product_nature_categories#bee_band" stock_movement_account="long_cycle_animals_inventory_variations"/>
12
+ <item-change item="product_nature_categories#biological_auxiliary" stock_movement_account="plant_medicine_stocks_variation"/>
13
+ <item-change item="product_nature_categories#calf" stock_movement_account="short_cycle_animals_inventory_variations"/>
14
+ <item-change item="product_nature_categories#construction_materials_in_own_outstanding_installation" stock_movement_account="merchandising_stocks_variation"/>
15
+ <item-change item="product_nature_categories#crop" stock_account="short_cycle_vegetals_stock" stock_movement_account="short_cycle_vegetals_inventory_variations"/>
16
+ <item-change item="product_nature_categories#egg" stock_movement_account="products_inventory_variations"/>
17
+ <item-change item="product_nature_categories#female_adult_cow" stock_movement_account="long_cycle_animals_inventory_variations"/>
18
+ <item-change item="product_nature_categories#female_adult_pig" stock_movement_account="long_cycle_animals_inventory_variations"/>
19
+ <item-change item="product_nature_categories#female_young_cow" stock_movement_account="long_cycle_animals_inventory_variations"/>
20
+ <item-change item="product_nature_categories#fertilizer" stock_movement_account="fertilizer_stocks_variation"/>
21
+ <item-change item="product_nature_categories#fish_band" stock_movement_account="short_cycle_animals_inventory_variations"/>
22
+ <item-change item="product_nature_categories#fruit" stock_movement_account="products_inventory_variations"/>
23
+ <item-change item="product_nature_categories#fuel" stock_movement_account="other_supply_stocks_variation"/>
24
+ <item-change item="product_nature_categories#gas" storable="true" stock_account="gas_stock" stock_movement_account="other_supply_stocks_variation"/>
25
+ <item-change item="product_nature_categories#grain" stock_movement_account="products_inventory_variations"/>
26
+ <item-change item="product_nature_categories#grass" stock_movement_account="products_inventory_variations"/>
27
+ <item-change item="product_nature_categories#honey" stock_movement_account="products_inventory_variations"/>
28
+ <item-change item="product_nature_categories#long_time_animal" stock_movement_account="long_cycle_animals_inventory_variations"/>
29
+ <item-change item="product_nature_categories#male_adult_cow" stock_movement_account="long_cycle_animals_inventory_variations"/>
30
+ <item-change item="product_nature_categories#male_adult_pig" stock_movement_account="long_cycle_animals_inventory_variations"/>
31
+ <item-change item="product_nature_categories#male_young_cow" stock_movement_account="long_cycle_animals_inventory_variations"/>
32
+ <item-change item="product_nature_categories#meat" stock_movement_account="products_inventory_variations"/>
33
+ <item-change item="product_nature_categories#milk" stock_movement_account="products_inventory_variations"/>
34
+ <item-change item="product_nature_categories#oenological_product" stock_movement_account="plant_medicine_stocks_variation"/>
35
+ <item-change item="product_nature_categories#other_consumable" stock_movement_account="other_supply_stocks_variation"/>
36
+ <item-change item="product_nature_categories#oyster_band" stock_movement_account="short_cycle_animals_inventory_variations"/>
37
+ <item-change item="product_nature_categories#package_consumable" stock_movement_account="other_supply_stocks_variation"/>
38
+ <item-change item="product_nature_categories#pig_band" stock_movement_account="short_cycle_animals_inventory_variations"/>
39
+ <item-change item="product_nature_categories#plant" stock_account="long_cycle_vegetals_stock" stock_movement_account="long_cycle_vegetals_inventory_variations"/>
40
+ <item-change item="product_nature_categories#plant_medicine" stock_movement_account="plant_medicine_stocks_variation"/>
41
+ <item-change item="product_nature_categories#processed_grain" stock_movement_account="merchandising_stocks_variation"/>
42
+ <item-change item="product_nature_categories#processed_meat" stock_movement_account="merchandising_stocks_variation"/>
43
+ <item-change item="product_nature_categories#processed_milk" stock_movement_account="merchandising_stocks_variation"/>
44
+ <item-change item="product_nature_categories#rabbit_band" stock_movement_account="short_cycle_animals_inventory_variations"/>
45
+ <item-change item="product_nature_categories#raw_materials" stock_movement_account="other_supply_stocks_variation"/>
46
+ <item-change item="product_nature_categories#seed" stock_movement_account="seed_stocks_variation"/>
47
+ <item-change item="product_nature_categories#short_time_animal" stock_movement_account="short_cycle_animals_inventory_variations"/>
48
+ <item-change item="product_nature_categories#small_electronic_equipment" stock_account="workshop_supplies_stock" stock_movement_account="other_supply_stocks_variation"/>
49
+ <item-change item="product_nature_categories#small_equipment" stock_movement_account="other_supply_stocks_variation"/>
50
+ <item-change item="product_nature_categories#straw" stock_movement_account="products_inventory_variations"/>
51
+ <item-change item="product_nature_categories#vegetable" stock_movement_account="products_inventory_variations"/>
52
+ <item-change item="product_nature_categories#wine" stock_movement_account="products_inventory_variations"/>
53
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update product nature categorie">
3
+ <item-change item="product_nature_categories#office_furniture_equipment" stock_account="workshop_supplies_stock" stock_movement_account="other_supply_stocks_variation"/>
4
+ <item-change item="product_nature_categories#wine_package_consumable" stock_movement_account="other_supply_stocks_variation"/>
5
+ </migration>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add tool maintaining support">
3
+ <item-creation item="varieties#equipment_fleet" parent="product_group"/>
4
+ <item-creation item="product_nature_categories#equipment_fleet" pictogram="tractor"/>
5
+ <item-change item="activity_families#plant_farming" support_variety="land_parcel"/>
6
+ <item-change item="activity_families#tool_maintaining" support_variety="equipment_fleet" cultivation_variety="equipment"/>
7
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add pest-related indicators">
3
+ <item-creation item="indicators#daily_pest_count" datatype="integer"/>
4
+ <item-creation item="indicators#weekly_pest_count" datatype="integer"/>
5
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add transportation actions">
3
+ <item-creation item="procedure_actions#transportation"/>
4
+ </migration>
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing general account">
3
+ <item-creation item="accounts#share_capital_bonus" fr_pcg82="104"/>
4
+ <item-creation item="accounts#retained_earnings" fr_pcg82="11"/>
5
+ <item-creation item="accounts#credit_retained_earnings" fr_pcg82="110"/>
6
+ <item-creation item="accounts#debit_retained_earnings" fr_pcg82="119"/>
7
+ <item-creation item="accounts#global_land_parcel_assets" fr_pcg82="211"/>
8
+ <item-creation item="accounts#participations" fr_pcg82="26"/>
9
+ <item-creation item="accounts#equity_securities" fr_pcg82="261"/>
10
+ <item-creation item="accounts#payment_guarantees" fr_pcg82="275"/>
11
+ <item-creation item="accounts#concession_asset_depreciations" fr_pcg82="282"/>
12
+ <item-creation item="accounts#asset_impairment_losses" fr_pcg82="29"/>
13
+ <item-creation item="accounts#equity_security_asset_impairment_losses" fr_pcg82="296"/>
14
+ <item-creation item="accounts#raw_material_and_supplies" fr_pcg82="31"/>
15
+ <item-creation item="accounts#other_supplies" fr_pcg82="32"/>
16
+ <item-creation item="accounts#in_cycle_products_stock" fr_pcg82="33"/>
17
+ <item-creation item="accounts#in_cycle_services_stock" fr_pcg82="34"/>
18
+ <item-creation item="accounts#products_stock" fr_pcg82="35"/>
19
+ <item-creation item="accounts#assets_products_stock" fr_pcg82="36"/>
20
+ <item-creation item="accounts#merchandising_products_stock" fr_pcg82="37"/>
21
+ <item-creation item="accounts#litigious_clients" fr_pcg82="416"/>
22
+ <item-creation item="accounts#invoice_to_create_clients" fr_pcg82="418"/>
23
+ <item-creation item="accounts#creditor_clients" fr_pcg82="419"/>
24
+ <item-creation item="accounts#staff_and_linked_accounts" fr_pcg82="42"/>
25
+ <item-creation item="accounts#employee_representative_committees" fr_pcg82="422"/>
26
+ <item-creation item="accounts#staff_bonus_participation" fr_pcg82="424"/>
27
+ <item-creation item="accounts#staff_advances" fr_pcg82="425"/>
28
+ <item-creation item="accounts#staff_submissions" fr_pcg82="426"/>
29
+ <item-creation item="accounts#staff_oppositions" fr_pcg82="427"/>
30
+ <item-creation item="accounts#staff_expense_to_sold" fr_pcg82="428"/>
31
+ <item-creation item="accounts#social_security" fr_pcg82="431"/>
32
+ <item-creation item="accounts#other_social_organisation" fr_pcg82="437"/>
33
+ <item-creation item="accounts#social_expense_on_vacations" fr_pcg82="438"/>
34
+ <item-creation item="accounts#state_and_other_public_entities" fr_pcg82="44"/>
35
+ <item-creation item="accounts#subsidy_to_receive" fr_pcg82="441"/>
36
+ <item-creation item="accounts#entity_collectable_taxes" fr_pcg82="442"/>
37
+ <item-creation item="accounts#particular_operation_with_state" fr_pcg82="443"/>
38
+ <item-creation item="accounts#income_taxes" fr_pcg82="444"/>
39
+ <item-creation item="accounts#guaranteed_obligations" fr_pcg82="446"/>
40
+ <item-creation item="accounts#others_taxes_and_assimilated_payments" fr_pcg82="447"/>
41
+ <item-creation item="accounts#fiscal_expense_on_vacations" fr_pcg82="448"/>
42
+ <item-creation item="accounts#state_emission_quota_to_restitute" fr_pcg82="449"/>
43
+ <item-creation item="accounts#holding_company_and_associate_accounts" fr_pcg82="45"/>
44
+ <item-creation item="accounts#holding_accounts" fr_pcg82="451"/>
45
+ <item-creation item="accounts#regularisation_accounts" fr_pcg82="48"/>
46
+ <item-creation item="accounts#deferred_expense_accounts" fr_pcg82="481"/>
47
+ <item-creation item="accounts#advance_noticed_charges_accounts" fr_pcg82="486"/>
48
+ <item-creation item="accounts#advance_noticed_products_accounts" fr_pcg82="487"/>
49
+ <item-creation item="accounts#deprecated_entity_accounts" fr_pcg82="49"/>
50
+ <item-creation item="accounts#deprecated_client_entity_accounts" fr_pcg82="491"/>
51
+ <item-creation item="accounts#raw_matter_expenses" fr_pcg82="601"/>
52
+ <item-creation item="accounts#other_supply_expenses" fr_pcg82="602"/>
53
+ <item-creation item="accounts#external_service_expenses" fr_pcg82="61"/>
54
+ <item-creation item="accounts#service_discount_and_reductions_expenses" fr_pcg82="619"/>
55
+ <item-creation item="accounts#government_payroll_tax_expenses" fr_pcg82="631"/>
56
+ <item-creation item="accounts#other_entities_payroll_tax_expenses" fr_pcg82="633"/>
57
+ <item-creation item="accounts#government_tax_expenses" fr_pcg82="635"/>
58
+ <item-creation item="accounts#other_entities_tax_expenses" fr_pcg82="637"/>
59
+ <item-creation item="accounts#staff_remuneration" fr_pcg82="641"/>
60
+ <item-creation item="accounts#owner_remuneration" fr_pcg82="644"/>
61
+ <item-creation item="accounts#other_social_expenses" fr_pcg82="647"/>
62
+ <item-creation item="accounts#other_day_to_day_management_expenses" fr_pcg82="65"/>
63
+ <item-creation item="accounts#irrecoverable_losses_on_debt_obligation_expenses" fr_pcg82="654"/>
64
+ <item-creation item="accounts#shared_result_operations_expenses" fr_pcg82="655"/>
65
+ <item-creation item="accounts#financial_expenses" fr_pcg82="66"/>
66
+ <item-creation item="accounts#participation_losses_on_debt_obligation_expenses" fr_pcg82="664"/>
67
+ <item-creation item="accounts#discount_granted_expenses" fr_pcg82="665"/>
68
+ <item-creation item="accounts#foreign_exchange_expenses" fr_pcg82="666"/>
69
+ <item-creation item="accounts#short_term_investment_transfer_expenses" fr_pcg82="667"/>
70
+ <item-creation item="accounts#other_financial_expenses" fr_pcg82="668"/>
71
+ <item-creation item="accounts#previous_fiscal_year_expenses" fr_pcg82="672"/>
72
+ <item-creation item="accounts#trust_creation_operation_expenses" fr_pcg82="674"/>
73
+ <item-creation item="accounts#exploitation_depreciations_inputations_expenses" fr_pcg82="681"/>
74
+ <item-creation item="accounts#financial_depreciations_inputations_expenses" fr_pcg82="686"/>
75
+ <item-creation item="accounts#exceptionnal_depreciations_inputations_expenses" fr_pcg82="687"/>
76
+ <item-creation item="accounts#employee_participation_and_income_taxes_and_assimilated_payments_expenses" fr_pcg82="69"/>
77
+ <item-creation item="accounts#employee_participation_expenses" fr_pcg82="691"/>
78
+ <item-creation item="accounts#income_taxes_expenses" fr_pcg82="695"/>
79
+ <item-creation item="accounts#additionnal_taxes_on_distribution_entity_expenses" fr_pcg82="696"/>
80
+ <item-creation item="accounts#flat_rate_taxes_expenses" fr_pcg82="697"/>
81
+ <item-creation item="accounts#fiscal_integration_expenses" fr_pcg82="698"/>
82
+ <item-creation item="accounts#previous_product_deferral_expenses" fr_pcg82="699"/>
83
+ <item-creation item="accounts#product_accessory_revenues" fr_pcg82="708"/>
84
+ <item-creation item="accounts#product_inventory_variations" fr_pcg82="713"/>
85
+ <item-creation item="accounts#capitalized_revenues" fr_pcg82="72"/>
86
+ <item-creation item="accounts#incorporeal_asset_revenues" fr_pcg82="721"/>
87
+ <item-creation item="accounts#corporeal_asset_revenues" fr_pcg82="722"/>
88
+ <item-creation item="accounts#partial_net_product_on_long_term_operation_revenues" fr_pcga="73"/>
89
+ <item-creation item="accounts#other_day_to_day_management_revenues" fr_pcg82="75"/>
90
+ <item-creation item="accounts#participation_financials_revenues" fr_pcg82="761"/>
91
+ <item-creation item="accounts#other_financials_asset_revenues" fr_pcg82="762"/>
92
+ <item-creation item="accounts#other_debt_obligation_financials_revenues" fr_pcg82="763"/>
93
+ <item-creation item="accounts#short_term_investment_financials_revenues" fr_pcg82="764"/>
94
+ <item-creation item="accounts#foreign_exchange_financials_revenues" fr_pcg82="766"/>
95
+ <item-creation item="accounts#short_term_investment_transfer_financials_revenues" fr_pcg82="767"/>
96
+ <item-creation item="accounts#other_financials_revenues" fr_pcg82="768"/>
97
+ <item-creation item="accounts#management_operation_exceptional_revenues" fr_pcg82="771"/>
98
+ <item-creation item="accounts#previous_fiscal_year_exceptional_revenues" fr_pcg82="772"/>
99
+ <item-creation item="accounts#various_exceptional_revenues" fr_pcg82="778"/>
100
+ <item-creation item="accounts#depreciation_revenues" fr_pcg82="78"/>
101
+ <item-creation item="accounts#incorporeal_asset_depreciation_revenues" fr_pcg82="781"/>
102
+ <item-creation item="accounts#financial_asset_depreciation_revenues" fr_pcg82="786"/>
103
+ <item-creation item="accounts#exceptionnal_incorporeal_asset_depreciation_revenues" fr_pcg82="787"/>
104
+ <item-creation item="accounts#tax_depreciation_revenues" fr_pcg82="787"/>
105
+ <item-creation item="accounts#transfer_revenues" fr_pcg82="79"/>
106
+ <item-creation item="accounts#financial_charge_transfer_revenues" fr_pcg82="796"/>
107
+ <item-creation item="accounts#exceptionnal_charge_transfer_revenues" fr_pcg82="797"/>
108
+ </migration>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing tax natures">
3
+ <item-creation item="tax_natures#import_export_vat" computation_method="percentage" deduction_account="deductible_vat" collect_account="collected_vat" fixed_asset_deduction_account="deductible_asset_vat" suffix="6"/>
4
+ <item-change item="tax_natures#reduced_vat" suffix="5"/>
5
+ <item-creation item="tax_natures#eu_vat" computation_method="percentage" deduction_account="deductible_vat" fixed_asset_deduction_account="deductible_asset_vat" collect_account="collected_vat" suffix="2"/>
6
+ <item-creation item="taxes#french_vat_eu" country="fr" nature="eu_vat" started_on="1954-04-10" amount="0.0"/>
7
+ <item-creation item="taxes#french_vat_import_export" country="fr" nature="import_export_vat" started_on="1954-04-10" amount="0.0"/>
8
+ <item-creation item="taxes#portugal_vat_eu" country="pt" nature="eu_vat" started_on="1954-04-10" amount="0.0"/>
9
+ <item-creation item="taxes#portugal_vat_import_export" country="pt" nature="import_export_vat" started_on="1954-04-10" amount="0.0"/>
10
+ <item-creation item="taxes#portugal_vat_normal" country="pt" nature="normal_vat" started_on="1954-04-10" amount="23.0"/>
11
+ <item-creation item="taxes#portugal_vat_reduced" country="pt" nature="intermediate_vat" started_on="1954-04-10" amount="13.0"/>
12
+ <item-creation item="taxes#portugal_vat_particular" country="pt" nature="reduced_vat" started_on="1954-04-10" amount="6.0"/>
13
+ <item-creation item="taxes#portugal_vat_null" country="pt" nature="null_vat" started_on="1954-04-10" amount="0.0"/>
14
+ <item-creation item="taxes#spain_vat_eu" country="es" nature="eu_vat" started_on="1954-04-10" amount="0.0"/>
15
+ <item-creation item="taxes#spain_vat_import_export" country="es" nature="import_export_vat" started_on="1954-04-10" amount="0.0"/>
16
+ <item-creation item="taxes#spain_vat_null" country="es" nature="null_vat" started_on="1954-04-10" amount="0.0"/>
17
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix product nature categories stock movement account">
3
+ <item-change item="product_nature_categories#land_parcel_construction" charge_account="redeemable_land_parcel_construction_assets" product_account="sales_assets_revenues" stock_account="other_materials_stock" purchasable="true" saleable="true" storable="false" pictogram="barn"/>
4
+ <item-change item="product_nature_categories#electronic_equipment" fixed_asset_account="office_equipment_assets" fixed_asset_allocation_account="office_equipment_asset_depreciations" fixed_asset_expenses_account="equipment_depreciations_inputations_expenses" depreciation_percentage="33.0" charge_account="equipment_expenses" product_account="merchandising_revenues" stock_account="stocks" purchasable="true" saleable="true" depreciable="true" storable="true" pictogram="laptop" stock_movement_account="other_supply_stocks_variation" />
5
+ </migration>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add ednotif eu country code">
3
+ <property-creation property="countries.ednotif_eu" type="boolean" default="false"/>
4
+ <item-change item="countries#de" ednotif_eu="true"/>
5
+ <item-change item="countries#at" ednotif_eu="true"/>
6
+ <item-change item="countries#be" ednotif_eu="true"/>
7
+ <item-change item="countries#bg" ednotif_eu="true"/>
8
+ <item-change item="countries#cy" ednotif_eu="true"/>
9
+ <item-change item="countries#dk" ednotif_eu="true"/>
10
+ <item-change item="countries#es" ednotif_eu="true"/>
11
+ <item-change item="countries#ee" ednotif_eu="true"/>
12
+ <item-change item="countries#fi" ednotif_eu="true"/>
13
+ <item-change item="countries#fr" ednotif_eu="true"/>
14
+ <item-change item="countries#gr" ednotif_eu="true"/>
15
+ <item-change item="countries#hu" ednotif_eu="true"/>
16
+ <item-change item="countries#ie" ednotif_eu="true"/>
17
+ <item-change item="countries#it" ednotif_eu="true"/>
18
+ <item-change item="countries#lv" ednotif_eu="true"/>
19
+ <item-change item="countries#lt" ednotif_eu="true"/>
20
+ <item-change item="countries#lu" ednotif_eu="true"/>
21
+ <item-change item="countries#mt" ednotif_eu="true"/>
22
+ <item-change item="countries#nl" ednotif_eu="true"/>
23
+ <item-change item="countries#pl" ednotif_eu="true"/>
24
+ <item-change item="countries#pt" ednotif_eu="true"/>
25
+ <item-change item="countries#ro" ednotif_eu="true"/>
26
+ <item-change item="countries#cz" ednotif_eu="true"/>
27
+ <item-change item="countries#sk" ednotif_eu="true"/>
28
+ <item-change item="countries#si" ednotif_eu="true"/>
29
+ <item-change item="countries#se" ednotif_eu="true"/>
30
+ <item-change item="countries#gb" ednotif_eu="true"/>
31
+ <item-change item="countries#hr" ednotif_eu="true"/>
32
+ <item-change item="countries#ch" ednotif_eu="true"/>
33
+ </migration>