[IMP]: onchange template in so

bzr revid: aja@tinyerp.com-20131206135720-s2e0z9k5phr4rwwt
This commit is contained in:
ajay javiya (OpenERP) 2013-12-06 19:27:20 +05:30
parent dbc1dd4ac5
commit 6fffcd42bd
7 changed files with 272 additions and 300 deletions

View File

@ -83,7 +83,7 @@
});
},
calc_box: function() {
var $topbar = instance.client.$(".oe_topbar");
var $topbar = instance.client.$(".navbar");
var top = $topbar.offset().top + $topbar.height();
top = Math.max(top - $(window).scrollTop(), 0);
this.$el.css("top", top);
@ -174,4 +174,4 @@
openerp.webclient.to_kitten();
};
})();
})();

View File

@ -48,7 +48,7 @@ class sale_quote(http.Controller):
if 'body' in request.session and request.session.body:
request.registry.get('sale.order').message_post(request.cr, SUPERUSER_ID, self.get_quote(token),
body=request.session.body,
type='comment',
type='email',
subtype='mt_comment',
)
request.session.body = False

View File

@ -48,60 +48,39 @@ class sale_order(osv.osv):
'is_template': fields.boolean('Is Template'),
}
def new_quotation_token(self, cr, uid, record_id):
def new_quotation_token(self, cr, uid, record_id,context=None):
db_uuid = self.pool.get('ir.config_parameter').get_param(cr, uid, 'database.uuid')
quotation_token = hashlib.sha256('%s-%s-%s' % (time.time(), db_uuid, record_id)).hexdigest()
return self.write(cr, uid, [record_id],{'access_token': quotation_token} )
return self.write(cr, uid, [record_id],{'access_token': quotation_token,'quote_url': self.get_signup_url(cr, uid, quotation_token, context)} )
def create(self, cr, uid, vals, context=None):
new_id = super(sale_order, self).create(cr, uid, vals, context=context)
self.new_quotation_token(cr, uid, new_id)
return new_id
def write(self, cr, uid, ids, vals, context=None):
template_id = vals.get('template_id', False)
lines = []
line_pool = self.pool.get('sale.order.line')
if template_id:
order_template = self.browse(cr, uid, template_id, context)
for line in order_template.order_line:
line_pool.create(cr, uid,{
'name': line.name,
'sequence': line.sequence,
'order_id': ids[0],
'price_unit': line.price_unit,
'product_uom_qty': line.product_uom_qty,
'discount': line.discount,
'product_id': line.product_id.id,
'tax_id': [(6, 0, [x.id for x in line.tax_id])],
'website_description':line.website_description,
}, context=context)
vals.update({
'quote_url': self.get_signup_url(cr, uid, ids, context),
'website_description': order_template.website_description,
})
res = super(sale_order, self).write(cr, uid, ids, vals, context=context)
return res
new_id = super(sale_order, self).create(cr, uid, vals, context=context)
self.new_quotation_token(cr, uid, new_id,context)
return new_id
def action_quotation_send(self, cr, uid, ids, context=None):
quote = super(sale_order, self).action_quotation_send(cr, uid,ids, context)
sale_quote = self.pool.get('sale.quote')
for order in self.browse(cr, uid, ids, context):
q_id = sale_quote.search(cr, uid, [('order_id','=', order.id)], context=context)
if not q_id:
new_id = sale_quote.create(cr, uid,{
'order_id' : order.id,
'state' : 'draft',
'to_email': order.partner_id.email,
})
self.write(cr, uid, order.id, {'quote_url': self.get_signup_url(cr, uid, [order.id], context)})
return quote
def get_signup_url(self, cr, uid, ids, context=None):
url = False
order = self.browse(cr, uid, ids, context=context)[0]
def get_signup_url(self, cr, uid, token, context=None):
base_url = self.pool.get('ir.config_parameter').get_param(cr, uid, 'web.base.url', default='http://localhost:8069', context=context)
url = "%s/quote/%s" % (base_url, order.access_token)
url = "%s/quote/%s" % (base_url ,token)
return url
def _get_sale_order_line(self, cr, uid,template_id, context=None):
line_pool = self.pool.get('sale.order.line')
lines = []
order_template = self.browse(cr, uid, template_id, context)
for line in order_template.order_line:
lines.append((0,0,{
'name': line.name,
'sequence': line.sequence,
'price_unit': line.price_unit,
'product_uom_qty': line.product_uom_qty,
'discount': line.discount,
'product_id': line.product_id.id,
'tax_id': [(6, 0, [x.id for x in line.tax_id])],
'website_description':line.website_description,
}))
return {'order_line':lines,'website_description': order_template.website_description}
def onchange_template_id(self, cr, uid,ids, template_id, context=None):
data = self._get_sale_order_line(cr, uid, template_id, context)
return {'value':data}

