@ -0,0 +1,38 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
Laundry Management |
|||
=================== |
|||
Laundry Management |
|||
|
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
Credits |
|||
------- |
|||
Developer: Sadique Kottekkat @cybrosys, Contact: odoo@cybrosys.com |
|||
|
|||
Contacts |
|||
-------- |
|||
* Mail Contact : odoo@cybrosys.com |
|||
* Website : https://cybrosys.com |
|||
|
|||
Bug Tracker |
|||
----------- |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Maintainer |
|||
========== |
|||
.. image:: https://cybrosys.com/images/logo.png |
|||
:target: https://cybrosys.com |
|||
|
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
|||
|
|||
Further information |
|||
=================== |
|||
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from . import models |
|||
from . import reports |
@ -0,0 +1,49 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
{ |
|||
'name': 'Laundry Management', |
|||
'version': '17.0.1.0.0', |
|||
"category": "Industries", |
|||
'summary': """Complete Laundry Service Management""", |
|||
'description': 'This module is very useful to manage all process of laundry' |
|||
' service', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'website': "https://www.cybrosys.com", |
|||
'depends': ['base', 'mail', 'sale', 'account', 'uom'], |
|||
'data': [ |
|||
'data/laundry_management_data.xml', |
|||
'security/laundry_management_security.xml', |
|||
'security/ir.model.access.csv', |
|||
'views/laundry_order_views.xml', |
|||
'views/washing_views.xml', |
|||
'views/config_views.xml', |
|||
'views/laundry_report_views.xml', |
|||
'views/laundry_label_views.xml', |
|||
], |
|||
'images': ['static/description/banner.png'], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
} |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<record id="laundry_service" model="product.product"> |
|||
<field name="name">Laundry Service</field> |
|||
<field name="type">service</field> |
|||
<field name="invoice_policy">order</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,6 @@ |
|||
## Module <laundry_management> |
|||
|
|||
#### 12.02.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
Initial commit for Laundry Management |
@ -0,0 +1,27 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from . import laundry_order |
|||
from . import washing_work |
|||
from . import washing_washing |
|||
from . import washing_type |
|||
from . import sale_advance_payment |
@ -0,0 +1,279 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import models, fields, api, _ |
|||
from datetime import datetime |
|||
|
|||
|
|||
class LaundryManagement(models.Model): |
|||
"""laundry orders generating model""" |
|||
_name = 'laundry.order' |
|||
_inherit = 'mail.thread' |
|||
_description = "Laundry Order" |
|||
_order = 'order_date desc, id desc' |
|||
|
|||
@api.model |
|||
def create(self, vals): |
|||
""" |
|||
Creating the record of laundry order. |
|||
""" |
|||
vals['name'] = self.env['ir.sequence'].next_by_code('laundry.order') |
|||
return super(LaundryManagement, self).create(vals) |
|||
|
|||
@api.depends('order_lines') |
|||
def get_total(self): |
|||
""" |
|||
Computing the total of total_amount in orderlines. |
|||
""" |
|||
total = 0 |
|||
for obj in self: |
|||
for each in obj.order_lines: |
|||
total += each.amount |
|||
obj.total_amount = total |
|||
|
|||
def confirm_order(self): |
|||
""" |
|||
Confirming the order and after confirming order,it will create the |
|||
washing.washing model. |
|||
""" |
|||
self.state = 'order' |
|||
sale_obj = self.env['sale.order'].create( |
|||
{'partner_id': self.partner_id.id, |
|||
'partner_invoice_id': self.partner_invoice_id.id, |
|||
'partner_shipping_id': self.partner_shipping_id.id}) |
|||
self.sale_obj = sale_obj |
|||
product_id = self.env.ref('laundry_management.laundry_service') |
|||
self.env['sale.order.line'].create({'product_id': product_id.id, |
|||
'name': 'Laundry Service', |
|||
'price_unit': self.total_amount, |
|||
'order_id': sale_obj.id |
|||
}) |
|||
for each in self: |
|||
for obj in each.order_lines: |
|||
self.env['washing.washing'].create( |
|||
{'name': obj.product_id.name + '-Washing', |
|||
'user_id': obj.washing_type.assigned_person.id, |
|||
'description': obj.description, |
|||
'laundry_obj': obj.id, |
|||
'state': 'draft', |
|||
'washing_date': datetime.now().strftime( |
|||
'%Y-%m-%d %H:%M:%S')}) |
|||
|
|||
def create_invoice(self): |
|||
""" |
|||
Creating an new invoice for the laundry orders. |
|||
""" |
|||
if self.sale_obj.state in ['draft', 'sent']: |
|||
self.sale_obj.action_confirm() |
|||
self.invoice_status = self.sale_obj.invoice_status |
|||
return { |
|||
'name': 'Create Invoice', |
|||
'view_type': 'form', |
|||
'view_mode': 'form', |
|||
'res_model': 'sale.advance.payment.inv', |
|||
'type': 'ir.actions.act_window', |
|||
'context': {'laundry_sale_obj': self.sale_obj.id}, |
|||
'target': 'new' |
|||
} |
|||
|
|||
def return_dress(self): |
|||
self.state = 'return' |
|||
|
|||
def cancel_order(self): |
|||
self.state = 'cancel' |
|||
|
|||
def _invoice_count(self): |
|||
wrk_ordr_ids = self.env['account.move'].search( |
|||
[('invoice_origin', '=', self.sale_obj.name)]) |
|||
self.invoice_count = len(wrk_ordr_ids) |
|||
|
|||
def _work_count(self): |
|||
if self.id: |
|||
wrk_ordr_ids = self.env['washing.washing'].search( |
|||
[('laundry_obj.laundry_obj.id', '=', self.id)]) |
|||
self.work_count = len(wrk_ordr_ids) |
|||
else: |
|||
self.work_count = False |
|||
|
|||
def action_view_laundry_works(self): |
|||
""" |
|||
Function for viewing the laundry works. |
|||
""" |
|||
work_obj = self.env['washing.washing'].search( |
|||
[('laundry_obj.laundry_obj.id', '=', self.id)]) |
|||
work_ids = [] |
|||
for each in work_obj: |
|||
work_ids.append(each.id) |
|||
view_id = self.env.ref('laundry_management.washing_form_view').id |
|||
if work_ids: |
|||
if len(work_ids) <= 1: |
|||
value = { |
|||
'view_type': 'form', |
|||
'view_mode': 'form', |
|||
'res_model': 'washing.washing', |
|||
'view_id': view_id, |
|||
'type': 'ir.actions.act_window', |
|||
'name': _('Works'), |
|||
'res_id': work_ids and work_ids[0] |
|||
} |
|||
else: |
|||
value = { |
|||
'domain': str([('id', 'in', work_ids)]), |
|||
'view_type': 'form', |
|||
'view_mode': 'tree,form', |
|||
'res_model': 'washing.washing', |
|||
'view_id': False, |
|||
'type': 'ir.actions.act_window', |
|||
'name': _('Works'), |
|||
# 'res_id': work_ids |
|||
} |
|||
return value |
|||
|
|||
def action_view_invoice(self): |
|||
""" |
|||
Function for viewing the invoices of laundry orders. |
|||
""" |
|||
self.ensure_one() |
|||
inv_obj = self.env['account.move'].search( |
|||
[('invoice_origin', '=', self.sale_obj.name)]) |
|||
inv_ids = [] |
|||
for each in inv_obj: |
|||
inv_ids.append(each.id) |
|||
view_id = self.env.ref('account.view_move_form').id |
|||
if inv_ids: |
|||
if len(inv_ids) <= 1: |
|||
value = { |
|||
'view_type': 'form', |
|||
'view_mode': 'form', |
|||
'res_model': 'account.move', |
|||
'view_id': view_id, |
|||
'type': 'ir.actions.act_window', |
|||
'name': _('Invoice'), |
|||
'res_id': inv_ids and inv_ids[0] |
|||
} |
|||
else: |
|||
value = { |
|||
'domain': str([('id', 'in', inv_ids)]), |
|||
'view_type': 'form', |
|||
'view_mode': 'tree,form', |
|||
'res_model': 'account.move', |
|||
'view_id': False, |
|||
'type': 'ir.actions.act_window', |
|||
'name': _('Invoice'), |
|||
# 'res_id': inv_ids |
|||
} |
|||
return value |
|||
|
|||
name = fields.Char(string="Label", copy=False) |
|||
invoice_status = fields.Selection([ |
|||
('upselling', 'Upselling Opportunity'), |
|||
('invoiced', 'Fully Invoiced'), |
|||
('to invoice', 'To Invoice'), |
|||
('no', 'Nothing to Invoice') |
|||
], string='Invoice Status', invisible=1, related='sale_obj.invoice_status', |
|||
store=True, help="status of invoice") |
|||
sale_obj = fields.Many2one('sale.order', invisible=1, |
|||
help="sequence name of sale order") |
|||
invoice_count = fields.Integer(compute='_invoice_count', |
|||
string='# Invoice', |
|||
help="number of invoice count") |
|||
work_count = fields.Integer(compute='_work_count', string='# Works', |
|||
help="number of work count") |
|||
partner_id = fields.Many2one('res.partner', string='Customer', |
|||
readonly=True, |
|||
states={'draft': [('readonly', False)], |
|||
'order': [('readonly', False)]}, |
|||
required=True, |
|||
change_default=True, index=True, |
|||
help="name of customer" |
|||
) |
|||
partner_invoice_id = fields.Many2one('res.partner', |
|||
string='Invoice Address', |
|||
readonly=True, required=True, |
|||
states={ |
|||
'draft': [('readonly', False)], |
|||
'order': [('readonly', False)]}, |
|||
help="Invoice address for current" |
|||
" sales order.") |
|||
partner_shipping_id = fields.Many2one('res.partner', |
|||
string='Delivery Address', |
|||
readonly=True, required=True, |
|||
states={ |
|||
'draft': [('readonly', False)], |
|||
'order': [('readonly', False)]}, |
|||
help="Delivery address for current" |
|||
" sales order.") |
|||
order_date = fields.Datetime(string='Date', readonly=True, index=True, |
|||
states={'draft': [('readonly', False)], |
|||
'order': [('readonly', False)]}, |
|||
copy=False, default=fields.Datetime.now, |
|||
help="date of order") |
|||
laundry_person = fields.Many2one('res.users', string='Laundry Person', |
|||
required=1, help="name of laundry person") |
|||
order_lines = fields.One2many('laundry.order.line', 'laundry_obj', |
|||
required=1, ondelete='cascade', |
|||
help="orderlines of laundry orders") |
|||
total_amount = fields.Float(compute='get_total', string='Total', store=1, |
|||
help="total amount") |
|||
currency_id = fields.Many2one("res.currency", string="Currency", |
|||
help="name of currency") |
|||
note = fields.Text(string='Terms and conditions') |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('order', 'Laundry Order'), |
|||
('process', 'Processing'), |
|||
('done', 'Done'), |
|||
('return', 'Returned'), |
|||
('cancel', 'Cancelled'), |
|||
], string='Status', readonly=True, copy=False, index=True, |
|||
track_visibility='onchange', default='draft', help="state of the order") |
|||
|
|||
|
|||
class LaundryManagementLine(models.Model): |
|||
"""laundry orderlines generating model""" |
|||
_name = 'laundry.order.line' |
|||
_description = "Laundry Order Line" |
|||
|
|||
@api.depends('washing_type', 'extra_work', 'qty') |
|||
def get_amount(self): |
|||
for obj in self: |
|||
total = obj.washing_type.amount * obj.qty |
|||
for each in obj.extra_work: |
|||
total += each.amount * obj.qty |
|||
obj.amount = total |
|||
|
|||
product_id = fields.Many2one('product.product', string='Dress', |
|||
required=1, help="name of the product") |
|||
qty = fields.Integer(string='No of items', required=1, |
|||
help="number of quantity") |
|||
description = fields.Text(string='Description') |
|||
washing_type = fields.Many2one('washing.type', string='Washing Type', |
|||
required=1) |
|||
extra_work = fields.Many2many('washing.work', string='Extra Work') |
|||
amount = fields.Float(compute='get_amount', string='Amount') |
|||
laundry_obj = fields.Many2one('laundry.order', invisible=1) |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('wash', 'Washing'), |
|||
('extra_work', 'Make Over'), |
|||
('done', 'Done'), |
|||
('cancel', 'Cancelled'), |
|||
], string='Status', readonly=True, copy=False, index=True, default='draft') |
@ -0,0 +1,125 @@ |
|||
from odoo import models, _ |
|||
import time |
|||
from odoo.exceptions import UserError |
|||
|
|||
|
|||
class LaundryManagementInvoice(models.TransientModel): |
|||
"""inheriting the model of sale.advance.payment.inv to generate advance |
|||
payment of invoice""" |
|||
_inherit = 'sale.advance.payment.inv' |
|||
|
|||
def create_invoices(self): |
|||
""" |
|||
Function for creating invoices for the advance payment. |
|||
""" |
|||
context = self._context |
|||
if context.get('laundry_sale_obj'): |
|||
sale_orders = self.env['sale.order'].browse( |
|||
context.get('laundry_sale_obj')) |
|||
|
|||
else: |
|||
sale_orders = self.env['sale.order'].browse( |
|||
self._context.get('active_ids', [])) |
|||
if self.advance_payment_method == 'delivered': |
|||
sale_orders._create_invoices() |
|||
elif self.advance_payment_method == 'all': |
|||
sale_orders._create_invoices()(final=True) |
|||
else: |
|||
# Create deposit product if necessary |
|||
if not self.product_id: |
|||
vals = self._prepare_deposit_product() |
|||
self.product_id = self.env['product.product'].create(vals) |
|||
|
|||
self.env['ir.config_parameter'].sudo().set_param( |
|||
'sale.default_deposit_product_id', self.product_id.id) |
|||
sale_line_obj = self.env['sale.order.line'] |
|||
for order in sale_orders: |
|||
if self.advance_payment_method == 'percentage': |
|||
amount = order.amount_untaxed * self.amount / 100 |
|||
else: |
|||
amount = self.amount |
|||
if self.product_id.invoice_policy != 'order': |
|||
raise UserError(_( |
|||
'The product used to invoice a down payment should have' |
|||
' an invoice policy set to "Ordered' |
|||
' quantities". Please update your deposit product to be' |
|||
' able to create a deposit invoice.')) |
|||
if self.product_id.type != 'service': |
|||
raise UserError(_( |
|||
"The product used to invoice a down payment should be" |
|||
" of type 'Service'. Please use another " |
|||
"product or update this product.")) |
|||
taxes = self.product_id.taxes_id.filtered( |
|||
lambda |
|||
r: not order.company_id or r.company_id == |
|||
order.company_id) |
|||
if order.fiscal_position_id and taxes: |
|||
tax_ids = order.fiscal_position_id.map_tax(taxes).ids |
|||
else: |
|||
tax_ids = taxes.ids |
|||
so_line = sale_line_obj.create({ |
|||
'name': _('Advance: %s') % (time.strftime('%m %Y'),), |
|||
'price_unit': amount, |
|||
'product_uom_qty': 0.0, |
|||
'order_id': order.id, |
|||
'discount': 0.0, |
|||
'product_uom': self.product_id.uom_id.id, |
|||
'product_id': self.product_id.id, |
|||
'tax_id': [(6, 0, tax_ids)], |
|||
}) |
|||
self._create_invoice(order, so_line, amount) |
|||
if self._context.get('open_invoices', False): |
|||
return sale_orders.action_view_invoice() |
|||
return {'type': 'ir.actions.act_window_close'} |
|||
|
|||
def _create_invoice(self, order, so_line): |
|||
if ( |
|||
self.advance_payment_method == 'percentage' and |
|||
self.amount <= 0.00) or ( |
|||
self.advance_payment_method == 'fixed' and |
|||
self.fixed_amount <= 0.00): |
|||
raise UserError( |
|||
_('The value of the down payment amount must be positive.')) |
|||
if self.advance_payment_method == 'percentage': |
|||
amount = order.amount_untaxed * self.amount / 100 |
|||
name = _("Down payment of %s%%") % (self.amount,) |
|||
else: |
|||
amount = self.fixed_amount |
|||
name = _('Down Payment') |
|||
|
|||
invoice_vals = { |
|||
'move_type': 'out_invoice', |
|||
'invoice_origin': order.name, |
|||
'invoice_user_id': order.user_id.id, |
|||
'narration': order.note, |
|||
'partner_id': order.partner_invoice_id.id, |
|||
'fiscal_position_id': order.fiscal_position_id.id or order. |
|||
partner_id.property_account_position_id.id, |
|||
'partner_shipping_id': order.partner_shipping_id.id, |
|||
'currency_id': order.pricelist_id.currency_id.id, |
|||
'ref': order.client_order_ref, |
|||
'invoice_payment_term_id': order.payment_term_id.id, |
|||
'team_id': order.team_id.id, |
|||
'campaign_id': order.campaign_id.id, |
|||
'medium_id': order.medium_id.id, |
|||
'source_id': order.source_id.id, |
|||
'invoice_line_ids': [(0, 0, { |
|||
'name': name, |
|||
'price_unit': amount, |
|||
'quantity': 1.0, |
|||
'product_id': self.product_id.id, |
|||
'product_uom_id': so_line.product_uom.id, |
|||
|
|||
'sale_line_ids': [(6, 0, [so_line.id])], |
|||
'analytic_tag_ids': [(6, 0, so_line.analytic_tag_ids.ids)], |
|||
'analytic_account_id': order.analytic_account_id.id or False, |
|||
})], |
|||
} |
|||
if order.fiscal_position_id: |
|||
invoice_vals['fiscal_position_id'] = order.fiscal_position_id.id |
|||
invoice = self.env['account.move'].create(invoice_vals) |
|||
invoice.message_post_with_view('mail.message_origin_link', |
|||
values={'self': invoice, |
|||
'origin': order}, |
|||
subtype_id=self.env.ref( |
|||
'mail.mt_note').id) |
@ -0,0 +1,13 @@ |
|||
from odoo import models, fields |
|||
|
|||
|
|||
class WashingType(models.Model): |
|||
"""washing types generating model""" |
|||
_name = 'washing.type' |
|||
_description = "Washing TYpe" |
|||
|
|||
name = fields.Char(string='Name', required=1) |
|||
assigned_person = fields.Many2one('res.users', |
|||
string='Assigned Person', required=1, |
|||
help="name of assigned person") |
|||
amount = fields.Float(string='Service Charge', required=1) |
@ -0,0 +1,112 @@ |
|||
from odoo import models, fields, api |
|||
from datetime import datetime |
|||
|
|||
|
|||
class Washing(models.Model): |
|||
"""washing activity generating model""" |
|||
_name = 'washing.washing' |
|||
_description = 'Washing Washing' |
|||
|
|||
def start_wash(self): |
|||
""" |
|||
Function for initiating the activity of washing. |
|||
""" |
|||
if not self.laundry_works: |
|||
self.laundry_obj.state = 'wash' |
|||
self.laundry_obj.laundry_obj.state = 'process' |
|||
for each in self: |
|||
for obj in each.product_line: |
|||
self.env['sale.order.line'].create( |
|||
{'product_id': obj.product_id.id, |
|||
'name': obj.name, |
|||
'price_unit': obj.price_unit, |
|||
'order_id': each.laundry_obj.laundry_obj.sale_obj.id, |
|||
'product_uom_qty': obj.quantity, |
|||
'product_uom': obj.uom_id.id, |
|||
}) |
|||
self.state = 'process' |
|||
|
|||
def set_to_done(self): |
|||
self.state = 'done' |
|||
|
|||
f = 0 |
|||
if not self.laundry_works: |
|||
if self.laundry_obj.extra_work: |
|||
for each in self.laundry_obj.extra_work: |
|||
self.create({'name': each.name, |
|||
'user_id': each.assigned_person.id, |
|||
'description': self.laundry_obj.description, |
|||
'laundry_obj': self.laundry_obj.id, |
|||
'state': 'draft', |
|||
'laundry_works': True, |
|||
'washing_date': datetime.now().strftime( |
|||
'%Y-%m-%d %H:%M:%S')}) |
|||
self.laundry_obj.state = 'extra_work' |
|||
laundry_obj = self.search([('laundry_obj.laundry_obj', '=', |
|||
self.laundry_obj.laundry_obj.id)]) |
|||
for each in laundry_obj: |
|||
if each.state != 'done' or each.state == 'cancel': |
|||
f = 1 |
|||
break |
|||
if f == 0: |
|||
self.laundry_obj.laundry_obj.state = 'done' |
|||
laundry_obj1 = self.search([('laundry_obj', '=', self.laundry_obj.id)]) |
|||
f1 = 0 |
|||
for each in laundry_obj1: |
|||
if each.state != 'done' or each.state == 'cancel': |
|||
f1 = 1 |
|||
break |
|||
if f1 == 0: |
|||
self.laundry_obj.state = 'done' |
|||
|
|||
@api.depends('product_line') |
|||
def get_total(self): |
|||
total = 0 |
|||
for obj in self: |
|||
for each in obj.product_line: |
|||
total += each.subtotal |
|||
obj.total_amount = total |
|||
|
|||
name = fields.Char(string='Work') |
|||
laundry_works = fields.Boolean(default=False, invisible=1) |
|||
user_id = fields.Many2one('res.users', |
|||
string='Assigned Person', |
|||
help="name of assigned person") |
|||
washing_date = fields.Datetime(string='Date', help="date of washing") |
|||
description = fields.Text(string='Description') |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('process', 'Process'), |
|||
('done', 'Done'), |
|||
('cancel', 'Cancelled'), |
|||
], string='Status', readonly=True, copy=False, index=True, default='draft') |
|||
laundry_obj = fields.Many2one('laundry.order.line', invisible=1) |
|||
product_line = fields.One2many('wash.order.line', 'wash_obj', |
|||
string='Products', ondelete='cascade') |
|||
total_amount = fields.Float(compute='get_total', string='Grand Total') |
|||
|
|||
|
|||
class SaleOrderInherit(models.Model): |
|||
""" |
|||
for creating orderlines in washing. |
|||
""" |
|||
_name = 'wash.order.line' |
|||
_description = 'Washing Order LINE' |
|||
|
|||
@api.depends('price_unit', 'quantity') |
|||
def compute_amount(self): |
|||
total = 0 |
|||
for obj in self: |
|||
total += obj.price_unit * obj.quantity |
|||
obj.subtotal = total |
|||
|
|||
wash_obj = fields.Many2one('washing.washing', string='Order Reference', |
|||
ondelete='cascade') |
|||
name = fields.Text(string='Description', required=True) |
|||
uom_id = fields.Many2one('uom.uom', 'Unit of Measure ', required=True) |
|||
quantity = fields.Integer(string='Quantity') |
|||
product_id = fields.Many2one('product.product', string='Product') |
|||
price_unit = fields.Float('Unit Price', default=0.0, |
|||
related='product_id.list_price') |
|||
subtotal = fields.Float(compute='compute_amount', string='Subtotal', |
|||
readonly=True, store=True) |
@ -0,0 +1,15 @@ |
|||
from odoo import models, fields |
|||
|
|||
|
|||
class ExtraWork(models.Model): |
|||
""" |
|||
model for creating extra work for washing. |
|||
""" |
|||
_name = 'washing.work' |
|||
_description = 'Washing Work' |
|||
|
|||
name = fields.Char(string='Name', required=1) |
|||
assigned_person = fields.Many2one('res.users', |
|||
string='Assigned Person', required=1, |
|||
help="name of assigned person") |
|||
amount = fields.Float(string='Service Charge', required=1) |
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from . import laundry_report |
@ -0,0 +1,109 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat(odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
|
|||
from odoo import models, fields, tools |
|||
|
|||
|
|||
class DifferedCheckHistory(models.Model): |
|||
""" |
|||
model for checking the history of all laundry orders. |
|||
""" |
|||
_name = "report.laundry.order" |
|||
_description = "Laundry Order Analysis" |
|||
_auto = False |
|||
|
|||
name = fields.Char(string="Label") |
|||
invoice_status = fields.Selection([ |
|||
('upselling', 'Upselling Opportunity'), |
|||
('invoiced', 'Fully Invoiced'), |
|||
('to invoice', 'To Invoice'), |
|||
('no', 'Nothing to Invoice') |
|||
], string='Invoice Status', store=True, help="status of invoice") |
|||
partner_id = fields.Many2one('res.partner', string='Customer', |
|||
help="name of the customer") |
|||
partner_invoice_id = fields.Many2one('res.partner', |
|||
string='Invoice Address', |
|||
help="invoice address of customer") |
|||
partner_shipping_id = fields.Many2one('res.partner', |
|||
string='Delivery Address', |
|||
help="delivery address of customer") |
|||
order_date = fields.Datetime(string="Date", help="date of order") |
|||
laundry_person = fields.Many2one('res.users', |
|||
string='Laundry Person', |
|||
help="name of laundry person") |
|||
total_amount = fields.Float(string='Total') |
|||
currency_id = fields.Many2one("res.currency", |
|||
string="Currency", help="name of currency") |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('order', 'Laundry Order'), |
|||
('process', 'Processing'), |
|||
('done', 'Done'), |
|||
('return', 'Returned'), |
|||
('cancel', 'Cancelled'), |
|||
], string='Status') |
|||
|
|||
_order = 'name desc' |
|||
|
|||
def _select(self): |
|||
select_str = """ |
|||
SELECT |
|||
(select 1 ) AS nbr, |
|||
t.id as id, |
|||
t.name as name, |
|||
t.invoice_status as invoice_status, |
|||
t.partner_id as partner_id, |
|||
t.partner_invoice_id as partner_invoice_id, |
|||
t.partner_shipping_id as partner_shipping_id, |
|||
t.order_date as order_date, |
|||
t.laundry_person as laundry_person, |
|||
t.total_amount as total_amount, |
|||
t.currency_id as currency_id, |
|||
t.state as state |
|||
""" |
|||
return select_str |
|||
|
|||
def _group_by(self): |
|||
group_by_str = """ |
|||
GROUP BY |
|||
t.id, |
|||
name, |
|||
invoice_status, |
|||
partner_id, |
|||
partner_invoice_id, |
|||
partner_shipping_id, |
|||
order_date, |
|||
laundry_person, |
|||
total_amount, |
|||
currency_id, |
|||
state |
|||
""" |
|||
return group_by_str |
|||
|
|||
def init(self): |
|||
tools.sql.drop_view_if_exists(self._cr, 'report_laundry_order') |
|||
self._cr.execute(""" |
|||
CREATE view report_laundry_order as |
|||
%s |
|||
FROM laundry_order t |
|||
%s |
|||
""" % (self._select(), self._group_by())) |
|
@ -0,0 +1,34 @@ |
|||
<?xml version="1.0" ?> |
|||
<odoo> |
|||
<data> |
|||
<record id="module_laundry_category" model="ir.module.category"> |
|||
<field name="name">Laundry</field> |
|||
<field name="sequence">18</field> |
|||
</record> |
|||
<record id="laundry_group_user" model="res.groups"> |
|||
<field name="name">User</field> |
|||
<field name="category_id" ref="module_laundry_category"/> |
|||
<field name="users" eval="[(4, ref('base.group_user'))]"/> |
|||
</record> |
|||
<record id="laundry_group_manager" model="res.groups"> |
|||
<field name="name">Manager</field> |
|||
<field name="implied_ids" eval="[(4, ref('laundry_group_user'))]"/> |
|||
<field name="category_id" ref="module_laundry_category"/> |
|||
<field name="users" |
|||
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/> |
|||
</record> |
|||
<record id="laundry_order_admin_rule" model="ir.rule"> |
|||
<field name="name">laundry manager: full access</field> |
|||
<field name="model_id" ref="model_laundry_order"/> |
|||
<field name="domain_force">[(1,'=',1)]</field> |
|||
<field name="groups" eval="[(4,ref('laundry_group_manager'))]"/> |
|||
</record> |
|||
<record id="laundry_order_user_rule" model="ir.rule"> |
|||
<field name="name">user: own document only</field> |
|||
<field name="model_id" ref="model_laundry_order"/> |
|||
<field name="domain_force">[('laundry_person.id','=',user.id)] |
|||
</field> |
|||
<field name="groups" eval="[(4,ref('laundry_group_user'))]"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 115 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 238 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,945 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>Odoo App 3 Index</title> |
|||
<!-- Bootstrap CSS --> |
|||
<link rel="stylesheet" |
|||
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
|||
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
|||
crossorigin="anonymous"> |
|||
<link rel="stylesheet" |
|||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
|||
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
|||
rel="stylesheet"> |
|||
</head> |
|||
<body> |
|||
<section> |
|||
<div class="container" |
|||
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
|||
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
|||
<div class="my-3"> |
|||
<img src="assets/misc/Cybrosys R.png" |
|||
style="width:auto !important; height:40px !important"> |
|||
</div> |
|||
<div class="my-3 d-flex align-items-center"> |
|||
<div class="text-center" |
|||
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Community |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> |
|||
Enterprise |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Odoo.sh |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
|||
style="margin: 80px 0px !important;"> |
|||
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
|||
#1A202C;"> |
|||
Laundry Management</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
Helps You To Manage Laundry Service. |
|||
</p> |
|||
<div style="width: 80%; margin-top: 3rem;"> |
|||
<img src="assets/screenshots/hero.gif" |
|||
class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5 mb-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#714b67 !important"> |
|||
Key Highlights |
|||
</p> |
|||
</div> |
|||
<div class="row py-4"> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Manages Laundry Process</p> |
|||
<p class="m-0" style="color:#718096">This is an |
|||
industrial specific module by Cybrosys |
|||
Technologies for Laundry Management. It manages |
|||
the laundry process with assigning works to |
|||
workers. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Laundry Order Analysis Report</p> |
|||
<p class="m-0" style="color:#718096">Can create |
|||
laundry order analysis report. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Using Washing Type and Additional Works.</p> |
|||
<p class="m-0" style="color:#718096">Laundry order |
|||
can be created by using different types of |
|||
washing and an additional works can be included |
|||
in the laundry order. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container rounded"> |
|||
<ul class="nav nav-tabs d-flex" |
|||
style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
class="active show" data-toggle="tab" |
|||
href="#tab1" |
|||
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
|||
<i class="fa-regular fa-image pr-2" |
|||
style="color: #fff;"></i> |
|||
Screenshots</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
data-toggle="tab" href="#tab2" |
|||
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
|||
class="fa-solid fa-star pr-2" |
|||
style="color: #fff;"></i>Features</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
data-toggle="tab" href="#tab3" |
|||
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
|||
class="fa-solid fa-book-open pr-2" |
|||
style="color: #fff;"></i>Released Notes</a> |
|||
</li> |
|||
</ul> |
|||
<div class="tab-content" |
|||
style="background-color: rgba(121, 113, 119, 0.04);"> |
|||
<div id="tab1" class="tab-pane fade in active show"> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/1.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Recording Laundry Order |
|||
</h4> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
Laundry Management -> Laundry |
|||
Management -> Laundry Order |
|||
When you install this module, an |
|||
extra menu Laundry Management |
|||
will created in main menu. Youcan |
|||
see the different sub menus under |
|||
the main menu. Here you can create |
|||
Laundry Order via clicking the |
|||
'Create' button. There you can |
|||
specify the customer, laundry |
|||
person, |
|||
order lines with washing type and |
|||
Extra works for your orders. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/2.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
When you confirm the Laundry Order |
|||
the corresponding works will created |
|||
under the assigned person. |
|||
There you can add extra products |
|||
also. It will also add in Billing. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/3.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/4.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Laundry Label |
|||
</h4> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
You can print label for each order |
|||
from the print menu. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/5.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Laundry Works |
|||
</h4> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
Laundry Management -> Laundry |
|||
Management -> Laundry Works |
|||
This is the Separate Laundry Works |
|||
Form. Here you can see the work |
|||
status of Laundry Works |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/6.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
If there is any extra works , it |
|||
will created as work When you finish |
|||
the main work. Then we |
|||
can see the status of that order |
|||
line is become 'Make Over' |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/7.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Invoice |
|||
</h4> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
You can create Invoice via the |
|||
button 'Create Invoice' when the |
|||
order reaches to 'Done' state. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/8.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
You can see all the Invoice through |
|||
the smart button "Invoices" from the |
|||
Laundry Order form. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/9.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Configuration |
|||
</h4> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
You can configure washing types from |
|||
the menu Laundry Management -> |
|||
Configuration -> |
|||
Washing Type by specifying the name, |
|||
assigned person and service charge. |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/10.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1rem !important"> |
|||
You can configure additional works |
|||
from the menu Laundry Management -> |
|||
Configuration -> |
|||
Additional Works by specifying the |
|||
name, assigned person and service |
|||
charge |
|||
</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id="tab2" class="tab-pane fade"> |
|||
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
|||
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Recording |
|||
Laundry Order. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Make Invoices. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Billing Facility |
|||
for Extra Works. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Detailed Laundry |
|||
Work Analysis Report. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Configuration |
|||
for Washing Type. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Assigning Works. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Separate View |
|||
for Works. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Label Printing |
|||
for Every Order. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Access Rights |
|||
From Multiple Level. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Config. for |
|||
Extra Works (Ironing/Patching etc.) |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<div id="tab3" class="tab-pane fade"> |
|||
<div class="col-mg-12 active" |
|||
style="padding: 1rem 4rem;"> |
|||
<div class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="d-flex mb-3" |
|||
style="font-size: 0.8rem; font-weight: 500;"><span>Version |
|||
17.0.1.0.0</span><span |
|||
class="px-2">|</span><span |
|||
style="color: #714B67;font-weight: 600;">Released on:12th February 2024</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
|
|||
Initial commit for Laundry |
|||
Management.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Related Products</p> |
|||
</div> |
|||
</div> |
|||
<div id="myCarousel" class="carousel slide py-3" |
|||
data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/activity_dashboard_mngmnt/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/1.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Activity Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/fleet_rental/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/2.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Fleet Rental Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/ohrms_loan/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/3.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Open HRMS Loan Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/insurance_management_cybro/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/4.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Insurance Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/front_office_management/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/5.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Front Office Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/freight_management_system/" |
|||
style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/6.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Freight Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#myCarousel" |
|||
data-slide="prev" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-prev-icon"> |
|||
<i class="fa fa-chevron-left" |
|||
style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
<a class="carousel-control-next" href="#myCarousel" |
|||
data-slide="next" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-next-icon"> |
|||
<i class="fa fa-chevron-right" |
|||
style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Our Services</p> |
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row py-3"> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/cogs.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Customization</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/wrench.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/lifebuoy.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/user.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Hire Odoo Developer</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
|
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/puzzle.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Integration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/update.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Migration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/consultation.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Consultancy</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/training.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/license.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;"> |
|||
Odoo Licensing Consultancy</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Our Industries</p> |
|||
</div> |
|||
</div> |
|||
<div class="container"> |
|||
<div class="row my-5 py-4"> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100 " |
|||
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/trading-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
|||
<p>Easily procure and sell your products</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/pos-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
|||
<p>Easy configuration and convivial |
|||
experience</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
|||
<img src="assets/icons/education-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Education</p> |
|||
<p>A platform for educational management</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/manufacturing-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Manufacturing</p> |
|||
<p>Plan, track and schedule your operations</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/ecom-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & |
|||
Website</p> |
|||
<p>Mobile friendly, awe-inspiring product |
|||
pages</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/service-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Service |
|||
Management</p> |
|||
<p>Keep track of services and invoice</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/restaurant-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Restaurant</p> |
|||
<p>Run your bar or restaurant methodically</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/hotel-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Hotel |
|||
Management</p> |
|||
<p>An all-inclusive hotel management |
|||
application</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row" style="background-color: #FFFAFE;"> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
|||
style="border-right: 1px solid #D9D9D9;"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/support (1) 1.svg" |
|||
alt="" width="60px" |
|||
style="margin-right: 12px;"> |
|||
<div style="padding: 0px 8px;"> |
|||
<span |
|||
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
|||
Help?</span> |
|||
<p class="m-0" style="color:#718096;"> |
|||
Got questions or need help? Get in |
|||
touch.</p> |
|||
<div style="font-weight: 400;"><span><img |
|||
src="assets/misc/support-email.svg" |
|||
alt="" |
|||
width="18px" |
|||
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/whatsapp 1.svg" alt="" |
|||
width="60px" |
|||
style="margin-right: 12px;"> |
|||
<div> |
|||
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
|||
<p class="m-0" style="color:#718096;"> |
|||
Say hi to us on WhatsApp!</p> |
|||
<div style="font-weight: 400; font-size: 16px;"><span><img |
|||
src="assets/misc/phone.svg" |
|||
alt="" width="14px" |
|||
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
|||
99456767686 |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<!-- Optional JavaScript --> |
|||
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
|||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
|||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
|||
</body> |
|||
</html> |
@ -0,0 +1,97 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Views of washing.type model for giving the fields in washing type |
|||
form view --> |
|||
<record id="washing_type_form_view" model="ir.ui.view"> |
|||
<field name="name">washing.type.form</field> |
|||
<field name="model">washing.type</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="assigned_person"/> |
|||
</group> |
|||
<group> |
|||
<field name="amount"/> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Views of washing.type model for giving the fields in washing type |
|||
tree view --> |
|||
<record id="washing_type_tree_view" model="ir.ui.view"> |
|||
<field name="name">washing.type.tree</field> |
|||
<field name="model">washing.type</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="name"/> |
|||
<field name="assigned_person"/> |
|||
<field name="amount"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="action_washing_type" model="ir.actions.act_window"> |
|||
<field name="name">Washing Type</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">washing.type</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
<record id="washing_work_form_view" model="ir.ui.view"> |
|||
<field name="name">washing.work.form</field> |
|||
<field name="model">washing.work</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="assigned_person"/> |
|||
</group> |
|||
<group> |
|||
<field name="amount"/> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Views of washing.work model for giving the fields in washing work |
|||
tree view and form view--> |
|||
<record id="washing_work_tree_view" model="ir.ui.view"> |
|||
<field name="name">washing.work.tree</field> |
|||
<field name="model">washing.work</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="name"/> |
|||
<field name="assigned_person"/> |
|||
<field name="amount"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="action_washing_work" model="ir.actions.act_window"> |
|||
<field name="name">Additional Works</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">washing.work</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
<menuitem id="laundry_config_menu" name="Configuration" |
|||
parent="laundry_management_menu" sequence="3"/> |
|||
<menuitem id="laundry_customer" name="Customers" |
|||
parent="laundry_config_menu" |
|||
action="base.action_partner_customer_form" sequence="1"/> |
|||
<menuitem id="laundry_products" name="Products" |
|||
parent="laundry_config_menu" |
|||
action="product.product_normal_action_sell" sequence="2"/> |
|||
<menuitem id="laundry_washing_type" name="Washing Type" |
|||
parent="laundry_config_menu" action="action_washing_type" |
|||
sequence="3"/> |
|||
<menuitem id="laundry_washing_work" name="Additional Works" |
|||
parent="laundry_config_menu" action="action_washing_work" |
|||
sequence="4"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,54 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<!-- Views of laundry label --> |
|||
<data> |
|||
<template id="laundry_order_label"> |
|||
<t t-call="web.html_container"> |
|||
<t t-foreach="docs" t-as="obj"> |
|||
<t t-call="web.external_layout"> |
|||
<div class="page"> |
|||
<div class="col-xs-4" style="padding:0;"> |
|||
<table style="border: 2px solid black;border-spacing:0;margin-bottom:0;height:122px;" |
|||
class="table"> |
|||
<tbody> |
|||
<tr> |
|||
<th style="text-align: left; vertical-align: middle;" |
|||
colspan="2"> |
|||
<span t-esc="obj.name"/> |
|||
</th> |
|||
<th style="text-align: right; vertical-align: middle;" |
|||
colspan="2"> |
|||
<span t-esc="obj.order_date"/> |
|||
</th> |
|||
</tr> |
|||
<tr> |
|||
<td style="border: 2px solid black;text-align: center; vertical-align: middle;" |
|||
colspan="2"> |
|||
<span>CUSTOMER</span> |
|||
</td> |
|||
<td style="border: 2px solid black;text-align: center; vertical-align: middle;" |
|||
colspan="2"> |
|||
<span t-esc="obj.partner_id.name"/> |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
<record id="laundry_label" model="ir.actions.report"> |
|||
<field name="name">Laundry Order Label</field> |
|||
<field name="model">laundry.order</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">laundry_management.laundry_order_label |
|||
</field> |
|||
<field name="report_file">laundry_management.laundry_order_label |
|||
</field> |
|||
<field name="binding_model_id" ref="model_laundry_order"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,148 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<record id="sequence_laundry" model="ir.sequence"> |
|||
<field name="name">Laundry Order Code</field> |
|||
<field name="code">laundry.order</field> |
|||
<field eval="4" name="padding"/> |
|||
<field name="prefix">LO</field> |
|||
</record> |
|||
<!-- Views of laundry.order model for giving the fields in laundry order |
|||
form view --> |
|||
<record id="laundry_order_form_view" model="ir.ui.view"> |
|||
<field name="name">laundry.order.form</field> |
|||
<field name="model">laundry.order</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Laundry Order" class="o_sale_order"> |
|||
<header> |
|||
<button name="confirm_order" class="oe_highlight" |
|||
string="Confirm Order" type="object" |
|||
invisible="state not in 'draft'"/> |
|||
<button name="create_invoice" class="oe_highlight" |
|||
string="Create Invoice" type="object" |
|||
invisible="(invoice_status == 'invoiced') or (state != 'done')"/> |
|||
<button name="return_dress" string="Return" |
|||
class="oe_highlight" type="object" |
|||
invisible="state not in 'done'"/> |
|||
<button name="cancel_order" string="Cancel" |
|||
type="object" invisible="state not in 'draft'"/> |
|||
<field name="state" widget="statusbar" |
|||
statusbar_visible="draft,order,done,return"/> |
|||
</header> |
|||
<sheet> |
|||
<div class="oe_button_box" name="buttons"> |
|||
<button name='action_view_laundry_works' |
|||
class="oe_stat_button" type="object" |
|||
icon="fa-money" |
|||
invisible="state not in ('order','done','return','process')"> |
|||
<field string="Works" name="work_count" |
|||
widget="statinfo"/> |
|||
</button> |
|||
<button name='action_view_invoice' |
|||
class="oe_stat_button" type="object" |
|||
icon="fa-money" |
|||
invisible="state not in ('done','return')"> |
|||
<field string="Invoice" name="invoice_count" |
|||
widget="statinfo"/> |
|||
</button> |
|||
</div> |
|||
<div class="oe_title"> |
|||
<h1> |
|||
<field name="name" readonly="1"/> |
|||
</h1> |
|||
</div> |
|||
<group> |
|||
<group> |
|||
<field name="partner_id" readonly="False"/> |
|||
<field name="partner_invoice_id" |
|||
context="{'default_type':'invoice'}" |
|||
readonly="state in ['done','return','cancel']"/> |
|||
<field name="partner_shipping_id" |
|||
context="{'default_type':'delivery'}" |
|||
readonly="state in ['done','return','cancel']"/> |
|||
</group> |
|||
<group> |
|||
<field name="order_date" |
|||
readonly="state != 'draft'"/> |
|||
<field name="currency_id" |
|||
readonly="state != 'draft'"/> |
|||
<field name="laundry_person" |
|||
readonly="state in ['return', 'cancel']"/> |
|||
<field name="invoice_status" invisible="1"/> |
|||
<field name="sale_obj" invisible="1"/> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page string="Order Lines"> |
|||
<field name="order_lines" |
|||
readonly="state != 'draft'"> |
|||
<tree string="Laundry Order Lines" |
|||
editable="bottom" |
|||
decoration-info="state == 'draft'" |
|||
colors="grey:state == 'done';black:state == 'extra_work';green:state == 'wash';"> |
|||
<field name="product_id"/> |
|||
<field name="description"/> |
|||
<field name="qty"/> |
|||
<field name="washing_type"/> |
|||
<field name="extra_work" |
|||
widget="many2many_tags"/> |
|||
<field name="state"/> |
|||
<field name="amount"/> |
|||
</tree> |
|||
</field> |
|||
<group class="oe_subtotal_footer oe_right" |
|||
colspan="2" name="laundry_total"> |
|||
<field name="total_amount" widget='monetary' |
|||
options="{'currency_field': 'currency_id'}"/> |
|||
</group> |
|||
<field name="note" class="oe_inline" |
|||
placeholder="Setup default terms and conditions in your company settings."/> |
|||
<div class="oe_clear"/> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
<div class="oe_chatter"> |
|||
<field name="message_follower_ids" |
|||
widget="mail_followers"/> |
|||
<field name="message_ids" widget="mail_thread"/> |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Views of laundry.order model for giving the fields in laundry order |
|||
tree view --> |
|||
<record id="laundry_order_tree_view" model="ir.ui.view"> |
|||
<field name="name">laundry.order.tree</field> |
|||
<field name="model">laundry.order</field> |
|||
<field name="arch" type="xml"> |
|||
<tree decoration-info="state == 'draft'"> |
|||
<field name="name"/> |
|||
<field name="partner_id"/> |
|||
<field name="order_date"/> |
|||
<field name="laundry_person"/> |
|||
<field name="total_amount"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="action_laundry_order" model="ir.actions.act_window"> |
|||
<field name="name">Laundry Management</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">laundry.order</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="domain">[]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to create a New Order. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem name="Laundry Management" id="laundry_management_menu" |
|||
/> |
|||
<menuitem id="laundry_management_sub_menu" name="Laundry Management" |
|||
parent="laundry_management_menu" sequence="1"/> |
|||
<menuitem id="laundry_management_order" name="Laundry Order" |
|||
parent="laundry_management_sub_menu" |
|||
action="action_laundry_order" sequence="1"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,32 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Views of report of laundry orders --> |
|||
<record id="view_report_laundry_order" model="ir.ui.view"> |
|||
<field name="name">report.laundry.order.pivot</field> |
|||
<field name="model">report.laundry.order</field> |
|||
<field name="arch" type="xml"> |
|||
<pivot string="Laundry Order Analysis" display_quantity="true" |
|||
disable_linking="True"> |
|||
<field name="name" type="row"/> |
|||
</pivot> |
|||
</field> |
|||
</record> |
|||
<record id="action_laundry_order_analysis" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Laundry Order Analysis</field> |
|||
<field name="res_model">report.laundry.order</field> |
|||
<field name="view_mode">pivot</field> |
|||
<field name="context">{'group_by_no_leaf':1,'group_by':[]}</field> |
|||
<field name="help">This report allows you to analyse the performance |
|||
of your Laundry Management. |
|||
</field> |
|||
</record> |
|||
<menuitem id="laundry_report_menu" name="Report" |
|||
parent="laundry_management_menu" sequence="2"/> |
|||
<menuitem name="Laundry Order Analysis" |
|||
action="action_laundry_order_analysis" |
|||
id="menu_laundry_order_analysis" parent="laundry_report_menu" |
|||
sequence="1"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,86 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Views of washing.washing model for giving the fields in washing |
|||
form view --> |
|||
<record id="washing_form_view" model="ir.ui.view"> |
|||
<field name="name">washing.washing.form</field> |
|||
<field name="model">washing.washing</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Washing" create="false"> |
|||
<header> |
|||
<button name="start_wash" class="oe_highlight" |
|||
string="Start" type="object" |
|||
invisible="state not in 'draft'"/> |
|||
<button name="set_to_done" class="oe_highlight" |
|||
string="Set to Done" type="object" |
|||
invisible="state not in 'process'"/> |
|||
<field name="state" widget="statusbar" |
|||
statusbar_visible="draft,process,done"/> |
|||
</header> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="name" readonly="1"/> |
|||
<field name="user_id"/> |
|||
</group> |
|||
<group> |
|||
<field name="washing_date" readonly="1"/> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page string="Description"> |
|||
<field name="description"/> |
|||
</page> |
|||
<page string="Additional Products"> |
|||
<field name="product_line" |
|||
readonly="state != 'draft'"> |
|||
<tree editable="bottom"> |
|||
<field name="product_id"/> |
|||
<field name="name"/> |
|||
<field name="quantity"/> |
|||
<field name="uom_id"/> |
|||
<field name="price_unit"/> |
|||
<field name="subtotal"/> |
|||
<field name="wash_obj" invisible="1"/> |
|||
</tree> |
|||
</field> |
|||
<group class="oe_subtotal_footer oe_right" |
|||
colspan="2" name="product_total"> |
|||
<field name="total_amount" |
|||
widget='monetary'/> |
|||
</group> |
|||
<div class="oe_clear"/> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Views of washing.washing model for giving the fields in washing |
|||
tree view --> |
|||
<record id="washing_tree_view" model="ir.ui.view"> |
|||
<field name="name">washing.washing.tree</field> |
|||
<field name="model">washing.washing</field> |
|||
<field name="arch" type="xml"> |
|||
<tree create="false" edit="false" |
|||
decoration-info="state == 'draft'"> |
|||
<field name="name"/> |
|||
<field name="user_id"/> |
|||
<field name="washing_date"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="action_washing" model="ir.actions.act_window"> |
|||
<field name="name">Washing</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">washing.washing</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="domain">[('user_id','=', uid)]</field> |
|||
</record> |
|||
<menuitem id="laundry_washing" name="Laundry Works" |
|||
parent="laundry_management_sub_menu" action="action_washing" |
|||
sequence="2"/> |
|||
</data> |
|||
</odoo> |