From 41f85f9898cabb3d30925a69e20c6bf8e5868ef5 Mon Sep 17 00:00:00 2001 From: Matt Marcha Date: Fri, 27 Sep 2024 17:01:03 -1000 Subject: [PATCH] Define module data --- estate/__manifest__.py | 5 ++ estate/data/estate.property.type.csv | 5 ++ estate/demo/estate_property.xml | 66 +++++++++++++++++++++++++++ estate/demo/estate_property_offer.xml | 39 ++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 estate/data/estate.property.type.csv create mode 100644 estate/demo/estate_property.xml create mode 100644 estate/demo/estate_property_offer.xml diff --git a/estate/__manifest__.py b/estate/__manifest__.py index 840d0f6..10432b5 100644 --- a/estate/__manifest__.py +++ b/estate/__manifest__.py @@ -16,6 +16,11 @@ 'views/res_users_views.xml', 'views/estate_menus.xml', 'security/ir.model.access.csv', + 'data/estate.property.type.csv', + ], + 'demo':[ + 'demo/estate_property.xml', + 'demo/estate_property_offer.xml', ], 'license': 'AGPL-3', } \ No newline at end of file diff --git a/estate/data/estate.property.type.csv b/estate/data/estate.property.type.csv new file mode 100644 index 0000000..bd7e020 --- /dev/null +++ b/estate/data/estate.property.type.csv @@ -0,0 +1,5 @@ +id,name +property_type_residential,Residential +property_type_commercial,Commercial +property_type_industrial,Industrial +property_type_land,Land \ No newline at end of file diff --git a/estate/demo/estate_property.xml b/estate/demo/estate_property.xml new file mode 100644 index 0000000..7c46a06 --- /dev/null +++ b/estate/demo/estate_property.xml @@ -0,0 +1,66 @@ + + + + + Big Villa + + new + A nice a big villa + 12345 + 2020-02-02 + 1600000.00 + 6 + 100 + 4 + True + True + 100000 + south + + + + Trailer home + + cancelled + Home in a trailer park + 54321 + 1970-01-01 + 100000.00 + 120000.00 + 1 + 10 + 4 + False + + + + Cute Hutt + + new + A few logs stacked in a tree, in the middle of a huge land for sale + 04700 + 1988-05-16 + 80000.00 + 1 + 5 + 3 + False + True + 500000 + north + + + + + \ No newline at end of file diff --git a/estate/demo/estate_property_offer.xml b/estate/demo/estate_property_offer.xml new file mode 100644 index 0000000..b0d5f61 --- /dev/null +++ b/estate/demo/estate_property_offer.xml @@ -0,0 +1,39 @@ + + + + + + 10000 + 14 + + + + + + + 1500000 + 14 + + + + + + + 1500001 + 14 + + + + + + + + + + + + + + + +