-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] estate: added estate module #203
Draft
djip-odoo
wants to merge
17
commits into
odoo:18.0
Choose a base branch
from
odoo-dev:18.0-training-djip
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started learning by creating required files such as __init__ and manifest. Gained basic knowledge of the folder structure of a module. Began by learning basic fields in a model. Added a CSV file for security and defined access rights for base.group_user. While learning the basics of Odoo, encountered and resolved many errors. Gained an understanding of sequentially loading data files. After that, started learning about views, beginning with menus. Added menus, nested menus, and actions to organize access to each model. Tested many times, creating several menus and nested menu structures. Next, started learning about fields, their types, and parameters. Developed basic views and gained knowledge about record tag name in view. Organized fields in a logical way using lists, forms, searches, filters and Understood domains. Established relationships between models using One2many, Many2one, and Many2many fields. Gained practical experience with computed fields and onchange methods, enabling dynamic data updates in forms.
…aints Revised relation mapping concept of One2many and some others too. tried with diffrent example for relational maping. After that, started new chapeter actions , where faced many erros while appying actions on created new buttons in view. some attributes were may be removed but still in the docs is causing error. seen previously created modules, documentary even used chatgpt to come out the errors. and it get solved after many attempts. Apply buttons in view is also challenging. In next chapter related to constraints, i was getting error in adding sql constraints but resolved by getting advice from mentor. than i get understood. how to solvethat kind or error. changing database solve errors sometimes may be due to old data causing errors on new features or constraints added. Learned many things to why some errors occurs and how to solve it.
There was a logical error in one of excercis of computed field chapter. compute and reverse both is need to be use in validity and date deadline. both must be inter changeble (if validity defined than dealline must be set automatically and vice versa) previousely i had made mistake which i solved it today by revising the concept and code. also i imporoved it upto mnore than the excercise as i have apply the methods while new offer tooo whitch was not shown in short video in tutorial. After that, I started learning sprinkle chapter where i completed inline views, widget, list orders andAttribute and options topic. inline view was little bit challenging as i need to modify list view of it in property tipe which is different than peoperties page. but i have done it at the end. In the widget topic I lerned how to display states in statusbar. it was also challenging. In list order, i have learned to display data in deafult order using module or list view at every page. Attribiutes and options is very much challenging as some of the parameters are changed in new version of odoo module.
Refreshed what i have alredy learned while moving further. Learned to decorate list (applied color and test style based on state), made editable list view of offers and tag model view setting view list tag parameter editable. also applied optional parameter to some fields in property to make it hidden by default. completed excercise as given in the chapter. Next, search and default filter was challenging and refresher of actions chapter because it is applied on action on a menu. faced many errors while attmpting the excercise given i this topic. reviewed docs, taken advice from senior and solved and learned the concept of default filter. search for value >= is also a new cooncept lewarned today. Leraned how to create Stat button which propvids quick access. which inlcudes the concept of related fields. Than started learnonmg inheritance. completed python inheritance topic.
- revised the concept of inheritance in odoo. figured out one deprecated warning in overridden create method in a module. found the new way to override that method to getting ride of the warning. Inherited res.users module and view to show estate properties in users form view. followed the exercise and taken reference from the documentation and existing codes. faced some minor errors and completed the task. Created new module estate account which generate invoice for sold property using inheritance. learned concept of module dependency, inheritance, generate invoice. Created stat button in property form to redirected to invoice list. it was literally challenging i got errors many times. but solved at the end. Generating invoice is very challenging than previous chapters.
- Started new chapter. read some documentation part and performed the exercise. created kanban view. applied some attributes of it to archive desired goal given in the exercise. - Coding guidelines of odoo. refactored some file, class or var name as per coding guideline. - Defined demo data for estate and estate_account modules in csv or xml format as per complexity. faced many errors while adding demo data. figured out problems using chatgpt, documentary and completed all the exercise and added more data too, to explain each functionality of the module. learned how to write demo data for inherited modules as well. cleared databases and started installing new database many times to come out of the errors.
Created reports templates and reports actions for estate and estate_account module. It was very challenging. but get and idea after going through docs and chatgpt. Made report actions, sub - template and templates, combined and create pdf report for property and for for salesman. also included invoice status using inherited report concept. updated demo data as well to make report making simpler for next database. updated some filter rules in estate.
started security assignment by groups. created groups as per given exercise. created category for the application. faced so many errors while doing it. learned about record rules. created security for agent so that no other agent cannot see his properties . but manager group can access all the properties.
security is a very challenging assignment. last time security was not completed. faced many errros that time. Completed this topic by creating compannies. groups and category was already created last time. Learned how to add security constraints by groups and company. also by user. Tested by creating 2 managers and 2 agents. 1 manager have 2 company allowed. both agent have diffrent company. Updated property model to show users by company. Agents can only access their properties and can sold it. Manager can have all access to property except unlink it. Learned about visbility and hide the setting menu for agents which is can only be modified by the manages.
djip-odoo
force-pushed
the
18.0-training-djip
branch
7 times, most recently
from
December 5, 2024 04:28
6ae956e
to
a76077c
Compare
djip-odoo
force-pushed
the
18.0-training-djip
branch
2 times, most recently
from
December 5, 2024 13:28
52e3c86
to
0a3d337
Compare
…zards Revised security concept and solved one error occured while installing demo data in estate_account module. After that started new topic wizard which allow buyer to add same offers to many peoperties at once. taken refrece of codebase , docs and chatgpt and completed Learned controllers which opens end points for website to comunicate with modules. created endpoints and controller for active property page and property page (to display all metadata of property). Added new field to estate.property updated views and form to set image for properties. displayed image on website too. Updated demo data as per new fields, topics and verified everything by creating new database.
…e so Started developing module name warranty_configuration which enable user to apply warranty order lines in sales order based on defined warraty period and amount. Developed models, view, inherited views and inherited models to add menu in sales app for warranty configuration. Added is warranty available checkbox on product page in sales tab. added add warranty button in sales order form as well.
Updated module created transient models required to add order line as per selected product warranty. facing issues in it. updated wizard views to display only product which has warranty and select particular warranty product to add in the orderlines of sales order.
djip-odoo
force-pushed
the
18.0-training-djip
branch
from
December 6, 2024 12:09
0a3d337
to
546644a
Compare
Solved all error faced yesterday and completed wizard view properly. Configured it such that it adding order line. updated views as well as Transient models. Added new field in sale order line model to assign functionality such that it product get removed from order line than its warranty product also get removed. Demo data added for warranty configuration State button file path uncommented from estate_account solved error occured for agent and manger group. Image not displayed other than admin issue solved in website page of properties. added all product remove button in sale order
Created models for Budget and Budget Line. Created wizard (transient model, views, and action) for adding new budgets based on a selected time period. Developed Kanban and form views for the budget model & list view for budget line. Updated actions to allow opening budget lines directly from Kanban boxes. Implemented views and menu items for the Budget and Budget Line models.
djip-odoo
force-pushed
the
18.0-training-djip
branch
from
December 10, 2024 13:27
546644a
to
ee354fb
Compare
Added restriction on add analtic line based on users selected preferece Inherited list view of account analytic line to make it editable and creatable Added action for open analytical lines on click on view button. Developed graph and pivot views for budget. Added constraints on write, create form view of budget , analytic line and budget line as per requirement. Updated float to monatry field for shwoing currency.
djip-odoo
force-pushed
the
18.0-training-djip
branch
from
December 12, 2024 13:09
08d29ab
to
1c8d7de
Compare
Added analytic account in wizard which add selected accounts to each budget while creating it. Updated button for state management of the budget. Edited action_on_revise button to post message in chatter when it create revised budget for it. Updated functions to compute achive amount and achive percentage.
djip-odoo
force-pushed
the
18.0-training-djip
branch
from
December 12, 2024 13:36
1c8d7de
to
173f7c2
Compare
updated pivot and bar graph view. created gantt view. Added computation on delet analytic line.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
add real estate module for training