View File

@ -1,6 +1,5 @@
<openerp>
<data>
<!--Email template -->
<record id="email_template_sale_quote" model="email.template">
<field name="name">Sales Quotation - Send by Email (Quote)</field>
@ -16,7 +15,7 @@
<p>Here is your ${object.state in ('draft', 'sent') and 'quotation' or 'order confirmation'} from ${object.company_id.name}: </p>
<% set signup_url = object.get_quote_url() %>
<% set signup_url = object.get_signup_url(object.access_token) %>
<p>
You can access this document and pay online via our Customer Portal:
</p>

View File

@ -10,250 +10,242 @@
<field name="pricelist_id" ref="product.list0"/>
<field name="is_template" eval="True"/>
<field name="website_description" type="html">
<section id="introduction" class="tab-pane active oe_section jumbotron">
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Want to start selling OpenERP to your customers?</strong></h2>
<h3><small>Join our partner network</small></h3>
<div class="col-md-7 mt16">
<p class="lead">Get all you need to grow your business and deliver quality services with the OpenERP Partner Program. It includes discounts on OpenERP Enterprise, technical and functional trainings, support services, marketing documents, access to the partner portal, rights to use the trademark and much more.</p>
</div>
<div class="col-md-3">
<img class="media-object" src="https://www.openerp.com/openerp_enterprise/static/img/openerp_gold_partner.png"/>
</div>
</div>
</div>
<div class="row">
<div class="text-center">
<h2><strong>Why should you become a partner?</strong></h2>
<h3><small>Enjoy building a business based on happy customers</small></h3>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">A Valuable Product</h3>
</div>
<div class="panel-body">
<h4><small>Have strong value added services as you can rely on 3000 existing modules to deliver what the customer needs in a short period of time. Grow with your existing customer base by continuously proposing new modules.</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">A Strong Demand</h3>
</div>
<div class="panel-body">
<h4><small>Enjoy the traction of the fastest growing management software in the world. Benefit from the growing customer demand and the OpenERP brand.</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">High Margins</h3>
</div>
<div class="panel-body">
<h4><small>Grow by developing a recurring revenue stream from OpenERP Enterprise's commission system. Get high billing rates as you deliver a highly valuable software.</small></h4>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="benifit" class="tab-pane oe_section jumbotron">
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get Big discounts on OpenERP Enterprise</strong></h2>
<h3><small>Grow through recurring revenue streams from your customer base</small></h3>
</div>
<div class="col-md-8 col-md-offset-4 mb32 text-center">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_01.png"/>
</div>
<div class="col-md-8 col-md-offset-2 mb32 text-center">
<p>
As a partner, you get a big discount on OpenERP Enterprise.
This allows you to offer reduced prices to your customers and/or
to benefit from a commission on every subscription you sell to your customers.
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Benefit From A Dedicated Account Manager</strong></h2>
<h3><small>Our role is to help you succeed</small></h3>
</div>
<div class="col-md-5 col-md-offset-1 mt32 mb16">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_02.png"/>
</div>
<div class="col-md-5">
<p>A dedicated account manager is assigned to every partner to help develop the OpenERP business. The account manager helps you get leads, close deals, gives you feedback and best practices, delivers sales training and is a direct point of contact for any request you may have.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get access to our consultants and technical experts</strong></h2>
<h3><small>Get access to experts for an extra fee</small></h3>
<p>For an extra fee, partners can get access to OpenERP's core developers and functional experts. This can help you succeed in delivering more complex or bigger projects by getting the support of highly experienced consultants on demand.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get recognition as an official certified partner</strong></h2>
<h3><small>We give you visibility in our official partner list</small></h3>
<p>OpenERP promotes its partners through various ways: publication on our website, official communication, publication of your success stories, etc. As soon as you become an OpenERP partner and have followed the official trainings, you will be visible on the partner directory listing.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Access to the Lead Generation Program</strong></h2>
<h3><small>We give you visibility in our official partner list</small></h3>
<p>Every year, we redirect more than 100,000 customer requests to our official partners. These are prospects that filled a form on the OpenERP website and wanted to use OpenERP. The right partner to fulfill the customer request is selected based on the customer localization (nearest partner) and the grade of the partner..</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Benefit from the OpenERP branding</strong></h2>
<h3><small>Get rights to use the OpenERP trademark</small></h3>
<p>Every year, we redirect more than 100,000 customer requests to our official partners. These are prospects that filled a form on the OpenERP website and wanted to use OpenERP. The right partner to fulfill the customer request is selected based on the customer localization (nearest partner) and the grade of the partner..</p>
</div>
</div>
</div>
</section>
<section id="training" class="tab-pane oe_section jumbotron">
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get Trained on OpenERP</strong></h2>
<h3><small>Technical training, functional training and sales training</small></h3>
<p>Customers need qualified partners. That's why being trained and certified is a requirement to become an official partner. When you start as a partner, you are free to choose from the following training sessions:</p>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Technical Training</h3>
</div>
<div class="panel-body">
<h4><small>Learn how to develop custom modules, including the development of new business objects, customization of screens, the design of new reports, the adaption of workflows and automated interfaceing with other programs or websites. (5 days)</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Functional Training</h3>
</div>
<div class="panel-body">
<h4><small>Learn how to configure and customize OpenERP, all from within the software itself - no coding required. The main applications are covered by this 5-day training are: Sales, Project Management, Accounting, Inventory, Manufacturing Resource Planning and Human Resources. (5 days)</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Sales Training</h3>
</div>
<div class="panel-body">
<h4><small>This online training is designed specifically for salespeople and presales employees who will be given an introduction course on OpenERP key features and how to present it's unique selling propositions to a potential customer.</small></h4>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get access to online training materials</strong></h2>
<h3><small>Train yourself on every new release using online videosGet rights to use the OpenERP trademark</small></h3>
<p>Each partner gets access to our training videos which are available in the partner portal. The training material is updated for every new version of OpenERP. Special training sessions are organised to keep partners up to date for each new version of OpenERP.</p>
</div>
</div>
</div>
</section>
<section id="services" class="tab-pane active oe_section jumbotron">
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get access to our functional support services</strong></h2>
<h3><small>Don't be stuck on your implementation project, we can help you.</small></h3>
<p>As you go through your first implementation of an OpenERP system it is normal to need some support. We are here to answer your questions regarding the functionality of the software, or how to configure the solution. Each partner is entitled to a certain number of support hours thanks to his or her partner program.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get technical support services</strong></h2>
<h3><small>We help your developers with bugs or support questions</small></h3>
<p>Each partner gets access to our training videos which are available in the partner portal. The training material is updated for every new version of OpenERP. Special training sessions are organised to keep partners up to date for each new version of OpenERP.</p>
</div>
<div class="col-md-8 col-md-offset-4 mb32 text-center">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_04.png"/>
</div>
<div class="col-md-8 col-md-offset-2 mb32 text-center">
<p>The OpenERP Support Team is 100% dedicated to helping our customers. You can contact the Support Team for any functional or technical questions and issues with regard to OpenERP development. They can help you develop custom modules.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Test all your developments automatically</strong></h2>
<h3><small>Your dedicated test integration platform</small></h3>
</div>
<div class="col-md-5 col-md-offset-1 mt32 mb16">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_sc_01.png"/>
</div>
<div class="col-md-5">
<p>Save time in your implementation project by having your developments tested automatically by our automated test servers. At every code commit, you get a full OpenERP instance that you can try out online. When this instance is deployed, your code is automatically put through our 2000+ automated unit tests.
Our automated testing server software is called Runbot, and you can try it out here: http://runbot.openerp.com. A dedicated runbot server is available for every partner.</p>
</div>
</div>
</div>
</section>
<section id="whatsuit" class="tab-pane active oe_section jumbotron">
<div class="container panel panel-default">
<div class="container panel panel-default tab-pane active oe_section">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get The Partnership Level That Suits You</strong></h2>
<p>The OpenERP eco system is designed to ensure that OpenERPs users will enjoy the best customer experience with our products. The community brings a wealth of new functionality.
OpenERP as a software publisher is committed to continuously improving the quality of the software. Our local partners provide integration and support services.</p>
<h2><strong>Want to start selling OpenERP to your customers?</strong></h2>
<h3><small>Join our partner network</small></h3>
<div class="col-md-7 mt16">
<p class="lead">Get all you need to grow your business and deliver quality services with the OpenERP Partner Program. It includes discounts on OpenERP Enterprise, technical and functional trainings, support services, marketing documents, access to the partner portal, rights to use the trademark and much more.</p>
</div>
<div class="col-md-3">
<img class="media-object" src="https://www.openerp.com/openerp_enterprise/static/img/openerp_gold_partner.png"/>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Ready Partners</h3>
</div>
<div class="panel-body">
<h3><small>The Ready membership level enables Partners to start and grow their OpenERP competencies. They benefit from a comprehensive set of services including training, support and access to leads which allow them to build their business at their own pace.
Ready partners also have a minimum of 1 certified OpenERP Functional Specialist on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
<div class="row">
<div class="text-center">
<h2><strong>Why should you become a partner?</strong></h2>
<h3><small>Enjoy building a business based on happy customers</small></h3>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">A Valuable Product</h3>
</div>
<div class="panel-body">
<h4><small>Have strong value added services as you can rely on 3000 existing modules to deliver what the customer needs in a short period of time. Grow with your existing customer base by continuously proposing new modules.</small></h4>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Silver Partners</h3>
</div>
<div class="panel-body">
<h3><small>Partners which have qualified for the Silver Partner level are experienced in implementing OpenERP projects. Silver partners enjoy enhanced benefits as well as access to additional resources to support the growth of their business with OpenERP.
Silver partners also have a minimum of 2 certified OpenERP Functional Specialists on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">A Strong Demand</h3>
</div>
<div class="panel-body">
<h4><small>Enjoy the traction of the fastest growing management software in the world. Benefit from the growing customer demand and the OpenERP brand.</small></h4>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Gold Partners</h3>
</div>
<div class="panel-body">
<h3><small>Gold partners have a strategic relationship with OpenERP. OpenERP is at the core of their strategy. They have committed significant resources to develop and deploy OpenERP solutions. They benefit from the highest visibility in the OpenERP ecosystem.
Gold partners also have a minimum of 3 certified OpenERP Functional Specialists on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">High Margins</h3>
</div>
<div class="panel-body">
<h4><small>Grow by developing a recurring revenue stream from OpenERP Enterprise's commission system. Get high billing rates as you deliver a highly valuable software.</small></h4>
</div>
</div>
</div>
</div>
</section>
</field>
</div>
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get Big discounts on OpenERP Enterprise</strong></h2>
<h3><small>Grow through recurring revenue streams from your customer base</small></h3>
</div>
<div class="col-md-8 col-md-offset-4 mb32 text-center">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_01.png"/>
</div>
<div class="col-md-8 col-md-offset-2 mb32 text-center">
<p>
As a partner, you get a big discount on OpenERP Enterprise.
This allows you to offer reduced prices to your customers and/or
to benefit from a commission on every subscription you sell to your customers.
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Benefit From A Dedicated Account Manager</strong></h2>
<h3><small>Our role is to help you succeed</small></h3>
</div>
<div class="col-md-5 col-md-offset-1 mt32 mb16">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_02.png"/>
</div>
<div class="col-md-5">
<p>A dedicated account manager is assigned to every partner to help develop the OpenERP business. The account manager helps you get leads, close deals, gives you feedback and best practices, delivers sales training and is a direct point of contact for any request you may have.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get access to our consultants and technical experts</strong></h2>
<h3><small>Get access to experts for an extra fee</small></h3>
<p>For an extra fee, partners can get access to OpenERP's core developers and functional experts. This can help you succeed in delivering more complex or bigger projects by getting the support of highly experienced consultants on demand.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get recognition as an official certified partner</strong></h2>
<h3><small>We give you visibility in our official partner list</small></h3>
<p>OpenERP promotes its partners through various ways: publication on our website, official communication, publication of your success stories, etc. As soon as you become an OpenERP partner and have followed the official trainings, you will be visible on the partner directory listing.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Access to the Lead Generation Program</strong></h2>
<h3><small>We give you visibility in our official partner list</small></h3>
<p>Every year, we redirect more than 100,000 customer requests to our official partners. These are prospects that filled a form on the OpenERP website and wanted to use OpenERP. The right partner to fulfill the customer request is selected based on the customer localization (nearest partner) and the grade of the partner..</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Benefit from the OpenERP branding</strong></h2>
<h3><small>Get rights to use the OpenERP trademark</small></h3>
<p>Every year, we redirect more than 100,000 customer requests to our official partners. These are prospects that filled a form on the OpenERP website and wanted to use OpenERP. The right partner to fulfill the customer request is selected based on the customer localization (nearest partner) and the grade of the partner..</p>
</div>
</div>
</div>
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get Trained on OpenERP</strong></h2>
<h3><small>Technical training, functional training and sales training</small></h3>
<p>Customers need qualified partners. That's why being trained and certified is a requirement to become an official partner. When you start as a partner, you are free to choose from the following training sessions:</p>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Technical Training</h3>
</div>
<div class="panel-body">
<h4><small>Learn how to develop custom modules, including the development of new business objects, customization of screens, the design of new reports, the adaption of workflows and automated interfaceing with other programs or websites. (5 days)</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Functional Training</h3>
</div>
<div class="panel-body">
<h4><small>Learn how to configure and customize OpenERP, all from within the software itself - no coding required. The main applications are covered by this 5-day training are: Sales, Project Management, Accounting, Inventory, Manufacturing Resource Planning and Human Resources. (5 days)</small></h4>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">The Sales Training</h3>
</div>
<div class="panel-body">
<h4><small>This online training is designed specifically for salespeople and presales employees who will be given an introduction course on OpenERP key features and how to present it's unique selling propositions to a potential customer.</small></h4>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get access to online training materials</strong></h2>
<h3><small>Train yourself on every new release using online videosGet rights to use the OpenERP trademark</small></h3>
<p>Each partner gets access to our training videos which are available in the partner portal. The training material is updated for every new version of OpenERP. Special training sessions are organised to keep partners up to date for each new version of OpenERP.</p>
</div>
</div>
</div>
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get access to our functional support services</strong></h2>
<h3><small>Don't be stuck on your implementation project, we can help you.</small></h3>
<p>As you go through your first implementation of an OpenERP system it is normal to need some support. We are here to answer your questions regarding the functionality of the software, or how to configure the solution. Each partner is entitled to a certain number of support hours thanks to his or her partner program.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Get technical support services</strong></h2>
<h3><small>We help your developers with bugs or support questions</small></h3>
<p>Each partner gets access to our training videos which are available in the partner portal. The training material is updated for every new version of OpenERP. Special training sessions are organised to keep partners up to date for each new version of OpenERP.</p>
</div>
<div class="col-md-8 col-md-offset-4 mb32 text-center">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_icon_04.png"/>
</div>
<div class="col-md-8 col-md-offset-2 mb32 text-center">
<p>The OpenERP Support Team is 100% dedicated to helping our customers. You can contact the Support Team for any functional or technical questions and issues with regard to OpenERP development. They can help you develop custom modules.</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12 text-center">
<h2><strong>Test all your developments automatically</strong></h2>
<h3><small>Your dedicated test integration platform</small></h3>
</div>
<div class="col-md-5 col-md-offset-1 mt32 mb16">
<img class="img img-responsive" src="https://www.openerp.com/openerp_enterprise/static/img/partner_sc_01.png"/>
</div>
<div class="col-md-5">
<p>Save time in your implementation project by having your developments tested automatically by our automated test servers. At every code commit, you get a full OpenERP instance that you can try out online. When this instance is deployed, your code is automatically put through our 2000+ automated unit tests.
Our automated testing server software is called Runbot, and you can try it out here: http://runbot.openerp.com. A dedicated runbot server is available for every partner.</p>
</div>
</div>
</div>
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Get The Partnership Level That Suits You</strong></h2>
<p>The OpenERP eco system is designed to ensure that OpenERPs users will enjoy the best customer experience with our products. The community brings a wealth of new functionality.
OpenERP as a software publisher is committed to continuously improving the quality of the software. Our local partners provide integration and support services.</p>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Ready Partners</h3>
</div>
<div class="panel-body">
<h3><small>The Ready membership level enables Partners to start and grow their OpenERP competencies. They benefit from a comprehensive set of services including training, support and access to leads which allow them to build their business at their own pace.
Ready partners also have a minimum of 1 certified OpenERP Functional Specialist on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Silver Partners</h3>
</div>
<div class="panel-body">
<h3><small>Partners which have qualified for the Silver Partner level are experienced in implementing OpenERP projects. Silver partners enjoy enhanced benefits as well as access to additional resources to support the growth of their business with OpenERP.
Silver partners also have a minimum of 2 certified OpenERP Functional Specialists on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Gold Partners</h3>
</div>
<div class="panel-body">
<h3><small>Gold partners have a strategic relationship with OpenERP. OpenERP is at the core of their strategy. They have committed significant resources to develop and deploy OpenERP solutions. They benefit from the highest visibility in the OpenERP ecosystem.
Gold partners also have a minimum of 3 certified OpenERP Functional Specialists on the latest OpenERP version (enforced starting Q3 2014)</small></h3>
</div>
</div>
</div>
</div>
</div>
</section>
</field>
</record>
<record id="website_sale_order_line_1" model="sale.order.line">

