accen_contract_report_view.xml 27.3 KB
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
    <template id="accten_report_contract">
        <t t-call="web.basic_layout">
            <t t-foreach="docs" t-as="o">
                <style tyle="text/css">
                    .unovo-report-purchase-title {
                    font-family:"DengXian";
                    font-size: 25px;
                    font-weight: bold;
                    text-align:center;
                    line-height:40px;
                    }
                    .unovo-report-purchase-header {
                    font-family:"DengXian";
                    line-height:22px;
                    font-size:16px;
                    text-align:right;
                    }
                    .unovo-report-purchase-table {
                    vertical-align: middle;
                    font-family:"DengXian";
                    border:1px solid #ccc;
                    width:100%;
                    border-collapse:collapse;
                    border:1px solid #ccc;
                    background:#FFF
                    }
                    .unovo-report-purchase-table th{
                    font-weight:bold;
                    text-align:center;
                    height:20px;
                    font-size:16px;
                    border:1px solid #ccc;
                    }
                    .unovo-report-purchase-table td{
                    height:20px;
                    font-size:16px;
                    border:1px solid #ccc;
                    background:#FFF
                    text-align: center;
                    }
                    .unovo-report-purchase-total {
                    line-height:20px;
                    font-size:16px;
                    }
                    .unovo-report-purchase-content {
                    font-family:"DengXian";
                    line-height:22px;
                    font-size:16px;
                    }
                    .unovo-report-purchase-content p {
                    margin:5px 0px;
                    }
                    .unovo-report-purchase-footer {
                    font-family:"DengXian";
                    line-height:22px;
                    font-size:16px;
                    }
                </style>
                <div class="page">
                    <div class="row unovo-report-purchase-title">
                        <div class="col-xs-6" style="width: 50%;text-align: left;">
                            <!-- <img t-att-src="'data:image/jpg;base64,%s' % o.purchase_company.logo" style="max-height: 45px;"/> -->
                            <img t-att-src="'data:image/png;base64,%s' % logo" style="max-height: 110px;width:170px"/>
                        </div>
                    </div>
                    <div class="unovo-report-purchase-title">CONTRACT</div>
                    <div style="width:100%;">
                    <div style="width:30%;float:right;">
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <td colspan="4" class="text-center">
                                Contract No.<span t-field="o.name"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" class="text-center">
                                PO NO:
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" class="text-center">
                                Date:<span t-esc="total.get('today', '')"/>
                            </td>
                        </tr>
                    </table>
                    </div>
                    <br/>
                    <div style="clear:both;float:left; width:45%">
                    <p>The Buyer:买方</p>
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                              <p style="text-align:left"><span t-field="o.partner_id.name"/></p>
                              <p style="text-align:left">ADD: <span t-field="o.partner_id.street"/></p>
                              <p style="text-align:left">TEL: <span t-field="o.partner_id.mobile"/></p>
                              <p style="text-align:left">FAX: <span t-field="o.partner_id.phone"/></p>
                            </td>
                        </tr>
                    </table></div>
                    <div style="float:right; width:45%">
                    <p>The Seller:卖方</p>
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                              <p style="text-align:left"><span t-field="o.sale_company.name"/></p>
                              <p style="text-align:left">ADD: 1588-18, Lianhang Road, Pujiang, Minhang District, 201112, Shanghai, China</p>
                              <p style="text-align:left">TEL: +86 21-62208090</p>
                              <p style="text-align:left">FAX: +86-21-51026636</p>
                            </td>
                        </tr>
                    </table></div>
                    </div>
                    <br/>
                    <div style="clear:both;" class="unovo-report-purchase-content">
                        <p>
                            <p>1.This Contract is made by and between the Buyer and the Seller, where the Buyer agrees to buy and the Seller agrees to sell the under mentioned commodity  according to the terms and conditions stipulated below.</p>
                            <p>本合同由买卖双方签订,其中买方同意按照本合同规定的条款购买、卖方同意按照本合同规定的条款出售本合同中所定的货物。</p>
                        </p>
                        <p>
                            <p>2.COMMODITY AND SPECIFICATION商品及技术特性:</p>
                        </p>
                    </div>
                    <br/>
                    <br/>
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <th class="text-center" >
                                <strong>ITEM</strong>
                            </th>
                            <th class="text-center" >
                                <strong>PRODUCT NAME</strong>
                            </th>
                            <th class="text-center" >
                                <strong>DESCRIPTION</strong>
                            </th>
                            <th class="text-center" >
                                <strong>QUANTITY</strong>
                            </th>
                            <!-- <th class="text-center" >
                                <strong>单位</strong>
                            </th> -->
                            <th class="text-center" >
                                <strong>UNIT PRICE</strong>
                            </th>
                            <th class="text-center" >
                                <strong>TOTAL</strong>
                            </th>
                        </tr>
                        <tr t-foreach="o.quotation_line" t-as="line">
                            <td class="text-center">
                                <span t-field="line.product_id.product_tmpl_id.product_model"/>
                            </td>
                            <td class="text-center">
                                <span t-field="line.product_id.product_tmpl_id.name"/>
                            </td>
                            <td style="text-align:left;">
                                <span t-field="line.product_id.product_tmpl_id.product_describe_en"/>
                            </td>
                            <td class="text-center">
                                <span t-field="line.product_qty"/>
                            </td>

                            <!-- <td class="text-center">
                                <span t-field="line.product_uom.name"/>
                            </td> -->

                            <td class="text-center">
                                <span t-field="line.price_unit" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>
                            </td>
                            <!-- <td class="text-center">
                                <span t-esc="', '.join(map(lambda x: x.name, line.taxes_id))"/>
                            </td> -->
                            <td class="text-center">
                                <!-- <span t-esc="'{:.2f}'.format(round(line.price_unit*line.product_qty,2))" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/> -->
                                <span t-esc="line.price_unit*line.product_qty" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>
                            </td>
                        </tr>
                    </table>
                    <br/>
                    <div class="unovo-report-purchase-content">
                        <p>
                            3.合同总价: 
                            <p>TOTAL AMOUNT:</p>
                            <p>The price includes[<span t-esc="o.quo_amount_total" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>], excluding customs duty, VAT and any other charges imposed in the country of destination. De-loading and placement of the goods in the buyer’s place is excluded</p>
                            <p>此价格包含【<span t-esc="o.quo_amount_total" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>】,但不包含关税、增指税,和任何其他的到岸后陆地运输的增加费用。货物的卸货和买方工厂内的就位也不包含在内。</p>
                        </p>
                        <p>
                            4.COUNTRY OF ORIGIN AND MANUFACTURERS:<span t-field="o.origin_country"/> 
                            <p>货物原产国及厂家:<span t-field="o.origin_country"/></p>
                        </p>
                        <p>
                            5.TIME OF SHIPMENT: <span t-field="o.delivery_time"/>
                            <p>交货期:<span t-field="o.delivery_time"/></p>
                        </p>
                        <p>
                            6.PORT OF SHIPMENT:<span t-field="o.port_shipment"/>
                            <p>发货机场:<span t-field="o.port_shipment"/></p>
                        </p>
                        <p>
                            7.PORT OF DESTINATION:
                            <p>目的机场:<span t-field="o.destination_port"/></p>
                            <p>交货地址:<span t-field="o.destination_address"/></p>
                        </p>
                        <p>
                            8.Shipping Method :  <span t-field="o.shipping_method"/>
                            <p>运输方式:<span t-field="o.shipping_method"/></p>
                        </p>
                        <p>
                            9.TERMS OF PAYMENT支付条款:
                            <p>30% of the contract value as down-payment shall be paid through TT in [   ] days after signing of the Contract,60% of the contract value shall be paid before shipment of the goods, 10% of the contract value shall be paid within 30 days after acceptance of the goods. All banking charges incurred in China should be borne by the Buyer. All Bank Charges incurred outside China should be borne by the Seller.</p>
                            <p>合同金额的30%应作为预付款在合同签订后【    】日内支付,合同金额的60%应在发货前支付,合同金额的10%应在货到验收后30天内付清。所有在中国发生的银行费用由买方承担。所有在中国境外的银行费用,由卖方承担。</p>
                            <p>Seller Bank Information卖方帐号:</p>
                        </p>
                    </div>
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <!-- <tr>
                                <th colspan="3" class="text-center">
                                    <strong>Other Comments or Special Instructions</strong>
                                </th>
                            </tr> -->
                            <tr>
                                <td>
                                    <p>名    称: <span t-field="o.sale_company.name"/></p>
                                    <p>纳税人识别号: <span t-field="o.sale_company.vat"/></p>
                                    <p>地  址 / 电 话: <span t-field="o.sale_company.name"/></p>
                                    <p>开户行和账号: <span t-field="o.sale_company.bank"/> <span t-field="o.sale_company.bank_number"/></p>
                                </td>
                            </tr>
                    </table>
                    <div class="unovo-report-purchase-content">
                        <p>
                            10.DOCUMENT单据:
                            <p>The Seller will provide the following shipping documents:</p>
                            <p>卖方将提供以下发运文件:</p>
                            <p>1) Commercial invoice, indicating contract No. </p>
                            <p>商业发票,注明合同号</p>
                            <p>2) Packing List in 2 copies, indicating net weight, gross weights and dimension. </p>
                            <p>装箱单2份,表明净重、毛重及尺寸;</p>
                            <p>3)The Seller shall mark on package  the Shipping Mark :唛头</p>
                        </p>
                        <p>
                            11.TERMS OF SHIPMENTS: 
                            <p>运输条款:</p>
                        </p>
                        <p>
                            12.SHIPING ADVICE发货通知: 
                            <p>The Seller shall immediately upon the completion of the loading of the goods, notify by telefax the Buyer of the Contract No. Commodity, quantity, invoice, gross weight, airway bill No, etc. </p>
                            <p>卖方应该在发货后立即通过传真通知买方合同号、货物名称、数量、发票、毛重、运单号等。</p>
                        </p>
                        <p>
                            13.GUARANTEE OF QUALITY质量保证: 
                            <p>The Seller shall guarantee that the goods are made with advanced workmanship, brand new, unused and correspond in all respects with the quality, specifications. The Seller shall also guarantee those goods when correctly mounted and property operated and maintained will give qualified performance for a period of 12 months starting from the date on Acceptance of goods . The guarantee does not cover wear and tear. Under no circumstances the guarantee period shall no later than 15 months from the date of delivery.</p>
                            <p>卖方保证所供的设备是先进的工艺制造的、崭新的、未使用,并且在各个方面与质量和技术规格相符。卖方还应该保证,在对所供设备做到正确安装、合适使用和维护的情况下,能够在从货物验收后12个月中具有符合质量约定的性能,但是因磨损导致的产品损坏的情形不在保证范围内。在任何情况下保证期间不超过发货日期后的15个月。</p>
                        </p>
                        <p>
                            14.INSPECTION检验:
                            <p>1) The Seller shall before making delivery, make a precise and comprehensive inspection of goods as regards their quality, specifications, performance and quantity.</p>
                            <p>在发货前,卖方应该对所供设备的质量、规格、性能和数量进行认真的综合的检验。</p>
                            <p>2) After arrival of the goods at the port of destination, the Buyer shall apply to the China Commodity Inspection Bureau or company (hereinafter called the Bureau) for inspection of the goods in respect of their quality, specifications, or quantity/weight. If any discrepancies are found by the Bureau regarding the specifications or quantity and weight or both due to the reason of the Seller, and those for which neither the insurance company nor the shipping company is responsible, the Buyer shall, within 90 days after unloading of the goods at the port of destination, have rights to reject the goods and to claim against the Seller with the inspection certificate issued by the Bureau. Under no circumstances should the claim exceed the total ordered value. The goods shall be taken as accepted by the Buyer if the goods have passed the inspection of the Bureau or are not inspected in 90 days since the arrival date of the goods.</p>
                            <p>在货物到达目的地后,买方应该邀请中国商品检验局(以下简称商检局),对货物的质量、规格、数量/重量进行检验。如果发现任何因卖方原因导致的上述问题,而且不是保险公司或运输公司原因的话,买方应该在货到目的港后90天内,有权根据商检局的证明,拒收货物并向卖方提出索赔。但在任何情况下,索赔不能超过合同金额。商品通过商检局检验或货到目的后90天内未予检验的,视为买方验收合格。</p>
                            <p>3) Within guarantee period stipulated in clause 13 hereof should the quality and/or the specifications of the goods be found not in conformity with the contracted stipulations, or should the goods prove defective for any reason, including latent defects or the use of unsuitable materials, the Buyer shall immediately notify the Seller and arrange for an inspection to be carried out by the Bureau and have the rights to claim against the Seller with the inspection certificate issued by the Bureau. Under no circumstances should this exceed the total ordered value.</p>
                            <p>在上述13条所规定的保证期内,如果发现质量或规格型号与合同规定不符的话,或者是被任何方式证明货物有缺陷,包括潜在的缺陷或使用不当的材料,买方应该立即通知卖方和商检局,并安排商检局对货物进行检验,买方有权根据商检局出具的证书,向卖方提出索赔。但在任何情况下,索赔不能超过合同金额。</p>
                        </p>
                        <p>
                            15.CLAIMS索赔: 
                            <p>In case the Seller is liable for the discrepancies and a claim is made by the Buyer within the period of claim of quality guarantee period as stipulated in Clauses 13 and 14 of this contract, the Seller shall replace the defective goods with new ones which conform to the specifications, quality and performance as stipulated in this contract. The Seller shall, at same time, guarantee the quality of the replacement goods for a further period of 12 months as specified in this contract, if the claim happens in the original guarantee period. Any and all claims shall be regards as accepted if the Seller fails to reply within 30 days after receipt of the Buyer’s claim. On no account should the Seller be liable for consequential damages such as lost profit, for increased or abortively or additionally retained production costs etc.</p>
                            <p>在13条中规定的质量保证期内,以及在本合同中规定的14条中所规定的时间内,如果发现卖方应该对货物的缺陷负责,而且买方有权对卖方提出索赔的话,卖方应该更换满足合同所规定的规格、质量、性能的货物。如果索赔发生在原来的质保期内的话,卖方应该对所更换货物进行另外12个月的质量保证。如卖方在收到买方的索赔通知后,30天内没有进行答复的话,则任何索赔均认为被卖方接收。任何时候卖方不对买方的间接损失负责,如利润减少、生产成本增加或未能保持原生产成本。</p>
                        </p>
                        <p>
                            16.Penalty for Delayed shipment迟交罚款 
                            <p>If due to the Seller’s reasons, the goods could not be shipped according to the stipulation of the contract, the Seller should pay Buyer 0.01% of the total contract value for 2 week’s delay as penalty. But the shipping couldn’t be delayed more than 12 weeks, thus the total penalty will not be more than 0.06% of the total contract value. If the shipment is delayed more than 12 weeks by the Seller, the Buyer will have the right to refuse the cargoes, in such case, the Seller should still pay Buyer the above penalty. If the Buyer agrees to accept the delayed goods, the penalty will be 0.01% of the total contract value for each 1 week’s delay from the  thirteen week</p>
                            <p>如果由于卖方的原因,货物无法在合同规定的时间内发货,则每延长2周,卖方承担合同总价0.01%的违约金,但最长货物迟交不能超过12周,相应的罚款金额也不超过合同总价的0.06%。超过12周的话,买方有权拒收货物,但卖方仍支付应上述迟交罚款。如果买方同意接收迟交货物,则从12周以后,则从第13周开始,每延期1周,罚合同总价的0.01%。</p>
                        </p>
                        <p>
                            17.FORCE MAJEURE不可抗力: 
                            <p>The Seller shall not be held responsible for any delay in delivery or non delivery of the goods due to Force Majeure. However, the Seller shall advice the Buyer immediately of such occurrence and within fourteen days thereafter, shall send by airmail to the Buyer for their acceptance a certificate issued by the competent government authorities of the place where the accident occurs as evidence thereof. Under such circumstance the Seller, however, is still under the obligation to take all necessary measures to hasten the delivery of the goods. In case the accident lasts for more than ten weeks, the Buyer shall have the right to cancel this contract.</p>
                            <p>如果由于人力不可抗拒的原因,卖方将不对货物延期交货或无法发货负责。不过,卖方应该立即通知买方该情况,并且在14天内,向买方邮寄不可抗力发生地所在当局出具的该事故的证明作为证据。在这种情况下,卖方仍有义务尽最大努力尽快发货。如果不可抗力事故持续时间超过10周,买方有权撤销合同。</p>
                        </p>
                        <p>
                            18.ARBITRATION仲裁:
                            <p>This Contract shall be governed by and interpreted in accordance with the laws of China. All disputes in connection with this contract or the execution thereof shall be settled friendly through negotiations. In case no settlement can be reached. The case may then be submitted for arbitration to the Shanghai International Economic and Trade Arbitration Commission in accordance with the Provisional Rules of Procedures promulgated by the said Arbitration Committee. The Arbitration shall take place in Shanghai and the decision of the Arbitration Committee shall be final and binding upon both parties; neither party shall seek recourse to a law court or other authorities to appeal for revision of the decision. Arbitration fees shall be borne by the losing party.</p>
                            <p>本合同由中国法管辖并依据其进行解释。与本合同有关的及执行本合同中的一切争执,双方通过友好协商进行解决。如果协商不成的话,将提交上海国际经济贸易仲裁委员会,按照其仲裁规则进行仲裁。仲裁将在上海进行,仲裁结果是终局的,对双方均有约束力,任何一方均不应该到法院或其他结构以图推翻上述裁决。仲裁费用由败诉方负担。</p>
                        </p>
                        <p>
                            19.REMARK 备注: 
                            <p>This Contract is made out both in English and Chinese, with two original copies; one copy to be held by each party in witness thereof. The contract shall become effective immediately upon signature by both parties. In case any discrepancy arises from the agreement and the interpretation hereof between the two versions, the Chinese version shall prevail.</p>
                            <p>本合同以中英文书,壹式贰份,双方各执壹份为凭。本合同将在双方签字后生效。如果中英文有冲突的,应以中文解释为准。</p>
                        </p>
                    </div>
                    <br/>
                    <br/>
                    <div style="clear:both;float:left; width:45%">
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <th colspan="3" rowspan="4" class="text-center">
                                <strong>
                                    THE BUYER
                                </strong>
                            </th>
                            <th colspan="6" class="text-center">
                                <strong><span t-field="o.partner_id.name"/></strong>
                            </th>
                        </tr>
                        <tr>
                            <th colspan="6" class="text-center">
                            </th>
                        </tr>
                    </table></div>
                    <div style="float:right; width:45%">
                    <table class="unovo-report-purchase-table" border="1px" cellspacing="0" cellpadding="0">
                        <tr>
                            <th colspan="3" rowspan="10" class="text-center">
                                <strong>
                                    THE SELLER
                                </strong>
                            </th>
                            <th colspan="6" class="text-center">
                                <strong><span t-field="o.sale_company.name"/></strong>
                            </th>
                        </tr>
                        <tr>
                            <th colspan="3" rowspan="10" class="text-center">
                                <strong>
                                </strong>
                            </th>
                            <th colspan="6" class="text-center">
                            </th>
                        </tr>
                    </table></div>
                </div>
                <div style="page-break-after:always;"></div>
            </t>

            <t t-foreach="docs" t-as="doc">
                <t t-set="doc" t-value="doc.with_context({'lang':doc.partner_id.lang})"/>
            </t>
        </t>
    </template>
<!--         <template id="unovo_report_purchaseorder">
        <t t-call="report.html_container">
            <t t-foreach="doc_ids" t-as="doc_id">
                <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'unovo_report.unovo_report_purchaseorder_document')"/>
            </t>
        </t>
    </template> -->
</data>
</odoo>