+ Delivery order
+
+
+
+ Order N° : [[ o.sale_id.name ]]
+
[[ not(o.sale_id) and 'Error, no sale order attached to this picking !' or '' ]]
@@ -132,7 +148,7 @@
Reference
|
- Designation
+ Designation
|
Quantity
@@ -147,16 +163,16 @@
|
- [[line.product_id.code]]
+ [[line.product_id.code]]
|
- [[line.product_id.name]]
+ [[line.product_id.name]]
|
[[line.product_qty]]
|
- [[line.product_uom.name]]
+ [[line.product_uom.name]]
|
@@ -185,4 +201,3 @@
-
From 97e900c9db411cc3f11e7e4cf828c769b8a969a3 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Mon, 4 Aug 2008 14:11:30 +0530
Subject: [PATCH 06/48] *Format the purchase order report.....
bzr revid: apa-20080804084130-yg82ryjjam17f5gi
---
addons/purchase/report/order.rml | 282 ++++++++++++++++++++++++++++++-
1 file changed, 281 insertions(+), 1 deletion(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index cf048a690df..261b012c952 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -1,3 +1,283 @@
-[[ repeatIn(objects,'o') ]] | | | [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]Shipping address :[[ o.partner_id.title or '' ]] [[ o.partner_id.name ]][[ addr.title or '' ]] [[ addr.name ]][[ addr.street ]][[ addr.street2 or '' ]][[ addr.zip or '' ]] [[ addr.city or '' ]][[ addr.state_id and addr.state_id.name or '' ]][[ addr.country_id and addr.country_id.name or '' ]] | | | [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]][[ o.partner_address_id.title or '' ]] [[ o.partner_address_id.name ]][[ o.partner_address_id.street ]][[ o.partner_address_id.street2 or '' ]][[ o.partner_address_id.zip or '' ]] [[ o.partner_address_id.city or '' ]][[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]][[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]] Tél. : [[ o.partner_address_id.phone or '' ]]Fax : [[ o.partner_address_id.fax or '' ]]TVA : [[ o.partner_id.vat or '' ]] | Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]]Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]]N° : [[ o.name ]] Our order reference : [[ o.ref or '' ]]Your order reference : [[ o.partner_ref or '' ]]Date ordered : [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]Validated by : [[ o.validator and o.validator.name or '' ]] | Product Description | Applicable Taxes | Date Requested | Qty | Unit Price | Net Price | [[ repeatIn(o.order_line,'line') ]]| [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]][[ line.name ]] | [[ ', '.join(map(lambda x: x.name, line.taxes_id))]] | [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]] | [[ '%.2f' % line.product_qty ]] [[ line.product_uom.name ]] | [[ '%.2f' % line.price_unit ]] | [[ '%.2f' % line.price_subtotal ]] | | [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]] | [[ l or removeParentNode('table') ]] | | | Net Total : | [[ '%.2f' % o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]] | | | Taxes : | [[ '%.2f' % o.amount_tax ]] [[ o.pricelist_id.currency_id.name ]] | | | TOTAL : | [[ '%.2f' % o.amount_total ]] [[ o.pricelist_id.currency_id.name ]] | | [[ format(o.notes or '') ]] |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ repeatIn(objects,'o') ]]
+
+
+ |
+ [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
+ Shipping address :
+ [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
+ [[ addr.title or '' ]] [[ addr.name ]]
+ [[ addr.street ]]
+ [[ addr.street2 or '' ]]
+ [[ addr.zip or '' ]] [[ addr.city or '' ]]
+ [[ addr.state_id and addr.state_id.name or '' ]]
+ [[ addr.country_id and addr.country_id.name or '' ]]
+ |
+
+ [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
+ [[ o.partner_address_id.title or '' ]] [[ o.partner_address_id.name ]]
+ [[ o.partner_address_id.street ]]
+ [[ o.partner_address_id.street2 or '' ]]
+ [[ o.partner_address_id.zip or '' ]] [[ o.partner_address_id.city or '' ]]
+ [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
+ [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
+
+
+
+ Tél. : [[ o.partner_address_id.phone or '' ]]
+ Fax : [[ o.partner_address_id.fax or '' ]]
+ TVA : [[ o.partner_id.vat or '' ]]
+ |
+
+
+
+
+
+
+
+
+
+ Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]]
+ Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]]
+ N° : [[ o.name ]]
+
+
+
+ |
+ Our order reference
+ |
+
+ Your order reference
+ |
+
+ Date ordered
+ |
+
+ Validated by
+ |
+
+
+ |
+ [[ o.ref or '' ]]
+ |
+
+ [[ o.partner_ref or '' ]]
+ |
+
+ [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
+ |
+
+ [[ o.validator and o.validator.name or '' ]]
+ |
+
+
+
+
+
+
+
+
+ |
+ Product Description
+ |
+
+ Applicable Taxes
+ |
+
+ Date Requested
+ |
+
+ Qty
+ |
+
+ Unit Price
+ |
+
+ Net Price
+ |
+
+
+
+ [[ repeatIn(o.order_line,'line') ]]
+
+
+ |
+ [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
+ [[ line.name ]]
+ |
+
+ [[ ', '.join(map(lambda x: x.name, line.taxes_id))]]
+ |
+
+ [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
+ |
+
+ [[ '%.2f' % line.product_qty ]] [[ line.product_uom.name ]]
+ |
+
+ [[ '%.2f' % line.price_unit ]]
+ |
+
+ [[ '%.2f' % line.price_subtotal ]]
+ |
+
+
+
+
+ |
+ [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
+ |
+
+ [[ l or removeParentNode('table') ]]
+ |
+
+
+
+
+
+
+
+
+ |
+
+
+
+ |
+
+ Net Total :
+ |
+
+ [[ '%.2f' % o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+ |
+
+
+
+ |
+
+ Taxes :
+ |
+
+ [[ '%.2f' % o.amount_tax ]] [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+ |
+
+
+
+ |
+
+ TOTAL :
+ |
+
+ [[ '%.2f' % o.amount_total ]] [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+
+
+
+
+
+ |
+ [[ format(o.notes or '') ]]
+ |
+
+
+
+
+
+
+
From 1cafe61e5771e9a834d26e12436ce74dd67ee6e0 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Mon, 4 Aug 2008 15:41:06 +0530
Subject: [PATCH 07/48] *advance formating the purchase report......
bzr revid: apa-20080804101106-l406z73ofeec9c09
---
addons/purchase/report/order.rml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index 261b012c952..c6456397eec 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -82,7 +82,7 @@
-
+
From 9022bfedbcd6c6e0ed808f1e703b1130421514b9 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Mon, 4 Aug 2008 17:01:43 +0530
Subject: [PATCH 08/48] *Format the purchase order.........
bzr revid: apa-20080804113143-kkc4uuauyqr55r07
---
addons/purchase/report/order.rml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index c6456397eec..ff48f076173 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -29,11 +29,14 @@
-
+
-
-
+
+
+
+
+
From ad7b1cff38992ef0ea2b2b69492c73e0a63a054f Mon Sep 17 00:00:00 2001
From: apa <>
Date: Mon, 25 Aug 2008 18:43:25 +0530
Subject: [PATCH 09/48] Commited... * Shipping.rml * Shipping.sxw Formated
Using OOPs Plugins......
bzr revid: apa-20080825131325-qxv4kxpri08vdqs3
---
addons/sale/report/shipping.rml | 268 +++++++++++++++++---------------
1 file changed, 145 insertions(+), 123 deletions(-)
diff --git a/addons/sale/report/shipping.rml b/addons/sale/report/shipping.rml
index c8137d30b99..6efa39116b0 100644
--- a/addons/sale/report/shipping.rml
+++ b/addons/sale/report/shipping.rml
@@ -1,202 +1,224 @@
-
-
-
- [[ formatLang(time.strftime("%Y-%m-%d"), date=True) ]] [[ time.strftime("%H:%M") ]]
-
-
+
+
+
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- [[ repeatIn(objects, 'o') ]]
- Delivery order
-
+ [[ repeatIn(objects,'o') ]]
+ Delivery order [[ o.sale_id.name ]]
+
- Order N° : [[ o.sale_id.name ]]
-
-
-
- [[ not(o.sale_id) and 'Error, no sale order attached to this picking !' or '' ]]
-
+ [[ not(o.sale_id) and 'Error, no sale order attached to this picking !' or '' ]]
+
|
- Invoiced to
- [[ o.sale_id.partner_invoice_id.partner_id.name ]]
- [[ o.sale_id.partner_invoice_id.street ]]
- [[ o.sale_id.partner_invoice_id.zip ]] [[ o.sale_id.partner_invoice_id.city ]]
- [[ o.sale_id.partner_invoice_id.country_id and o.sale_id.partner_invoice_id.country_id.name ]]
+ Invoiced to
+ [[ o.sale_id.partner_invoice_id.name ]]
+ [[ o.sale_id.partner_invoice_id.street ]]
+ [[ o.sale_id.partner_invoice_id.zip ]]
+ [[ o.sale_id.partner_invoice_id.city ]]
+ [[ o.sale_id.partner_invoice_id.country_id and o.sale_id.partner_invoice_id.country_id.name ]]
|
- Shipped to
- [[ o.sale_id.partner_shipping_id.partner_id.name ]]
- [[ o.sale_id.partner_shipping_id.street ]]
- [[ o.sale_id.partner_shipping_id.zip ]] [[ o.sale_id.partner_shipping_id.city ]][[ o.sale_id.partner_shipping_id.country_id and o.sale_id.partner_shipping_id.country_id.name ]]
+ Shipped to
+ [[ o.sale_id.partner_shipping_id.name ]]
+ [[ o.sale_id.partner_shipping_id.street ]]
+ [[ o.sale_id.partner_shipping_id.zip ]]
+ [[ o.sale_id.partner_shipping_id.city ]]
+ [[ o.sale_id.partner_shipping_id.country_id and o.sale_id.partner_shipping_id.country_id.name ]]
|
-
+
-
+
|
- Order ref.
+ Order Ref.
|
- Order date
+ Order Date
|
- Shipping date
+ Shipping Date
|
- Carrier
- |
-
-
- |
- [[ o.sale_id.name ]]
- |
-
- [[ o.sale_id.date_order ]]
- |
-
- [[ o.date ]]
- |
-
- [[ o.carrier_id and o.carrier_id.name or '' ]]
+ Carrier
|
-
-
-
-
+
|
- Reference
+ [[ o.sale_id.name ]]
|
- Designation
+ [[ o.sale_id.date_order ]]
|
- Quantity
+ [[ o.date ]]
|
- S.U.
+ [[ o.carrier_id and o.carrier_id.name or '' ]]
+ |
+
+
+
+
+
+
+
+ |
+ Reference
+ |
+
+ Designation
+ |
+
+ Quantity
+ |
+
+ S.U.
|
- [[ repeatIn(o.move_lines, 'line') ]]
-
+ [[ repeatIn(o.move_lines, 'line') ]]
+
|
- [[line.product_id.code]]
+ [[ line.product_id.code ]]
|
- [[line.product_id.name]]
+ [[ line.product_id.name ]]
|
- [[line.product_qty]]
+ [[ line.product_qty ]]
|
- [[line.product_uom.name]]
+ [[ line.product_uom.name ]]
|
|
- [[line.product_id.ean13]]
+ [[ line.product_id.ean13 ]]
|
- Logistical unit : [[line.product_packaging.qty]]
- [[line.tracking_id and 'Packaging : %d package of %d P' % (1, line.product_packaging.qty) or '']]
- [[line.tracking_id and 'Pallets reference: %s' % line.tracking_id.name or '']] Batch reference : [[ line.prodlot_id and line.prodlot_id.name or '/' ]]
+ Logistical unit : [[ line.product_packaging.qty ]]
+ [[ line.tracking_id and 'Packaging : %d package of %d P' % (1, line.product_packaging.qty) or '' ]]
+ [[ line.tracking_id and 'Pallets reference: %s' % line.tracking_id.name or '' ]]
+ Batch reference : [[ line.prodlot_id and line.prodlot_id.name or '/' ]]
|
- [[ line.product_uos_qty ]]
+ [[ line.product_uos_qty ]]
|
- [[line.product_uos.name]]
+ [[ line.product_uos.name ]]
|
-
+
-
+
From f3cb3dd0bb8cf8d19f66ed665725ae7ea8a224d0 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Thu, 28 Aug 2008 11:43:58 +0530
Subject: [PATCH 10/48] added stock Picking Report Sxw and rml file Using
Report Plugin
bzr revid: vinusoft85@gmail.com-20080828061358-fi3nyjimgad32kjo
---
addons/stock/report/picking.rml | 220 ++++++++++++++++++++++++++++++++
1 file changed, 220 insertions(+)
create mode 100644 addons/stock/report/picking.rml
diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml
new file mode 100644
index 00000000000..060e70d4cae
--- /dev/null
+++ b/addons/stock/report/picking.rml
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ repeatIn(objects,'picking') ]]
+ Packing List
+
+
+
+
+
+ |
+
+
+
+ |
+
+ Shipping Address:
+ [[ picking.address_id.partner_id.title ]][[ picking.address_id.partner_id.name ]]
+ [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
+ [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.street) or '' ]]
+ [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.zip) or '' ]][[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.city) or '' ]][[ (picking.address_id.state_id and picking.address_id.state_id.name) or '' ]][[ (picking.address_id.country_id and picking.address_id.country_id.name) or '' ]]
+ |
+
+
+
+
+
+
+
+
+
+
+
+ Recipient:[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
+ Concerns: [[ picking.name ]]
+
+
+
+
+
+
+
+
+ |
+ Customer Ref.
+ |
+
+ Packing Date
+ |
+
+ Shipping Date
+ |
+
+
+
+
+ |
+ [[ (picking.address_id.partner_id.id) or '' ]]
+ |
+
+ [[ picking.date ]]
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+ |
+ Product
+ |
+
+ Tracking
+ |
+
+ Qty
+ |
+
+ Location
+ |
+
+ Description
+ |
+
+
+
+
+ .........
+ [[ repeatIn(picking.move_lines,'move_lines') ]]
+
+
+
+ |
+ [[ move_lines.product_id.default_code ]]
+ |
+
+ [[ (move_lines.tracking_id and move_lines.tracking_id.name) or '']]
+ |
+
+ [[ move_lines.product_qty ]][[ move_lines.product_uom.name ]]
+ |
+
+ [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]
+ |
+
+ [[ move_lines.product_id.name ]]
+ |
+
+
+
+
+
+
+
+
From fe7c78b710125b322651581212915c9ca7a05a91 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Fri, 29 Aug 2008 11:40:05 +0530
Subject: [PATCH 12/48] modify stock Picking Report rml file from sxw file
using report plugin
bzr revid: vinusoft85@gmail.com-20080829061005-32n2my3u40ajgb9f
---
addons/stock/report/picking.rml | 104 ++++++++++++++++++++++++--------
1 file changed, 79 insertions(+), 25 deletions(-)
diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml
index 060e70d4cae..66df28dddec 100644
--- a/addons/stock/report/picking.rml
+++ b/addons/stock/report/picking.rml
@@ -20,10 +20,10 @@
-
+
-
+
@@ -34,15 +34,15 @@
-
+
-
+
-
-
-
-
+
From da52e3bdf1ffbc93364e5edc571dfec9fb2def1c Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Mon, 1 Sep 2008 16:37:36 +0530
Subject: [PATCH 20/48] Given Rml Path in place of Packing List Report
bzr revid: vinusoft85@gmail.com-20080901110736-pa9l2mux8ltf1mw0
---
addons/stock/stock_report.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/stock/stock_report.xml b/addons/stock/stock_report.xml
index 7a092ded724..5b8dbbbc2f4 100644
--- a/addons/stock/stock_report.xml
+++ b/addons/stock/stock_report.xml
@@ -5,8 +5,8 @@
-
-
+
+
From d9e98db02e8ccc7758c2a5fedbff7d51a235f515 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Mon, 1 Sep 2008 16:40:23 +0530
Subject: [PATCH 22/48] Doing Some changes in sxw and rml picking list
bzr revid: vinusoft85@gmail.com-20080901111023-pk99ejjbekerp6xz
---
addons/stock/report/picking.rml | 164 ++++++++++++--------------------
1 file changed, 59 insertions(+), 105 deletions(-)
diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml
index f9629e1b057..5347a102d18 100644
--- a/addons/stock/report/picking.rml
+++ b/addons/stock/report/picking.rml
@@ -2,7 +2,7 @@
-
+
@@ -17,32 +17,32 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- [[ repeatIn(objects,'picking') ]]
+ [[ repeatIn(objects,'picking') ]]
Packing List
-
+
|
-
+
|
Shipping Address:
- [[ picking.address_id.partner_id.title ]][[ picking.address_id.partner_id.name ]]
- [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
- [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.street) or '' ]]
+ [[ picking.address_id.partner_id.title ]][[ picking.address_id.partner_id.name ]]
+ [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
+ [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.street) or '' ]]
[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.zip) or '' ]][[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.city) or '' ]][[ (picking.address_id.state_id and picking.address_id.state_id.name) or '' ]][[ (picking.address_id.country_id and picking.address_id.country_id.name) or '' ]]
|
-
+
-
+
-
+
Recipient:[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
Concerns: [[ picking.name ]]
-
+
-
+
-
+
|
Customer Ref.
@@ -156,7 +148,7 @@
|
-
+
|
[[ (picking.address_id.partner_id.id) or '' ]]
@@ -165,30 +157,23 @@
[[ picking.date ]]
|
-
+
|
-
+
-
+
-
- .........
- .........
-
-
+
|
Product
|
-
- Description
- |
Tracking
|
@@ -198,73 +183,42 @@
Location
|
+
+ Description
+ |
- [[ repeatIn(picking.move_lines,'move_lines') ]]
-
+
+ [[ repeatIn(picking.move_lines,'move_lines') ]]
+
+
|
- [[ move_lines.product_id.default_code ]]
+ [[ move_lines.product_id.default_code ]]
|
- [[ move_lines.product_id.name ]]
+ [[ (move_lines.tracking_id and move_lines.tracking_id.name) or '']]
|
- [[ (move_lines.tracking_id and move_lines.tracking_id.name) or '']]
+ [[ move_lines.product_qty ]]
|
- [[ move_lines.product_qty ]]
+
+ [[ move_lines.product_uom.name ]]
+
|
- [[ move_lines.product_uom.name ]]
+ [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]
|
- [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]
+ [[ move_lines.product_id.name ]]
|
-
+
-
- .........
- .........
-
-
- .........
- .........
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .........
- .........
- .........
- .........
- .........
-
-
- .........
- .........
- .........
- .........
- .........
- .........
-
-
-
-
From 245dd434041fa38e77cf7b0ce3ae64d575de94f7 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Mon, 1 Sep 2008 18:29:02 +0530
Subject: [PATCH 24/48] Doing Some changes in sxw and rml of order_new purchase
report
bzr revid: vinusoft85@gmail.com-20080901125902-9usd2o7eerrhbxgh
---
addons/purchase/report/order_new.rml | 122 ++++++++++++---------------
1 file changed, 54 insertions(+), 68 deletions(-)
diff --git a/addons/purchase/report/order_new.rml b/addons/purchase/report/order_new.rml
index 4d7274742ef..190cd722bf7 100644
--- a/addons/purchase/report/order_new.rml
+++ b/addons/purchase/report/order_new.rml
@@ -14,7 +14,7 @@
-
+
@@ -87,16 +87,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -126,20 +116,21 @@
+
[[ repeatIn(objects,'o') ]]
-
+
-
+
|
-
+
|
@@ -148,22 +139,22 @@
[[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
Shipping address :
- [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
- [[ addr.title or '' ]][[ addr.name ]]
- [[ addr.street ]]
- [[ addr.street2 or '' ]]
- [[ addr.zip or '' ]][[ addr.city or '' ]]
- [[ addr.state_id and addr.state_id.name or '' ]]
- [[ addr.country_id and addr.country_id.name or '' ]]
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ addr.title or '' ]][[ addr.name ]]
+ [[ addr.street ]]
+ [[ addr.street2 or '' ]]
+ [[ addr.zip or '' ]][[ addr.city or '' ]]
+ [[ addr.state_id and addr.state_id.name or '' ]]
+ [[ addr.country_id and addr.country_id.name or '' ]]
|
-
+
|
-
+
|
@@ -184,8 +175,8 @@
-
-
+
+
Request for Quotation
@@ -196,67 +187,60 @@
N° :
[[ o.name ]]
-
-
-
|
- Our Order Reference
+ Our Order Reference
|
- Your Order Reference
+ Your Order Reference
|
- Date Ordered
+ Date Ordered
|
- Validated By
+ Validated By
|
-
-
-
|
- [[ o.ref or '' ]]
+ [[ o.ref or '' ]]
|
- [[ o.partner_ref or '' ]]
+ [[ o.partner_ref or '' ]]
|
- [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
+ [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
|
- [[ o.validator and o.validator.name or '' ]]
+ [[ o.validator and o.validator.name or '' ]]
|
-
|
- Product Description
+ Product Description
|
- Applicable Taxes
+ Applicable Taxes
|
- Date Requested
+ Date Requested
|
- Qty
+ Qty
|
- Unit Price
+ Unit Price
|
- Net Price
+ Net Price
|
@@ -265,91 +249,93 @@
|
- [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
- [[ line.name ]]
+ [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
+ [[ line.name ]]
|
- [[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]
+ [[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]
|
- [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
+ [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
|
- [[ '%.2f' % line.product_qty ]][[ line.product_uom.name ]]
+ [[ '%.2f' % line.product_qty ]][[ line.product_uom.name ]]
|
- [[ '%.2f' % line.price_unit ]]
+ [[ '%.2f' % line.price_unit ]]
|
- [[ '%.2f' % line.price_subtotal ]]
+ [[ '%.2f' % line.price_subtotal ]]
|
|
- [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
+ [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
|
- [[ l or removeParentNode('table') ]]
+ [[ l or removeParentNode('table') ]]
|
-
+
|
-
+
|
- Net Total :
+ Net Total :
|
- [[ '%.2f' % o.amount_untaxed ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_untaxed ]][[ o.pricelist_id.currency_id.name ]]
|
|
-
+
|
- Taxes :
+ Taxes :
|
- [[ '%.2f' % o.amount_tax ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_tax ]][[ o.pricelist_id.currency_id.name ]]
|
|
-
+
|
- TOTAL :
+ TOTAL :
|
- [[ '%.2f' % o.amount_total ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_total ]][[ o.pricelist_id.currency_id.name ]]
|
-
+
|
- [[ format(o.notes or '') ]]
+ [[ format(o.notes or '') ]]
|
-
+
+
+
From 88b603fed04c542de214a21f81b23c75cfa5eadb Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Mon, 1 Sep 2008 18:39:40 +0530
Subject: [PATCH 26/48] added Request Quotation Report sxw and rml file in
purchase report section
bzr revid: vinusoft85@gmail.com-20080901130940-v7kipovaxx8n3nuq
---
.../purchase/report/request_quotation_new.rml | 154 ++++++++++++++++++
1 file changed, 154 insertions(+)
create mode 100644 addons/purchase/report/request_quotation_new.rml
diff --git a/addons/purchase/report/request_quotation_new.rml b/addons/purchase/report/request_quotation_new.rml
new file mode 100644
index 00000000000..9c9d3268006
--- /dev/null
+++ b/addons/purchase/report/request_quotation_new.rml
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ repeatIn(objects,'order') ]]
+ [[ setLang(order.partner_id.lang) ]]
+
+
+ |
+
+
+
+ |
+
+
+
+
+ |
+
+ [[ order.partner_id.title ]][[ order.partner_id.name ]]
+ [[ order.partner_address_id.title ]][[ order.partner_address_id.name ]]
+ [[ order.partner_address_id.street ]][[ order.partner_address_id.street2 ]]
+ [[ order.partner_address_id.zip ]][[ order.partner_address_id.city ]]
+ [[ order.partner_address_id.state_id.code ]][[ order.partner_address_id.country_id.code ]]
+
+
+
+ Tel. : [[ order.partner_address_id.phone ]]
+ Fax : [[ order.partner_address_id.fax ]]
+ TVA : [[ order.partner_id.vat ]]
+ |
+
+
+ Request for Quotation [[ order.name ]]
+
+
+
+ Other reference :[[ order.ref ]]
+ Printed: [[ time.strftime('%d/%m/%Y') ]]
+
+
+
+ Please find hereby a request for quotation.
+
+
+
+
+
+ |
+ Product
+ |
+
+ Date
+ |
+
+ Qty
+ |
+
+
+
+ [[ repeatIn(order.order_line,'order_line') ]]
+
+
+ |
+ [[ order_line.product_id.default_code ]] - [[ order_line.name ]]
+ |
+
+ [[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]]
+ |
+
+ [[ order_line.product_qty ]]
+ |
+
+ [[ order_line.product_uom.name ]]
+ |
+
+
+
+
+
+
+ [[ order.notes ]]
+
+
+
+ Thanks,
+
+
+
+ [[ user.signature ]]
+
+
From 2f067ba3097e4321f05a802418c39d23821b0c43 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Tue, 2 Sep 2008 16:12:39 +0530
Subject: [PATCH 27/48] Doing Some Changes in request_quotation_new Report SXW
and Rml
bzr revid: vinusoft85@gmail.com-20080902104239-mpmcasj7zcnwkwpu
---
.../purchase/report/request_quotation_new.rml | 42 +++++++++++--------
1 file changed, 24 insertions(+), 18 deletions(-)
diff --git a/addons/purchase/report/request_quotation_new.rml b/addons/purchase/report/request_quotation_new.rml
index 9c9d3268006..608c41a78c6 100644
--- a/addons/purchase/report/request_quotation_new.rml
+++ b/addons/purchase/report/request_quotation_new.rml
@@ -2,7 +2,7 @@
-
+
@@ -21,7 +21,7 @@
-
+
@@ -66,7 +66,7 @@
[[ repeatIn(objects,'order') ]]
[[ setLang(order.partner_id.lang) ]]
-
+
|
@@ -74,22 +74,22 @@
|
-
+
|
- [[ order.partner_id.title ]][[ order.partner_id.name ]]
- [[ order.partner_address_id.title ]][[ order.partner_address_id.name ]]
- [[ order.partner_address_id.street ]][[ order.partner_address_id.street2 ]]
- [[ order.partner_address_id.zip ]][[ order.partner_address_id.city ]]
- [[ order.partner_address_id.state_id.code ]][[ order.partner_address_id.country_id.code ]]
-
+ [[ order.partner_id.title ]][[ order.partner_id.name ]]
+ [[ order.partner_address_id.title ]][[ order.partner_address_id.name ]]
+ [[ order.partner_address_id.street ]][[ order.partner_address_id.street2 ]]
+ [[ order.partner_address_id.zip ]][[ order.partner_address_id.city ]]
+ [[ order.partner_address_id.state_id.code ]][[ order.partner_address_id.country_id.code ]]
+
- Tel. : [[ order.partner_address_id.phone ]]
- Fax : [[ order.partner_address_id.fax ]]
- TVA : [[ order.partner_id.vat ]]
+ Tel. : [[ order.partner_address_id.phone ]]
+ Fax : [[ order.partner_address_id.fax ]]
+ TVA : [[ order.partner_id.vat ]]
|
@@ -106,7 +106,7 @@
-
+
|
Product
@@ -115,13 +115,13 @@
Date
|
- Qty
+ Qty
|
[[ repeatIn(order.order_line,'order_line') ]]
-
+
|
[[ order_line.product_id.default_code ]] - [[ order_line.name ]]
@@ -130,10 +130,10 @@
[[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]]
|
- [[ order_line.product_qty ]]
+ [[ order_line.product_qty ]]
|
- [[ order_line.product_uom.name ]]
+ [[ order_line.product_uom.name ]]
|
@@ -141,6 +141,12 @@
+
+
+
+
+
+
[[ order.notes ]]
From ba431ff3fd74c921198e6ae389734f7588065220 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Tue, 2 Sep 2008 16:36:37 +0530
Subject: [PATCH 29/48] Commited : Update order.sxw Update
order.rml
bzr revid: apa-20080902110637-jtvqecdg9ntah224
---
addons/sale/report/order.rml | 624 ++++++++++++++++++++---------------
1 file changed, 361 insertions(+), 263 deletions(-)
diff --git a/addons/sale/report/order.rml b/addons/sale/report/order.rml
index c0cced3ecc7..f32d3655da1 100644
--- a/addons/sale/report/order.rml
+++ b/addons/sale/report/order.rml
@@ -1,266 +1,364 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]]
-
-
-
-|
-Shipping address :
-[[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
-[[ o.partner_shipping_id.title or '' ]] [[ o.partner_shipping_id.name ]]
-[[ o.partner_shipping_id.street ]]
-[[ o.partner_shipping_id.street2 or '' ]]
-[[ o.partner_shipping_id.zip or '' ]] [[ o.partner_shipping_id.city or '' ]] [[ o.partner_shipping_id.country_id and (', %s' % (o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name or '')) ]]
-
-
-
-
-Invoice address :
-[[ o.partner_invoice_id.street ]][[ o.partner_invoice_id.street2 and (', %s' % o.partner_invoice_id.street2 or '') ]]
-[[ o.partner_invoice_id.zip or '' ]] [[ o.partner_invoice_id.city or '' ]] [[ o.partner_invoice_id.country_id and (', %s' % (o.partner_invoice_id.country_id and o.partner_invoice_id.country_id.name or '')) ]]
- |
-
-
-
-
- |
-
-[[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
-[[ o.partner_order_id.title or '' ]] [[ o.partner_order_id.name ]]
-[[ o.partner_order_id.street ]]
-[[ o.partner_order_id.street2 or '' ]]
-[[ o.partner_order_id.zip or '' ]] [[ o.partner_order_id.city or '' ]]
-[[ o.partner_order_id.state_id and o.partner_order_id.state_id.name or '' ]]
-[[ o.partner_order_id.country_id and o.partner_order_id.country_id.name or '' ]]
-
-
-
-Tel. : [[ o.partner_order_id.phone or removeParentNode('para') ]]
-Fax : [[ o.partner_order_id.fax or removeParentNode('para') ]]
-VAT : [[ o.partner_id.vat or removeParentNode('para') ]]
- |
-
-
-
-
-
-[[ o.state<>'draft' and removeParentNode('para') ]] Quotation N° : [[ o.name ]]
-[[ o.state=='draft' and removeParentNode('para') ]] Order N° : [[ o.name ]]
-
-
-
-
-
-|
-Your Reference
- |
-
-Date Ordered
- |
-
-Our Salesman
- |
-
-Payment Terms
- |
-
-
-|
-[[ o.client_order_ref ]]
- |
-
-[[ o.date_order ]]
- |
-
-[[ o.user_id.name ]]
- |
-
-[[ o.partner_id.property_payment_term and o.partner_id.property_payment_term.note or False ]]
- |
-
-
-
-
-
-
-
-
-|
-Description
- |
-
-VAT
- |
-
-Quantity
- |
-
-Unit Price
- |
-
-Disc. (%)
- |
-
-Price
- |
-
-
- |
- [[ repeatIn(o.order_line,'line') ]]
- [[ line.name ]]
- [[ repeatIn((line.notes and line.notes.split('\n')) or [], 'l', 'para') ]][[ l ]]
- |
-
- [[ ', '.join(map(lambda x: x.name, line.tax_id))]]
- |
-
- [[ line.product_uos and line.product_uos_qty or line.product_uom_qty ]] [[ line.product_uos and line.product_uos.name or line.product_uom.name ]]
- |
-
- [[ line.price_unit ]]
- |
-
- [[ (line.discount and str(line.discount))or '' ]]
- |
-
- [[ line.price_subtotal ]]
- |
-
-
-
-
-
-
-
-
-|
-
-
-
- |
-
-Net Total :
- |
-
-[[ o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]]
-
-
- |
-
-
-|
-
-
-
- |
-
-Total VAT:
- |
-
-[[ o.amount_tax or '0.00' ]] [[ o.pricelist_id.currency_id.name ]]
- |
-
-
-|
-
-
-
- |
-
-Total :
- |
-
-[[ o.amount_total ]] [[ o.pricelist_id.currency_id.name ]]
- |
-
-
-
-
-
-
-
-|
-[[ format(o.note or '') ]]
- |
-
-
-|
-[[ format((o.partner_id.property_payment_term and o.partner_id.property_payment_term.note) or '') ]]
- |
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ repeatIn(objects,'o') ]][[ setLang(o.partner_id.lang) ]]
+
+
+ |
+ Shipping address :
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ o.partner_shipping_id.title or '' ]][[ o.partner_shipping_id.name ]]
+ [[ o.partner_shipping_id.street ]]
+ [[ o.partner_shipping_id.street2 or '' ]]
+ [[ o.partner_shipping_id.city or '' ]][[ o.partner_shipping_id.zip or '' ]]
+ [[ o.partner_shipping_id.state_id and o.partner_shipping_id.state_id.name or '' ]][[ o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name or '' ]]
+
+
+
+ Invoice address :
+ [[ o.partner_invoice_id.street ]][[ o.partner_invoice_id.street2 and (', %s' % o.partner_invoice_id.street2 or '') ]]
+ [[ o.partner_invoice_id.zip or '' ]][[ o.partner_invoice_id.city or '' ]][[ o.partner_invoice_id.country_id and (', %s' % (o.partner_invoice_id.country_id and o.partner_invoice_id.country_id.name or '')) ]]
+ |
+
+
+
+
+ |
+
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ o.partner_order_id.title or '' ]][[ o.partner_order_id.name ]]
+ [[ o.partner_order_id.street ]]
+ [[ o.partner_order_id.street2 or '' ]]
+ [[ o.partner_order_id.zip or '' ]][[ o.partner_order_id.city or '' ]]
+ [[ o.partner_order_id.state_id and o.partner_order_id.state_id.name or '' ]][[ o.partner_order_id.country_id and o.partner_order_id.country_id.name or '' ]]
+
+
+
+ Tel. : [[ o.partner_order_id.phone or removeParentNode('para') ]]
+ Fax : [[ o.partner_order_id.fax or removeParentNode('para') ]]
+ VAT :[[ o.partner_id.vat or removeParentNode('para') ]]
+ |
+
+
+
+
+
+ [[ o.state<>'draft' and removeParentNode('para') ]] Quotation N° : [[ o.name ]]
+ [[ o.state=='draft' and removeParentNode('para') ]] Order N° : [[ o.name ]]
+
+
+
+
+
+ |
+ Your Reference
+ |
+
+ Date Ordered
+ |
+
+ Our Salesman
+ |
+
+ Payment Terms
+ |
+
+
+
+
+ |
+ [[ o.client_order_ref ]]
+ |
+
+ [[ o.date_order ]]
+ |
+
+ [[ o.user_id.name ]]
+ |
+
+ [[ o.client_ref and o.client_ref.property_payment_term and o.client_ref.property_payment_term[0] and o.client_ref.property_payment_term[0].name ]]
+ |
+
+
+
+
+
+
+
+ |
+ Description
+ |
+
+ VAT
+ |
+
+ Quantity
+ |
+
+ Unit Price
+ |
+
+ Disc.(%)
+ |
+
+ Price
+ |
+
+
+
+ [[ repeatIn(o.order_line,'line') ]]
+
+
+ |
+ [[ line.name ]]
+ |
+
+ [[ ', '.join(map(lambda x: x.name, line.tax_id)) ]]
+ |
+
+ [[ line.product_uos and line.product_uos_qty or line.product_uom_qty ]]
+ |
+
+ [[ line.product_uos and line.product_uos.name or line.product_uom.name ]]
+ |
+
+ [[ line.price_unit ]]
+ |
+
+ [[ line.discount and str(line.discount) or '' ]]
+ |
+
+ [[ line.price_subtotal ]]
+ |
+
+
+
+
+ |
+ [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
+ |
+
+ [[ l or removeParentNode('table') ]]
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+ |
+
+ Net Total :
+ |
+
+ [[ o.amount_untaxed ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+ |
+
+
+
+ |
+
+ Taxes :
+ |
+
+ [[ o.amount_tax ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+ |
+
+
+
+ |
+
+ Total :
+ |
+
+ [[ o.amount_total ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
+ |
+
+
+
+
+
+
+
+ |
+ [[ format(o.note or '') ]]
+ |
+
+
+ |
+ [[ format((o.partner_id.property_payment_term and o.partner_id.property_payment_term.note) or '') ]]
+ |
+
+
+
+
+
+
-
From 20b44b1821850dc8aea6eb90955d2e075fee0c2b Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Tue, 2 Sep 2008 17:46:36 +0530
Subject: [PATCH 30/48] Doing Changes purchase report xml file , given new rml
path report
bzr revid: vinusoft85@gmail.com-20080902121636-0mh4brx1qe13jq11
---
addons/purchase/purchase_report.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/addons/purchase/purchase_report.xml b/addons/purchase/purchase_report.xml
index af9cdcaa871..0fc153144e8 100644
--- a/addons/purchase/purchase_report.xml
+++ b/addons/purchase/purchase_report.xml
@@ -1,7 +1,9 @@
-
-
+
+
+
+
\ No newline at end of file
From 7b0f743e41c53aff8ddb92ec50e665a334f5e01f Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Tue, 2 Sep 2008 17:51:37 +0530
Subject: [PATCH 31/48] doing some changes in sxw and rml of picking related to
partner title field
bzr revid: vinusoft85@gmail.com-20080902122137-jq78go8u0804opon
---
addons/stock/report/picking.rml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml
index 5347a102d18..a8359361ed1 100644
--- a/addons/stock/report/picking.rml
+++ b/addons/stock/report/picking.rml
@@ -111,7 +111,7 @@
|
Shipping Address:
- [[ picking.address_id.partner_id.title ]][[ picking.address_id.partner_id.name ]]
+ [[ (picking.address_id and picking.address_id.partner_id and picking.address_id.partner_id.title) or '' ]][[ picking.address_id.partner_id.name ]]
[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]]
[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.street) or '' ]]
[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.zip) or '' ]][[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.city) or '' ]][[ (picking.address_id.state_id and picking.address_id.state_id.name) or '' ]][[ (picking.address_id.country_id and picking.address_id.country_id.name) or '' ]]
From 1d425a072c1b7610e857bdd267a18bd756a5c753 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Tue, 2 Sep 2008 19:11:45 +0530
Subject: [PATCH 34/48] doing some changes in sxw and rml of purchase order new
bzr revid: vinusoft85@gmail.com-20080902134145-hyr0w2tx8t9nd1pj
---
addons/purchase/report/order_new.rml | 201 +++++++++++++--------------
1 file changed, 94 insertions(+), 107 deletions(-)
diff --git a/addons/purchase/report/order_new.rml b/addons/purchase/report/order_new.rml
index 190cd722bf7..e8ac44bae95 100644
--- a/addons/purchase/report/order_new.rml
+++ b/addons/purchase/report/order_new.rml
@@ -2,7 +2,7 @@
-
+
@@ -10,11 +10,7 @@
-
-
-
-
-
+
@@ -71,14 +67,25 @@
+
-
+
+
+
+
+
+
+
+
+
+
+
@@ -89,7 +96,7 @@
-
+
@@ -97,26 +104,26 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -124,70 +131,41 @@
-
+
-
-
- |
-
-
-
- |
-
-
- |
- [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
- Shipping address :
- [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
- [[ addr.title or '' ]][[ addr.name ]]
- [[ addr.street ]]
- [[ addr.street2 or '' ]]
- [[ addr.zip or '' ]][[ addr.city or '' ]]
- [[ addr.state_id and addr.state_id.name or '' ]]
- [[ addr.country_id and addr.country_id.name or '' ]]
- |
-
-
-
-
-
+ [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
+ Shipping address :
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ addr.title or '' ]][[ addr.name ]]
+ [[ addr.street ]]
+ [[ addr.street2 or '' ]]
+ [[ addr.zip or '' ]][[ addr.city or '' ]]
+ [[ addr.state_id and addr.state_id.name or '' ]]
+ [[ addr.country_id and addr.country_id.name or '' ]]
|
-
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ o.partner_address_id.title or '' ]][[ o.partner_address_id.name ]]
+ [[ o.partner_address_id.street ]]
+ [[ o.partner_address_id.street2 or '' ]]
+ [[ o.partner_address_id.zip or '' ]][[ o.partner_address_id.city or '' ]]
+ [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
+ [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
+
- |
-
- [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
- [[ o.partner_address_id.title or '' ]][[ o.partner_address_id.name ]]
- [[ o.partner_address_id.street ]]
- [[ o.partner_address_id.street2 or '' ]]
- [[ o.partner_address_id.zip or '' ]][[ o.partner_address_id.city or '' ]]
- [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
- [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
-
-
-
- Tél. : [[ o.partner_address_id.phone or '' ]]
- Fax : [[ o.partner_address_id.fax or '' ]]
- TVA :[[ o.partner_id.vat or '' ]]
+ Tél. : [[ o.partner_address_id.phone or '' ]]
+ Fax : [[ o.partner_address_id.fax or '' ]]
+ TVA :[[ o.partner_id.vat or '' ]]
|
-
-
+ Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]]
+
+
-
- Request for Quotation
- [[ (o.state=='draft' or removeParentNode('font')) and '' ]]
-
- Order
- [[ (o.state<>'draft' or removeParentNode('font')) and '' ]]
- N° :
- [[ o.name ]]
-
-
+
|
Our Order Reference
@@ -203,26 +181,26 @@
|
-
+
|
- [[ o.ref or '' ]]
+ [[ o.ref or '' ]]
|
- [[ o.partner_ref or '' ]]
+ [[ o.partner_ref or '' ]]
|
- [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
+ [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
|
- [[ o.validator and o.validator.name or '' ]]
+ [[ o.validator and o.validator.name or '' ]]
|
-
+
|
Product Description
@@ -234,19 +212,19 @@
Date Requested
|
- Qty
+ Qty
|
- Unit Price
+ Unit Price
|
- Net Price
+ Net Price
|
[[ repeatIn(o.order_line,'line') ]]
-
+
|
[[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
@@ -259,17 +237,20 @@
[[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
|
- [[ '%.2f' % line.product_qty ]][[ line.product_uom.name ]]
+ [[ '%.2f' % line.product_qty ]]
|
- [[ '%.2f' % line.price_unit ]]
+ [[ line.product_uom.name ]]
|
- [[ '%.2f' % line.price_subtotal ]]
+ [[ '%.2f' % line.price_unit ]]
+ |
+
+ [[ '%.2f' % line.price_subtotal ]]
|
-
+
|
[[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
@@ -280,13 +261,10 @@
|
-
-
-
-
+
|
-
+
|
@@ -294,12 +272,15 @@
Net Total :
- [[ '%.2f' % o.amount_untaxed ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_untaxed ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
|
-
+
|
@@ -307,12 +288,15 @@
Taxes :
- [[ '%.2f' % o.amount_tax ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_tax ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
|
-
+
|
@@ -320,14 +304,17 @@
TOTAL :
- [[ '%.2f' % o.amount_total ]][[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_total ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
-
+
-
+
[[ format(o.notes or '') ]]
From 4e63d872cf9766e060476b2f7dc9c8584e12d47b Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Wed, 3 Sep 2008 13:55:47 +0530
Subject: [PATCH 35/48] doing some changes in purchase xml file path
bzr revid: vinusoft85@gmail.com-20080903082547-wijgh8tmbnzgtr2v
---
addons/purchase/purchase_report.xml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/addons/purchase/purchase_report.xml b/addons/purchase/purchase_report.xml
index 0fc153144e8..af9cdcaa871 100644
--- a/addons/purchase/purchase_report.xml
+++ b/addons/purchase/purchase_report.xml
@@ -1,9 +1,7 @@
-
-
-
-
+
+
\ No newline at end of file
From 8419efc43598ceae53a9a3a1a67bad30681e3a52 Mon Sep 17 00:00:00 2001
From: apa-tiny
Date: Wed, 3 Sep 2008 14:21:34 +0530
Subject: [PATCH 36/48] Remove picking.xsl and picking.xml
bzr revid: patelamit2003@gmail.com-20080903085134-6w11rkvc5qg3vrev
---
addons/stock/report/picking.xml | 45 --------
addons/stock/report/picking.xsl | 184 --------------------------------
2 files changed, 229 deletions(-)
delete mode 100644 addons/stock/report/picking.xml
delete mode 100644 addons/stock/report/picking.xsl
diff --git a/addons/stock/report/picking.xml b/addons/stock/report/picking.xml
deleted file mode 100644
index 523091a5b7c..00000000000
--- a/addons/stock/report/picking.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 98798413
-
-
-
- [68854GZGZ]
-
- 0
- 0
- 0
- Un joli t-shirt tout bo
- XL
- draft
-
-
-
-
-
-
-
-
-
diff --git a/addons/stock/report/picking.xsl b/addons/stock/report/picking.xsl
deleted file mode 100644
index 48933f1f64d..00000000000
--- a/addons/stock/report/picking.xsl
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Packing List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Shipping Address:
-
-
-
-
-
-
-
-
-
-
-
- Recipient:
- Concerns:
-
-
-
-
- | Customer ref. |
- Shipping ref. |
- Packing Date |
- Shipping Date |
-
- |
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | Product |
- Tracking |
- Serial |
- Qty |
- Location |
- Description |
- State |
-
-
-
- |
- |
- |
-
-
-
-
-
-
- |
- |
- |
- |
-
-
-
-
-
-
-
-
-
From d886aeb4c9ca1c84dbba9034cf6445de0bab1823 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Wed, 3 Sep 2008 15:27:51 +0530
Subject: [PATCH 37/48] modify reqest quotation sxw and rml file report with
new format
bzr revid: vinusoft85@gmail.com-20080903095751-hgs2i52pk4h3ip9l
---
addons/purchase/report/request_quotation.rml | 171 ++++++++++++++++++-
1 file changed, 169 insertions(+), 2 deletions(-)
diff --git a/addons/purchase/report/request_quotation.rml b/addons/purchase/report/request_quotation.rml
index e906b709542..5537b4d3464 100644
--- a/addons/purchase/report/request_quotation.rml
+++ b/addons/purchase/report/request_quotation.rml
@@ -1,3 +1,170 @@
-[[ repeatIn(objects,'order') ]][[ setLang(order.partner_id.lang) ]]| | | [[ order.partner_id.title ]][[ order.partner_id.name ]][[ order.partner_address_id.title ]][[ order.partner_address_id.name ]][[ order.partner_address_id.street ]][[ order.partner_address_id.street2 ]][[ order.partner_address_id.zip ]][[ order.partner_address_id.city ]][[ order.partner_address_id.state_id.code ]][[ order.partner_address_id.country_id.code ]] Tel. : [[ order.partner_address_id.phone ]]Fax : [[ order.partner_address_id.fax ]]TVA : [[ order.partner_id.vat ]] | Request for Quotation [[ order.name ]] Other reference :[[ order.ref ]]Printed: [[ time.strftime('%d/%m/%Y') ]] Please find hereby a request for quotation. | Product | Date | Qty | [[ repeatIn(order.order_line,'order_line') ]]| [[ order_line.product_id.default_code ]] - [[ order_line.name ]] | [[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]] | [[ order_line.product_qty ]][[ order_line.product_uom.name ]] | | [[ order_line.notes ]] | | [[ order.notes ]] Thanks, [[ user.signature ]]
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ repeatIn(objects,'order') ]]
+ [[ setLang(order.partner_id.lang) ]]
+
+
+ |
+
+
+
+ |
+
+
+
+
+ |
+
+ [[ (order.partner_id and order.partner_id.title) or '' ]][[ order.partner_id.name ]]
+ [[ (order.partner_address_id and order.partner_address_id.title) or '' ]][[ order.partner_address_id.name ]]
+ [[ (order.partner_address_id and order.partner_address_id.street) or '']][[ order.partner_address_id.street2 ]]
+ [[ (order.partner_address_id and order.partner_address_id.zip) or '' ]][[ (order.partner_address_id and order.partner_address_id.city) or '' ]]
+ [[ order.partner_address_id.state_id.code ]][[ (order.partner_address_id and order.partner_address_id.country_id and order.partner_address_id.country_id.code) or '' ]]
+
+
+
+ Tel. : [[ (order.partner_address_id and order.partner_address_id.phone) or '' ]]
+ Fax : [[ (order.partner_address_id and order.partner_address_id.fax) or '' ]]
+ TVA : [[ (order.partner_id and order.partner_id.vat) or '' ]]
+ |
+
+
+ Request for Quotation [[ order.name ]]
+
+
+
+ Other reference :[[ order.ref or '' ]]
+ Printed: [[ time.strftime('%d/%m/%Y') ]]
+
+
+
+ Please find hereby a request for quotation.
+
+
+
+
+
+ |
+ Product
+ |
+
+ Date
+ |
+
+ Qty
+ |
+
+
+
+ [[ repeatIn(order.order_line,'order_line') ]]
+
+
+ |
+ [[ (order_line.product_id and order_line.product_id.default_code) or '']] - [[ order_line.name ]]
+ |
+
+ [[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]]
+ |
+
+ [[ order_line.product_qty or '' ]]
+ |
+
+ [[ (order_line.product_uom and order_line.product_uom.name) or '' ]]
+ |
+
+
+
+
+ |
+ [[ repeatIn((order_line.notes and order_line.notes.splitlines()) or [], 'l') ]]
+ |
+
+ [[ l or removeParentNode('table') ]]
+ |
+
+
+
+
+
+
+ [[ order.notes or '' ]]
+
+
+
+ Thanks,
+
+
+
+ [[ user.signature or '' ]]
+
+
From 7923718f53771a1681b1792595b189fdc01a0838 Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Wed, 3 Sep 2008 15:40:11 +0530
Subject: [PATCH 39/48] modify purchase order sxw and rml file
bzr revid: vinusoft85@gmail.com-20080903101011-d1vfx15k144nf96t
---
addons/purchase/report/order.rml | 258 ++++++++++++++++++-------------
1 file changed, 151 insertions(+), 107 deletions(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index ff48f076173..2ad8e757e3a 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -2,7 +2,7 @@
-
+
@@ -10,55 +10,91 @@
-
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
@@ -69,7 +105,7 @@
-
+
@@ -82,91 +118,89 @@
-
+
-
+
+
- [[ repeatIn(objects,'o') ]]
-
+ [[ repeatIn(objects,'o') ]]
+
+
+
+
|
- [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
- Shipping address :
- [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
- [[ addr.title or '' ]] [[ addr.name ]]
- [[ addr.street ]]
- [[ addr.street2 or '' ]]
- [[ addr.zip or '' ]] [[ addr.city or '' ]]
- [[ addr.state_id and addr.state_id.name or '' ]]
- [[ addr.country_id and addr.country_id.name or '' ]]
+ [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
+ Shipping address :
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ addr.title or '' ]][[ addr.name ]]
+ [[ addr.street ]]
+ [[ addr.street2 or '' ]]
+ [[ addr.zip or '' ]][[ addr.city or '' ]]
+ [[ addr.state_id and addr.state_id.name or '' ]]
+ [[ addr.country_id and addr.country_id.name or '' ]]
|
- [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]]
- [[ o.partner_address_id.title or '' ]] [[ o.partner_address_id.name ]]
- [[ o.partner_address_id.street ]]
- [[ o.partner_address_id.street2 or '' ]]
- [[ o.partner_address_id.zip or '' ]] [[ o.partner_address_id.city or '' ]]
- [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
- [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
-
+ [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
+ [[ o.partner_address_id.title or '' ]][[ o.partner_address_id.name ]]
+ [[ o.partner_address_id.street ]]
+ [[ o.partner_address_id.street2 or '' ]]
+ [[ o.partner_address_id.zip or '' ]][[ o.partner_address_id.city or '' ]]
+ [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
+ [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
+
- Tél. : [[ o.partner_address_id.phone or '' ]]
- Fax : [[ o.partner_address_id.fax or '' ]]
- TVA : [[ o.partner_id.vat or '' ]]
+ Tél. : [[ o.partner_address_id.phone or '' ]]
+ Fax : [[ o.partner_address_id.fax or '' ]]
+ TVA :[[ o.partner_id.vat or '' ]]
|
-
+ Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]]
+
-
-
-
-
- Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]]
- Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]]
- N° : [[ o.name ]]
-
-
+
|
- Our order reference
+ Our Order Reference
|
- Your order reference
+ Your Order Reference
|
- Date ordered
+ Date Ordered
|
- Validated by
- |
-
-
- |
- [[ o.ref or '' ]]
- |
-
- [[ o.partner_ref or '' ]]
- |
-
- [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
- |
-
- [[ o.validator and o.validator.name or '' ]]
+ Validated By
|
-
+
+
+ |
+ [[ o.ref or '' ]]
+ |
+
+ [[ o.partner_ref or '' ]]
+ |
+
+ [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
+ |
+
+ [[ o.validator and o.validator.name or '' ]]
+ |
+
+
+
-
-
+
|
Product Description
@@ -178,7 +212,7 @@
Date Requested
|
- Qty
+ Qty
|
Unit Price
@@ -190,30 +224,35 @@
[[ repeatIn(o.order_line,'line') ]]
-
+
|
[[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
+ |
+
[[ line.name ]]
|
- [[ ', '.join(map(lambda x: x.name, line.taxes_id))]]
+ [[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]
|
[[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
|
- [[ '%.2f' % line.product_qty ]] [[ line.product_uom.name ]]
+ [[ '%.2f' % line.product_qty ]]
+ |
+
+ [[ line.product_uom.name ]]
|
[[ '%.2f' % line.price_unit ]]
|
- [[ '%.2f' % line.price_subtotal ]]
+ [[ '%.2f' % line.price_subtotal ]]
|
-
+
|
[[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
@@ -224,10 +263,7 @@
|
-
-
-
-
+
|
@@ -235,10 +271,13 @@
|
- Net Total :
+ Net Total :
|
- [[ '%.2f' % o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_untaxed ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
@@ -248,10 +287,13 @@
|
- Taxes :
+ Taxes :
|
- [[ '%.2f' % o.amount_tax ]] [[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_tax ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
@@ -261,26 +303,28 @@
|
- TOTAL :
+ TOTAL :
|
- [[ '%.2f' % o.amount_total ]] [[ o.pricelist_id.currency_id.name ]]
+ [[ '%.2f' % o.amount_total ]]
+ |
+
+ [[ o.pricelist_id.currency_id.name ]]
|
-
+
|
- [[ format(o.notes or '') ]]
+ [[ format(o.notes or '') ]]
|
-
+
-
From 813ced297e6e57179a0f334db43a0658965ec89f Mon Sep 17 00:00:00 2001
From: Vinay Rana
Date: Wed, 3 Sep 2008 15:43:17 +0530
Subject: [PATCH 41/48] remove extra report sxw and rml order and req
quatation.
bzr revid: vinusoft85@gmail.com-20080903101317-8hkjmruief85a6a3
---
addons/purchase/report/order_new.rml | 328 ------------------
.../purchase/report/request_quotation_new.rml | 160 ---------
2 files changed, 488 deletions(-)
delete mode 100644 addons/purchase/report/order_new.rml
delete mode 100644 addons/purchase/report/request_quotation_new.rml
diff --git a/addons/purchase/report/order_new.rml b/addons/purchase/report/order_new.rml
deleted file mode 100644
index e8ac44bae95..00000000000
--- a/addons/purchase/report/order_new.rml
+++ /dev/null
@@ -1,328 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ repeatIn(objects,'o') ]]
-
-
-
-
-
- |
- [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]]
- Shipping address :
- [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
- [[ addr.title or '' ]][[ addr.name ]]
- [[ addr.street ]]
- [[ addr.street2 or '' ]]
- [[ addr.zip or '' ]][[ addr.city or '' ]]
- [[ addr.state_id and addr.state_id.name or '' ]]
- [[ addr.country_id and addr.country_id.name or '' ]]
- |
-
- [[ o.partner_id.title or '' ]][[ o.partner_id.name ]]
- [[ o.partner_address_id.title or '' ]][[ o.partner_address_id.name ]]
- [[ o.partner_address_id.street ]]
- [[ o.partner_address_id.street2 or '' ]]
- [[ o.partner_address_id.zip or '' ]][[ o.partner_address_id.city or '' ]]
- [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]]
- [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]]
-
-
-
- Tél. : [[ o.partner_address_id.phone or '' ]]
- Fax : [[ o.partner_address_id.fax or '' ]]
- TVA :[[ o.partner_id.vat or '' ]]
- |
-
-
- Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]]
-
-
-
-
-
- |
- Our Order Reference
- |
-
- Your Order Reference
- |
-
- Date Ordered
- |
-
- Validated By
- |
-
-
-
-
- |
- [[ o.ref or '' ]]
- |
-
- [[ o.partner_ref or '' ]]
- |
-
- [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]]
- |
-
- [[ o.validator and o.validator.name or '' ]]
- |
-
-
-
-
-
-
-
- |
- Product Description
- |
-
- Applicable Taxes
- |
-
- Date Requested
- |
-
- Qty
- |
-
- Unit Price
- |
-
- Net Price
- |
-
-
-
- [[ repeatIn(o.order_line,'line') ]]
-
-
- |
- [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
- [[ line.name ]]
- |
-
- [[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]
- |
-
- [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
- |
-
- [[ '%.2f' % line.product_qty ]]
- |
-
- [[ line.product_uom.name ]]
- |
-
- [[ '%.2f' % line.price_unit ]]
- |
-
- [[ '%.2f' % line.price_subtotal ]]
- |
-
-
-
-
- |
- [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]]
- |
-
- [[ l or removeParentNode('table') ]]
- |
-
-
-
-
-
- |
-
-
-
- |
-
- Net Total :
- |
-
- [[ '%.2f' % o.amount_untaxed ]]
- |
-
- [[ o.pricelist_id.currency_id.name ]]
- |
-
-
- |
-
-
-
- |
-
- Taxes :
- |
-
- [[ '%.2f' % o.amount_tax ]]
- |
-
- [[ o.pricelist_id.currency_id.name ]]
- |
-
-
- |
-
-
-
- |
-
- TOTAL :
- |
-
- [[ '%.2f' % o.amount_total ]]
- |
-
- [[ o.pricelist_id.currency_id.name ]]
- |
-
-
-
-
-
-
-
- |
- [[ format(o.notes or '') ]]
- |
-
-
-
-
-
-
-
diff --git a/addons/purchase/report/request_quotation_new.rml b/addons/purchase/report/request_quotation_new.rml
deleted file mode 100644
index 608c41a78c6..00000000000
--- a/addons/purchase/report/request_quotation_new.rml
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ repeatIn(objects,'order') ]]
- [[ setLang(order.partner_id.lang) ]]
-
-
- |
-
-
-
- |
-
-
-
-
- |
-
- [[ order.partner_id.title ]][[ order.partner_id.name ]]
- [[ order.partner_address_id.title ]][[ order.partner_address_id.name ]]
- [[ order.partner_address_id.street ]][[ order.partner_address_id.street2 ]]
- [[ order.partner_address_id.zip ]][[ order.partner_address_id.city ]]
- [[ order.partner_address_id.state_id.code ]][[ order.partner_address_id.country_id.code ]]
-
-
-
- Tel. : [[ order.partner_address_id.phone ]]
- Fax : [[ order.partner_address_id.fax ]]
- TVA : [[ order.partner_id.vat ]]
- |
-
-
- Request for Quotation [[ order.name ]]
-
-
-
- Other reference :[[ order.ref ]]
- Printed: [[ time.strftime('%d/%m/%Y') ]]
-
-
-
- Please find hereby a request for quotation.
-
-
-
-
-
- |
- Product
- |
-
- Date
- |
-
- Qty
- |
-
-
-
- [[ repeatIn(order.order_line,'order_line') ]]
-
-
- |
- [[ order_line.product_id.default_code ]] - [[ order_line.name ]]
- |
-
- [[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]]
- |
-
- [[ order_line.product_qty ]]
- |
-
- [[ order_line.product_uom.name ]]
- |
-
-
-
-
-
-
-
-
-
-
-
-
- [[ order.notes ]]
-
-
-
- Thanks,
-
-
-
- [[ user.signature ]]
-
-
From 2d2781cc0eab28072fbc7d1307a9099014193068 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Wed, 3 Sep 2008 16:30:54 +0530
Subject: [PATCH 42/48] Commited: Picking.sxw Picking.rml Formate
using OOPlugins...
bzr revid: apa-20080903110054-hbvqi9wifn5kqyll
---
addons/stock/report/picking.rml | 50 ++++++++++++++++-----------------
1 file changed, 24 insertions(+), 26 deletions(-)
diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml
index a8359361ed1..6bac47b4956 100644
--- a/addons/stock/report/picking.rml
+++ b/addons/stock/report/picking.rml
@@ -169,51 +169,49 @@
-
+
|
Product
|
-
- Tracking
- |
-
- Qty
- |
-
- Location
- |
Description
|
+
+ Tracking
+ |
+
+ Qty
+ |
+
+ Location
+ |
-
+
[[ repeatIn(picking.move_lines,'move_lines') ]]
-
+
|
[[ move_lines.product_id.default_code ]]
|
-
- [[ (move_lines.tracking_id and move_lines.tracking_id.name) or '']]
- |
-
- [[ move_lines.product_qty ]]
- |
-
-
- [[ move_lines.product_uom.name ]]
-
- |
-
- [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]
- |
[[ move_lines.product_id.name ]]
|
+
+ [[ (move_lines.tracking_id and move_lines.tracking_id.name) or '']]
+ |
+
+ [[ move_lines.product_qty ]]
+ |
+
+ [[ move_lines.product_uom.name ]]
+ |
+
+ [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]
+ |
From 1e509df9e5f98d057737d5337a356b85dd3871be Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 11:24:34 +0530
Subject: [PATCH 43/48] Commited : Purchase Order Report order.sxw
order.rml Formated Using OOPlugins...
bzr revid: apa-20080904055434-7c2ssjxnjroujd2k
---
addons/purchase/report/order.rml | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index 2ad8e757e3a..1821228a869 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -57,6 +57,7 @@
+
@@ -82,11 +83,8 @@
-
-
-
@@ -95,6 +93,8 @@
+
+
@@ -124,6 +124,7 @@
+
@@ -162,9 +163,6 @@
|
Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]]
-
-
-
@@ -200,16 +198,19 @@
-
+
|
- Product Description
+ Product
|
- Applicable Taxes
+ Description
|
- Date Requested
+ Taxes
+ |
+
+ Date Req.
|
Qty
@@ -224,7 +225,7 @@
[[ repeatIn(o.order_line,'line') ]]
-
+
|
[[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
@@ -263,7 +264,7 @@
|
-
+
|
@@ -271,7 +272,7 @@
|
- Net Total :
+ Net Total :
|
[[ '%.2f' % o.amount_untaxed ]]
@@ -287,7 +288,7 @@
|
- Taxes :
+ Taxes :
|
[[ '%.2f' % o.amount_tax ]]
@@ -303,7 +304,7 @@
|
- TOTAL :
+ Total :
|
[[ '%.2f' % o.amount_total ]]
From 33adc752417c0de0afcb9198ec6e82bb815eac32 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 11:25:45 +0530
Subject: [PATCH 44/48] Commited : Delivery Order Report shipping.sxw
shipping.rml Formated Using OOPlugins...
bzr revid: apa-20080904055545-qug707jl47vphy60
---
addons/sale/report/shipping.rml | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/addons/sale/report/shipping.rml b/addons/sale/report/shipping.rml
index 6efa39116b0..d169e3685ab 100644
--- a/addons/sale/report/shipping.rml
+++ b/addons/sale/report/shipping.rml
@@ -67,6 +67,7 @@
+
@@ -77,7 +78,7 @@
-
+
@@ -90,7 +91,7 @@
-
+
@@ -100,11 +101,10 @@
[[ repeatIn(objects,'o') ]]
- Delivery order [[ o.sale_id.name ]]
-
+
- [[ not(o.sale_id) and 'Error, no sale order attached to this picking !' or '' ]]
+ [[ not(o.sale_id) and 'Error, no sale order attached to this picking !' or '' ]]
@@ -128,6 +128,10 @@
+ Delivery order [[ o.sale_id.name ]]
+
+
+
From d2f0a61d0fb0b751b636f344a260e20918b7ec60 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 11:54:11 +0530
Subject: [PATCH 45/48] Commited : Req. for Quotation Report
request_quotation.rml request_quotation.sxw Formated Using
OOPlugins...
bzr revid: apa-20080904062411-1antiqlqjh1moy89
---
addons/purchase/report/request_quotation.rml | 24 +++++++++++++-------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/addons/purchase/report/request_quotation.rml b/addons/purchase/report/request_quotation.rml
index 5537b4d3464..3330f7675d5 100644
--- a/addons/purchase/report/request_quotation.rml
+++ b/addons/purchase/report/request_quotation.rml
@@ -20,6 +20,7 @@
+
@@ -28,6 +29,7 @@
+
@@ -112,38 +114,44 @@
-
+
|
Product
|
- Date
+ Description
|
- Qty
+ Date
+ |
+
+ Qty
|
[[ repeatIn(order.order_line,'order_line') ]]
-
+
|
- [[ (order_line.product_id and order_line.product_id.default_code) or '']] - [[ order_line.name ]]
+ [[ (order_line.product_id and order_line.product_id.default_code) or '']]
+ |
+
+ [[ order_line.name ]]
|
[[ time.strftime('%d/%m/%Y', time.strptime( order_line.date_planned, '%Y-%m-%d')) ]]
|
- [[ order_line.product_qty or '' ]]
+ [[ order_line.product_qty or '' ]]
|
- [[ (order_line.product_uom and order_line.product_uom.name) or '' ]]
+ [[ (order_line.product_uom and order_line.product_uom.name) or '' ]]
|
-
+
|
[[ repeatIn((order_line.notes and order_line.notes.splitlines()) or [], 'l') ]]
From f261ad55045396f6b8a0a24313330951c8104c22 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 12:00:16 +0530
Subject: [PATCH 46/48] Commited : Req. for Quotation Report Small
changes...
bzr revid: apa-20080904063016-6ebrzo8h3bzft5tt
---
addons/purchase/report/request_quotation.rml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/addons/purchase/report/request_quotation.rml b/addons/purchase/report/request_quotation.rml
index 3330f7675d5..3169510cb77 100644
--- a/addons/purchase/report/request_quotation.rml
+++ b/addons/purchase/report/request_quotation.rml
@@ -102,9 +102,6 @@
|
Request for Quotation [[ order.name ]]
-
-
-
Other reference :[[ order.ref or '' ]]
Printed: [[ time.strftime('%d/%m/%Y') ]]
From f1c4cd8ad4be5fc849f353413ac62c8b2c618bec Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 12:44:42 +0530
Subject: [PATCH 47/48] Commited : Sale Order Report order.sxw
order.rml Formated Using OOPlugins...
bzr revid: apa-20080904071442-g2o6e7yy9v5guu2f
---
addons/sale/report/order.rml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/addons/sale/report/order.rml b/addons/sale/report/order.rml
index f32d3655da1..da3faec720f 100644
--- a/addons/sale/report/order.rml
+++ b/addons/sale/report/order.rml
@@ -108,6 +108,9 @@
+
+
+
@@ -292,7 +295,7 @@
|
-
+
|
@@ -300,7 +303,7 @@
|
- Net Total :
+ Net Total :
|
[[ o.amount_untaxed ]]
@@ -316,7 +319,7 @@
|
- Taxes :
+ Taxes :
|
[[ o.amount_tax ]]
@@ -332,7 +335,7 @@
|
- Total :
+ Total :
|
[[ o.amount_total ]]
From ca567794798e3d7a80410e3a2635daf3b7d5f335 Mon Sep 17 00:00:00 2001
From: apa <>
Date: Thu, 4 Sep 2008 12:59:50 +0530
Subject: [PATCH 48/48] Commited : Small Changes in purchase order
bzr revid: apa-20080904072950-7i88geiwh2cg2lsv
---
addons/purchase/report/order.rml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index 1821228a869..e80819cecd4 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -93,8 +93,8 @@
-
-
+
+
@@ -198,7 +198,7 @@
-
+
|
Product
@@ -210,7 +210,7 @@
Taxes
|
- Date Req.
+ Date Req.
|
Qty
@@ -225,7 +225,7 @@
[[ repeatIn(o.order_line,'line') ]]
-
+
|
[[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]]
@@ -237,7 +237,7 @@
[[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]
|
- [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
+ [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
|
[[ '%.2f' % line.product_qty ]]
@@ -272,7 +272,7 @@
|
- Net Total :
+ Net Total :
|
[[ '%.2f' % o.amount_untaxed ]]
@@ -307,10 +307,10 @@
Total :
|
- [[ '%.2f' % o.amount_total ]]
+ [[ '%.2f' % o.amount_total ]]
|
- [[ o.pricelist_id.currency_id.name ]]
+ [[ o.pricelist_id.currency_id.name ]]
|
| | | | | | | |