Skip to content

Commit

Permalink
[16.0][MIG] Migrate realestate_estate
Browse files Browse the repository at this point in the history
  • Loading branch information
curonny committed May 21, 2024
1 parent 0fc2e82 commit 53426e4
Show file tree
Hide file tree
Showing 24 changed files with 2,812 additions and 0 deletions.
81 changes: 81 additions & 0 deletions realestate_estate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
=================
Realestate Estate
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:18d99736753d76e4714d005187a5a0451b3d70ab139355a143b85ceba38e8467
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fvertical--realestate-lightgray.png?logo=github
:target: https://github.com/OCA/vertical-realestate/tree/16.0/realestate_estate
:alt: OCA/vertical-realestate
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/vertical-realestate-16-0/vertical-realestate-16-0-realestate_estate
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/vertical-realestate&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Module to manage Real Estates.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/vertical-realestate/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/vertical-realestate/issues/new?body=module:%20realestate_estate%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~

* Denis Roussel <denis.roussel@acsone.eu>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/vertical-realestate <https://github.com/OCA/vertical-realestate/tree/16.0/realestate_estate>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions realestate_estate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions realestate_estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2020 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Realestate Estate",
"summary": """
Adds the estate management to realestate""",
"version": "13.0.1.0.1",
"license": "AGPL-3",
"development_status": "Alpha",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/vertical-realestate",
"depends": ["base", "mail", "contacts"],
"data": [
"security/security.xml",
"security/real_estate_type.xml",
"views/menus.xml",
"views/real_estate_type.xml",
"security/real_estate.xml",
"views/realestate_estate.xml",
"data/ir_sequence.xml",
"data/real_estate_type.xml",
"demo/real_estate.xml",
],
"demo": ["demo/real_estate.xml"],
}
14 changes: 14 additions & 0 deletions realestate_estate/data/ir_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 ACSONE SA/NV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="sequence_real_estate" model="ir.sequence">
<field name="name">Real Estate</field>
<field name="code">real.estate</field>
<field name="prefix">RE/</field>
<field name="padding">5</field>
<field name="number_next">1</field>
<field name="number_increment">1</field>
<field name="company_id" eval="False" />
</record>
</odoo>
21 changes: 21 additions & 0 deletions realestate_estate/data/real_estate_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 ACSONE SA/NV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record model="real.estate.type" id="real_estate_type_house">
<field name="name">House</field>
<field name="code">house</field>
</record>
<record model="real.estate.type" id="real_estate_type_flat">
<field name="name">Flat</field>
<field name="code">flat</field>
</record>
<record model="real.estate.type" id="real_estate_type_office">
<field name="name">Office</field>
<field name="code">office</field>
</record>
<record model="real.estate.type" id="real_estate_type_land">
<field name="name">Land</field>
<field name="code">land</field>
</record>
</odoo>
19 changes: 19 additions & 0 deletions realestate_estate/demo/real_estate.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 ACSONE SA/NV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">

<record model="real.estate" id="real_estate_flat_1">
<field name="name">A beautiful flat</field>
<field name="type_id" ref="real_estate_type_flat" />
<field
name="short_description"
>A beautiful flat located in a calm suburb.</field>
<field name="description">
Number of sleeping rooms: 3
Number of bathrooms: 1
Open Kitchen: 1
</field>
</record>

</odoo>
Loading

0 comments on commit 53426e4

Please sign in to comment.