From 65c75b8cc50a7fb7c68428e2e0ecc4f36a13b462 Mon Sep 17 00:00:00 2001 From: pach-odoo Date: Thu, 29 Aug 2024 10:41:10 +0530 Subject: [PATCH] [IMP] estate: Added Controllers, Wizard and Access Security 1. Create a 'Properties' menu on the website to list available properties (not sold/canceled/archived) in a grid view. - Added property images to be displayed on the front-end. - Implemented pagination with a maximum of 6 properties per page. 2. Developed an 'Add Offer' wizard allowing salespersons to select multiple properties and submit offers in one action. - Wizard includes fields for price, validity, and buyer. - Added 'Make an offer' and 'Cancel' buttons. 3. Updated security to restrict property access and actions: - Added roles for Real Estate Agent and Manager with appropriate access rights. - Ensured agents can only view and manage properties within their assigned companies. - Implemented security overrides to allow agents to confirm sales without full invoicing access. --- estate/security/security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/estate/security/security.xml b/estate/security/security.xml index 45affbb20e..f63d6ad5ba 100644 --- a/estate/security/security.xml +++ b/estate/security/security.xml @@ -34,6 +34,6 @@ ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] - + \ No newline at end of file