Conversation
5bea8cf to
f0b55e5
Compare
Chapter - 5 - Done Actions and Menus
Learned using
|
Chapter 5 done
|
8b0f9c3 to
c2e6a0c
Compare
mash-odoo
left a comment
There was a problem hiding this comment.
Hello!
Thank you for your work..
Here are some suggestions and questions..
Co-authored-by: mash-odoo <124269532+mash-odoo@users.noreply.github.com>
Co-authored-by: mash-odoo <124269532+mash-odoo@users.noreply.github.com>
84323a2 to
230f419
Compare
…tation and the garden area as default
Chapter 8 COMPLETED |
f249e78 to
924b118
Compare
… on the estate after sold and ccancel
b1cd4e1 to
7814cfc
Compare
…ions in the estate property when accepting the offer and rejecting a one and in a combination - meeting the business use case, and also added the sold and cancel button in the estate property view
…sapear logic, - widget, -invisible logic, accept offer and reject all automatically , - replace the new function with a redundant function from the offer.py in the property.py
…mo data and linked tags and type to the property, as per the meeting
mash-odoo
left a comment
There was a problem hiding this comment.
Hello!
Thank you for your work.
Please keep in mind the coding guidelines. Do not leave unnecessary lines and spaces in the file. Keep a check on a proper indentation.
It's better to review a code if the readability is good otherwise it becomes difficult to understand the code blocks!
Leave one extra line at the end of the files.
| <odoo> | ||
| <data > | ||
|
|
||
|
|
||
| <record id="estate_property_tag_1" model="estate.property.tag"> | ||
| <field name="id">1</field> | ||
| <field name="name">tag1</field> | ||
| </record> | ||
|
|
||
| <record id="estate_property_type_1" model="estate.property.type"> | ||
| <field name="id">1</field> | ||
| <field name="name">type1</field> | ||
| </record> | ||
|
|
||
| <record id="estate_property_1" model="estate.property"> | ||
| <field name="id">1</field> | ||
| <field name="name">property</field> | ||
| <field name="tag_ids" eval="[Command.set([ref('estate_property_tag_1')])]" /> | ||
| <field name="property_type_id">1</field> | ||
| </record> | ||
|
|
||
| <record id="estate_property_offer1" model="estate.property.offer"> | ||
| <field name="id">1</field> | ||
| <field name="price">100000</field> | ||
| <field name="property_id">1</field> | ||
| </record> | ||
|
|
||
|
|
||
| </data> | ||
| </odoo> |
There was a problem hiding this comment.
| <odoo> | |
| <data > | |
| <record id="estate_property_tag_1" model="estate.property.tag"> | |
| <field name="id">1</field> | |
| <field name="name">tag1</field> | |
| </record> | |
| <record id="estate_property_type_1" model="estate.property.type"> | |
| <field name="id">1</field> | |
| <field name="name">type1</field> | |
| </record> | |
| <record id="estate_property_1" model="estate.property"> | |
| <field name="id">1</field> | |
| <field name="name">property</field> | |
| <field name="tag_ids" eval="[Command.set([ref('estate_property_tag_1')])]" /> | |
| <field name="property_type_id">1</field> | |
| </record> | |
| <record id="estate_property_offer1" model="estate.property.offer"> | |
| <field name="id">1</field> | |
| <field name="price">100000</field> | |
| <field name="property_id">1</field> | |
| </record> | |
| </data> | |
| </odoo> | |
| <odoo> | |
| <record id="estate_property_tag_1" model="estate.property.tag"> | |
| <field name="id">1</field> | |
| <field name="name">tag1</field> | |
| </record> | |
| <record id="estate_property_type_1" model="estate.property.type"> | |
| <field name="id">1</field> | |
| <field name="name">type1</field> | |
| </record> | |
| <record id="estate_property_1" model="estate.property"> | |
| <field name="id">1</field> | |
| <field name="name">property</field> | |
| <field name="tag_ids" eval="[Command.set([ref('estate_property_tag_1')])]" /> | |
| <field name="property_type_id">1</field> | |
| </record> | |
| <record id="estate_property_offer1" model="estate.property.offer"> | |
| <field name="id">1</field> | |
| <field name="price">100000</field> | |
| <field name="property_id">1</field> | |
| </record> | |
| </odoo> |
I don't think there would be any use of this data tag unless you want to use it with noupdate
| <t t-name="new"> | ||
|
|
||
| </t> |
mash-odoo
left a comment
There was a problem hiding this comment.
Please clean up the code.
I will resume the review after this.
| action="estate_property_visit_kanban_view" | ||
| /> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </data> | ||
| </odoo> No newline at end of file |
There was a problem hiding this comment.
| action="estate_property_visit_kanban_view" | |
| /> | |
| </data> | |
| </odoo> | |
| action="estate_property_visit_kanban_view" | |
| /> | |
| </odoo> | |
| </record> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| </odoo> No newline at end of file |
There was a problem hiding this comment.
| </record> | |
| </odoo> | |
| </record> | |
| </odoo> | |
| <form string="Property Type"> | ||
|
|
||
| <group><sheet> | ||
|
|
||
|
|
||
|
|
||
| <h1><field name="name"/><button string="" name="%(estate_property_offer_from_type_action)d" type="action" class="oe_stat_button btn btn-secondary"> | ||
| <field name="offer_count"/> | ||
| </button> | ||
| </h1> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| <notebook> | ||
| <page string="properties"> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| <list> | ||
| <field name="property_ids"/> | ||
| </list> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </page> | ||
| </notebook> | ||
|
|
||
|
|
||
|
|
||
| </sheet></group> |
| <page string="maintainance request"> | ||
| <field name="estate_maintainance_id"> | ||
|
|
||
| <list default_order="id desc"> | ||
|
|
||
| <field name="buyer_id"/> | ||
| <field name="technician_id"/> | ||
| <field name="state"/> | ||
| <field name="estimate_cost"/> | ||
| <field name="actual_cost"/> | ||
| <field name="current_stage"/> | ||
| </list> | ||
|
|
||
| </field> | ||
|
|
||
| </page> |
There was a problem hiding this comment.
Clean up the code and follow proper indentation everywhere

completed till Chapter - 4