from odoo import models, fields, api import io import base64 class SOS_Proposal_Builder(models.Model): _name = 'sos_proposal_builder' _description = 'Proposal Builder' _rec_name="proposal_id" proposal_id = fields.Many2one('sos_proposal_customer_requirement',string="Proposal ID", required= True) customer_name = fields.Char(string="Customer Name") customer_logo=fields.Binary(string="Customer Logo") doc_attachement = fields.Binary(string="Attachments",help="Any attachments to be attached with Proposal") doc_attachement_filename = fields.Char(string="Filename") currency_id = fields.Many2one( 'res.currency', string='Currency', default=lambda self: self.env['res.currency'].search([('name', '=', 'INR')], limit=1).id or False ) total_cost = fields.Float(string="Total Cost", compute='_compute_total_cost', store=True) buffer_in_percentage = fields.Integer(string="Buffer(%)",default=0,store=True) total_with_buffer = fields.Monetary(string="Total with Buffer", compute='_compute_total_with_buffer', currency_field='currency_id', store=True) #Proposal builder proposal_heading = fields.Text(string="Heading",default="Product Proposal") about_sosaley = fields.Text(string="About Sosaley",default="Sosaley Technologies Private Limited is an Indian company focusing on manufacturing indigenous Battery Management systems for Lithium-ion and Battery Health Monitoring System for Lead-acid(2V & 12V) & Nickel-Cadmium batteries. All our products are made 100% designed, developed, manufactured in house at our facilities in Chennai. Founded in 2008, Sosaley Technologies is working with customers and partners to deliver solutions for multiple verticals. Our team includes engineering, quality, research & development. Our installation base are all over India and Overseas.") proposal_objective = fields.Html(string="Proposal Objective") proposal_overview = fields.Html(string="Proposal Overview") technical_diagrams = fields.One2many('sos_proposal_diagrams', 'ref_id', string="Images") #Quotation quotation_no = fields.Char(string="Quotation No") quotation_date = fields.Date(string="Quotation Date") quotation_validity = fields.Date(string="Quotation Validity") inquiry_ref_no = fields.Char(string="Inquiry Ref No") billing_address = fields.Text(string="Billing Address") shipping_address = fields.Text(string="Shipping Address") contact_person = fields.Char(string="Contact Person") contact_number = fields.Char(string="Contact Number") email_id=fields.Char(string="Email ID") #parameters parameters_monitored = fields.Html( string="Parameters Monitored", default=lambda self: """
Measured:
Calculated:
| S.No | Description |
|---|---|
| 1 | 50% Advance along with order |
| 2 | 50% Before Delivery |
| S.No | Focus Area | Terms and Conditions |
|---|---|---|
| 1 | Price |
1. All the Prices are quoted in INR. 2. All prices are exclusive of all taxes applicable which would be charged as per actuals. |
| 2 | Base Warranty |
1. Warranty will be for 12 months from the date of Supply. 2. Beyond Warranty period, AMC shall be chargeable @ 18% of product cost per annum. The warranty specifically covers the core BHMS board and its components. It does not include coverage for physical damage, the enclosure, cables and connectors. |
| 3 | Remote Monitoring |
Sosaley will provide cloud access credentials to access the cloud server on annual subscription basis. Every year subscription shall be renewed before expiry. Internet connectivity with BHMS shall be provided by the customer. In case Sosaley provides through internet dongle, telecom charges (SIM card) shall be applicable. Cloud subscription charges shall be Rs. 400/- per battery per annum. |
| 4 | Telecom Connectivity |
Telecom connectivity charges shall be Rs. 5400/- per annum (Optional). The charges will be collected in advance before the service start. |
| 5 | Packaging & Forwarding | The quoted price is Inclusive of Packaging and Forwarding, FOB- Chennai. |
| 6 | Proposal Validity | The proposal validity is for 1 month from the date of submission. |
| 7 | Delivery Timeline | Sosaley estimates that it will take roughly 3–4 weeks to ship the products. |
| 8 | Installation & Commissioning |
The quoted pricing is inclusive of one-time Installation and Commissioning. For additional installations, the charges shall be Rs. 5000/- per man-day plus travel and accommodation. |
| 9 | Force Majeure |
Sosaley will not be responsible or liable for any delay caused by forces beyond its control, including strikes, work stoppages, acts of war or terrorism, natural catastrophes, etc. In such cases, the estimated cost and schedule may need to be re-negotiated. |
| 10 | Support |
Sosaley will provide support via call and email during the warranty period. Contact details will be shared after product delivery. Similar support will be provided during AMC if contracted. |