← Back to team overview

openerp-india team mailing list archive

[Bug 1042214] Re: Web POS Order does not show on receipt

 

Quick fix on 6.1 for those who are interested
in pos.xml

    <t t-name="pos-ticket">
        <div class="pos-sale-ticket">
            <div class="pos-right-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
                Date.CultureInfo.formatPatterns.longTime)"/></div>
            <br />
            <t t-esc="widget.company.name"/><br />
            Phone: <t t-esc="widget.company.phone || ''"/><br />
            User: <t t-esc="widget.user.name"/><br />
            Shop: <t t-esc="widget.shop_obj.name"/><br />
+         <t t-esc="widget.currentOrder.getName()"/><br />

You can also hardcode any otherinformation you need like VAT number . I
havent checked for the object name in js for that

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1042214

Title:
  Web POS Order does not show on receipt

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  With fresh installation the pos receipt should contain the default order created by the latest version 6.1
  From the xml files I can see the default is Order + timestamp in order to be unique
  The pos_receipt has the field o.name which should be the the order number but after validation when printing, the pdf does not show the order number
  also the order number does not show on the preview of the receipt right after you click on validate

  Regards,
  Savvas

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1042214/+subscriptions