View File

@ -7,13 +7,13 @@
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//header" position="after">
<div class="oe_form_box_info oe_text_center" attrs="{'invisible': [('quote_url', '=', False)]}">
<div class="oe_form_box_info oe_text_center" attrs="{'invisible': ['|',('quote_url', '=', False),('template_id','=',False)]}">
<field name="quote_url" widget="url"/>
</div>
</xpath>
<xpath expr="//field[@name='client_order_ref']" position="after">
<field name="is_template"/>
<field name="template_id" domain ="[('is_template','=',True)]" attrs="{'invisible': [('is_template', '=', True )]}"/>
<field name="template_id" domain ="[('is_template','=',True)]" attrs="{'invisible': [('is_template', '=', True )]}" on_change="onchange_template_id(template_id)"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page string="Introduction">

View File

@ -207,9 +207,10 @@
<li>
<a href="#chat">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-circle fa-stack-2x main-color"></i>
<i class="fa fa-comment fa-stack-1x fa-inverse"></i>
</span>Discuss
<sup class="label label-info"><t t-esc="len(quotation.message_ids)"/></sup>
</a>
</li>
</ul>
@ -225,21 +226,23 @@
<div class="panel-body">
<ul class="list-group">
<t t-foreach="quotation.message_ids" t-as="message">
<li class="list-group-item">
<div class="row">
<div class="col-xs-2 col-md-1">
<img t-att-src="'data:image/png;base64,' + message.author_id.image_small" class="img-circle img-responsive" alt="" /></div>
<div class="col-xs-10 col-md-11">
<div>
<a href="http://www.jquery2dotnet.com/2013/10/google-style-login-page-desing-usign.html"/>
<t t-raw="message.body"/>
<div class="mic-info">
By: <a href="#"><t t-esc="message.author_id.name"/></a> on <t t-esc="message.date"/>
<t t-if="message.type == 'email'">
<li class="list-group-item">
<div class="row">
<div class="col-xs-2 col-md-1">
<img t-att-src="'data:image/png;base64,' + message.author_id.image_small" class="img-circle img-responsive" alt="" /></div>
<div class="col-xs-10 col-md-11">
<div>
<a href="http://www.jquery2dotnet.com/2013/10/google-style-login-page-desing-usign.html"/>
<t t-raw="message.body"/>
<div class="mic-info">
By: <a href="#"><t t-esc="message.author_id.name"/></a> on <t t-esc="message.date"/>
</div>
</div>
</div>
</div>
</div>
</li>
</li>
</t>
</t>
</ul>
</div>
@ -253,8 +256,7 @@
<t t-call="website_sale_quote.static_layout">
<div class="col-xs-12 col-md-8 tab-content">
<t t-call="website_sale_quote.quote_status"/>
<section id="introduction11" class="tab-pane active oe_section jumbotron">
<div t-field="quotation.website_description"/>
<section id="introduction11" class="tab-pane active oe_section jumbotron" t-field="quotation.website_description">
</section>
<t t-foreach="quotation.order_line" t-as="line">
<section class="tab-pane oe_section jumbotron" t-att-id="line.id">