onoma 0.1.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +2 -0
  3. data/README.md +13 -1
  4. data/config/locales/arb.yml +77 -278
  5. data/config/locales/cmn.yml +69 -178
  6. data/config/locales/deu.yml +61 -1098
  7. data/config/locales/eng.yml +3166 -2984
  8. data/config/locales/fra.yml +705 -423
  9. data/config/locales/ita.yml +63 -1153
  10. data/config/locales/jpn.yml +80 -217
  11. data/config/locales/por.yml +63 -960
  12. data/config/locales/spa.yml +70 -601
  13. data/db/migrate/20170904223101_add_cultivable_zone_registry.xml +4 -0
  14. data/db/migrate/20170914083358_add_new_product_nature_variants.xml +14 -0
  15. data/db/migrate/20170927144852_add_kiwi_varieties.xml +7 -0
  16. data/db/migrate/20171106085357_update_account_numbers.xml +431 -0
  17. data/db/migrate/20171212081801_add_fiscal_positions.xml +12 -0
  18. data/db/migrate/20180408190101_add_new_plant_variants.xml +7 -0
  19. data/db/migrate/20180409130101_add_common_crop.xml +4 -0
  20. data/db/migrate/20180418085027_add-hour-counter-indicator.xml +9 -0
  21. data/db/migrate/20180709134310_add_centralizing_field_to_accounts.xml +22 -0
  22. data/db/migrate/20180711093131_review_all_accounts_number_and_fallbacks.xml +431 -0
  23. data/db/migrate/20180806080646_edit_centralizing_field_accounts.xml +17 -0
  24. data/db/migrate/20180814184001_add_missing_categories.xml +12 -0
  25. data/db/migrate/20180907160001_edit_accounts_to_unlock_first_run.xml +21 -0
  26. data/db/migrate/20181004220301_add_journal_ledger.xml +4 -0
  27. data/db/migrate/20181205162401_add_intra_vat.xml +6 -0
  28. data/db/migrate/20181213153405_fix_accounting_systems.xml +7 -0
  29. data/db/migrate/20181217155149_fiscal_position_refers_to_accounting_system.xml +10 -0
  30. data/db/migrate/20181217173101_fiscal_position_reference_typo.xml +4 -0
  31. data/db/migrate/20190315154040_add_suspense_account.xml +4 -0
  32. data/db/migrate/20190326110849_add_asset_fixable_to_product_nature_categories.xml +25 -0
  33. data/db/migrate/20190326135443_change_product_nature_category_cultivable_zone_into_land.xml +21 -0
  34. data/db/migrate/20190329133808_change_land_fixed_assets_account_usage.xml +7 -0
  35. data/db/migrate/20190405120711_delete_land_sales_account_and_assign_land_parcels_sell_revenues_to_land.xml +5 -0
  36. data/db/migrate/20190412071057_add_new_fixed_assets_andn_depreciable_accounts.xml +22 -0
  37. data/db/migrate/20190509092804_add_account_exceptional_depreciations_imputations_expenses_for_fixed_assets.xml +4 -0
  38. data/db/migrate/20190514084753_add_approved_input_volume.xml +9 -0
  39. data/db/migrate/20190520072403_add_new_accounts.xml +58 -0
  40. data/db/migrate/20190521170601_add_missing_taxes.xml +7 -0
  41. data/db/migrate/20190611101014_change_deductible_vat_account.xml +5 -0
  42. data/db/migrate/20190620092151_fix_conflicts_in_new_accounts.xml +6 -0
  43. data/db/migrate/20190625152636_change_mixture_seed_product_nature_variant.xml +4 -0
  44. data/db/migrate/20190718130243_remove_services_expenses.xml +5 -0
  45. data/db/migrate/20190801142431_remove_accounts_from_pcg82.xml +5 -0
  46. data/db/migrate/20190823091727_fix-cubic-meter-per-hectare-symbol.xml +5 -0
  47. data/db/migrate/20190917161215_add_missing_mass_area_density_units.xml +21 -0
  48. data/db/migrate/20190917161216_update_quintal_symbol.xml +4 -0
  49. data/db/migrate/20190917161217_adds_more_info_to_units.xml +133 -0
  50. data/db/migrate/20190918074757_add_new_accounts.xml +8 -0
  51. data/db/migrate/20191001122750_add_accounts_fixed_assets_related.xml +10 -0
  52. data/db/migrate/20191028175001_add_short_balance_sheet.xml +4 -0
  53. data/db/migrate/20191029131921_add_vine_equipments.xml +117 -0
  54. data/db/migrate/20191112132413_remove_roller_from_product_natures.xml +5 -0
  55. data/db/migrate/20200305160358_add_varieties_for_phytosanitary.xml +11 -0
  56. data/db/reference.xml +1170 -900
  57. data/lib/onoma.rb +9 -26
  58. data/lib/onoma/database.rb +1 -1
  59. data/lib/onoma/item.rb +3 -1
  60. data/lib/onoma/migration/actions/item_creation.rb +1 -1
  61. data/lib/onoma/migration/actions/property_creation.rb +1 -1
  62. data/lib/onoma/nomenclature.rb +7 -11
  63. data/lib/onoma/version.rb +1 -1
  64. data/onoma.gemspec +5 -4
  65. metadata +73 -17
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Edit centralizing field accounts">
3
+ <item-change item="accounts#staff_due_remunerations" centralizing="false"/> #421
4
+ <item-change item="accounts#attorneys" centralizing="false"/> #467
5
+ <item-change item="accounts#in_cycle_products_stock" centralizing="false"/> #330
6
+ <item-change item="accounts#in_cycle_services_stock" centralizing="false"/> #340
7
+ <item-change item="accounts#sundry_debtors_and_creditors" centralizing="false"/> #467
8
+ <item-change item="accounts#supply_stock" centralizing="false"/> #301
9
+ <item-change item="accounts#long_time_animal_stock" centralizing="false"/> #310
10
+ <item-change item="accounts#short_time_animal_stock" centralizing="false"/> #320
11
+ <item-change item="accounts#long_cycle_vegetals_stock" centralizing="false"/> #330
12
+ <item-change item="accounts#short_cycle_vegetals_stock" centralizing="false"/> #340
13
+ <item-change item="accounts#plant_derivative_stock" centralizing="false"/> #374
14
+ <item-change item="accounts#animal_derivative_stock" centralizing="false"/> #375
15
+ <item-change item="accounts#processing_products_stock" centralizing="false"/> #376
16
+ <item-change item="accounts#stocks_variation" centralizing="false"/> #603
17
+ </migration>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing categories">
3
+ <item-creation item="product_nature_categories#agricultural_taxe" charge_account="products_specials_taxes" product_account="products_specials_taxes" purchasable="true" saleable="true" pictogram="legal"/>
4
+ <item-creation item="product_natures#crop_taxe" category="agricultural_taxe" variety="service" population_counting="decimal" variable_indicators=""/>
5
+ <item-creation item="product_nature_variants#cereal_taxe" nature="crop_taxe" unit_name="unit"/>
6
+ <item-creation item="product_nature_categories#cooperative_participation" charge_account="cooperative_participation_assets" product_account="cooperative_participation_assets" purchasable="true" saleable="true" pictogram="legal"/>
7
+ <item-creation item="product_natures#cooperative_participation" category="cooperative_participation" variety="service" population_counting="decimal" variable_indicators=""/>
8
+ <item-creation item="product_nature_variants#cooperative_participation" nature="cooperative_participation" unit_name="unit"/>
9
+ <item-creation item="product_nature_categories#equity" charge_account="banks_services_expenses" product_account="other_financials_asset_revenues" purchasable="true" saleable="true" pictogram="legal"/>
10
+ <item-creation item="product_natures#share" category="equity" variety="service" population_counting="decimal" variable_indicators=""/>
11
+ <item-creation item="product_nature_variants#cooperative_share" nature="share" unit_name="unit"/>
12
+ </migration>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Edit accounts to unlock first run">
3
+ <item-change item="product_nature_categories#animal_food" product_account="processing_products_revenues"/>
4
+ <item-change item="product_nature_categories#animal_medicine" product_account="processing_products_revenues"/>
5
+ <item-change item="product_nature_categories#plant_medicine" product_account="residual_products_revenues"/>
6
+ <item-change item="product_nature_categories#biological_auxiliary" product_account="merchandising_revenues"/>
7
+ <item-change item="product_nature_categories#duty_and_taxe" charge_account="government_tax_expenses"/>
8
+ <item-change item="product_nature_categories#electronic_equipment" charge_account="materials_expenses" stock_account="other_materials_stock"/>
9
+ <item-change item="product_nature_categories#loan_interest" charge_account="loans_interests"/>
10
+ <item-change item="product_nature_categories#oenological_product" product_account="merchandising_revenues"/>
11
+ <item-change item="product_nature_categories#office_furniture_equipment" charge_account="office_supply_matter_expenses"/>
12
+ <item-change item="product_nature_categories#other_consumable" product_account="merchandising_revenues"/>
13
+ <item-change item="product_nature_categories#plant" product_account="plant_derivatives_revenues"/>
14
+ <item-change item="product_nature_categories#seed" product_account="plant_derivatives_revenues"/>
15
+ <item-change item="product_nature_categories#small_electronic_equipment" charge_account="materials_expenses"/>
16
+ <item-change item="product_nature_categories#small_equipment" product_account="merchandising_revenues"/>
17
+ <item-change item="product_nature_categories#wine_package_consumable" product_account="merchandising_revenues"/>
18
+ <item-change item="product_nature_categories#worker" product_account="services_revenues"/>
19
+ <item-change item="product_nature_categories#equipment_rent" product_account="services_revenues"/>
20
+ <item-change item="product_nature_categories#rent" product_account="services_revenues"/>
21
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add journal ledger">
3
+ <item-creation item="document_natures#journal_ledger" category="accountancy"/>
4
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add intracommunautary vat">
3
+ <item-creation item="accounts#collected_intra_eu_vat" fr_pcg82="4452" fr_pcga="4452"/>
4
+ <item-creation item="accounts#deductible_intra_eu_vat" fr_pcg82="445662" fr_pcga="445662"/>
5
+ <item-change item="tax_natures#eu_vat" computation_method="percentage" deduction_account="deductible_intra_eu_vat" fixed_asset_deduction_account="deductible_intra_eu_vat" collect_account="collected_vat"/>
6
+ </migration>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix accounting systems">
3
+ <property-creation property="accounting_systems.country" type="item" choices="countries"/>
4
+ <item-change item="accounting_systems#fr_pcg82" country="fr"/>
5
+ <item-change item="accounting_systems#fr_pcga" country="fr"/>
6
+ <item-change item="accounting_systems#pt_snc" country="pt"/>
7
+ </migration>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fiscal position refers to accounting system">
3
+ <property-creation property="fiscal_positions.accounting_system" type="item" choices="accounting_systems"/>
4
+ <item-change item="fiscal_positions#fr_ba_ir" accounting_system="fr_pcga"/>
5
+ <item-change item="fiscal_positions#fr_ba_is" accounting_system="fr_pgca"/>
6
+ <item-change item="fiscal_positions#fr_bic_ir" accounting_system="fr_pcg82"/>
7
+ <item-change item="fiscal_positions#fr_bic_is" accounting_system="fr_pcg82"/>
8
+ <item-change item="fiscal_positions#fr_bnc_ir" accounting_system="fr_pcg82"/>
9
+ <item-change item="fiscal_positions#fr_bnc_is" accounting_system="fr_pcg82"/>
10
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fiscal position reference typo">
3
+ <item-change item="fiscal_positions#fr_ba_is" accounting_system="fr_pcga"/>
4
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add suspense account">
3
+ <item-creation item="accounts#suspense" fr_pcga="471" fr_pcg82="471" />
4
+ </migration>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add asset fixable to product nature categories">
3
+ <property-creation property="product_nature_categories.asset_fixable" type="boolean" default="false" />
4
+
5
+ <item-change item="product_nature_categories#adult_cat" asset_fixable="true"/>
6
+ <item-change item="product_nature_categories#adult_dog" asset_fixable="true"/>
7
+ <item-change item="product_nature_categories#bee_band" asset_fixable="true"/>
8
+ <item-change item="product_nature_categories#building" asset_fixable="true"/>
9
+ <item-change item="product_nature_categories#electronic_equipment" asset_fixable="true"/>
10
+ <item-change item="product_nature_categories#equipment" asset_fixable="true"/>
11
+ <item-change item="product_nature_categories#female_adult_cow" asset_fixable="true"/>
12
+ <item-change item="product_nature_categories#female_adult_pig" asset_fixable="true"/>
13
+ <item-change item="product_nature_categories#female_young_cow" asset_fixable="true"/>
14
+ <item-change item="product_nature_categories#installation" asset_fixable="true"/>
15
+ <item-change item="product_nature_categories#installing_charge" asset_fixable="true"/>
16
+ <item-change item="product_nature_categories#long_time_animal" asset_fixable="true"/>
17
+ <item-change item="product_nature_categories#male_adult_cow" asset_fixable="true"/>
18
+ <item-change item="product_nature_categories#male_adult_pig" asset_fixable="true"/>
19
+ <item-change item="product_nature_categories#male_young_cow" asset_fixable="true"/>
20
+ <item-change item="product_nature_categories#office_furniture_equipment" asset_fixable="true"/>
21
+ <item-change item="product_nature_categories#plant" asset_fixable="true"/>
22
+ <item-change item="product_nature_categories#settlement" asset_fixable="true"/>
23
+ <item-change item="product_nature_categories#young_cat" asset_fixable="true"/>
24
+ <item-change item="product_nature_categories#young_dog" asset_fixable="true"/>
25
+ </migration>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Change product nature category cultivable zone into land">
3
+ <item-creation item="accounts#land_charges" fr_pcga="6752" fr_pcg82="6752"/>
4
+ <item-creation item="accounts#land_sales" fr_pcga="7152" fr_pcg82="7152"/>
5
+ <item-creation item="accounts#land_fixed_assets" fr_pcga="2111" fr_pcg82="2111"/>
6
+
7
+ <item-change
8
+ item="product_nature_categories#cultivable_zone"
9
+ name="land"
10
+ pictogram="land_parcels"
11
+ purchasable="true"
12
+ saleable="true"
13
+ asset_fixable="true"
14
+ depreciable="false"
15
+ charge_account="land_charges"
16
+ product_account="land_sales"
17
+ fixed_asset_account="land_tangible_fixed_assets"
18
+ />
19
+
20
+ <item-change item="product_natures#cultivable_zone" category="land"/>
21
+ </migration>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Change land fixed assets account usage">
3
+ <item-change
4
+ item="product_nature_categories#land"
5
+ fixed_asset_account="land_fixed_assets"
6
+ />
7
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Delete land sales account and assign land parcels sell revenues to land">
3
+ <item-change item="product_nature_categories#land" product_account="land_parcel_sell_revenues"/>
4
+ <item-removal item="accounts#land_sales"/>
5
+ </migration>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add new fixed assets andn depreciable accounts">
3
+ <item-creation item="accounts#commercial_property" fr_pcga="207" fr_pcg82="207"/>
4
+ <item-creation item="accounts#infrastructure_works" fr_pcga="2138" fr_pcg82="2138"/>
5
+ <item-creation item="accounts#fixtures_and_fittings_for_equipment_and_tools" fr_pcga="2157" fr_pcg82="2157"/>
6
+ <item-creation item="accounts#improvement_of_commercial_property" fr_pcga="217" fr_pcg82="217"/>
7
+ <item-creation item="accounts#other_immobilized_plants" fr_pcga="247" fr_pcg82="247"/>
8
+ <item-creation item="accounts#establishment_charge_assets_amortization" fr_pcga="2801" fr_pcg82="2801"/>
9
+ <item-creation item="accounts#research_and_development_charge_assets_amortization" fr_pcga="2803" fr_pcg82="2803"/>
10
+ <item-creation item="accounts#brands_and_patents_assets_amortization" fr_pcga="2805" fr_pcg82="2805"/>
11
+ <item-creation item="accounts#commercial_property_amortization" fr_pcga="2807" fr_pcg82="2807"/>
12
+ <item-creation item="accounts#building_assets_amortization" fr_pcga="28131" fr_pcg82="28131"/>
13
+ <item-creation item="accounts#general_installation_assets_amortization" fr_pcga="28135" fr_pcg82="28135"/>
14
+ <item-creation item="accounts#infrastructure_works_amortization" fr_pcga="28138" fr_pcg82="28138"/>
15
+ <item-creation item="accounts#technical_installation_on_own_land_parcel_assets_amortization" fr_pcga="28151" fr_pcg82="28151"/>
16
+ <item-creation item="accounts#technical_installation_on_other_land_parcel_assets_amortization" fr_pcga="28152" fr_pcg82="28152"/>
17
+ <item-creation item="accounts#equipment_assets_amortization" fr_pcga="28154" fr_pcg82="28154"/>
18
+ <item-creation item="accounts#tools_assets_amortization" fr_pcga="28155" fr_pcg82="28155"/>
19
+ <item-creation item="accounts#fixtures_and_fittings_for_equipment_and_tools_amortization" fr_pcga="28157" fr_pcg82="28157"/>
20
+ <item-creation item="accounts#improvement_of_commercial_property_amortization" fr_pcga="2817" fr_pcg82="2817"/>
21
+ <item-creation item="accounts#other_immobilized_plants_amortization" fr_pcga="2847" fr_pcg82="2847"/>
22
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add account exceptional depreciations imputations expenses for fixed assets">
3
+ <item-creation item="accounts#exceptional_depreciations_imputations_expenses_for_fixed_assets" fr_pcga="6871" fr_pcg82="6871"/>
4
+ </migration>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add approved input volume">
3
+ <item-creation item="indicators#approved_input_volume" datatype="measure" unit="liter_per_hectare"/>
4
+ <item-change item="product_natures#foliar_spray" variable_indicators="approved_input_volume, untreated_zone_length, wait_before_entering_period, wait_before_harvest_period"/>
5
+ <item-change item="product_natures#fungicide" variable_indicators="approved_input_volume, untreated_zone_length, wait_before_entering_period, wait_before_harvest_period"/>
6
+ <item-change item="product_natures#herbicide" variable_indicators="approved_input_volume, untreated_zone_length, wait_before_entering_period, wait_before_harvest_period"/>
7
+ <item-change item="product_natures#insecticide" variable_indicators="approved_input_volume, untreated_zone_length, wait_before_entering_period, wait_before_harvest_period"/>
8
+ <item-change item="product_natures#molluscicide" variable_indicators="approved_input_volume, untreated_zone_length, wait_before_entering_period, wait_before_harvest_period"/>
9
+ </migration>
@@ -0,0 +1,58 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add new accounts">
3
+ <item-change item="accounts#services_expenses" fr_pcg82="604"/>
4
+ <item-creation item="accounts#animal_expenses" fr_pcga="604"/>
5
+
6
+ <item-change item="accounts#animals_making_expenses_expenses" name="animals_making_expenses" fr_pcga="6054"/>
7
+
8
+ <item-change item="accounts#land_parcel_construction_depreciations_inputations_expenses" name="corporeal_depreciations_inputations_expenses" fr_pcga="68112" fr_pcg82="68112"/>
9
+
10
+ <item-change item="accounts#animals_depreciations_inputations_expenses" name="corporeal_depreciations_inputations_expenses_living_goods" fr_pcga="68114"/>
11
+
12
+ <item-creation item="accounts#staff_supply_expenses" fr_pcga="6025"/>
13
+
14
+ <item-creation item="accounts#packaging_stocks_variation" fr_pcga="60317"/>
15
+
16
+ <item-creation item="accounts#workshop_and_warehouse_supplies_stocks_variation" fr_pcga="60323"/>
17
+
18
+ <item-creation item="accounts#office_supply_matter_stocks_variation" fr_pcga="60324"/>
19
+ <item-creation item="accounts#staff_supply_stocks_variation" fr_pcga="60325"/>
20
+ <item-creation item="accounts#materials_stocks_variation" fr_pcga="60326"/>
21
+ <item-creation item="accounts#other_consumable_matter_stocks_variation" fr_pcga="60327"/>
22
+ <item-creation item="accounts#raw_material_stocks_variation" fr_pcga="60328"/>
23
+
24
+ <item-creation item="accounts#maintenances_consumables_stocks_variation" fr_pcga="60322"/>
25
+
26
+ <item-creation item="accounts#workshop_and_warehouse_supplies_expenses" fr_pcga="6023"/>
27
+
28
+ <item-change item="accounts#electricity_expenses" fr_pcga="6063"/>
29
+ <item-change item="accounts#little_office_equipment_expenses" fr_pcga="6066" fr_pcg82="6063"/>
30
+
31
+ <item-creation item="accounts#products_specials_taxes_for_plant_products" fr_pcga="6341"/>
32
+ <item-creation item="accounts#products_specials_taxes_for_animal_products" fr_pcga="6342"/>
33
+ <item-creation item="accounts#products_specials_taxes_for_processed_products" fr_pcga="6343"/>
34
+ <item-creation item="accounts#products_specials_taxes_for_animals" fr_pcga="6344"/>
35
+ <item-creation item="accounts#permanent_staff_salary" fr_pcga="64111"/>
36
+ <item-creation item="accounts#temporary_staff_salary" fr_pcga="64115"/>
37
+
38
+ <item-creation item="accounts#intangible_fixed_assets_revenues" fr_pcga="7751" fr_pcg82="7751"/>
39
+
40
+ <item-change item="accounts#land_parcel_sell_revenues" name="tangible_fixed_assets_revenues_without_livestock" fr_pcga="7752" fr_pcg82="7752"/>
41
+
42
+ <item-creation item="accounts#tangible_fixed_assets_revenues_livestock" fr_pcga="7754"/>
43
+ <item-creation item="accounts#office_supplies_stock" fr_pcga="3024"/>
44
+ <item-creation item="accounts#packaging_stock" fr_pcga="3017"/>
45
+
46
+ <item-creation item="accounts#licenses_revenues" fr_pcga="751" fr_pcg82="751"/>
47
+
48
+ <item-creation item="accounts#insurance_compensations" fr_pcga="742"/>
49
+ <item-change item="accounts#associates_salary" fr_pcga="6412" fr_pcg82="6413"/>
50
+
51
+ <item-creation item="accounts#paid_vacation" fr_pcga="6415" fr_pcg82="6412"/>
52
+
53
+ <item-creation item="accounts#managing_associates_salary" fr_pcga="6413"/>
54
+ <item-creation item="accounts#animal_rent_expenses" fr_pcga="6134"/>
55
+ <item-creation item="accounts#other_rent_expenses" fr_pcga="6138"/>
56
+
57
+ <item-creation item="accounts#packaging_rent_expenses" fr_pcga="6136" fr_pcg82="6136"/>
58
+ </migration>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add missing taxes">
3
+ <item-creation item="product_natures#animal_taxe" category="agricultural_taxe" variety="service" population_counting="decimal" variable_indicators=""/>
4
+ <item-creation item="product_natures#animal_product_taxe" category="agricultural_taxe" variety="service" population_counting="decimal" variable_indicators=""/>
5
+ <item-creation item="product_natures#processed_product_taxe" category="agricultural_taxe" variety="service" population_counting="decimal" variable_indicators=""/>
6
+ <item-creation item="product_nature_variants#milk_taxe" nature="animal_product_taxe" unit_name="unit"/>
7
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Change deductible vat account">
3
+ <item-change item="accounts#deductible_vat" name="deductible_products_and_services_vat"/>
4
+ <item-change item="accounts#enterprise_deductible_vat" name="deductible_vat"/>
5
+ </migration>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix conflicts in new accounts">
3
+ <item-removal item="accounts#bonus_staff_expenses"/>
4
+ <item-change item="accounts#electricity_expenses" fr_pcga="6063" fr_pcg82="6061"/>
5
+ <item-change item="product_nature_categories#bonus_staff_expense" charge_account="managing_associates_salary"/>
6
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Change mixture seed product nature variant">
3
+ <item-change item="product_nature_variants#mixture_seed" derivative_of="plant"/>
4
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Remove services expenses">
3
+ <item-removal item="accounts#services_expenses"/>
4
+ <item-change item="accounts#making_services_expenses" fr_pcg82="604"/>
5
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Remove accounts from pcg82">
3
+ <item-change item="accounts#adult_animal_expenses" fr_pcga="6041" fr_pcg82="NONE"/>
4
+ <item-change item="accounts#other_animal_expenses" fr_pcga="6045" fr_pcg82="NONE"/>
5
+ </migration>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Fix-cubic-meter-per-hectare-symbol">
3
+ <item-change item="units#cubic_meter_per_hectare" symbol="m&#xB3;/ha"/>
4
+ </migration>
5
+
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add units">
3
+ <item-creation item="units#gram_per_acre" dimension="mass_area_density" symbol="g/acre" a="0.00000024710538146" />
4
+ <item-creation item="units#gram_per_are" dimension="mass_area_density" symbol="g/a" a="0.00001" />
5
+ <item-creation item="units#gram_per_hectare" dimension="mass_area_density" symbol="g/ha" a="0.0000001" />
6
+ <item-creation item="units#gram_per_square_centimeter" dimension="mass_area_density" symbol="g/cm&#xB2;" a="10.0" />
7
+ <item-creation item="units#kilogram_per_acre" dimension="mass_area_density" symbol="kg/acre" a="0.00024710538146" />
8
+ <item-creation item="units#kilogram_per_are" dimension="mass_area_density" symbol="kg/a" a="0.01" />
9
+ <item-creation item="units#kilogram_per_square_centimeter" dimension="mass_area_density" symbol="kg/cm&#xB2;" a="10000.0" />
10
+ <item-creation item="units#quintal_per_acre" dimension="mass_area_density" symbol="qt/acre" a="0.024710538146" />
11
+ <item-creation item="units#quintal_per_are" dimension="mass_area_density" symbol="qt/a" a="1.0" />
12
+ <item-creation item="units#quintal_per_square_centimeter" dimension="mass_area_density" symbol="qt/cm&#xB2;" a="1000000.0" />
13
+ <item-creation item="units#quintal_per_square_meter" dimension="mass_area_density" symbol="qt/m&#xB2;" a="100.0" />
14
+ <item-creation item="units#ton_per_acre" dimension="mass_area_density" symbol="t/acre" a="0.24710538146" />
15
+ <item-creation item="units#ton_per_are" dimension="mass_area_density" symbol="t/a" a="10.0" />
16
+ <item-creation item="units#ton_per_square_centimeter" dimension="mass_area_density" symbol="t/cm" a="10000000.0" />
17
+ <item-creation item="units#ton_per_square_meter" dimension="mass_area_density" symbol="t/m&#xB2;" a="1000.0" />
18
+ <item-creation item="units#thousand_per_square_meter" dimension="surface_area_density" symbol="k./m&#xB2;" a="1000.0" />
19
+ <item-creation item="units#cubic_meter_per_square_meter" dimension="volume_area_density" symbol="m&#xB3;/m&#xB2;" a="1.0" />
20
+ <item-creation item="units#hectoliter_per_square_meter" dimension="volume_area_density" symbol="hl/m&#xB2;" a="0.1" />
21
+ </migration>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Update quintal symbol">
3
+ <item-change item="units#quintal" symbol="q"/>
4
+ </migration>
@@ -0,0 +1,133 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Adds more info to units">
3
+ <property-creation property="units.base_dimension" type="string"/>
4
+ <property-creation property="units.repartition_dimension" type="item" choices="strings"/>
5
+ <property-creation property="units.base_unit" type="item" choices="units"/>
6
+ <property-creation property="units.repartition_unit" type="item" choices="units"/>
7
+
8
+ <item-change item="units#acre" base_unit="acre" base_dimension="surface_area" />
9
+ <item-change item="units#ampere" base_unit="ampere" base_dimension="electric_current" />
10
+ <item-change item="units#are" base_unit="are" base_dimension="surface_area" />
11
+ <item-change item="units#bar" base_unit="bar" base_dimension="pressure" />
12
+ <item-change item="units#billion" base_unit="billion" base_dimension="none" />
13
+ <item-change item="units#billion_per_gram" base_unit="billion" base_dimension="none" repartition_unit="gram" repartition_dimension="mass" />
14
+ <item-change item="units#billionth" base_unit="billionth" base_dimension="none" />
15
+ <item-change item="units#candela" base_unit="candela" base_dimension="luminous_intensity" />
16
+ <item-change item="units#celsius" base_unit="celsius" base_dimension="temperature" />
17
+ <item-change item="units#centiliter" base_unit="centiliter" base_dimension="volume" />
18
+ <item-change item="units#centiliter_per_hectoliter" base_unit="centiliter" base_dimension="volume" repartition_unit="hectoliter" repartition_dimension="volume" />
19
+ <item-change item="units#centiliter_per_liter" base_unit="centiliter" base_dimension="volume" repartition_unit="liter" repartition_dimension="volume" />
20
+ <item-change item="units#centimeter" base_unit="centimeter" base_dimension="distance" />
21
+ <item-change item="units#centimole" base_unit="centimole" base_dimension="amount_of_substance" />
22
+ <item-change item="units#centimole_per_kilogram" base_unit="centimole" base_dimension="amount_of_substance" repartition_unit="kilogram" repartition_dimension="mass" />
23
+ <item-change item="units#cubic_centimeter" base_unit="cubic_centimeter" base_dimension="volume" />
24
+ <item-change item="units#cubic_meter" base_unit="cubic_meter" base_dimension="volume" />
25
+ <item-change item="units#cubic_meter_per_hectare" base_unit="cubic_meter" base_dimension="volume" repartition_unit="hectare" repartition_dimension="surface_area" />
26
+ <item-change item="units#cubic_meter_per_hour" base_unit="cubic_meter" base_dimension="volume" repartition_unit="hour" repartition_dimension="time" />
27
+ <item-change item="units#cubic_meter_per_square_meter" base_unit="cubic_meter" base_dimension="volume" repartition_unit="square_meter" repartition_dimension="surface_area" />
28
+ <item-change item="units#day" base_unit="day" base_dimension="time" />
29
+ <item-change item="units#degree" base_unit="degree" base_dimension="angle" />
30
+ <item-change item="units#dozen" base_unit="dozen" base_dimension="none" />
31
+ <item-change item="units#english_horsepower" base_unit="english_horsepower" base_dimension="power" />
32
+ <item-change item="units#farenheit" base_unit="farenheit" base_dimension="temperature" />
33
+ <item-change item="units#french_horsepower" base_unit="french_horsepower" base_dimension="power" />
34
+ <item-change item="units#gradian" base_unit="gradian" base_dimension="angle" />
35
+ <item-change item="units#gram" base_unit="gram" base_dimension="mass" />
36
+ <item-change item="units#gram_per_acre" base_unit="gram" base_dimension="mass" repartition_unit="acre" repartition_dimension="surface_area" />
37
+ <item-change item="units#gram_per_are" base_unit="gram" base_dimension="mass" repartition_unit="are" repartition_dimension="surface_area" />
38
+ <item-change item="units#gram_per_hectare" base_unit="gram" base_dimension="mass" repartition_unit="hectare" repartition_dimension="surface_area" />
39
+ <item-change item="units#gram_per_hectoliter" base_unit="gram" base_dimension="mass" repartition_unit="hectoliter" repartition_dimension="volume" />
40
+ <item-change item="units#gram_per_kilogram" base_unit="gram" base_dimension="mass" repartition_unit="kilogram" repartition_dimension="mass" />
41
+ <item-change item="units#gram_per_liter" base_unit="gram" base_dimension="mass" repartition_unit="liter" repartition_dimension="volume" />
42
+ <item-change item="units#gram_per_square_centimeter" base_unit="gram" base_dimension="mass" repartition_unit="square_centimeter" repartition_dimension="surface_area" />
43
+ <item-change item="units#gram_per_square_meter" base_unit="gram" base_dimension="mass" repartition_unit="square_meter" repartition_dimension="surface_area" />
44
+ <item-change item="units#hectare" base_unit="hectare" base_dimension="surface_area" />
45
+ <item-change item="units#hectare_per_hour" base_unit="hectare" base_dimension="surface_area" repartition_unit="hour" repartition_dimension="time" />
46
+ <item-change item="units#hectoliter" base_unit="hectoliter" base_dimension="volume" />
47
+ <item-change item="units#hectoliter_per_hectare" base_unit="hectoliter" base_dimension="volume" repartition_unit="hectare" repartition_dimension="surface_area" />
48
+ <item-change item="units#hectoliter_per_square_meter" base_unit="hectoliter" base_dimension="volume" repartition_unit="square_meter" repartition_dimension="surface_area" />
49
+ <item-change item="units#hectopascal" base_unit="hectopascal" base_dimension="pressure" />
50
+ <item-change item="units#hour" base_unit="hour" base_dimension="time" />
51
+ <item-change item="units#hundred" base_unit="hundred" base_dimension="none" />
52
+ <item-change item="units#joule" base_unit="joule" base_dimension="energy" />
53
+ <item-change item="units#kelvin" base_unit="kelvin" base_dimension="temperature" />
54
+ <item-change item="units#kilogram" base_unit="kilogram" base_dimension="mass" />
55
+ <item-change item="units#kilogram_per_acre" base_unit="kilogram" base_dimension="mass" repartition_unit="acre" repartition_dimension="surface_area" />
56
+ <item-change item="units#kilogram_per_are" base_unit="kilogram" base_dimension="mass" repartition_unit="are" repartition_dimension="surface_area" />
57
+ <item-change item="units#kilogram_per_day" base_unit="kilogram" base_dimension="mass" repartition_unit="day" repartition_dimension="time" />
58
+ <item-change item="units#kilogram_per_hectare" base_unit="kilogram" base_dimension="mass" repartition_unit="hectare" repartition_dimension="surface_area" />
59
+ <item-change item="units#kilogram_per_hectoliter" base_unit="kilogram" base_dimension="mass" repartition_unit="hectoliter" repartition_dimension="volume" />
60
+ <item-change item="units#kilogram_per_liter" base_unit="kilogram" base_dimension="mass" repartition_unit="liter" repartition_dimension="volume" />
61
+ <item-change item="units#kilogram_per_second" base_unit="kilogram" base_dimension="mass" repartition_unit="second" repartition_dimension="time" />
62
+ <item-change item="units#kilogram_per_square_centimeter" base_unit="kilogram" base_dimension="mass" repartition_unit="square_centimeter" repartition_dimension="surface_area" />
63
+ <item-change item="units#kilogram_per_square_meter" base_unit="kilogram" base_dimension="mass" repartition_unit="square_meter" repartition_dimension="surface_area" />
64
+ <item-change item="units#kilometer" base_unit="kilometer" base_dimension="distance" />
65
+ <item-change item="units#kilometer_per_hour" base_unit="kilometer" base_dimension="distance" repartition_unit="hour" repartition_dimension="time" />
66
+ <item-change item="units#kilometer_per_second" base_unit="kilometer" base_dimension="distance" repartition_unit="second" repartition_dimension="time" />
67
+ <item-change item="units#kilopascal" base_unit="kilopascal" base_dimension="pressure" />
68
+ <item-change item="units#kilowatt" base_unit="kilowatt" base_dimension="power" />
69
+ <item-change item="units#kilowatt_hour" base_unit="kilowatt_hour" base_dimension="energy" />
70
+ <item-change item="units#liter" base_unit="liter" base_dimension="volume" />
71
+ <item-change item="units#liter_per_hectare" base_unit="liter" base_dimension="volume" repartition_unit="hectare" repartition_dimension="surface_area" />
72
+ <item-change item="units#liter_per_hour" base_unit="liter" base_dimension="volume" repartition_unit="hour" repartition_dimension="time" />
73
+ <item-change item="units#liter_per_minute" base_unit="liter" base_dimension="volume" repartition_unit="minute" repartition_dimension="time" />
74
+ <item-change item="units#liter_per_square_meter" base_unit="liter" base_dimension="volume" repartition_unit="square_meter" repartition_dimension="surface_area" />
75
+ <item-change item="units#mass_percent" base_unit="mass_percent" base_dimension="none" />
76
+ <item-change item="units#megawatt" base_unit="megawatt" base_dimension="power" />
77
+ <item-change item="units#meter" base_unit="meter" base_dimension="distance" />
78
+ <item-change item="units#meter_per_second" base_unit="meter" base_dimension="distance" repartition_unit="second" repartition_dimension="time" />
79
+ <item-change item="units#microgram" base_unit="microgram" base_dimension="mass" />
80
+ <item-change item="units#microgram_per_liter" base_unit="microgram" base_dimension="mass" repartition_unit="liter" repartition_dimension="volume" />
81
+ <item-change item="units#milliampere" base_unit="milliampere" base_dimension="electric_current" />
82
+ <item-change item="units#milliequivalent" base_unit="milliequivalent" base_dimension="amount_of_substance" />
83
+ <item-change item="units#milliequivalent_per_hundred_gram" base_unit="milliequivalent" base_dimension="amount_of_substance" repartition_unit="hundred_gram" />
84
+ <item-change item="units#milligram" base_unit="milligram" base_dimension="mass" />
85
+ <item-change item="units#milligram_per_kilogram" base_unit="milligram" base_dimension="mass" repartition_unit="kilogram" repartition_dimension="mass" />
86
+ <item-change item="units#milligram_per_liter" base_unit="milligram" base_dimension="mass" repartition_unit="liter" repartition_dimension="volume" />
87
+ <item-change item="units#milliliter" base_unit="milliliter" base_dimension="volume" />
88
+ <item-change item="units#milliliter_per_liter" base_unit="milliliter" base_dimension="volume" repartition_unit="liter" repartition_dimension="volume" />
89
+ <item-change item="units#millimeter" base_unit="millimeter" base_dimension="distance" />
90
+ <item-change item="units#millimeter_per_hour" base_unit="millimeter" base_dimension="distance" repartition_unit="hour" repartition_dimension="time" />
91
+ <item-change item="units#million" base_unit="million" base_dimension="none" />
92
+ <item-change item="units#million_per_hectare" base_unit="million" base_dimension="none" repartition_unit="hectare" repartition_dimension="surface_area" />
93
+ <item-change item="units#million_per_liter" base_unit="million" base_dimension="none" repartition_unit="liter" repartition_dimension="volume" />
94
+ <item-change item="units#millionth" base_unit="millionth" base_dimension="none" />
95
+ <item-change item="units#millisecond" base_unit="millisecond" base_dimension="time" />
96
+ <item-change item="units#minute" base_unit="minute" base_dimension="time" />
97
+ <item-change item="units#mole" base_unit="mole" base_dimension="amount_of_substance" />
98
+ <item-change item="units#mole_per_kilogram" base_unit="mole" base_dimension="amount_of_substance" repartition_unit="kilogram" repartition_dimension="mass" />
99
+ <item-change item="units#parts_per_million" base_unit="parts" base_dimension="" repartition_unit="million" repartition_dimension="none" />
100
+ <item-change item="units#pascal" base_unit="pascal" base_dimension="pressure" />
101
+ <item-change item="units#percent" base_unit="percent" base_dimension="none" />
102
+ <item-change item="units#quintal" base_unit="quintal" base_dimension="mass" />
103
+ <item-change item="units#quintal_per_acre" base_unit="quintal" base_dimension="mass" repartition_unit="acre" repartition_dimension="surface_area" />
104
+ <item-change item="units#quintal_per_are" base_unit="quintal" base_dimension="mass" repartition_unit="are" repartition_dimension="surface_area" />
105
+ <item-change item="units#quintal_per_hectare" base_unit="quintal" base_dimension="mass" repartition_unit="hectare" repartition_dimension="surface_area" />
106
+ <item-change item="units#quintal_per_square_centimeter" base_unit="quintal" base_dimension="mass" repartition_unit="square_centimeter" repartition_dimension="surface_area" />
107
+ <item-change item="units#quintal_per_square_meter" base_unit="quintal" base_dimension="mass" repartition_unit="square_meter" repartition_dimension="surface_area" />
108
+ <item-change item="units#radian" base_unit="radian" base_dimension="angle" />
109
+ <item-change item="units#second" base_unit="second" base_dimension="time" />
110
+ <item-change item="units#square_centimeter" base_unit="square_centimeter" base_dimension="surface_area" />
111
+ <item-change item="units#square_meter" base_unit="square_meter" base_dimension="surface_area" />
112
+ <item-change item="units#thousand" base_unit="thousand" base_dimension="none" />
113
+ <item-change item="units#thousand_per_hectare" base_unit="thousand" base_dimension="none" repartition_unit="hectare" repartition_dimension="surface_area" />
114
+ <item-change item="units#thousand_per_hectogram" base_unit="thousand" base_dimension="none" repartition_unit="hectogram" />
115
+ <item-change item="units#thousand_per_kilogram" base_unit="thousand" base_dimension="none" repartition_unit="kilogram" repartition_dimension="mass" />
116
+ <item-change item="units#thousand_per_liter" base_unit="thousand" base_dimension="none" repartition_unit="liter" repartition_dimension="volume" />
117
+ <item-change item="units#thousand_per_milliliter" base_unit="thousand" base_dimension="none" repartition_unit="milliliter" repartition_dimension="volume" />
118
+ <item-change item="units#thousand_per_square_meter" base_unit="thousand" base_dimension="none" repartition_unit="square_meter" repartition_dimension="surface_area" />
119
+ <item-change item="units#thousandth" base_unit="thousandth" base_dimension="none" />
120
+ <item-change item="units#ton" base_unit="ton" base_dimension="mass" />
121
+ <item-change item="units#ton_per_acre" base_unit="ton" base_dimension="mass" repartition_unit="acre" repartition_dimension="surface_area" />
122
+ <item-change item="units#ton_per_are" base_unit="ton" base_dimension="mass" repartition_unit="are" repartition_dimension="surface_area" />
123
+ <item-change item="units#ton_per_hectare" base_unit="ton" base_dimension="mass" repartition_unit="hectare" repartition_dimension="surface_area" />
124
+ <item-change item="units#ton_per_square_centimeter" base_unit="ton" base_dimension="mass" repartition_unit="square_centimeter" repartition_dimension="surface_area" />
125
+ <item-change item="units#ton_per_square_meter" base_unit="ton" base_dimension="mass" repartition_unit="square_meter" repartition_dimension="surface_area" />
126
+ <item-change item="units#unity" base_unit="unity" base_dimension="none" />
127
+ <item-change item="units#unity_per_hectare" base_unit="unity" base_dimension="none" repartition_unit="hectare" repartition_dimension="surface_area" />
128
+ <item-change item="units#unity_per_kilogram" base_unit="unity" base_dimension="none" repartition_unit="kilogram" repartition_dimension="mass" />
129
+ <item-change item="units#unity_per_liter" base_unit="unity" base_dimension="none" repartition_unit="liter" repartition_dimension="volume" />
130
+ <item-change item="units#unity_per_square_meter" base_unit="unity" base_dimension="none" repartition_unit="square_meter" repartition_dimension="surface_area" />
131
+ <item-change item="units#watt" base_unit="watt" base_dimension="power" />
132
+ <item-change item="units#watt_per_square_meter" base_unit="watt" base_dimension="power" repartition_unit="square_meter" repartition_dimension="surface_area" />
133
+ </migration>