Skip to content

Commit 1a3bc65

Browse files
committed
[CLN] estate: code formate
1 parent 590c654 commit 1a3bc65

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

estate/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Real Estate Module to Buy and Sell Your Real Estate with Ease.
66
""",
77
"version": "1.0",
8-
"depends": ["base","sale"],
8+
"depends": ["base", "sale"],
99
"author": "danal",
1010
"category": "Category",
1111
"application": True,

estate/models/estate_property_offer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from odoo import api, models, fields
55

6-
import pdb
76

87
class EstatePropertyOffer(models.Model):
98
_name = "estate.property.offer"
@@ -42,7 +41,6 @@ def _inverse_date(self):
4241

4342
def action_accept(self):
4443
for record in self:
45-
pdb.set_trace()
4644
record.status = "accepted"
4745
record.property_id.selling_price = record.price
4846
record.property_id.customer = record.partner_id

estate/models/sale_order.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from odoo import fields, models
22

3+
34
class SaleOrder(models.Model):
4-
_inherit="sale.order"
5+
_inherit = "sale.order"
56

67
property_id = fields.Many2one("estate.property")

estate/views/sale_order_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
</xpath>
1010
</field>
1111
</record>
12-
</odoo>
12+
</odoo>

0 commit comments

Comments
 (0)