-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] Estate Account Module & Correction
Added the new module estate_account and I fixed most of the suggestion from previous comments 1. Problem: None 2. Objective: - Finish the tutorial 101. Sometimes go a bit beyond (ex: smart button with invoice) - Make the necessary adjustement to have a nice code for the next code review. 3. Solution: Code and follow tutorial :) task-xxxxxxx
- Loading branch information
1 parent
2fff4dd
commit 0f2a365
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from odoo import fields, models | ||
|
||
|
||
class Users(models.Model): | ||
_inherit = 'res.users' | ||
|
||
property_ids = fields.One2many('estate.property', 'user_id', string='Properties') | ||
|