[MERGE]
bzr revid: mra@mra-laptop-20100805040844-ugwd2xqsnbjsf5fb bzr revid: mra@mra-laptop-20100806044903-pi03w3voz5uko5nt bzr revid: mra@mra-laptop-20100809052840-qsqav6q0wr8jnza6
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
##############################################################################
|
||||
|
||||
import time
|
||||
import decimal_precision as dp
|
||||
|
||||
from osv import fields
|
||||
from osv import osv
|
||||
@@ -94,11 +93,12 @@ class account_analytic_line(osv.osv):
|
||||
# Compute based on pricetype
|
||||
pricetype=self.pool.get('product.price.type').browse(cr, uid, company_obj.browse(cr,uid,company_id).property_valuation_price_type.id)
|
||||
# Take the company currency as the reference one
|
||||
context['currency_id']=company_obj.browse(cr, uid, company_id).currency_id.id
|
||||
amount_unit=prod.price_get(pricetype.field, context)[prod.id]
|
||||
amount_unit = prod.price_get(pricetype.field, context)[prod.id]
|
||||
amount = amount_unit*unit_amount or 1.0
|
||||
prec = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account')
|
||||
amount = amount_unit*unit_amount or 1.0
|
||||
return {'value': {
|
||||
'amount': - round(amount, 2),
|
||||
'amount': - round(amount, prec),
|
||||
'general_account_id': a,
|
||||
}}
|
||||
return {}
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:49+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:45+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: Danish <da@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:20+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:28+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-02 18:24+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:46+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-03 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
@@ -170,6 +170,9 @@ msgid ""
|
||||
"positive, it gives the day of the next month. Set 0 for net days (otherwise "
|
||||
"it's based on the beginning of the month)."
|
||||
msgstr ""
|
||||
"Kuupäev, pange -1 praeguse kuu viimase päeva näitamiseks. Kui see on "
|
||||
"positiivne, see annab järmise kuu päeva. Pange 0 netto päevade näitamiseks "
|
||||
"(muidu see on baseeritud kuu algusel)"
|
||||
|
||||
#. module: account
|
||||
#: view:account.move:0
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:34+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:11+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:51+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:35+0000\n"
|
||||
"Last-Translator: eLBati - albatos.com <lorenzo.battistini@albatos.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:38+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:02+0000\n"
|
||||
"Last-Translator: Giedrius Slavinskas <giedrius.slavinskas@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
+807
-431
File diff suppressed because it is too large
Load Diff
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:26+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:53+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
@@ -4458,6 +4458,9 @@ msgid ""
|
||||
"to the higher ones. The order is important if you have a tax with several "
|
||||
"tax children. In this case, the evaluation order is important."
|
||||
msgstr ""
|
||||
"Pole numeracji jest stosowane do ustalania kolejności pozycji podatkowych "
|
||||
"od najniższej do najwyższej. Kolejność jest istotna, jeśli masz podatki z "
|
||||
"podatkami podrzędnymi."
|
||||
|
||||
#. module: account
|
||||
#: view:account.tax:0
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: ASTRIT BOKSHI <astritbokshi@gmail.com>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:46+0000\n"
|
||||
"Last-Translator: bokshas <astritbokshi@gmail.com>\n"
|
||||
"Language-Team: Albanian <sq@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-02 20:19+0000\n"
|
||||
"Last-Translator: Dragan Životić <dragan_zivotic@yahoo.com>\n"
|
||||
"PO-Revision-Date: 2010-08-04 13:59+0000\n"
|
||||
"Last-Translator: Данило Шеган <Unknown>\n"
|
||||
"Language-Team: Serbian <sr@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-03 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-05 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:37+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:10+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: <> <>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 13:00+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 04:58+0000\n"
|
||||
"Last-Translator: Omer Barlas <omer@barlas.com.tr>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.6\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:10+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:43+0000\n"
|
||||
"Last-Translator: Jeff Wang <wjfonhand@hotmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
@@ -35,12 +35,12 @@ msgstr "未支付的采购发票"
|
||||
#. module: account
|
||||
#: model:ir.ui.menu,name:account.menu_finance_entries
|
||||
msgid "Entries Encoding"
|
||||
msgstr "分录"
|
||||
msgstr "凭证"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.actions.todo,note:account.config_wizard_account_base_setup_form
|
||||
msgid "Specify The Message for the Overdue Payment Report."
|
||||
msgstr ""
|
||||
msgstr "设置过期支付的催款信息"
|
||||
|
||||
#. module: account
|
||||
#: model:process.transition,name:account.process_transition_confirmstatementfromdraft0
|
||||
@@ -77,7 +77,7 @@ msgstr "这科目将用于当前产品分类的默认进仓"
|
||||
#. module: account
|
||||
#: help:account.invoice,period_id:0
|
||||
msgid "Keep empty to use the period of the validation(invoice) date."
|
||||
msgstr "留空使用记账(发票)日期的会计期间"
|
||||
msgstr "留空使用审核(发票)日期的会计期间"
|
||||
|
||||
#. module: account
|
||||
#: wizard_view:account.automatic.reconcile,reconcile:0
|
||||
@@ -87,7 +87,7 @@ msgstr "对账结果"
|
||||
#. module: account
|
||||
#: model:ir.actions.act_window,name:account.act_account_acount_move_line_open_unreconciled
|
||||
msgid "Unreconciled entries"
|
||||
msgstr "未对账"
|
||||
msgstr "凭证反核销"
|
||||
|
||||
#. module: account
|
||||
#: field:account.invoice.tax,base_code_id:0
|
||||
@@ -134,7 +134,7 @@ msgstr "基础税事务符号"
|
||||
#: model:ir.actions.wizard,name:account.wizard_unreconcile_select
|
||||
#: model:ir.ui.menu,name:account.menu_unreconcile_select
|
||||
msgid "Unreconcile entries"
|
||||
msgstr "未对账"
|
||||
msgstr "凭证反核销"
|
||||
|
||||
#. module: account
|
||||
#: constraint:account.period:0
|
||||
@@ -149,7 +149,7 @@ msgstr "错误!这会计期间无效 "
|
||||
#: model:ir.actions.act_window,name:account.action_move_line_form
|
||||
#: model:ir.ui.menu,name:account.menu_action_move_line_form
|
||||
msgid "Entries"
|
||||
msgstr "分录"
|
||||
msgstr "凭证"
|
||||
|
||||
#. module: account
|
||||
#: selection:account.move.line,centralisation:0
|
||||
@@ -159,7 +159,7 @@ msgstr "借方汇总"
|
||||
#. module: account
|
||||
#: model:ir.actions.wizard,name:account.wizard_invoice_state_confirm
|
||||
msgid "Confirm draft invoices"
|
||||
msgstr "记账发票草稿"
|
||||
msgstr "发票入账"
|
||||
|
||||
#. module: account
|
||||
#: help:account.payment.term.line,days2:0
|
||||
@@ -177,7 +177,7 @@ msgstr "贷方合计"
|
||||
#. module: account
|
||||
#: field:account.config.wizard,charts:0
|
||||
msgid "Charts of Account"
|
||||
msgstr "科目一览表"
|
||||
msgstr "科目表"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.actions.wizard,name:account.wizard_move_line_select
|
||||
@@ -190,12 +190,12 @@ msgstr "选择凭证行"
|
||||
#: rml:account.third_party_ledger:0
|
||||
#: rml:account.third_party_ledger_other:0
|
||||
msgid "Entry label"
|
||||
msgstr "分录标签"
|
||||
msgstr "凭证名称"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.model,name:account.model_account_model_line
|
||||
msgid "Account Model Entries"
|
||||
msgstr "科目模型项"
|
||||
msgstr "凭证模板"
|
||||
|
||||
#. module: account
|
||||
#: field:account.tax.code,sum_period:0
|
||||
@@ -212,17 +212,17 @@ msgstr "计算代码(如果类型=代码)"
|
||||
#: view:account.move:0
|
||||
#: view:account.move.line:0
|
||||
msgid "Account Entry Line"
|
||||
msgstr "凭证明细"
|
||||
msgstr "凭证行"
|
||||
|
||||
#. module: account
|
||||
#: wizard_view:account.aged.trial.balance,init:0
|
||||
msgid "Aged Trial Balance"
|
||||
msgstr "账龄试算平衡表"
|
||||
msgstr "账龄分析表"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.ui.menu,name:account.menu_finance_recurrent_entries
|
||||
msgid "Recurrent Entries"
|
||||
msgstr "周期性分录"
|
||||
msgstr "周期性凭证"
|
||||
|
||||
#. module: account
|
||||
#: field:account.analytic.line,amount:0
|
||||
@@ -242,12 +242,12 @@ msgstr "金额"
|
||||
#: model:ir.actions.wizard,name:account.wizard_third_party_ledger
|
||||
#: model:ir.ui.menu,name:account.menu_third_party_ledger
|
||||
msgid "Partner Ledger"
|
||||
msgstr "业务伙伴总帐"
|
||||
msgstr "业务伙伴余额"
|
||||
|
||||
#. module: account
|
||||
#: field:product.template,supplier_taxes_id:0
|
||||
msgid "Supplier Taxes"
|
||||
msgstr "供应商税"
|
||||
msgstr "进项税"
|
||||
|
||||
#. module: account
|
||||
#: view:account.move:0
|
||||
@@ -257,7 +257,7 @@ msgstr "借方合计"
|
||||
#. module: account
|
||||
#: rml:account.tax.code.entries:0
|
||||
msgid "Accounting Entries-"
|
||||
msgstr "分录 -"
|
||||
msgstr "凭证-"
|
||||
|
||||
#. module: account
|
||||
#: help:account.journal,view_id:0
|
||||
@@ -266,7 +266,7 @@ msgid ""
|
||||
"view tell Open ERP which fields should be visible, required or readonly and "
|
||||
"in which order. You can create your own view for a faster encoding in each "
|
||||
"journal."
|
||||
msgstr "给出业务类型中分录的浏览和写入视图. 这视图告诉系统那个字段可见,必须或只读. 你能为每个业务类型创建自己的视图."
|
||||
msgstr "给出业务类型中凭证的浏览和写入视图. 这视图告诉系统那个字段可见,必须或只读. 你能为每个业务类型创建自己的视图."
|
||||
|
||||
#. module: account
|
||||
#: help:account.invoice,date_due:0
|
||||
@@ -277,7 +277,7 @@ msgid ""
|
||||
"date empty, it means direct payment. The payment term may compute several "
|
||||
"due dates, for example 50% now, 50% in one month."
|
||||
msgstr ""
|
||||
"如果你使用付款条款, 到期将自动生成会计分录. 如果付款条款和到期日期为空, 则意味着直接付款. 付款条款可以计算出几个到期日, 例如现在先付50%, "
|
||||
"如果你使用付款条款, 到期将自动生成凭证. 如果付款条款和到期日期为空, 则意味着直接付款. 付款条款可以计算出几个到期日, 例如现在先付50%, "
|
||||
"然后在一个月内支付余下的50%."
|
||||
|
||||
#. module: account
|
||||
@@ -312,17 +312,17 @@ msgstr "来源"
|
||||
#. module: account
|
||||
#: rml:account.analytic.account.journal:0
|
||||
msgid "Move Name"
|
||||
msgstr ""
|
||||
msgstr "凭证名称"
|
||||
|
||||
#. module: account
|
||||
#: xsl:account.transfer:0
|
||||
msgid "Reference"
|
||||
msgstr "参考"
|
||||
msgstr "关联单号"
|
||||
|
||||
#. module: account
|
||||
#: wizard_view:account.subscription.generate,init:0
|
||||
msgid "Subscription Compute"
|
||||
msgstr "周期性分录计算"
|
||||
msgstr "生成周期性凭证"
|
||||
|
||||
#. module: account
|
||||
#: rml:account.central.journal:0
|
||||
@@ -375,12 +375,12 @@ msgstr "发票说明"
|
||||
#. module: account
|
||||
#: constraint:account.analytic.account:0
|
||||
msgid "Error! You can not create recursive analytic accounts."
|
||||
msgstr "错误! 你不能创建递归的辅助核算项"
|
||||
msgstr "错误! 你不能创建递归的辅助核算项目"
|
||||
|
||||
#. module: account
|
||||
#: field:account.bank.statement.reconcile,total_entry:0
|
||||
msgid "Total entries"
|
||||
msgstr "分录合计"
|
||||
msgstr "合计"
|
||||
|
||||
#. module: account
|
||||
#: field:account.fiscal.position.account,account_src_id:0
|
||||
@@ -391,23 +391,23 @@ msgstr "源科目"
|
||||
#. module: account
|
||||
#: field:account.journal,update_posted:0
|
||||
msgid "Allow Cancelling Entries"
|
||||
msgstr "允许取消分录"
|
||||
msgstr "允许取消凭证"
|
||||
|
||||
#. module: account
|
||||
#: model:process.transition,name:account.process_transition_paymentorderbank0
|
||||
#: model:process.transition,name:account.process_transition_paymentorderreconcilation0
|
||||
msgid "Payment Reconcilation"
|
||||
msgstr "付款对账"
|
||||
msgstr "付款核销"
|
||||
|
||||
#. module: account
|
||||
#: model:account.journal,name:account.expenses_journal
|
||||
msgid "Journal de frais"
|
||||
msgstr "费用记录集合"
|
||||
msgstr "费用业务类型"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.actions.act_window,name:account.act_acc_analytic_acc_5_report_hr_timesheet_invoice_journal
|
||||
msgid "All Analytic Entries"
|
||||
msgstr "所有辅助核算分录"
|
||||
msgstr "所有辅助核算凭证"
|
||||
|
||||
#. module: account
|
||||
#: rml:account.overdue:0
|
||||
@@ -422,12 +422,12 @@ msgstr "负数"
|
||||
#. module: account
|
||||
#: rml:account.partner.balance:0
|
||||
msgid "(Account/Partner) Name"
|
||||
msgstr ""
|
||||
msgstr "(业务伙伴/科目)名称"
|
||||
|
||||
#. module: account
|
||||
#: selection:account.move,type:0
|
||||
msgid "Contra"
|
||||
msgstr "反向"
|
||||
msgstr "冲销"
|
||||
|
||||
#. module: account
|
||||
#: field:account.analytic.account,state:0
|
||||
@@ -449,12 +449,12 @@ msgstr "未支付的供应商退款"
|
||||
#: view:account.tax:0
|
||||
#: view:account.tax.template:0
|
||||
msgid "Special Computation"
|
||||
msgstr "特殊计算"
|
||||
msgstr "特殊算法"
|
||||
|
||||
#. module: account
|
||||
#: model:process.transition,note:account.process_transition_confirmstatementfromdraft0
|
||||
msgid "Confirm statement with/without reconciliation from draft statement"
|
||||
msgstr "从草稿记账与对/不对帐"
|
||||
msgstr "银行凭证过账"
|
||||
|
||||
#. module: account
|
||||
#: wizard_view:account.move.bank.reconcile,init:0
|
||||
@@ -466,7 +466,7 @@ msgstr "银行对账"
|
||||
#. module: account
|
||||
#: rml:account.invoice:0
|
||||
msgid "Disc.(%)"
|
||||
msgstr ""
|
||||
msgstr "折扣(%)"
|
||||
|
||||
#. module: account
|
||||
#: rml:account.general.ledger:0
|
||||
@@ -475,7 +475,7 @@ msgstr ""
|
||||
#: rml:account.overdue:0
|
||||
#: field:account.subscription,ref:0
|
||||
msgid "Ref"
|
||||
msgstr "原始凭证编号"
|
||||
msgstr "关联单号"
|
||||
|
||||
#. module: account
|
||||
#: field:account.tax.template,type_tax_use:0
|
||||
|
||||
@@ -942,6 +942,9 @@ class account_invoice(osv.osv):
|
||||
number = self.pool.get('ir.sequence').get_id(cr, uid, sid, 'id', {'fiscalyear_id': obj_inv.period_id.fiscalyear_id.id})
|
||||
else:
|
||||
number = self.pool.get('ir.sequence').get(cr, uid, 'account.invoice.' + invtype)
|
||||
|
||||
if not number:
|
||||
raise osv.except_osv(_('Warning !'), _('There is no active invoice sequence defined for the journal !'))
|
||||
|
||||
if invtype in ('in_invoice', 'in_refund'):
|
||||
ref = reference
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
<paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
</stylesheet>
|
||||
<story>
|
||||
<para style="P9">
|
||||
@@ -121,7 +121,7 @@
|
||||
<td><para style="terp_header"><font color="white"> </font></para></td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="200.0,100.0,133.0,219.0,185.0" style="Table8">
|
||||
<blockTable colWidths="200.0,200.0,200.0,219.0,200.0" style="Table8">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Account</para>
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -209,7 +209,7 @@
|
||||
<para style="P11">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="120.0,80.0,88.0,140.0,90.0" style="Table8">
|
||||
<blockTable colWidths="130.0,80.0,100.0,140.0,90.0" style="Table8">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">[[ data['model']=='account.account' and 'Company'or removeParentNode('para') ]]</para>
|
||||
<para style="terp_tblheader_General_Centre"> [[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]]</para></td>
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -168,9 +168,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="539.0" style="Table_Company_Name">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -182,7 +179,7 @@
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="100.0,100.0,140.0,80.0,90.0" style="Table2_header" >
|
||||
<blockTable colWidths="120.0,100.0,140.0,90.0,90.0" style="Table2_header" >
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -154,14 +154,14 @@
|
||||
<paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -175,10 +175,19 @@
|
||||
<para style="Standard">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="1049.0" style="Table_Company_Name">
|
||||
<blockTable colWidths="539.0" style="Table_Heading">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_header_Centre">Balance Sheet </para>
|
||||
<para style="Standard">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="539.0" style="Table_Company_Name">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_header_Centre">Balance Sheet</para>
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
@@ -190,7 +199,7 @@
|
||||
</para>
|
||||
<para style="terp_default_8">[[ get_data(data) or removeParentNode('para') ]]</para>
|
||||
|
||||
<blockTable colWidths="150.0,110.0,140.0,80.0,90.0" style="Table2_header" >
|
||||
<blockTable colWidths="210.0,210.0,200.0,200.0,200.0" style="Table2_header" >
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
@@ -202,7 +211,7 @@
|
||||
<td><para style="terp_default_Centre_8">[[ get_account(data) or removeParentNode('para') ]]</para></td>
|
||||
<td><para style="terp_default_Centre_8">[[ get_fiscalyear(data) or '' ]]</para></td>
|
||||
<td><para style="terp_default_Centre_8">[[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] </para>
|
||||
<blockTable colWidths="60.0,60.0" style="Table3">[[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="85.0,85.0" style="Table3">[[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_Details_Centre">Start Date</para></td>
|
||||
<td><para style="terp_tblheader_Details_Centre">End Date</para></td>
|
||||
@@ -212,7 +221,7 @@
|
||||
<td><para style="terp_default_Centre_8">[[get_end_date(data) ]]</para></td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="65.0,60.0" style="Table3">[[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="85.0,85.0" style="Table3">[[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_Details_Centre">Start Period</para></td>
|
||||
<td><para style="terp_tblheader_Details_Centre">End Period</para></td>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
<blockTableStyle id="Table2">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -216,7 +216,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -242,7 +242,7 @@
|
||||
<para style="P9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="80.0,80.0,100.0,130.0,100.0" style="Table2">
|
||||
<blockTable colWidths="90.0,80.0,100.0,130.0,100.0" style="Table2">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">[[ data['model']=='account.journal.period' and 'Company' or removeParentNode('para') ]]</para>
|
||||
<para style="terp_tblheader_General_Centre"> [[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]]</para></td>
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
<blockTableStyle id="Table2">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -190,7 +190,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -264,7 +264,7 @@
|
||||
<para style="P9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="100.0,125.0,83.0,88.0,100.0" style="Table_Journal_Title" repeatRows="1"><para>[[ display_currency(data)==False or removeParentNode('blockTable') ]]</para>
|
||||
<blockTable colWidths="100.0,125.0,90.0,100.0,100.0" style="Table_Journal_Title" repeatRows="1"><para>[[ display_currency(data)==False or removeParentNode('blockTable') ]]</para>
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_Details">Code</para></td>
|
||||
<td><para style="terp_tblheader_Details">Journal Name</para></td>
|
||||
@@ -325,7 +325,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="100.0,125.0,83.0,88.0,100.0" style="Table_Journal_Title">[[ display_currency(data)==False or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="100.0,125.0,90.0,100.0,100.0" style="Table_Journal_Title">[[ display_currency(data)==False or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">[[ o.name ]] :</para>
|
||||
@@ -347,7 +347,7 @@
|
||||
</blockTable>
|
||||
<section>
|
||||
<para style="Standard"><font color="white">[[lines(o.id) and removeParentNode('para') or removeParentNode('section') ]]</font></para>
|
||||
<blockTable colWidths="100.0,125.0,83.0,88.0,100.0" style="Table_Journal_Detail">[[ display_currency(data) == False or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="100.0,125.0,90.0,100.0,100.0" style="Table_Journal_Detail">[[ display_currency(data) == False or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_default_9"><font face="Times-Roman">[[ repeatIn(lines(o.id),'line')]]</font> [[ line['code'] ]]</para>
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
<blockTableStyle id="Table2">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<blockTableStyle id="Table2">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -200,11 +200,7 @@
|
||||
<para style="terp_default_8">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_8">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
|
||||
<blockTable colWidths="150.0,100.0,100.0,80.0,150.0,100.0,100.0" style="Table2">
|
||||
<blockTable colWidths="200.0,130.0,200.0,150.0,150.0,100.0,110.0" style="Table2">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">[[ data['model']=='account.account' and 'Company' or removeParentNode('para') ]]</para>
|
||||
<para style="terp_tblheader_General_Centre"> [[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]]</para></td>
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
<template pageSize="(595.0,842.0)" title="Print Journal" author="OpenERP" allowSplitting="20">
|
||||
<pageTemplate id="first">
|
||||
<frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
|
||||
<header>
|
||||
|
||||
</header>
|
||||
</pageTemplate>
|
||||
</template>
|
||||
<stylesheet>
|
||||
@@ -29,7 +26,7 @@
|
||||
<blockTableStyle id="Table2">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -172,7 +169,7 @@
|
||||
<paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -203,7 +200,7 @@
|
||||
<para style="P9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="80.0,80.0,80.0,120.0,70.0,100.0" style="Table2">
|
||||
<blockTable colWidths="85.0,80.0,80.0,120.0,70.0,100.0" style="Table2">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre"> [[ data['model']=='account.journal.period'and 'Company' or removeParentNode('para') ]]</para>
|
||||
<para style="terp_tblheader_General_Centre">[[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]]</para></td>
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -157,7 +157,7 @@
|
||||
<paraStyle name="P13" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="P14" rightIndent="17.0" leftIndent="-0.0" fontName="Times-Bold" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="Standard" fontName="Helvetica"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
|
||||
@@ -189,7 +189,7 @@
|
||||
<para style="terp_default_8">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="80.0,80.0,80.0,130.0,80.0,80.0" style="Table2_header">
|
||||
<blockTable colWidths="90.0,80.0,80.0,130.0,80.0,80.0" style="Table2_header">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -155,7 +155,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -176,15 +176,43 @@
|
||||
<td>
|
||||
<para style="terp_header_Centre">Third Party Ledger</para>
|
||||
</td>
|
||||
<tr>
|
||||
<td>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_2">
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_2">
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P3">[[ repeatIn(objects, 'p') ]] [[ setLang(p.lang) ]]</para>
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
<blockTableStyle id="Table8">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -193,6 +193,10 @@
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="1,0" stop="1,-1"/>
|
||||
</blockTableStyle>
|
||||
<blockTableStyle id="Table_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
</blockTableStyle>
|
||||
<blockTableStyle id="Table_header_1">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
@@ -304,7 +308,7 @@
|
||||
<paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
|
||||
<paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
@@ -320,17 +324,33 @@
|
||||
<images/>
|
||||
</stylesheet>
|
||||
<story>
|
||||
<para style="terp_default_2">
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_2">
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_header_Centre">Third Party Ledger</para>
|
||||
<para style="terp_default_2">
|
||||
<blockTable colWidths="539.0" style="Table_header">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_header_Centre">Third Party Ledger</para>
|
||||
</td>
|
||||
<tr>
|
||||
<td>
|
||||
<para style="P4">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="82.0,79.0,90.0,130.0,65.0,90.0" style="Table8">
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_9">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="85.0,79.0,90.0,130.0,65.0,90.0" style="Table8">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="P9">Chart of Account</para>
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -205,11 +205,11 @@
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="P2">[[ get_data(data) or removeParentNode('para')]]</para>
|
||||
<blockTable colWidths="150.0,100.0,140.0,80.0,90.0" style="Table2_header">
|
||||
<blockTable colWidths="250.0,200.0,200.0,200.0,200.0" style="Table2_header">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filter By <font>[[ get_filter(data)!='No Filter' and '' or removeParentNode('font') ]]</font></para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filter By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Display Account</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Printing Date</para></td>
|
||||
</tr>
|
||||
@@ -217,7 +217,7 @@
|
||||
<td><para style="terp_default_Centre_8">[[ get_account(data) or removeParentNode('para') ]]</para></td>
|
||||
<td><para style="terp_default_Centre_8">[[ get_fiscalyear(data) or '' ]]</para></td>
|
||||
<td><para style="terp_default_Centre_8">[[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] </para>
|
||||
<blockTable colWidths="60.0,60.0" style="Table3">[[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="90.0,90.0" style="Table3">[[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Start Date</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">End Date</para></td>
|
||||
@@ -227,7 +227,7 @@
|
||||
<td><para style="terp_default_Centre_8">[[get_end_date(data) ]]</para></td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="70.0,70.0" style="Table3">[[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
|
||||
<blockTable colWidths="90.0,90.0" style="Table3">[[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Start Period</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">End Period</para></td>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<blockTableStyle id="Table2_header">
|
||||
<blockAlignment value="LEFT"/>
|
||||
<blockValign value="TOP"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="0,0" stop="0,-1"/>
|
||||
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="0,0" stop="0,0"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
|
||||
@@ -207,7 +207,7 @@
|
||||
<para style="Standard">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<blockTable colWidths="100.0,100.0,140.0,80.0,90.0" style="Table2_header">
|
||||
<blockTable colWidths="125.0,100.0,140.0,80.0,90.0" style="Table2_header">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:34+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:04+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:16+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:14+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: Finnish <fi@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:51+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:34+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 20:34+0000\n"
|
||||
"Last-Translator: Jan Verlaan (Veritos) <Unknown>\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:53+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-08 03:47+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:59+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:58+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:32+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:59+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:44+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_default
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:59+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:58+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:44+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_default
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:28+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:23+0000\n"
|
||||
"Last-Translator: eLBati - albatos.com <lorenzo.battistini@albatos.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_plans
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:30+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:59+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_plans
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:25+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:52+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_plans
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:08+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:33+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_budget
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:09+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:33+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_budget
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-11-24 13:11+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 18:45+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:03+0000\n"
|
||||
"Last-Translator: bamuhrez <bamuhrez@gmail.com>\n"
|
||||
"Language-Team: Arabic <ar@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:47+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_coda
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:26+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:52+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:39+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_followup
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:55+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:21+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:39+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_followup
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:12+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:51+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 20:36+0000\n"
|
||||
"Last-Translator: Jan Verlaan (Veritos) <Unknown>\n"
|
||||
"PO-Revision-Date: 2010-08-07 10:24+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-08 03:48+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:19+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:27+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:08+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:16+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_payment
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:57+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:21+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:43+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_payment
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:27+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:23+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:36+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:41+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_report
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:48+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:50+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:36+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:41+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_report
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:42+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 04:54+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:45+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_reporting
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 10:43+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 07:01+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:45+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_reporting
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:24+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:23+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:39+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:42+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_tax_include
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:18+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:32+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-02 23:57+0000\n"
|
||||
"Last-Translator: mga (Open ERP) <Unknown>\n"
|
||||
"PO-Revision-Date: 2010-08-07 11:08+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-08 03:48+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:23+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:23+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 08:09+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: analytic_journal_billing_rate
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:17+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:01+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:46+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:44+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: analytic_user_function
|
||||
|
||||
@@ -40,34 +40,31 @@
|
||||
""",
|
||||
'author': 'OpenERP SA',
|
||||
'depends': ['base', 'account', 'hr_attendance'],
|
||||
'init_xml': ['auction_sequence.xml'],
|
||||
'init_xml': ['auction_sequence.xml', 'auction_data.xml'],
|
||||
'update_xml': [
|
||||
'security/ir.model.access.csv',
|
||||
# 'wizard/auction_lots_cancel_view.xml',
|
||||
# 'wizard/auction_transfer_unsold_object_view.xml',
|
||||
'wizard/auction_lots_able_view.xml',
|
||||
'wizard/auction_lots_enable_view.xml',
|
||||
# 'wizard/auction_lots_able_view.xml',
|
||||
# 'wizard/auction_lots_enable_view.xml',
|
||||
'wizard/auction_lots_make_invoice_buyer_view.xml',
|
||||
'wizard/auction_lots_make_invoice_view.xml',
|
||||
'wizard/auction_taken_view.xml',
|
||||
'wizard/auction_lots_auction_move_view.xml',
|
||||
'wizard/auction_pay_buy_view.xml',
|
||||
'wizard/auction_payer_sel_view.xml',
|
||||
#'wizard/auction_payer_sel_view.xml',
|
||||
'wizard/auction_lots_sms_send_view.xml',
|
||||
'wizard/auction_catalog_flagey_view.xml',
|
||||
# 'wizard/auction_aie_send_view.xml',
|
||||
# 'wizard/auction_aie_send_result_view.xml',
|
||||
'wizard/auction_lots_buyer_map_view.xml',
|
||||
# 'wizard/auction_lots_numerotate_view.xml',
|
||||
|
||||
'auction_view.xml',
|
||||
'auction_report.xml',
|
||||
'report/report_auction_view.xml',
|
||||
'auction_wizard.xml',
|
||||
'board_auction_view.xml',
|
||||
'board_auction_manager_view.xml',
|
||||
# 'board_auction_manager_view.xml',
|
||||
|
||||
],
|
||||
'demo_xml': ['auction_demo.xml','board_auction_demo.xml'],
|
||||
'test': ['test/auction.yml'],
|
||||
|
||||
'installable': True,
|
||||
'active': False,
|
||||
'certificate': '0039333102717',
|
||||
|
||||
+413
-1021
File diff suppressed because it is too large
Load Diff
+261
-87
@@ -1,98 +1,272 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="account.account" id="auction_income_view">
|
||||
<field name="name">Auction Adjudications</field>
|
||||
<field name="code">0</field>
|
||||
<field name="type">view</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" type="list">
|
||||
<value search="[('type','=','view')]" model="account.account"/>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- Auction lots category data -->
|
||||
|
||||
<record model="aie.category" id="aie_category_anti_view">
|
||||
<field name="name">Antiques</field>
|
||||
<field name="code">ANTI</field>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_paint_view">
|
||||
<field name="name">Painting</field>
|
||||
<field name="code">PAINT</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_furn_view">
|
||||
<field name="name">Furnitures</field>
|
||||
<field name="code">FURN</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_pcg_view">
|
||||
<field name="name">Porcelain, Ceramics, Glassmaking, ...</field>
|
||||
<field name="code">PCG</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_expense_view">
|
||||
<field name="name">Auction Adjudication Expenses</field>
|
||||
<field name="code">0</field>
|
||||
<field name="type">view</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" type="list">
|
||||
<value search="[('type','=','view')]" model="account.account"/>
|
||||
</field>
|
||||
</record>
|
||||
<record model="aie.category" id="aie_category_sbe_view">
|
||||
<field name="name">Sculpture, bronze, eso</field>
|
||||
<field name="code">SBE</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_clock_view">
|
||||
<field name="name">Clocks and watches</field>
|
||||
<field name="code">CLW</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_caob_view">
|
||||
<field name="name">Collectible and art objects</field>
|
||||
<field name="code">COAO</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_engr_view">
|
||||
<field name="name">Engravings</field>
|
||||
<field name="code">ENGR</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_gart_view">
|
||||
<field name="name">Graphic Arts</field>
|
||||
<field name="code">GART</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_light_view">
|
||||
<field name="name">Lightings</field>
|
||||
<field name="code">LGT</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_metal_view">
|
||||
<field name="name">Metal Ware</field>
|
||||
<field name="code">MW</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_mini_view">
|
||||
<field name="name">Miniatures</field>
|
||||
<field name="code">MAT</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_collect_view">
|
||||
<field name="name">Collections</field>
|
||||
<field name="code">CLT</field>
|
||||
<field name="parent_id" ref="aie_category_mini_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_mi_view">
|
||||
<field name="name">Musical Instruments</field>
|
||||
<field name="code">MI</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_owm_view">
|
||||
<field name="name">Old weapons and militaria</field>
|
||||
<field name="code">OWM</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_oart_view">
|
||||
<field name="name">Oriental Arts</field>
|
||||
<field name="code">OART</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_chf_view">
|
||||
<field name="name">Chineese furnitures</field>
|
||||
<field name="code">CHF</field>
|
||||
<field name="parent_id" ref="aie_category_oart_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_othr_view">
|
||||
<field name="name">Others</field>
|
||||
<field name="code">OTR</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_pst_view">
|
||||
<field name="name">Posters</field>
|
||||
<field name="code">PST</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_rel_view">
|
||||
<field name="name">Religiosa</field>
|
||||
<field name="code">REL</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_sin_view">
|
||||
<field name="name">Scientific Instruments</field>
|
||||
<field name="code">SIN</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_tin_view">
|
||||
<field name="name">Tin</field>
|
||||
<field name="code">TIN</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_cwa_view">
|
||||
<field name="name">Copper wares</field>
|
||||
<field name="code">CWA</field>
|
||||
<field name="parent_id" ref="aie_category_tin_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_ty_view">
|
||||
<field name="name">Toys</field>
|
||||
<field name="code">TY</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_vrs_view">
|
||||
<field name="name">Verreries</field>
|
||||
<field name="code">VRS</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_wne_view">
|
||||
<field name="name">Wine</field>
|
||||
<field name="code">WNE</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<!-- -->
|
||||
|
||||
<record model="account.account" id="auction_income">
|
||||
<field name="name">Auction Adjudications</field>
|
||||
<field name="code">7x*</field>
|
||||
<field name="type">income</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="[auction_income_view]"/>
|
||||
</record>
|
||||
<record model="account.account" id="auction_expense">
|
||||
<field name="name">Auction Adjudication Expenses</field>
|
||||
<field name="code">6x*</field>
|
||||
<field name="type">expense</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="[auction_expense_view]"/>
|
||||
</record>
|
||||
<record model="aie.category" id="aie_category_con_view">
|
||||
<field name="name">Contemporary Art</field>
|
||||
<field name="code">CONTEM</field>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_art_view">
|
||||
<field name="name">Arts</field>
|
||||
<field name="code">ARTS</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_curi_view">
|
||||
<field name="name">Curiosa</field>
|
||||
<field name="code">CRS</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_ome_view">
|
||||
<field name="name">Other Media</field>
|
||||
<field name="code">OME</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_pht_view">
|
||||
<field name="name">Photo</field>
|
||||
<field name="code">PHT</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_paint_view">
|
||||
<field name="name">Painting</field>
|
||||
<field name="code">CPAINT</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_con_scul_view">
|
||||
<field name="name">Sculpture</field>
|
||||
<field name="code">SCUL</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_income_costs">
|
||||
<field name="name">Auction Buyer Costs</field>
|
||||
<field name="code">7x*</field>
|
||||
<field name="type">tax</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="[auction_income_view]"/>
|
||||
</record>
|
||||
<record model="account.account" id="auction_expense_costs">
|
||||
<field name="name">Auction Seller Costs</field>
|
||||
<field name="code">6x*</field>
|
||||
<field name="type">tax</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="[auction_expense_view]"/>
|
||||
</record>
|
||||
<record model="aie.category" id="aie_category_con_cshe_view">
|
||||
<field name="name">Shows</field>
|
||||
<field name="code">CSHW</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_jew_view">
|
||||
<field name="name">Jewelry</field>
|
||||
<field name="code">JWL</field>
|
||||
<field name="parent_id" ref="aie_category_con_view"/>
|
||||
</record>
|
||||
|
||||
<!-- -->
|
||||
|
||||
<record model="account.tax" id="tax_buyer_author">
|
||||
<field name="name">Author rights (4%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="applicable_type">code</field>
|
||||
<field name="amount">0.04</field>
|
||||
<field name="domain">sabam</field>
|
||||
<field name="account_collected_id" ref="auction_income_costs"/>
|
||||
<field name="account_paid_id" ref="auction_income_costs"/>
|
||||
<field name="python_applicable">result = (price_unit>=1250)</field>
|
||||
</record>
|
||||
<record model="account.tax" id="tax_buyer">
|
||||
<field name="name">Buyer Costs (20%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="amount">0.20</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="account_collected_id" ref="auction_income_costs"/>
|
||||
<field name="account_paid_id" ref="auction_income_costs"/>
|
||||
</record>
|
||||
<record model="account.tax" id="tax_seller">
|
||||
<field name="name">Seller Costs (12%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="amount">-0.12</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="account_collected_id" ref="auction_expense_costs"/>
|
||||
<field name="account_paid_id" ref="auction_expense_costs"/>
|
||||
</record>
|
||||
<record model="aie.category" id="aie_category_uncla_view">
|
||||
<field name="name">Unclassifieds</field>
|
||||
<field name="code">UNCLASS</field>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_afrart_view">
|
||||
<field name="name">African Arts</field>
|
||||
<field name="code">AFART</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_argen_view">
|
||||
<field name="name">Argenterie</field>
|
||||
<field name="code">ARGENT</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_artfrom_view">
|
||||
<field name="name">Art from the Ivory Coast</field>
|
||||
<field name="code">ARTFORM</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_afrec_view">
|
||||
<field name="name">African Arts</field>
|
||||
<field name="code">AFRART</field>
|
||||
<field name="parent_id" ref="aie_category_artfrom_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_book_view">
|
||||
<field name="name">Books, manuscripts, eso.</field>
|
||||
<field name="code">BME</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_carpet_view">
|
||||
<field name="name">Carpet and textilles</field>
|
||||
<field name="code">CARPTEX</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<record model="aie.category" id="aie_category_cartoon_view">
|
||||
<field name="name">Cartoons</field>
|
||||
<field name="code">CATOON</field>
|
||||
<field name="parent_id" ref="aie_category_anti_view"/>
|
||||
</record>
|
||||
|
||||
<!-- End Of Auction Lots Category -->
|
||||
|
||||
<ir_set>
|
||||
<field name="keys" eval="[('meta','res.partner'),('name','auction.seller.costs')]"/>
|
||||
<field name="args" eval="[]"/>
|
||||
<field name="name">account.seller.costs</field>
|
||||
<field name="value" eval="tax_seller"/>
|
||||
<field name="meta" eval="{'type':'many2one', 'string':'Seller Costs', 'relation':'account.tax'}"/>
|
||||
</ir_set>
|
||||
|
||||
|
||||
|
||||
<record id="product.product_product_pc2" model="product.product">
|
||||
<field name="list_price">770.0</field>
|
||||
<field name="standard_price">700.0</field>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
+360
-310
@@ -2,6 +2,102 @@
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- demo data for Account -->
|
||||
<record model="account.account.type" id="account.account_type_tax">
|
||||
<field name="name">Tax</field>
|
||||
<field name="code">tax</field>
|
||||
<field name="close_method">unreconciled</field>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_income_view">
|
||||
<field name="name">Auction Adjudications</field>
|
||||
<field name="code">0</field>
|
||||
<field name="type">view</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="0">
|
||||
<value search="[('type','=','view')]" model="account.account"/>
|
||||
</field>
|
||||
<field name="user_type" ref="account.account_type_root"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_expense_view">
|
||||
<field name="name">Auction Adjudication Expenses</field>
|
||||
<field name="code">1</field>
|
||||
<field name="type">view</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="0">
|
||||
<value search="[('type','=','view')]" model="account.account"/>
|
||||
</field>
|
||||
<field name="user_type" ref="account.account_type_expense"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_income">
|
||||
<field name="name">Auction Adjudications</field>
|
||||
<field name="code">7x*</field>
|
||||
<field name="user_type" ref="account.account_type_income"/>
|
||||
<field name="type">receivable</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="auction_income_view"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_expense">
|
||||
<field name="name">Auction Adjudication Expenses</field>
|
||||
<field name="code">6x*</field>
|
||||
<field name="user_type" ref="account.account_type_expense"/>
|
||||
<field name="type">payable</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="auction_expense_view"/>
|
||||
</record>
|
||||
|
||||
<record model="account.account" id="auction_income_costs">
|
||||
<field name="name">Auction Buyer Costs</field>
|
||||
<field name="code">8x*</field>
|
||||
<field name="type">payable</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="auction_income_view"/>
|
||||
<field name="user_type" ref="account.account_type_tax"/>
|
||||
</record>
|
||||
<record model="account.account" id="auction_expense_costs">
|
||||
<field name="name">Auction Seller Costs</field>
|
||||
<field name="code">9x*</field>
|
||||
<field name="type">receivable</field>
|
||||
<field name="currency_id" search="[('name','=','EUR')]"/>
|
||||
<field name="parent_id" eval="auction_expense_view"/>
|
||||
<field name="user_type" ref="account.account_type_tax"/>
|
||||
</record>
|
||||
|
||||
<record model="account.tax" id="tax_buyer_author">
|
||||
<field name="name">Author rights (4%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="applicable_type">code</field>
|
||||
<field name="amount">0.04</field>
|
||||
<field name="domain">sabam</field>
|
||||
<field name="account_collected_id" ref="auction_income_costs"/>
|
||||
<field name="account_paid_id" ref="auction_income_costs"/>
|
||||
<field name="python_applicable">result = (price_unit>=1250)</field>
|
||||
</record>
|
||||
<record model="account.tax" id="tax_buyer">
|
||||
<field name="name">Buyer Costs (20%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="amount">0.20</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="account_collected_id" ref="auction_income_costs"/>
|
||||
<field name="account_paid_id" ref="auction_income_costs"/>
|
||||
</record>
|
||||
<record model="account.tax" id="tax_seller">
|
||||
<field name="name">Seller Costs (12%)</field>
|
||||
<field name="type">percent</field>
|
||||
<field name="amount">-0.12</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="account_collected_id" ref="auction_expense_costs"/>
|
||||
<field name="account_paid_id" ref="auction_expense_costs"/>
|
||||
</record>
|
||||
<!--demo data for the product-->
|
||||
<record id="product.product_product_pc2" model="product.product">
|
||||
<field name="list_price">770.0</field>
|
||||
<field name="standard_price">700.0</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!--demo data for the partner-->
|
||||
|
||||
@@ -10,52 +106,52 @@
|
||||
</record>
|
||||
|
||||
<record id="res_partner_unknown_address_1" model="res.partner.address">
|
||||
<field name="city">Bruxelles1</field>
|
||||
<field name="name">Benoit Mortie1r1</field>
|
||||
<field name="zip">1030</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','Belgium')]"/>
|
||||
<field name="city">Bruxelles1</field>
|
||||
<field name="name">Benoit Mortie1r1</field>
|
||||
<field name="zip">1030</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','Belgium')]"/>
|
||||
<field name="email">info@opensides.be</field>
|
||||
<field name="phone">(+32)2 211 34 83</field>
|
||||
<field name="street">Rue des Palais 44, bte 33</field>
|
||||
<field name="type">default</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
|
||||
<field name="email">info@opensides.be</field>
|
||||
<field name="phone">(+32)2 211 34 83</field>
|
||||
<field name="street">Rue des Palais 44, bte 33</field>
|
||||
<field name="type">default</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
<record id="res_partner_unknown_address_2" model="res.partner.address">
|
||||
<field name="city">Avignon CEDEX 091</field>
|
||||
<field name="name">Laurent Jacot1</field>
|
||||
<field name="zip">84911</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','France')]"/>
|
||||
<field name="email">contact@tecsas.fr</field>
|
||||
<field name="phone">(+33)4.32.74.10.57</field>
|
||||
<field name="street">85 rue du traite de Rome</field>
|
||||
<field name="type">default</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
<record id="res_partner_unknown_address_3" model="res.partner.address">
|
||||
<field name="city">Louvain-la-Neuve</field>
|
||||
<field name="name">Thomas Passot</field>
|
||||
<field name="zip">1348</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','Belgium')]"/>
|
||||
<field name="email">info@mediapole.net</field>
|
||||
<field name="phone">(+32).10.45.17.73</field>
|
||||
<field name="street">Rue de l'Angelique, 1</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
<record id="res_partner_unknown_address_2" model="res.partner.address">
|
||||
<field name="city">Avignon CEDEX 091</field>
|
||||
<field name="name">Laurent Jacot1</field>
|
||||
<field name="zip">84911</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','France')]"/>
|
||||
<field name="email">contact@tecsas.fr</field>
|
||||
<field name="phone">(+33)4.32.74.10.57</field>
|
||||
<field name="street">85 rue du traite de Rome</field>
|
||||
<field name="type">default</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
|
||||
<record id="res_partner_unknown_address_3" model="res.partner.address">
|
||||
<field name="city">Louvain-la-Neuve</field>
|
||||
<field name="name">Thomas Passot</field>
|
||||
<field name="zip">1348</field>
|
||||
<field name="country_id" model="res.country" search="[('name','=','Belgium')]"/>
|
||||
<field name="email">info@mediapole.net</field>
|
||||
<field name="phone">(+32).10.45.17.73</field>
|
||||
<field name="street">Rue de l'Angelique, 1</field>
|
||||
<field name="partner_id" ref="partner_record1"/>
|
||||
</record>
|
||||
|
||||
<!-- demo data for the auction_artist object-->
|
||||
|
||||
<record model="auction.artists" id="auction_art_1">
|
||||
<field name="name">Philippe Lavilier</field>
|
||||
<field name="birth_death_dates">1345-1450</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.artists" id="auction_art_2">
|
||||
<field name="name">POREAU OSWALD</field>
|
||||
<field name="birth_death_dates">1877-1955</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- demo data for the account tax code-->
|
||||
|
||||
<record model="account.tax.code" id="account_tax_code_id1">
|
||||
@@ -98,104 +194,102 @@
|
||||
<field name="domain">sabam</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id5"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id5"/>
|
||||
|
||||
</record>
|
||||
|
||||
<record id="auction_tax1" model="account.tax">
|
||||
<field name="name">TVA</field>
|
||||
<field name="amount">0.12</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id4"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id4"/>
|
||||
<field name="name">TVA</field>
|
||||
<field name="amount">0.12</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id4"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id4"/>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="auction_tax2" model="account.tax">
|
||||
<field name="name">TVA1</field>
|
||||
<field name="amount">0.2</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id2"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id2"/>
|
||||
|
||||
<field name="name">TVA1</field>
|
||||
<field name="amount">0.2</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id2"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id2"/>
|
||||
</record>
|
||||
|
||||
<record id="auction_tax3" model="account.tax">
|
||||
<field name="name">Buyer Costs</field>
|
||||
<field name="amount">0.21</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
|
||||
<field name="name">Buyer Costs</field>
|
||||
<field name="amount">0.21</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
</record>
|
||||
|
||||
<record id="auction_tax4" model="account.tax">
|
||||
<field name="name">Seller Costs1</field>
|
||||
<field name="amount">-0.10</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
|
||||
<field name="name">Seller Costs1</field>
|
||||
<field name="amount">-0.10</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
</record>
|
||||
|
||||
<record id="auction_tax5" model="account.tax">
|
||||
<field name="name">Seller Costs</field>
|
||||
<field name="amount">-0.10</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id3"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id3"/>
|
||||
<field name="name">Seller Costs</field>
|
||||
<field name="amount">-0.10</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id3"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id3"/>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- example for creating a demo data for the tax with basecode and tax code-->
|
||||
|
||||
<record id="auction_tax6" model="account.tax">
|
||||
<field name="name">Frais de vente</field>
|
||||
<field name="amount">-0.15</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="name">Frais de vente</field>
|
||||
<field name="amount">-0.15</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id1"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id1"/>
|
||||
</record>
|
||||
|
||||
<record id="auction_tax20" model="account.tax">
|
||||
<field name="name">Frais de vente</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id2"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id2"/>
|
||||
<record id="auction_tax20" model="account.tax">
|
||||
<field name="name">Frais de vente</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="domain">auction</field>
|
||||
<field name="base_code_id" ref="account_tax_code_id2"/>
|
||||
<field name="tax_code_id" ref="account_tax_code_id2"/>
|
||||
</record>
|
||||
|
||||
<record id="monproduit" model="product.product">
|
||||
<field name="name">Oeuvres a 21%</field>
|
||||
<field name="categ_id" ref="product.product_category_pc"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--===========================================================================================-->
|
||||
<!-- start == demo data for the auction_lot_Category object-->
|
||||
<record model="auction.lot.category" id="auction_cat_1">
|
||||
<field name="name">painting</field>
|
||||
<field name="name">Painting</field>
|
||||
<field name="priority">1</field>
|
||||
<field name="aie_categ">8</field>
|
||||
<field name="aie_categ" ref="aie_category_paint_view"/>
|
||||
</record>
|
||||
|
||||
<record model="auction.lot.category" id="auction_cat_2">
|
||||
<field name="name">Furniture</field>
|
||||
<field name="priority">2</field>
|
||||
<field name="aie_categ">10</field>
|
||||
|
||||
<field name="aie_categ" ref="aie_category_furn_view"/>
|
||||
</record>
|
||||
|
||||
<record model="auction.lot.category" id="auction_cat_3">
|
||||
<field name="name">glass</field>
|
||||
<field name="name">Glass</field>
|
||||
<field name="priority">2</field>
|
||||
<field name="aie_categ">25</field>
|
||||
<field name="aie_categ" ref="aie_category_pcg_view"/>
|
||||
</record>
|
||||
|
||||
<record model="auction.lot.category" id="auction_cat_4">
|
||||
<field name="name">sculpture</field>
|
||||
<field name="name">Sculpture</field>
|
||||
<field name="priority">10</field>
|
||||
<field name="aie_categ">18</field>
|
||||
<field name="aie_categ" ref="aie_category_sbe_view"/>
|
||||
</record>
|
||||
|
||||
<record model="auction.lot.category" id="auction_cat_5">
|
||||
<field name="name">Jawellery</field>
|
||||
<field name="priority">6</field>
|
||||
<field name="aie_categ">15</field>
|
||||
<field name="aie_categ" ref="aie_category_jew_view"/>
|
||||
</record>
|
||||
|
||||
<!-- end == demo data for the auction_lot_Category-->
|
||||
@@ -203,20 +297,18 @@
|
||||
<!-- start== demo data for the auction_date-->
|
||||
|
||||
<record model="auction.dates" id="auction_date_1">
|
||||
<field name="name">painting Exhibition</field>
|
||||
<field name="expo1" eval="time.strftime('%Y-%m-01')" />
|
||||
<field name="expo2" eval="time.strftime('%Y-%m-15')" />
|
||||
<field name="auction1" eval="time.strftime('%Y-%m-20')" />
|
||||
<field name="auction2" eval="time.strftime('%Y-%m-28')" />
|
||||
<field name="buyer_costs" model="account.tax" search="[('name','=','Buyer Costs')]"></field>
|
||||
<field name="seller_costs" model="account.tax" search="[('name','=','Seller Costs')]"></field>
|
||||
<field name="acc_income" ref="account.a_sale"/>
|
||||
<field name="acc_expense" ref="account.a_expense"/>
|
||||
|
||||
<field name="journal_id" ref="account.sales_journal"/>
|
||||
<field name="journal_seller_id" ref="account.expenses_journal"/>
|
||||
<field name="account_analytic_id" model="account.analytic.account" search="[('code','=','1')]"></field>
|
||||
|
||||
<field name="name">painting Exhibition</field>
|
||||
<field name="expo1" eval="time.strftime('%Y-%m-01')" />
|
||||
<field name="expo2" eval="time.strftime('%Y-%m-15')" />
|
||||
<field name="auction1" eval="time.strftime('%Y-%m-20')" />
|
||||
<field name="auction2" eval="time.strftime('%Y-%m-28')" />
|
||||
<field name="buyer_costs" model="account.tax" search="[('name','=','Buyer Costs')]"></field>
|
||||
<field name="seller_costs" model="account.tax" search="[('name','=','Seller Costs')]"></field>
|
||||
<field name="acc_income" ref="account.a_sale"/>
|
||||
<field name="acc_expense" ref="account.a_expense"/>
|
||||
<field name="journal_id" ref="account.sales_journal"/>
|
||||
<field name="journal_seller_id" ref="account.expenses_journal"/>
|
||||
<field name="account_analytic_id" model="account.analytic.account" search="[('code','=','1')]"></field>
|
||||
</record>
|
||||
|
||||
<record model="auction.dates" id="auction_date_2">
|
||||
@@ -225,53 +317,47 @@
|
||||
<field name="expo2" eval="time.strftime('%Y-%m-10')" />
|
||||
<field name="buyer_costs" model="account.tax" search="[('name','=','Buyer Costs')]"></field>
|
||||
<field name="seller_costs" model="account.tax" search="[('name','=','Seller Costs')]"></field>
|
||||
|
||||
<field name="auction1" eval="time.strftime('%Y-%m-14')" />
|
||||
<field name="auction2" eval="time.strftime('%Y-%m-28')" />
|
||||
<field name="acc_income" ref="account.a_sale"/>
|
||||
<field name="acc_expense" ref="account.a_expense"/>
|
||||
|
||||
<field name="journal_id" ref="account.sales_journal"/>
|
||||
<field name="journal_seller_id" ref="account.expenses_journal"/>
|
||||
<field name="account_analytic_id" model="account.analytic.account" search="[('code','=','1')]"></field>
|
||||
|
||||
</record>
|
||||
|
||||
</record>
|
||||
|
||||
<!-- end == demo data for the auction_dates-->
|
||||
|
||||
|
||||
<!-- start == demo data for the auction_deposit-->
|
||||
|
||||
|
||||
<record model="auction.deposit" id="auction_deposit_1">
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-01'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"></field>
|
||||
<field name="method">keep</field>
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-01'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"></field>
|
||||
<field name="method">keep</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.deposit" id="auction_deposit_2">
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-05'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','China Export')]"></field>
|
||||
<field name="method">keep</field>
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-05'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','China Export')]"></field>
|
||||
<field name="method">keep</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.deposit" id="auction_deposit_3">
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-10'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Agrolait')]"></field>
|
||||
<field name="method">keep</field>
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-10'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Agrolait')]"></field>
|
||||
<field name="method">keep</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.deposit" id="auction_deposit_4">
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-15'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Bank Wealthy and sons')]"></field>
|
||||
<field name="method">keep</field>
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-15'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Bank Wealthy and sons')]"></field>
|
||||
<field name="method">keep</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.deposit" id="auction_deposit_5">
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-12'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"></field>
|
||||
<field name="method">keep</field>
|
||||
<field name="date_dep" eval="time.strftime('%Y')+'-04-12'"/>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"></field>
|
||||
<field name="method">keep</field>
|
||||
</record>
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_1_lot_1">
|
||||
@@ -434,7 +520,6 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_6_lot_1">
|
||||
@@ -451,7 +536,6 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_6_lot_2">
|
||||
@@ -468,11 +552,8 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_7_lot_1">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Hardware photos</field>
|
||||
@@ -487,12 +568,10 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_7_lot_2">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Home Appliance photos</field>
|
||||
<field name="lot_num">12</field>
|
||||
<!--field name="lot_type">common</field-->
|
||||
@@ -505,10 +584,8 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_8_lot_1">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">mobile accesories photos</field>
|
||||
@@ -527,7 +604,7 @@
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_8_lot_2">
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name"> piques-cierges</field>
|
||||
<field name="name">pikes-candles</field>
|
||||
<field name="lot_num">14</field>
|
||||
<!--field name="lot_type">common</field-->
|
||||
<field name="lot_est1">30</field>
|
||||
@@ -539,13 +616,11 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_9_lot_1">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Service à café</field>
|
||||
<field name="name">Coffee Service</field>
|
||||
<field name="lot_num">15</field>
|
||||
<!--field name="lot_type">common</field-->
|
||||
<field name="lot_est1">10</field>
|
||||
@@ -557,16 +632,11 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_9_lot_2">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Pendule</field>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Pendulum</field>
|
||||
<field name="lot_num">16</field>
|
||||
<field name="lot_est1">100</field>
|
||||
<field name="lot_est2">200</field>
|
||||
@@ -581,23 +651,22 @@
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_10_lot_1">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Cassolettes en marbre</field>
|
||||
<field name="name">Cassolette marble</field>
|
||||
<field name="lot_num">17</field>
|
||||
<field name="lot_est1">400</field>
|
||||
<field name="lot_est2">500</field>
|
||||
<field name="obj_desc">marbre Saint Rémi</field>
|
||||
<field name="obj_desc">Marble Saint Remi</field>
|
||||
<field name="obj_ret">150</field>
|
||||
<field name="obj_num">17</field>
|
||||
<field name="obj_price">0</field>
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_10_lot_2">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Tableau</field>
|
||||
<field name="name">Table</field>
|
||||
<field name="lot_num">18</field>
|
||||
<field name="lot_est1">1600</field>
|
||||
<field name="lot_est2">2200</field>
|
||||
@@ -608,39 +677,26 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_11_lot_1">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Vase</field>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Yourself</field>
|
||||
<field name="lot_num">19</field>
|
||||
<field name="lot_est1">180</field>
|
||||
<field name="lot_est2">220</field>
|
||||
<field name="obj_desc">Rouge</field>
|
||||
<field name="obj_desc">Red</field>
|
||||
<field name="obj_ret">0</field>
|
||||
<field name="obj_num">19</field>
|
||||
<field name="obj_price">190.00</field>
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<record model="auction.lots" id="auction_deposit_12_lot_2">
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Appareil à photos</field>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">Digital photo</field>
|
||||
<field name="lot_num">20</field>
|
||||
<field name="lot_est1">160</field>
|
||||
<field name="lot_est2">340</field>
|
||||
@@ -651,22 +707,8 @@
|
||||
<field name="bord_vnd_id" ref="auction_deposit_5" />
|
||||
<field name="author_right" ref="auction_tax"/>
|
||||
<field name="product_id" model="product.product" search="[]"/>
|
||||
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<record model="auction.bid" id="auction_date_1_bid_1">
|
||||
<field name="name">bid1</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
@@ -701,183 +743,191 @@
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_1_bid_4">
|
||||
<field name="name">bid4</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">bid4</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_1_bid_4_bid_1_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_1_bid_4" />
|
||||
<field name="lot_id" ref="auction_deposit_2_lot_2" />
|
||||
<field name="bid_id" ref="auction_date_1_bid_4" />
|
||||
<field name="lot_id" ref="auction_deposit_2_lot_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_1_bid_5">
|
||||
<field name="name">bid5</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
<field name="name">bid5</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_1" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_1_bid_5_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_1_bid_5" />
|
||||
<field name="lot_id" ref="auction_deposit_3_lot_1" />
|
||||
<field name="bid_id" ref="auction_date_1_bid_5" />
|
||||
<field name="lot_id" ref="auction_deposit_3_lot_1" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_2_bid_1">
|
||||
<field name="name">bid6</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name">bid6</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_2_bid_1_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_2_bid_1" />
|
||||
<field name="lot_id" ref="auction_deposit_3_lot_2" />
|
||||
<field name="bid_id" ref="auction_date_2_bid_1" />
|
||||
<field name="lot_id" ref="auction_deposit_3_lot_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_2_bid_2">
|
||||
<field name="name">bid7</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name">bid7</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_2_bid_2_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_2_bid_2" />
|
||||
<field name="lot_id" ref="auction_deposit_4_lot_1" />
|
||||
<field name="bid_id" ref="auction_date_2_bid_2" />
|
||||
<field name="lot_id" ref="auction_deposit_4_lot_1" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_2_bid_3">
|
||||
<field name="name">bid8</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name">bid8</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_2_bid_3_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_2_bid_3" />
|
||||
<field name="lot_id" ref="auction_deposit_4_lot_2" />
|
||||
<field name="bid_id" ref="auction_date_2_bid_3" />
|
||||
<field name="lot_id" ref="auction_deposit_4_lot_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_2_bid_4">
|
||||
<field name="name">bid9</field>
|
||||
<field name="partner_id" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name">bid9</field>
|
||||
<field name="partner_id" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_2_bid_4_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_2_bid_4" />
|
||||
<field name="lot_id" ref="auction_deposit_5_lot_1" />
|
||||
<field name="bid_id" ref="auction_date_2_bid_4" />
|
||||
<field name="lot_id" ref="auction_deposit_5_lot_1" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid" id="auction_date_2_bid_5">
|
||||
<field name="name">bid10</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
<field name="name">bid10</field>
|
||||
<field name="partner_id" model="res.partner" search="[('name','=','Unknown')]"/>
|
||||
<field name="auction_id" ref="auction_date_2" />
|
||||
</record>
|
||||
|
||||
<record model="auction.bid_line" id="auction_date_2_bid_5_auction_bid_line1">
|
||||
<field name="bid_id" ref="auction_date_2_bid_5" />
|
||||
<field name="lot_id" ref="auction_deposit_5_lot_2" />
|
||||
<field name="bid_id" ref="auction_date_2_bid_5" />
|
||||
<field name="lot_id" ref="auction_deposit_5_lot_2" />
|
||||
</record>
|
||||
|
||||
|
||||
<!--demo data for the hr_employee-->
|
||||
|
||||
<record model="hr.employee" id="employee2">
|
||||
<field name="name">Demo</field>
|
||||
<record model="hr.employee" id="employee2">
|
||||
<field name="name">Demo</field>
|
||||
<!-- <field name="regime">45</field>-->
|
||||
<field name="user_id" search="[('login','=','admin')]" model="res.users"/>
|
||||
<field name="user_id" search="[('login','=','admin')]" model="res.users"/>
|
||||
<!-- <field name="holiday_max">25</field>
|
||||
<field name="workgroups" ref="timesheet_group1" />-->
|
||||
</record>
|
||||
<field name="workgroups" ref="timesheet_group1" />-->
|
||||
</record>
|
||||
|
||||
<!--demo data for the hr_attendence for employee1 -->
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp1">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 08:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp2">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 9:21')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp3">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 09:25')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp4">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 11:54')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp5">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 11:59')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp6">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 13:31')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1"/>
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp7">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 20:10')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp8">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 21:34')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
<!--demo data for the hr_attendence for employee1 -->
|
||||
<!--demo data for the hr_attendence for employee2-->
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp1">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 08:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp2">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 9:21')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp3">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 10:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp4">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 12:54')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp5">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 13:32')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp6">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 16:31')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2"/>
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp7">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 17:10')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp8">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 22:34')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
<record model="hr.attendance" id="unknown1_emp1">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 08:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp2">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 9:21')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp3">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 09:25')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp4">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 11:54')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp5">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 11:59')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp6">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 13:31')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1"/>
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp7">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 20:10')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown1_emp8">
|
||||
<field name="name" eval="time.strftime('%Y-%m-25 21:34')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="hr.employee1" />
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
<!--demo data for the hr_attendence for employee2-->
|
||||
|
||||
<record model="hr.attendance" id="unknown2_emp1">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 08:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp2">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 9:21')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp3">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 10:21')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
-<record model="hr.attendance" id="unknown2_emp4">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 12:54')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp5">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 13:32')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp6">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 16:31')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2"/>
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp7">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 17:10')"/>
|
||||
<field name="action">sign_in</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
<record model="hr.attendance" id="unknown2_emp8">
|
||||
<field name="name" eval="time.strftime('%Y-%m-26 22:34')"/>
|
||||
<field name="action">sign_out</field>
|
||||
<field name="employee_id" ref="employee2" />
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<!--<delete model="ir.actions.report.xml" search="[('model','like','auction.')]"/>-->
|
||||
|
||||
<report string="Listing Huissiers"
|
||||
<report string="Bailiffs Listing"
|
||||
model="auction.lots"
|
||||
name="flagey.huissier"
|
||||
xsl="auction/report/huissier.xsl"
|
||||
@@ -12,8 +12,7 @@
|
||||
multi="1"
|
||||
/>
|
||||
|
||||
|
||||
<report string="Artists Biography"
|
||||
<report string="Artists Biography"
|
||||
model="auction.artists"
|
||||
name="report.auction.artists"
|
||||
xml="auction/report/artists.xml"
|
||||
@@ -29,14 +28,14 @@
|
||||
id="art_auction"
|
||||
multi="1"/>
|
||||
-->
|
||||
<report string="Bids phones"
|
||||
<report string="Bids phones"
|
||||
model="auction.lots"
|
||||
name="bids.lots"
|
||||
rml="auction/report/bids_lots.rml"
|
||||
id="bid_phone"
|
||||
multi="1"/>
|
||||
|
||||
<report string="Bids"
|
||||
<report string="Bids"
|
||||
model="auction.bid"
|
||||
name="auction.bids"
|
||||
rml="auction/report/auction_bids.rml"
|
||||
@@ -45,7 +44,7 @@
|
||||
|
||||
|
||||
<report
|
||||
string="Code barres du lot"
|
||||
string="Barcode batch"
|
||||
model="auction.lots"
|
||||
name="auction.code_bar_lot"
|
||||
rml="auction/report/report_lot_bar_code.rml"
|
||||
@@ -53,7 +52,7 @@
|
||||
id="v_report_barcode_lot"/>
|
||||
|
||||
|
||||
<report string="Seller Labels"
|
||||
<report string="Seller Labels"
|
||||
model="auction.lots"
|
||||
name="auction.seller_labels"
|
||||
auto="False"
|
||||
@@ -89,8 +88,7 @@
|
||||
multi="1"/>
|
||||
|
||||
|
||||
|
||||
<report string="Lots List - Landscape"
|
||||
<report string="Lots List - Landscape"
|
||||
model="auction.lots"
|
||||
name="report.auction.lots.list.landscape"
|
||||
xml="auction/report/lots_list_landscape.xml"
|
||||
@@ -98,16 +96,13 @@
|
||||
id="lot_list_inv"
|
||||
multi="1"/>
|
||||
|
||||
|
||||
<report string="Lots List Inventory"
|
||||
model="auction.lots"
|
||||
name="lots.list.inventory"
|
||||
rml="auction/report/lots_list_inventory.rml"
|
||||
multi="1"/>
|
||||
model="auction.lots"
|
||||
name="lots.list.inventory"
|
||||
rml="auction/report/lots_list_inventory.rml"
|
||||
multi="1"/>
|
||||
|
||||
|
||||
|
||||
<report string="Lots List"
|
||||
<report string="Lots List"
|
||||
model="auction.lots"
|
||||
name="report.auction.lots.list"
|
||||
xml="auction/report/lots_list.xml"
|
||||
@@ -135,16 +130,17 @@
|
||||
auto="False"
|
||||
multi="1"/>-->
|
||||
|
||||
<report string="Buyer Form"
|
||||
<report string="Buyer Form"
|
||||
id="buyer_form_id"
|
||||
model="auction.lots"
|
||||
name="report.auction.ach_bordereau"
|
||||
xml="auction/report/ach_bordereau.xml"
|
||||
xsl="auction/report/ach_bordereau.xsl"
|
||||
multi="0"
|
||||
header= "True"
|
||||
/>
|
||||
|
||||
<report string="Deposits"
|
||||
<report string="Deposits"
|
||||
id="id_deposit"
|
||||
model="auction.deposit"
|
||||
name="report.auction.deposit"
|
||||
@@ -158,7 +154,7 @@
|
||||
name="auction.cat_flagy"
|
||||
xsl="'auction/report/catalog2.xsl"/>-->
|
||||
|
||||
<report string="Seller Form"
|
||||
<report string="Seller Form"
|
||||
id="seller_lots_3"
|
||||
model="auction.lots"
|
||||
name="report.auction.vnd_bordereau"
|
||||
@@ -166,7 +162,7 @@
|
||||
xsl="auction/report/vnd_bordereau.xsl"
|
||||
multi="1"/>
|
||||
|
||||
<report string="Seller List"
|
||||
<report string="Seller List"
|
||||
model="auction.lots"
|
||||
multi="1"
|
||||
id="seller_form_id"
|
||||
@@ -175,7 +171,7 @@
|
||||
xsl="auction/report/seller_list.xsl"/>
|
||||
|
||||
|
||||
<report string="Buyer List"
|
||||
<report string="Buyer List"
|
||||
model="auction.lots"
|
||||
name="buyer.list"
|
||||
id="buy_id_list"
|
||||
@@ -193,7 +189,7 @@
|
||||
id="v_seller_list"
|
||||
multi="1"/>
|
||||
-->
|
||||
<report string="Bids per lot (phone)"
|
||||
<report string="Bids per lot (phone)"
|
||||
model="auction.lots"
|
||||
name="bids.phones.details"
|
||||
rml="auction/report/bids_phones_details.rml"
|
||||
@@ -208,19 +204,20 @@
|
||||
xsl="auction/report/lots_bids_phone.xsl"
|
||||
multi="1"/>-->
|
||||
|
||||
<report string="Auction's results"
|
||||
model="auction.lots"
|
||||
name="auction.result"
|
||||
rml="auction/report/auction_result.rml"
|
||||
multi="1"/>
|
||||
<!-- temp -->
|
||||
|
||||
<report string="Results with buyer"
|
||||
model="auction.lots"
|
||||
name="report.auction.buyer.result"
|
||||
rml="auction/report/auction_buyer_result.rml"
|
||||
multi="1"
|
||||
id="res_w_buyer"/>
|
||||
<report string="Auction's results"
|
||||
model="auction.lots"
|
||||
name="auction.result"
|
||||
rml="auction/report/auction_result.rml"
|
||||
multi="1"/>
|
||||
|
||||
<report string="Results with buyer"
|
||||
model="auction.lots"
|
||||
name="report.auction.buyer.result"
|
||||
rml="auction/report/auction_buyer_result.rml"
|
||||
multi="1"
|
||||
id="res_w_buyer"/>
|
||||
|
||||
<!-- <wizard
|
||||
id="auction_catalog_flagy"
|
||||
@@ -229,8 +226,6 @@
|
||||
name="auction.catalog.flagey"
|
||||
keyword="client_print_multi"/>-->
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
|
||||
@@ -1,30 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
|
||||
#
|
||||
# Sequences for sale.order
|
||||
#
|
||||
|
||||
|
||||
<!-- Sequences for Auction deposit -->
|
||||
|
||||
<record model="ir.sequence.type" id="seq_type_auction_deposit">
|
||||
<field name="name">Auction deposit</field>
|
||||
<field name="code">auction.deposit</field>
|
||||
<field name="name">Auction deposit</field>
|
||||
<field name="code">auction.deposit</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.sequence" id="seq_sale_order">
|
||||
<field name="name">Auction deposit</field>
|
||||
<field name="code">auction.deposit</field>
|
||||
<field name="prefix">AD/</field>
|
||||
<field name="padding">3</field>
|
||||
<field name="name">Auction deposit</field>
|
||||
<field name="code">auction.deposit</field>
|
||||
<field name="prefix">AD/</field>
|
||||
<field name="padding">3</field>
|
||||
</record>
|
||||
|
||||
<!-- Sequences for Auction Bid -->
|
||||
|
||||
<record model="ir.sequence.type" id="seq_type_bid">
|
||||
<field name="name">Auction bid </field>
|
||||
<field name="code">auction.bid</field>
|
||||
<field name="name">Auction bid </field>
|
||||
<field name="code">auction.bid</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.sequence" id="seq_auction_bid">
|
||||
<field name="name">Auction bid</field>
|
||||
<field name="code">auction.bid</field>
|
||||
<field name="prefix">bid/</field>
|
||||
<field name="padding">3</field>
|
||||
<field name="name">Auction bid</field>
|
||||
<field name="code">auction.bid</field>
|
||||
<field name="prefix">bid/</field>
|
||||
<field name="padding">3</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
+486
-1331
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,7 @@
|
||||
<field name="name">Auction manager</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record model="ir.ui.view" id="board_auction_manager_form1">
|
||||
<field name="name">board.auction.manager.form</field>
|
||||
<field name="model">board.board</field>
|
||||
@@ -13,8 +14,6 @@
|
||||
<form string="Auction manager ">
|
||||
<hpaned position="100">
|
||||
<child1>
|
||||
|
||||
|
||||
<action
|
||||
string="Latest objects"
|
||||
name="%(auction.action_report_latest_objects_manager_tree)d"
|
||||
@@ -54,7 +53,6 @@
|
||||
string="Objects by day"
|
||||
name="%(auction.action_report_auction_object_date_tree)d"
|
||||
view_mode="graph,tree" colspan="4" />
|
||||
|
||||
</child2>
|
||||
</hpaned>
|
||||
</form>
|
||||
|
||||
@@ -1,12 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="board.note.type" id="note_auction_type">
|
||||
<field name="name">Auction</field>
|
||||
<data>
|
||||
<record model="board.note.type" id="note_auction_type1">
|
||||
<field name="name">Auction DashBoard</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="board_auction_manager_form">
|
||||
<field name="name">board.auction.manager.form</field>
|
||||
<record model="ir.actions.act_window" id="action_report_latest_objects_tree">
|
||||
<field name="res_model">auction.lots</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_latest_doposit_tree">
|
||||
<field name="res_model">auction.deposit</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_estimation_adj_category_tree">
|
||||
<field name="name">report.auction.estimation.adj.category.tree</field>
|
||||
<field name="model">auction.lots</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Min est/Adj/Max est">
|
||||
<!--field name="date" select="1"/-->
|
||||
<field name="create_uid" select="1"/>
|
||||
<field name="lot_type" select="1"/>
|
||||
<field name="lot_est1" select="1"/>
|
||||
<field name="lot_est2" select="1"/>
|
||||
<field name="obj_price" select="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_lots_estimation_adj_category_graph">
|
||||
<field name="name">report.auction.lots.estimation.adj.category.graph</field>
|
||||
<field name="model">auction.lots</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Min est/Adj/Max est" orientation="vertical" type="bar">
|
||||
<field name="lot_type" select="1"/>
|
||||
<field name="lot_est1" operator="+"/>
|
||||
<field name="obj_price" operator="+"/>
|
||||
<field name="lot_est2" operator="+"/>
|
||||
<field name="create_uid" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_auction_lots_estimation_adj_category_tree">
|
||||
<field name="name">Min est/Adj/Max est</field>
|
||||
<field name="res_model">auction.lots</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="board_auction_form1">
|
||||
<field name="name">board.auction.form</field>
|
||||
<field name="model">board.board</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
@@ -14,36 +64,31 @@
|
||||
<hpaned position="100">
|
||||
<child1>
|
||||
<action
|
||||
string="My Latest Objects"
|
||||
string="Latest objects"
|
||||
name="%(auction.action_report_latest_objects_tree)d"
|
||||
height="200"
|
||||
width="510"/>
|
||||
<action string="My Latest Deposits"
|
||||
name="%(auction.action_report_latest_doposit_manager_tree)d"
|
||||
domain="[('create_uid','=',uid)]"
|
||||
/>
|
||||
width="510" />
|
||||
<action string="Latest deposits"
|
||||
name="%(auction.action_report_latest_doposit_tree)d"/>
|
||||
<action string="Objects statistics"
|
||||
name="%(auction.action_report_object_encoded_member_tree)d"
|
||||
name="%(auction.action_report_object_encoded_tree)d"
|
||||
/>
|
||||
</child1>
|
||||
</child1>
|
||||
|
||||
<child2>
|
||||
<button
|
||||
string="Menu"
|
||||
name="%(base.action_menu_admin)d"
|
||||
icon="gtk-justify-fill"
|
||||
type="action"
|
||||
colspan="4"/>
|
||||
|
||||
<action
|
||||
string="My Objects By Day"
|
||||
string="Total Adjudications"
|
||||
name="%(auction.action_report_auction_adjudication_tree)d"
|
||||
view_mode="graph,tree"
|
||||
colspan="4"/>
|
||||
<action
|
||||
string="Min/Adj/Max"
|
||||
name="%(auction.action_report_auction_lots_estimation_adj_category_tree)d"
|
||||
view_mode="graph,tree" colspan="4" />
|
||||
<action
|
||||
string="Objects by day"
|
||||
name="%(auction.action_report_auction_object_date_tree)d"
|
||||
view_mode="graph,tree" colspan="4"
|
||||
domain="[('user_id','=',uid),('month','=',time.strftime('%%Y-%%m-01'))]"/>
|
||||
<action
|
||||
string="Estimations/Adjudication"
|
||||
name="%(auction.action_report_auction_estimation_adj_category_member_tree)d"
|
||||
view_mode="graph,tree" colspan="4"/>
|
||||
view_mode="graph,tree" colspan="4" />
|
||||
</child2>
|
||||
</hpaned>
|
||||
</form>
|
||||
@@ -51,20 +96,21 @@
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="open_board_auction">
|
||||
<field name="name">Auction member board</field>
|
||||
<field name="name">Auction board</field>
|
||||
<field name="res_model">board.board</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="usage">menu</field>
|
||||
<field name="view_id" ref="board_auction_manager_form"/>
|
||||
<field name="view_id" ref="board_auction_form1"/>
|
||||
</record>
|
||||
<menuitem name="Dashboard" id="menu_board_auction" parent="auction_report_menu" sequence="0"/>
|
||||
|
||||
<menuitem name="Dashboard" id="menu_board_auction" parent="auction.auction_report_menu" sequence="0"/>
|
||||
|
||||
<menuitem
|
||||
name="Auction Member"
|
||||
name="Auction DashBoard"
|
||||
action="open_board_auction"
|
||||
sequence="2"
|
||||
id="board_menu_auction_member" icon="terp-graph" parent="menu_board_auction" />
|
||||
sequence="1"
|
||||
id="menu_board_auction_open" icon="terp-graph" parent="menu_board_auction"/>
|
||||
|
||||
</data>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 12:08+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 05:49+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:44+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: auction
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:18+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:31+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:44+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: auction
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-08-03 11:33+0000\n"
|
||||
"PO-Revision-Date: 2010-08-08 06:22+0000\n"
|
||||
"Last-Translator: OpenERP Administrators <Unknown>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-04 03:44+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-08-09 03:43+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: auction
|
||||
|
||||
@@ -32,7 +32,7 @@ import auction_objects
|
||||
import buyer_form_report
|
||||
import seller_form_report
|
||||
|
||||
|
||||
import report_auction
|
||||
|
||||
import buyer_list
|
||||
|
||||
|
||||
@@ -14,38 +14,20 @@
|
||||
<street2 type="field" name="address.street2"/>
|
||||
<zip type="field" name="address.zip"/>
|
||||
<city type="field" name="address.city"/>
|
||||
<!--<country type="field" name="address.country.name"/>-->
|
||||
<phone type="field" name="address.phone"/>
|
||||
<mobile type="field" name="address.mobile"/>
|
||||
</client_info>
|
||||
<objects>
|
||||
<cost type="call" name="compute_buyer_costs" args="">
|
||||
<!--<name value="name"/>-->
|
||||
<amount value="amount"/>
|
||||
</cost>
|
||||
|
||||
<!--<cost type="field" name="auction_id.buyer_costs"/>
|
||||
<name value="name"/>
|
||||
<amount value="amount"/>
|
||||
</cost>-->
|
||||
|
||||
|
||||
<!--<cost type="call" name="compute_buyer_costs" args="">
|
||||
<name value="name"/>
|
||||
<amount value="amount"/>
|
||||
</cost>-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<object type="fields" name="obj_num,id">
|
||||
<id type="field" name="id"/>
|
||||
<barcode type="field" name="id" addchecksum="false" print-text="true"/>
|
||||
<!--<barcode value="id" addchecksum="false" print-text="true"/>
|
||||
-->
|
||||
|
||||
<cost type="call" name="compute_buyer_costs" args="">
|
||||
<!--<id value="id"/>-->
|
||||
<amount value="amount"/>
|
||||
</cost>
|
||||
<barcode type="field" name="id"/>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<!-- TOFIX: Path Problem -->
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,162 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:fo="http://www.w3.org/1999/XSL/Format"/>
|
||||
|
||||
<xsl:import href="corporate_defaults.xsl" />
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rml" />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:template name="rml" match="/">
|
||||
<document filename="example.pdf">
|
||||
<template>
|
||||
<pageTemplate id="first">
|
||||
<frame id="first" x1="1cm" y1="2.5cm" width="19.0cm" height="23.0cm"/>
|
||||
<pageGraphics>
|
||||
<xsl:apply-imports />
|
||||
</pageGraphics>
|
||||
</pageTemplate>
|
||||
</template>
|
||||
<stylesheet>
|
||||
<paraStyle name="normal" fontName="Times-Roman" fontSize="12" />
|
||||
<paraStyle name="title" fontName="Times-Bold" fontSize="15" alignment="center" />
|
||||
<paraStyle name="table_title" fontName="Times-Bold" fontSize="12" alignment="center" />
|
||||
<paraStyle name="product1" fontName="Times-Roman" fontSize="8" />
|
||||
<paraStyle name="categ" fontName="Times-Bold" fontSize="10" textColor="blue"/>
|
||||
<paraStyle name="price" fontName="Times-Roman" fontSize="8" alignment="right" />
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rml"/>
|
||||
</xsl:template>
|
||||
<blockTableStyle id="main_title">
|
||||
<blockAlignment value="CENTER" />
|
||||
<lineStyle kind="GRID" colorName="black"/>
|
||||
<blockBackground colorName="#e6e6e6" />
|
||||
<blockValign value="TOP"/>
|
||||
</blockTableStyle>
|
||||
|
||||
<xsl:template name="stylesheet">
|
||||
<paraStyle name="login-title" fontName="Helvetica" fontSize="12"/>
|
||||
<paraStyle name="login" fontName="Helvetica-Bold" fontSize="16"/>
|
||||
|
||||
<blockTableStyle id="objects">
|
||||
<blockFont name="Helvetica-BoldOblique" size="12" start="0,0" stop="-1,0"/>
|
||||
<blockValign value="TOP"/>
|
||||
<blockAlignment value="RIGHT" start="-1,0" stop="-1,-1"/>
|
||||
<lineStyle kind="LINEBELOW" start="0,0" stop="-1,0"/>
|
||||
</blockTableStyle>
|
||||
|
||||
<blockTableStyle id="object-totals">
|
||||
<blockValign value="TOP"/>
|
||||
<blockAlignment value="RIGHT"/>
|
||||
<lineStyle kind="LINEABOVE" start="-1,0" stop="-1,0"/>
|
||||
<lineStyle kind="LINEABOVE" start="-1,-1" stop="-1,-1"/>
|
||||
</blockTableStyle>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="story">
|
||||
<xsl:apply-templates select="borderform-list"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="borderform-list">
|
||||
<xsl:apply-templates select="borderform">
|
||||
<xsl:sort order="ascending" select="client_info/name"/>
|
||||
</xsl:apply-templates>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="client_info">
|
||||
<para>
|
||||
<b>
|
||||
<xsl:value-of select="title" />
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
</b>
|
||||
</para>
|
||||
<para><xsl:value-of select="street"/></para>
|
||||
<para><xsl:value-of select="street2"/></para>
|
||||
<para>
|
||||
<xsl:value-of select="zip"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="city"/>
|
||||
</para>
|
||||
<!-- <para><xsl:value-of select="country"/></para>-->
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="borderform">
|
||||
<xsl:apply-templates select="client_info"/>
|
||||
|
||||
<setNextTemplate name="other_pages"/>
|
||||
<nextFrame/>
|
||||
|
||||
<para style="login-title" t="1">Plate Number:</para>
|
||||
<para style="login"><xsl:value-of select="login"/></para>
|
||||
|
||||
<spacer length="1cm"/>
|
||||
|
||||
<para>
|
||||
<b t="1">Document</b>: <xsl:text t="1">Buyer form</xsl:text>
|
||||
</para><para>
|
||||
<b t="1">Auction</b>: <xsl:value-of select="title"/>
|
||||
</para>
|
||||
|
||||
<xsl:if test="client_info">
|
||||
<para>
|
||||
<b t="1">Customer Contact</b>:
|
||||
<xsl:value-of select="client_info/phone"/>
|
||||
<xsl:if test="number(string-length(client_info/mobile) > 0) + number(string-length(client_info/phone) > 0) = 2">
|
||||
<xsl:text> - </xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="client_info/mobile"/>
|
||||
</para><para>
|
||||
<b t="1">Customer Reference</b>: <xsl:value-of select="client_info/ref"/>
|
||||
</para>
|
||||
</xsl:if>
|
||||
|
||||
<spacer length="1cm"/>
|
||||
|
||||
<xsl:apply-templates select="objects"/>
|
||||
|
||||
<setNextTemplate name="first_page"/>
|
||||
<pageBreak/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="objects">
|
||||
<blockTable colWidths="3.1cm,1.8cm,9.6cm,1.5cm,2.2cm" style="objects">
|
||||
<tr>
|
||||
<td/>
|
||||
<td t="1">Cat. N.</td>
|
||||
<td t="1">Description</td>
|
||||
<td t="1">Paid</td>
|
||||
<td t="1">Adj.(EUR)</td>
|
||||
</tr>
|
||||
<xsl:apply-templates select="object"/>
|
||||
</blockTable>
|
||||
<condPageBreak height="3.2cm"/>
|
||||
<blockTable colWidths="3.1cm,1.8cm,9.6cm,1.5cm,2.2cm" style="object-totals">
|
||||
<tr>
|
||||
<td/>
|
||||
<td/>
|
||||
<td/>
|
||||
<td t="1">Subtotal:</td>
|
||||
<td><xsl:value-of select="format-number(sum(object[price != '']/price), '#,##0.00')"/></td>
|
||||
</tr>
|
||||
<xsl:apply-templates select="cost"/>
|
||||
<tr>
|
||||
<td/>
|
||||
<td/>
|
||||
<td/>
|
||||
<td t="1">Total:</td>
|
||||
<td><xsl:value-of select="format-number(sum(object[price != '']/price) + sum(cost/amount), '#,##0.00')"/></td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="cost">
|
||||
<tr>
|
||||
<td/>
|
||||
<td/>
|
||||
<td/>
|
||||
<td><xsl:value-of select="name"/>:</td>
|
||||
<td><xsl:value-of select="format-number(amount, '#,##0.00')"/></td>
|
||||
</tr>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="object">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:if test="image">
|
||||
<image width="2.5cm" height="2.2cm">
|
||||
<xsl:attribute name="name"><xsl:value-of select="image"/></xsl:attribute>
|
||||
</image>
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td><xsl:value-of select="ref"/></td>
|
||||
<td>
|
||||
<para>
|
||||
<b><xsl:value-of select="title"/><xsl:text>. </xsl:text></b>
|
||||
<xsl:value-of select="desc"/>
|
||||
</para>
|
||||
</td>
|
||||
<td><xsl:if test="state='paid'"><xsl:text>X</xsl:text></xsl:if></td>
|
||||
<td>
|
||||
<xsl:if test="price!=''">
|
||||
<xsl:value-of select="format-number(price, '#,##0.00')"/>
|
||||
</xsl:if>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
<blockTableStyle id="product">
|
||||
<blockAlignment value="LEFT" />
|
||||
<xsl:for-each select="/report/title">
|
||||
<xsl:variable name="col" select="attribute::number" />
|
||||
<blockBackground>
|
||||
<xsl:attribute name="colorName">#e6e6e6</xsl:attribute>
|
||||
<xsl:attribute name="start">
|
||||
<xsl:value-of select="$col" />
|
||||
<xsl:text>,0</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="stop">
|
||||
<xsl:value-of select="$col" />
|
||||
<xsl:text>,0</xsl:text>
|
||||
</xsl:attribute>
|
||||
</blockBackground>
|
||||
</xsl:for-each>
|
||||
<lineStyle kind="LINEABOVE" colorName="black" start="0,0" stop="-1,-1" />
|
||||
<lineStyle kind="LINEBEFORE" colorName="black" start="0,0" stop="-1,-1"/>
|
||||
<lineStyle kind="LINEAFTER" colorName="black" start="-1,0" stop="-1,-1"/>
|
||||
<lineStyle kind="LINEBELOW" colorName="black" start="0,-1" stop="-1,-1"/>
|
||||
<blockValign value="TOP"/>
|
||||
</blockTableStyle>
|
||||
</stylesheet >
|
||||
<story>
|
||||
<xsl:call-template name="story"/>
|
||||
</story>
|
||||
</document>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
<xsl:variable name="page_format">a4_normal</xsl:variable>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
@@ -35,6 +35,7 @@ import base64
|
||||
import wizard
|
||||
import photo_shadow
|
||||
from tools import config
|
||||
import addons
|
||||
|
||||
def _to_unicode(s):
|
||||
try:
|
||||
@@ -64,16 +65,13 @@ def _to_decode(s):
|
||||
class auction_catalog(report_rml):
|
||||
|
||||
def create_xml(self, cr, uid, ids, data, context):
|
||||
|
||||
xml = self.catalog_xml(cr, uid, ids, data, context)
|
||||
temp=self.post_process_xml_data(cr, uid, xml, context)
|
||||
temp = self.post_process_xml_data(cr, uid, xml, context)
|
||||
|
||||
return temp
|
||||
def catalog_xml(self, cr, uid, ids, data, context, cwid="0"):
|
||||
impl = minidom.getDOMImplementation()
|
||||
|
||||
doc = impl.createDocument(None, "report", None)
|
||||
|
||||
catalog=doc.createElement('catalog')
|
||||
doc.documentElement.appendChild(catalog)
|
||||
|
||||
@@ -82,37 +80,38 @@ class auction_catalog(report_rml):
|
||||
commdb='comm'
|
||||
tab_avoid = []
|
||||
tab_no_photo=[]
|
||||
for id in ids:
|
||||
lot_ids=pooler.get_pool(cr.dbname).get('auction.lots').search(cr, uid, [('auction_id', '=', id)])
|
||||
ab=pooler.get_pool(cr.dbname).get('auction.lots').read(cr, uid, lot_ids, ['auction_id','name','lot_num','lot_est1','lot_est2'], context)
|
||||
auction_dates_ids = [x["auction_id"][0] for x in ab]
|
||||
auction_lot_pool = pooler.get_pool(cr.dbname).get('auction.lots')
|
||||
auction_dates_pool = pooler.get_pool(cr.dbname).get('auction.dates')
|
||||
for auction in auction_dates_pool.browse(cr, uid, ids, context=context):
|
||||
auction_lot_ids = auction_lot_pool.search(cr, uid, [('auction_id', '=', auction.id)])
|
||||
#for lot in auction_lot_pool.browse(cr, uid, auction_lot_ids, context=context):
|
||||
# ab=pooler.get_pool(cr.dbname).get('auction.lots').read(cr, uid, lot_ids, ['auction_id','name','lot_num','lot_est1','lot_est2'], context)
|
||||
#auction_dates_ids = [x["auction_id"][0] for x in ab]
|
||||
|
||||
res=pooler.get_pool(cr.dbname).get('auction.dates').read(cr, uid, ids, ['name','auction1','auction2'], context)
|
||||
# name emelment
|
||||
key = 'name'
|
||||
categ = doc.createElement(key)
|
||||
categ.appendChild(doc.createTextNode(_to_decode(res[0]["name"])))
|
||||
categ.appendChild(doc.createTextNode(_to_decode(auction.name)))
|
||||
catalog.appendChild(categ)
|
||||
|
||||
#Auctuion Date element
|
||||
categ = doc.createElement("AuctionDate1")
|
||||
categ.appendChild(doc.createTextNode(_to_decode(res[0]['auction1'])))
|
||||
categ.appendChild(doc.createTextNode(_to_decode(auction.auction1)))
|
||||
catalog.appendChild(categ)
|
||||
|
||||
# Action Date 2 element
|
||||
categ = doc.createElement("AuctionDate2")
|
||||
categ.appendChild(doc.createTextNode(_to_decode(res[0]['auction2'])))
|
||||
categ.appendChild(doc.createTextNode(_to_decode(auction.auction2)))
|
||||
catalog.appendChild(categ)
|
||||
|
||||
# promotion element
|
||||
# promotion element
|
||||
promo = doc.createElement('promotion1')
|
||||
|
||||
fp = file(config['addons_path']+'/auction/report/images/flagey_logo.jpg','r')
|
||||
fp = file(addons.get_module_resource('auction','report', 'images', 'flagey_logo.jpg'),'r')
|
||||
file_data = fp.read()
|
||||
promo.appendChild(doc.createTextNode(base64.encodestring(file_data)))
|
||||
catalog.appendChild(promo)
|
||||
promo = doc.createElement('promotion2')
|
||||
fp = file(config['addons_path']+'/auction/report/images/flagey_logo.jpg','r')
|
||||
fp = file(addons.get_module_resource('auction','report', 'images', 'flagey_logo.jpg'),'r')
|
||||
file_data = fp.read()
|
||||
promo.appendChild(doc.createTextNode(base64.encodestring(file_data)))
|
||||
catalog.appendChild(promo)
|
||||
@@ -122,36 +121,30 @@ class auction_catalog(report_rml):
|
||||
catalog.appendChild(products)
|
||||
side = 0
|
||||
length = 0
|
||||
auction_ids = []
|
||||
for test in ab:
|
||||
if test.has_key('auction_id'):
|
||||
auction_ids.append(test['auction_id'][0])
|
||||
cr.execute('select * from auction_lots where auction_id IN %s',(tuple(auction_ids),))
|
||||
res = cr.dictfetchall()
|
||||
for cat in res:
|
||||
product =doc.createElement('product')
|
||||
for cat in auction_lot_pool.browse(cr, uid, auction_lot_ids, context=context):
|
||||
product = doc.createElement('product')
|
||||
products.appendChild(product)
|
||||
if cat['obj_desc']:
|
||||
if cat.obj_desc:
|
||||
infos = doc.createElement('infos')
|
||||
lines = re.split('<br/>|\n', _to_unicode(cat['obj_desc']))
|
||||
lines = re.split('<br/>|\n', _to_unicode(cat.obj_desc))
|
||||
for line in lines:
|
||||
xline = doc.createElement('info')
|
||||
xline.appendChild(doc.createTextNode(_to_decode(line)))
|
||||
infos.appendChild(xline)
|
||||
product.appendChild(infos)
|
||||
if cat['lot_num']:
|
||||
if cat.lot_num:
|
||||
lnum = doc.createElement('lot_num')
|
||||
lnum.appendChild(doc.createTextNode(_to_decode(str(cat['lot_num']))))
|
||||
lnum.appendChild(doc.createTextNode(_to_decode(str(cat.lot_num))))
|
||||
infos.appendChild(lnum)
|
||||
|
||||
if cat['image']:
|
||||
if cat.image:
|
||||
import random
|
||||
import tempfile
|
||||
limg = doc.createElement('photo_small')
|
||||
|
||||
file_name = tempfile.mktemp(prefix='openerp_auction_', suffix='.jpg')
|
||||
fp = file(file_name, 'w')
|
||||
content = base64.decodestring(cat['image'])
|
||||
content = base64.decodestring(cat.image)
|
||||
fp.write(content)
|
||||
fp.close()
|
||||
fp = file(file_name,'r')
|
||||
@@ -164,10 +157,15 @@ class auction_catalog(report_rml):
|
||||
limg.appendChild(doc.createTextNode(test_data))
|
||||
infos.appendChild(limg)
|
||||
|
||||
for key in ('lot_est1','lot_est2'):
|
||||
if cat.lot_est1:
|
||||
ref2 = doc.createElement(key)
|
||||
ref2.appendChild(doc.createTextNode( _to_decode(str(cat[key] or 0.0))))
|
||||
ref2.appendChild(doc.createTextNode( _to_decode(str(cat.lot_est1 or 0.0))))
|
||||
product.appendChild(ref2)
|
||||
if cat.lot_est2:
|
||||
ref2 = doc.createElement(key)
|
||||
ref2.appendChild(doc.createTextNode( _to_decode(str(cat.lot_est2 or 0.0))))
|
||||
product.appendChild(ref2)
|
||||
|
||||
oldlength = length
|
||||
length += 2.0
|
||||
if length>23.7:
|
||||
@@ -180,7 +178,7 @@ class auction_catalog(report_rml):
|
||||
ref4 = doc.createElement('side')
|
||||
ref4.appendChild(doc.createTextNode( "1" ))
|
||||
product.appendChild(ref4)
|
||||
xml1 = doc.toxml()
|
||||
xml1 = doc.toxml()
|
||||
return xml1
|
||||
auction_catalog('report.auction.cat_flagy', 'auction.dates','','addons/auction/report/catalog2.xsl')
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<!-- <fill color="(0.6,0.3,0.1)"/>-->
|
||||
|
||||
<image x="7cm" y="25cm" file="addons/auction/report/images/aeko_logo.jpg"/>
|
||||
<image x="7cm" y="25cm" file="addons/auction/report/images/flagey_logo.jpg"/>
|
||||
<image x="7cm" y="25cm" file="addons/auction/report/images/flagey_logo.jpg"/>
|
||||
<lines>1cm 3.0cm 20cm 3.0cm</lines>
|
||||
<setFont name="Helvetica" size="15"/>
|
||||
<drawCentredString x="105mm" y="2.2cm">Hotel des ventes Flagey</drawCentredString>
|
||||
@@ -20,7 +20,6 @@
|
||||
<drawCentredString x="105mm" y="1.6cm">Rue du Nid, 4 - B-1050 Bruxelles - Tel: 02/644.97.67</drawCentredString>
|
||||
<drawCentredString x="105mm" y="1.0cm">Web: Flagey.com - Mail: info@flagey.com - Fax: 02.646.32.35</drawCentredString>
|
||||
|
||||
|
||||
<fill color="(0.2,0.2,0.2)"/>
|
||||
<stroke color="(0.2,0.2,0.2)"/>
|
||||
|
||||
@@ -30,8 +29,8 @@
|
||||
<pageTemplate id="first">
|
||||
<pageGraphics>
|
||||
<!-- <image x="1.0cm" y="27.3cm" file="/home/tiny/terp/4.2/server/bin/addons/auction/report/images/flagey_head.png"/>-->
|
||||
- <image x="1.0cm" y="27.3cm" file="addons/auction/report/images/flagey_logo.jpg"/>
|
||||
<drawRightString x="19.0cm" y="27.6cm"> Vente antiquitée le <xsl:value-of select="date:day-name(catalog/AuctionDate1)"/>  <xsl:value-of select="date:day-in-month(catalog/AuctionDate1)"/> <xsl:value-of select="date:month-name(catalog/AuctionDate1)"/>  <xsl:value-of select="date:year(catalog/AuctionDate1)"/></drawRightString>-->
|
||||
- <image x="1.0cm" y="26.1cm" file="flagey_logo.jpg"/>
|
||||
<drawRightString x="19.0cm" y="26.6cm"> Vente antiquitée le <xsl:value-of select="date:day-name(catalog/AuctionDate1)"/>  <xsl:value-of select="date:day-in-month(catalog/AuctionDate1)"/> <xsl:value-of select="date:month-name(catalog/AuctionDate1)"/>  <xsl:value-of select="date:year(catalog/AuctionDate1)"/></drawRightString>
|
||||
<lineMode width="1mm"/>
|
||||
<setFont name="Helvetica" size="26"/>
|
||||
<!-- <drawString x="10mm" y="27.8cm">Flagey.com</drawString>-->
|
||||
@@ -39,7 +38,7 @@
|
||||
<stroke color="#2b24b6"/>
|
||||
<lineMode width="0.5mm"/>
|
||||
<lines>1cm 1.6cm 20cm 1.6cm</lines>
|
||||
<lines>1.0cm 27.3cm 20cm 27.3cm</lines>
|
||||
<lines>1.0cm 26.1cm 20cm 26.1cm</lines>
|
||||
|
||||
<setFont name="Helvetica" size="12"/>
|
||||
<drawString x="10mm" y="1.0cm">www.flagey.com</drawString>
|
||||
@@ -47,7 +46,7 @@
|
||||
<drawRightString x="200mm" y="1.0cm">info@flagey.com</drawRightString>
|
||||
</pageGraphics>
|
||||
<frame id="column" x1="1cm" y1="1.5cm" width="9.4cm" height="25.5cm"/>
|
||||
<frame id="column" x1="10.8cm" y1="1.5cm" width="9.4cm" height="25.5cm"/>
|
||||
<frame id="column" x1="14.8cm" y1="1.5cm" width="9.4cm" height="25.5cm"/>
|
||||
</pageTemplate>
|
||||
</template>
|
||||
<stylesheet>
|
||||
@@ -62,6 +61,7 @@
|
||||
<paraStyle name="homehead" fontName="Helvetica" fontSize="12" alignment="center"/>
|
||||
<paraStyle name="artist" fontName="Helvetica-Bold"/>
|
||||
<paraStyle name="prodtitle" fontName="Helvetica-BoldOblique" fontSize="8"/>
|
||||
<paraStyle name="P2" rightIndent="13.0" leftIndent="11.0" fontName="Times-Roman" alignment="RIGHT"/>
|
||||
<blockTableStyle id="infos">
|
||||
<blockValign value="TOP"/>
|
||||
<blockTopPadding value="0"/>
|
||||
@@ -92,11 +92,88 @@
|
||||
<lineStyle kind="LINEBELOW" start="0,0" stop="-1,0"/>
|
||||
</blockTableStyle>
|
||||
</stylesheet>
|
||||
|
||||
<images>
|
||||
<image name="flagey_logo.jpg">/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
|
||||
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
|
||||
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABjAO0DASIA
|
||||
AhEBAxEB/8QAGwAAAwADAQEAAAAAAAAAAAAAAAUGAwQHAgH/xABHEAABAwMBAggKBggFBQAAAAAB
|
||||
AAIDBAURBhIhBxMVMUFRU9EWNWFxc4GSoaKxFCIyN4KRIzM2QnSys8EkUnLw8TRjwtLh/8QAFQEB
|
||||
AQAAAAAAAAAAAAAAAAAAAAH/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDfptuW
|
||||
RsLRtOPMt3k+q7P4gta1eM4fxfIqlyOtVSPk+q7P4gjk+q7P4gnmD1FeS4DcSAVEJeT6rs/iCOT6
|
||||
rs/iCdbbesL0N/MgR8n1XZ/EEcn1XZ/EE7LgDgnevo38wygR8n1XZ/EEcn1XZ/EE4fMyN2y44PP5
|
||||
uhewQRkIEnJ9V2fxBHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEfJ9V2fx
|
||||
BHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEfJ9
|
||||
V2fxBHJ9V2fxBPEIEfJ9V2fxBHJ9V2fxBPEIEMtHUQxPlfHhjGlzjkbgFO1FbJNJlri1o5gCre4+
|
||||
LKr0L/kVz9VVLavGcP4vkU9qInva4xv2XbOP99SQ2rxnD+L5FUqiJe0W9131dU2Wa5V8UsLGPJjq
|
||||
HbO9oPX5Up1Vq+osOo57HRwskjpogRLONt7ztNGST51Q6U++O6egj/kaudcIX3l3L0Q/qMQX9OL7
|
||||
PTxyh1INtoP6kdy9VEd7MJE7Wys6qeV0L/URu9yb23xbT+jC9y1LYd7/AKrNrY2ienGUEdqa9S2O
|
||||
0UDKGOeVtSXCaaqcXyRuAzsg9C13XSoq7XaauoqaiJ1bMIswSub0dWcKk1BRR11tqIywOa+LaYcf
|
||||
vg7vcSpCphNPYtMxOGC2ux7kDHXl6qNLT02n6KSSRk0RmlnmcXPc4NLhvPQMBUum55KmxUssrtp7
|
||||
mAkqH4Yv24of4N39Mqz0p+zdH6MIHSEIQCEIQCEIQCEIQCEIQCEIQCEIQCEIQCEIQa1x8WVXoX/I
|
||||
rn66BcfFlV6F/wAiufoKW1eM4fxfIqkU3avGcP4vkVSIEWlPvkunoI/5GqH4S7a+DXdXVte2TjWh
|
||||
mw3eW/Wacn8lcaU++O6egj/kauecIEjm8JdyOA4tiBZtb9k7bRn3oOo0FRBFaIZZpo4o2xjae9wA
|
||||
CT6uuVKNK000EuTUVW2zoLm42cjyLzHarrWWyIPrmSMLQdiWIObzcymNbW+4fS6evlIFKGMpxEz7
|
||||
MTmuG4Dzb/Wg6PRAPoIQ7eCwZ/JTOtY2RGwNY0NH0/mHmCp6D/oIP9A+Smtc/rLB/H/2CCf4Yv24
|
||||
of4N39Mq00mM6cogOcxhRfDF+3FD/Bu/plWWli5umqMt+0IxhBryaqopp69lMJpo6Ehsr2ENbnOO
|
||||
c9GV8gu1wq4+NpKBuyeZz3uJ+akdY03Iemm2e15ibVSmWqlkadpx6G7ucBM+Dqrqn004qnuEQIEe
|
||||
3uJ8qCioqq7TXGOjm4lssoLo2O3E9G48xx5ltxXWNtxlt1Q+NtTE7ZIa7IKVahmNPqzSskbsOdNI
|
||||
04PR9VRuuauWi4Ubi6JxbgNfu69to/8AIoOs9ZJAAGSTzAJUb9an2youBq3ilieYmFmAZngZOzno
|
||||
HWtHUtVONB10sBIlfA0ZHPguAPuJUBq+F1to9MW6IkQChkmd1Oe5riT8h6kFxb77W3eIS0FJswk7
|
||||
nuJPz/8Ai3YLxLyJJcpnwtZFJxTwMuIf5v7eRfdGRiPTlCAMfVCiLnVii4PtR8c4jj7oWQ56SCSc
|
||||
fmPzQP7xqN9it8NVV1Tqmetn/wALHHsgxx9bsDeT1J5Zb/TXOzG4vkbFCwEyPccBuFz7Ttu8LaeS
|
||||
nq5XB8Ibh2N4yBkeRMbpaS+7WnRFtLmwOLZqojnO/cD6t/rQWNzvtvoLPHcpqh+zMNqCFv1S5ucb
|
||||
R58BLo7zcqimNVFSCOna0vJdvy0bz5eZR2uaSVmsJImyiSljfFBFEw54tjd2/wDJdKidDyUYg5uH
|
||||
QFuB05bhBh5SfTQ0s9TsGmqRmOZhyAeoor66rp4Q6liZIXZILsuB6ubCSycVbeCo0F4nZT3BpMtP
|
||||
G931x1HHlWvoHUJulGKeR2XNaHNPuI9RBQUtkj1BeI4qniqD6E77UkZdkDp6UnfqqB9ykpaWOpke
|
||||
xxaASOg4ORhU2jKsWjUdXZZDimqRx9ODzDP2m+o5UZri2v0trptdC3FPVHjBjm2h9oesb/UgpZa6
|
||||
ojoXVIg3gZ2SM49W5K7tq2329zYpRViQ4wWtDQ8nqBycJ0J2VdJFsOAbMMl3+VuMk+oZU22ihvup
|
||||
zVyRgxU+5jSNw6h6hhA0guT7jY6uR8D4/wBC/G2OfcVJK+r2tZa6oNAA4l/N5ioFBS2rxnD+L5FU
|
||||
imrV4zh/F8iqXOECLSn3x3T0Ef8AI1c64QfvLuXoh/UYuk6Yhki4VrtWyN2KYQR5ldub9hvSudcI
|
||||
cDhrytrQQ6CVrWsc05ydtp/sg6pbfFtP6MJbqG2zV9tdTxtDgZhL68YTG2EG20+D+4FtoMNIx0dL
|
||||
Ex3O1oCmNc/rLB/H/wBgq1S+sKaarmsTYI3SObXAkNGcbkE1wxftxQ/wbv6ZVParpTWXQ0VxqyeK
|
||||
hiB2RzuJ5gFN8L0Rl1bS1UZa+KOmcxxac4OwRj81v1NukuvB7RU0W9zXxylv+YDII9+fUg9v1U6K
|
||||
yQXS92+Bzq+bi6ClLMhrel7id5/5Xiw3G96ijfPTuZR0e0Q0RtA3epPOEHSxuWnLNPR7PGUDWF0Q
|
||||
Izs9O5aOgZI2abZGXBro3FrgdxB8qDHVwC1ai0/9JDamWeoeBI4bxjZ6fWo/hE+825+jH9RiuL3B
|
||||
U3LVum200D3wwyOe6QDdvI/9Ug4ULA+LWMlxhmjkFSA3Ya4ZGHAn5ILeGOOayRRyjaY+INLcZzkc
|
||||
ykNaMgltNDE+mcKija6Jjg9rnBpyObPUUzu90rKGzWuOi2RUGaMS7+ZuObyc625dN3GhPGT2iS5M
|
||||
k+s0seAGjqxhBg0pc4+RKaEyRRujAaXSPAA8uOf3KV4QXUl0raK22hjp6enc5+wxpxJI45LneTuV
|
||||
U211ZcS3SE7fNMB/ZMLfQ1ccoHg5LTOP75cHD1ndhAt0Tp6Sy250lTvqZztPK29O0wPDLWSyjeaa
|
||||
N0ZPVsAf2KaUVxgrNpjHASMOHMyDhYZY/oeoaG7xkNfF+jeTzOYTzeo/NByvU+3Bwi3TAHGcfHsO
|
||||
cM7OSeb3Lo0FvvBhY4XeUZAO5IuErTvE6ikvtK5slPK1pkDTktcHA7/VlWVunZPboJGOBa5gOfUg
|
||||
lbpoh93n+kV1Y2aTGNqRgJwsum9IQWSuM8U5P1cBgGBg79wVNPMx7Hjb2Ym/rZBzNHUOsnoCTW+o
|
||||
luV7lnZltOzcAObqA9QAQbl9ZLDFBdKcf4igfxoxzln74/Lf6lQauttHq7RkVdxjWmJomY/qwMrU
|
||||
c0OaQQCCMEHpCjdR3ar09wdXe3MLtmOpbHA7/tvBI+WEGlY7uyHTskH0hs0wHFsweZnOfWdw8yrL
|
||||
DRfRbe0vH6ST6zj51yvQNplqrtHCc8VTjbm8sh3kercPUu0NAa0AcwQa9x8WVXoX/Irn66BcfFlV
|
||||
6F/yK5+gpbV4zh/F8intTHI5pdGWbWNwe3ISK1eM4fxfIqkQSl5tt8u1vFEXwxQh21iLLM+fCmmc
|
||||
HlwbKJOOJI58yuOV1BCBHbqW6U8kbZOJbEBghgwniEIPj27TSM4z0pVVsurOMbRGBoe0tL9jDh5j
|
||||
0JshBzCTg9uMk5ldUEvyTkyuPP8A8qwtFurqaBtNUiMwhuMNT9CCTvml6utJfS187HEYwJCClVqs
|
||||
eoLQ57YwyfaP2p8Ox7l0FCCcprTc5ZTU1dYWTluzlh6OrzKPu/B/c6q4mo4+Sf62WiSU7LfVz+9d
|
||||
TQglLPpasjhH0o/S6p2Nlmdlu455+jm51q3vXurKS7T0tvqKZ8bHENaGuOyBu6AqKtra2nrnMpgf
|
||||
r0UrY8dEg3+9vMprQNM10VZNPh9RxpB2t5Ayg0W6/wBebW98WeoMf3J/ZuEy9x7cd9pg6Bw2eMiY
|
||||
7Iz5MKk4mPP2G/ksVQ2MN2GxB8j/AKrGAc5Qcms1xqaHWMoO22KWrIaD0tcM/kuvOY2WLZe0Oa4b
|
||||
wVGXOihr9U26Kma0spGNa57R9rZGCfzVqBgAIJm8aWfWMJpamWI9DQ8haNvob5a4hAKaOdo6Xu3f
|
||||
kMBWqEEybbdrnstrZmwwjmjjGAPMAn1HRw0UAhhbho962Fhq6qKio56uckRQxukdjnIAzgIMyRan
|
||||
po6uy1sEjGua1rJW5/zB24e8rWst+uF4tFZeZ6WKioIv1LnEkyeQ968VF1juNrdIwbLpXAbOd4wP
|
||||
77XuQYtAWnk+ymV4/SzOLnEquWrboBT0EUYGMNC2kGtcfFlV6F/yK5+ugXHxZVehf8iufoKW1eM4
|
||||
fxfIqkUhDcIbdUxzzbRAz9VoyTuIW/4X2/san2W96CgQp/wvt/Y1Pst70eF9v7Gp9lvegoEKf8L7
|
||||
f2NT7Le9Hhfb+xqfZb3oKBCn/C+39jU+y3vR4X2/san2W96CgQp/wvt/Y1Pst70eF9v7Gp9lvego
|
||||
EKf8L7f2NT7Le9Hhfb+xqfZb3oKBCn/C+39jU+y3vR4X2/san2W96BzPC5+y+KQxzM3tdjKknUlx
|
||||
tF0lq2wlzZDl5iHP5x/s+VNPC+39jU+y3vQdX2888NT7Le9B4Go4tnEgqtrqZCB7z3LE64V1dmKh
|
||||
o3xNeMOlkOXEeU9XkGFl8KrWTk00+f8AQ3vXoattwG6GpH4G96DdtNobQNMjztzv+05NFP8Ahfb+
|
||||
xqfZb3o8L7f2NT7Le9BQIU/4X2/san2W96PC+39jU+y3vQUCwVlO2qpJIHAOa9paWu5iCk3hfb+x
|
||||
qfZb3o8L7f2NT7Le9BK63F/koobTb4xSWqNgbxUbS456Tkc/uX3RtnuU0xkrWPZCHbX1xguPXjo8
|
||||
3Qqg6ttzueCpPnY3vQNXW5owIakfgb3oKADAwF9U/wCF9v7Gp9lvejwvt/Y1Pst70De4+LKr0L/k
|
||||
Vz9UdXqqhnpJoWxVAdJG5oJaMZIx1qbBBGRzIMFQ90lRIXHJDiPUsaEKqEIQgEIQgEIQgEIQgEIQ
|
||||
gEIQgEIQgEIQgEIQgEIQgEIQgEIQgEIQgF7jcQCAUIQf/9k=
|
||||
</image>
|
||||
</images>
|
||||
<story>
|
||||
|
||||
<para style="P2">
|
||||
<font color="white"> </font>
|
||||
</para>
|
||||
<!--<setNextTemplate name="others"/>-->
|
||||
<!-- <pageBreak/>-->
|
||||
<spacer length="0.8cm"/>
|
||||
<xsl:apply-templates select="catalog/products"/>
|
||||
</story>
|
||||
</document>
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
<?xml version = '1.0' encoding="utf-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:variable name="signature" select="//corporate-header/user/signature"/>
|
||||
<xsl:variable name="title">Open ERP Report</xsl:variable>
|
||||
<xsl:variable name="leftMargin">1cm</xsl:variable>
|
||||
<xsl:variable name="rightMargin">1cm</xsl:variable>
|
||||
<xsl:variable name="topMargin">1cm</xsl:variable>
|
||||
<xsl:variable name="bottomMargin">1cm</xsl:variable>
|
||||
<xsl:variable name="pageSize">21cm,29.7cm</xsl:variable>
|
||||
|
||||
<xsl:variable name="page_format">a4_letter</xsl:variable>
|
||||
|
||||
<xsl:template name="first_page_graphics_corporation">
|
||||
<!--logo-->
|
||||
<setFont name="Helvetica" size="14"/>
|
||||
<fill color="black"/>
|
||||
<stroke color="black"/>
|
||||
<drawString x="1cm" y="27.6cm"><xsl:value-of select="//corporate-header/corporation/name"/></drawString>
|
||||
<lines>1cm 28.4cm 20cm 28.4cm</lines>
|
||||
<lines>1cm 25.4cm 7cm 25.4cm</lines>
|
||||
|
||||
<setFont name="Helvetica" size="10"/>
|
||||
<drawRightString x="20cm" y="28.5cm"><xsl:value-of select="//corporate-header/corporation/rml_header1"/></drawRightString>
|
||||
<drawString x="1cm" y="27cm"><xsl:value-of select="//corporate-header/corporation/address/street"/></drawString>
|
||||
<drawString x="1cm" y="26.5cm">
|
||||
<xsl:value-of select="//corporate-header/corporation/address/zip"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="//corporate-header/corporation/address/city"/>
|
||||
<xsl:text> - </xsl:text>
|
||||
<xsl:value-of select="//corporate-header/corporation/address/country"/>
|
||||
</drawString>
|
||||
<drawString x="1cm" y="26cm">Phone:</drawString>
|
||||
<drawRightString x="7cm" y="26cm"><xsl:value-of select="//corporate-header/corporation/address/phone"/></drawRightString>
|
||||
<drawString x="1cm" y="25.5cm">Mail:</drawString>
|
||||
<drawRightString x="7cm" y="25.5cm"><xsl:value-of select="//corporate-header/corporation/address/email"/></drawRightString>
|
||||
|
||||
|
||||
<!--page bottom-->
|
||||
|
||||
<lines>1.5cm 2.2cm 19.9cm 2.2cm</lines>
|
||||
<drawCentredString x="10.5cm" y="1.7cm"><xsl:value-of select="//corporate-header/corporation/rml_footer1"/></drawCentredString>
|
||||
<drawCentredString x="10.5cm" y="1.25cm"><xsl:value-of select="//corporate-header/corporation/rml_footer2"/></drawCentredString>
|
||||
<drawCentredString x="10.5cm" y="0.8cm">Your contact : <xsl:value-of select="//corporate-header/user/name"/></drawCentredString>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template name="other_pages_graphics_corporation">
|
||||
<!--logo-->
|
||||
<setFont name="Helvetica" size="14"/>
|
||||
<fill color="black"/>
|
||||
<stroke color="black"/>
|
||||
<drawString x="1cm" y="27.6cm"><xsl:value-of select="//corporate-header/corporation/name"/></drawString>
|
||||
<lines>1cm 25.4cm 20cm 25.4cm</lines>
|
||||
<!-- <lines>1cm 25.7cm 7cm 25.7cm</lines>-->
|
||||
|
||||
<setFont name="Helvetica" size="10"/>
|
||||
<drawRightString x="1cm" y="27.5cm"><xsl:value-of select="//corporate-header/corporation/rml_header1"/></drawRightString>
|
||||
<drawString x="1cm" y="27cm"><xsl:value-of select="//corporate-header/corporation/address/street"/></drawString>
|
||||
<drawString x="1cm" y="26.5cm">
|
||||
<xsl:value-of select="//corporate-header/corporation/address/zip"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="//corporate-header/corporation/address/city"/>
|
||||
<xsl:text> - </xsl:text>
|
||||
<xsl:value-of select="//corporate-header/corporation/address/country"/>
|
||||
</drawString>
|
||||
<drawString x="1cm" y="26cm">Phone:</drawString>
|
||||
<drawRightString x="7cm" y="26cm"><xsl:value-of select="//corporate-header/corporation/address/phone"/></drawRightString>
|
||||
<drawString x="1cm" y="25.5cm">Mail:</drawString>
|
||||
<drawRightString x="7cm" y="25.5cm"><xsl:value-of select="//corporate-header/corporation/address/email"/></drawRightString>
|
||||
|
||||
<!--page bottom-->
|
||||
|
||||
<lines>1.5cm 1.2cm 19.9cm 1.2cm</lines>
|
||||
<drawCentredString x="10.5cm" y="1.7cm"><xsl:value-of select="//corporate-header/corporation/rml_footer1"/></drawCentredString>
|
||||
<drawCentredString x="10.5cm" y="1.25cm"><xsl:value-of select="//corporate-header/corporation/rml_footer2"/></drawCentredString>
|
||||
<!-- <drawCentredString x="10.5cm" y="0.8cm">Your contact : <xsl:value-of select="//corporate-header/user/name"/></drawCentredString>-->
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="first_page_frames">
|
||||
<xsl:if test="$page_format='a4_normal'">
|
||||
<frame id="main" x1="1cm" y1="2.5cm" width="19.0cm" height="22.0cm"/>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$page_format='a4_letter'">
|
||||
<frame id="address" x1="11cm" y1="21.5cm" width="6cm" height="4cm"/>
|
||||
<frame id="main" x1="1cm" y1="2.5cm" width="19.0cm" height="17.5cm"/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="other_pages_frames">
|
||||
<frame id="main" x1="1cm" y1="2.5cm" width="19.0cm" height="22cm"/>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rml"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="lots"/>
|
||||
</xsl:template>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="lots"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rml"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="lots"/>
|
||||
</xsl:template>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
<xsl:variable name="page_format">a4_normal</xsl:variable>
|
||||
|
||||
<xsl:template name="stylesheet">
|
||||
|
||||
@@ -0,0 +1,218 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from mx import DateTime
|
||||
from osv import fields, osv, orm
|
||||
from tools import config
|
||||
from tools.translate import _
|
||||
import ir
|
||||
import netsvc
|
||||
import os
|
||||
import time
|
||||
import tools
|
||||
|
||||
def _type_get(self, cr, uid, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
obj = self.pool.get('auction.lot.category')
|
||||
ids = obj.search(cr, uid, [])
|
||||
res = obj.read(cr, uid, ids, ['name'], context)
|
||||
res = [(r['name'], r['name']) for r in res]
|
||||
return res
|
||||
|
||||
class report_auction(osv.osv):
|
||||
|
||||
"""Auction Report"""
|
||||
_name = "report.auction"
|
||||
_description = "Auction's Summary"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'year': fields.char('Year', size=4, readonly=True),
|
||||
'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
|
||||
('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
|
||||
('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
|
||||
'day': fields.char('Day', size=128, readonly=True),
|
||||
'buyer_login': fields.char('Buyer Login', size=64, readonly=True, select=1),
|
||||
'buyer':fields.many2one('res.partner', 'Buyer', readonly=True, select=2),
|
||||
'seller': fields.many2one('res.partner', 'Seller', readonly=True, select=1),
|
||||
'object':fields.integer('No of objects', readonly=True, select=1),
|
||||
'total_price':fields.float('Total Price', digits=(16, 2), readonly=True, select=2),
|
||||
'lot_type': fields.selection(_type_get, 'Object category', size=64),
|
||||
'avg_price':fields.float('Avg Price.', digits=(16, 2), readonly=True, select=2),
|
||||
'date': fields.date('Create Date', select=1),
|
||||
'auction': fields.many2one('auction.dates', 'Auction date', readonly=True, select=1),
|
||||
'gross_revenue':fields.float('Gross Revenue', readonly=True),
|
||||
'net_revenue':fields.float('Net Revenue', readonly=True),
|
||||
'net_margin':fields.float('Net Margin', readonly=True),
|
||||
'avg_estimation':fields.float('Avg estimation', readonly=True),
|
||||
'user_id':fields.many2one('res.users', 'User', select=1),
|
||||
'state': fields.selection((('draft', 'Draft'), ('unsold', 'Unsold'), ('sold', 'Sold')), 'State', readonly=True, select=1),
|
||||
|
||||
}
|
||||
|
||||
def init(self, cr):
|
||||
tools.drop_view_if_exists(cr, 'report_auction')
|
||||
cr.execute('''
|
||||
create or replace view report_auction as (
|
||||
select
|
||||
min(al.id) as id,
|
||||
al.ach_login as "buyer_login",
|
||||
ad.auction1 as date,
|
||||
al.state,
|
||||
al.create_uid as user_id,
|
||||
to_char(ad.auction1, 'YYYY') as year,
|
||||
to_char(ad.auction1, 'MM') as month,
|
||||
to_char(ad.auction1, 'YYYY-MM-DD') as day,
|
||||
al.ach_uid as "buyer",
|
||||
al.lot_type as lot_type,
|
||||
ade.partner_id as seller,
|
||||
ad.id as auction,
|
||||
count(al.id) as "object",
|
||||
sum(al.obj_price) as "total_price",
|
||||
(sum(al.obj_price)/count(al.id)) as "avg_price",
|
||||
sum(al.gross_revenue) as gross_revenue,
|
||||
sum(al.net_revenue) as net_revenue,
|
||||
avg(al.net_margin) as net_margin,
|
||||
sum(al.lot_est1+al.lot_est2)/2 as avg_estimation
|
||||
from
|
||||
auction_lots al,
|
||||
auction_dates ad,
|
||||
auction_deposit ade
|
||||
where
|
||||
ad.id=al.auction_id and ade.id=al.bord_vnd_id
|
||||
group by
|
||||
ad.auction1,
|
||||
al.ach_uid,
|
||||
ad.id,
|
||||
al.ach_login,
|
||||
ade.partner_id,
|
||||
al.state,
|
||||
al.create_uid,
|
||||
al.lot_type
|
||||
)
|
||||
''')
|
||||
report_auction()
|
||||
|
||||
|
||||
#==========================
|
||||
#Dashboard Report
|
||||
#==========================
|
||||
|
||||
class report_auction_object_date(osv.osv):
|
||||
_name = "report.auction.object.date"
|
||||
_description = "Objects per day"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'obj_num': fields.integer('# of Objects'),
|
||||
'name': fields.date('Created date', select=2),
|
||||
'month': fields.date('Month', select=1),
|
||||
'user_id':fields.many2one('res.users', 'User',select=1),
|
||||
}
|
||||
#l.create_uid as user,
|
||||
|
||||
def init(self, cr):
|
||||
cr.execute("""create or replace view report_auction_object_date as
|
||||
(select
|
||||
min(l.id) as id,
|
||||
to_char(l.create_date, 'YYYY-MM-DD') as name,
|
||||
to_char(l.create_date, 'YYYY-MM-01') as month,
|
||||
count(l.obj_num) as obj_num,
|
||||
l.create_uid as user_id
|
||||
from
|
||||
auction_lots l
|
||||
group by
|
||||
to_char(l.create_date, 'YYYY-MM-DD'),
|
||||
to_char(l.create_date, 'YYYY-MM-01'),
|
||||
l.create_uid
|
||||
)
|
||||
""")
|
||||
report_auction_object_date()
|
||||
|
||||
class report_auction_adjudication(osv.osv):
|
||||
_name = "report.auction.adjudication"
|
||||
_description = "report_auction_adjudication"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'name': fields.many2one('auction.dates','Auction date',readonly=True,select=1),
|
||||
'state': fields.selection((('draft','Draft'),('close','Closed')),'Status', select=1),
|
||||
'adj_total': fields.float('Total Adjudication'),
|
||||
'date': fields.date('Date', readonly=True,select=1),
|
||||
'user_id':fields.many2one('res.users', 'User',select=1)
|
||||
|
||||
}
|
||||
|
||||
def init(self, cr):
|
||||
cr.execute("""
|
||||
create or replace view report_auction_adjudication as (
|
||||
select
|
||||
l.id as id,
|
||||
l.id as name,
|
||||
sum(m.obj_price) as adj_total,
|
||||
to_char(l.create_date, 'YYYY-MM-01') as date,
|
||||
l.create_uid as user_id,
|
||||
l.state
|
||||
from
|
||||
auction_dates l ,auction_lots m
|
||||
where
|
||||
m.auction_id=l.id
|
||||
group by
|
||||
l.id,l.state,l.name,l.create_uid,to_char(l.create_date, 'YYYY-MM-01')
|
||||
|
||||
)
|
||||
""")
|
||||
report_auction_adjudication()
|
||||
|
||||
class report_object_encoded(osv.osv):
|
||||
_name = "report.object.encoded"
|
||||
_description = "Object encoded"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'user_id':fields.many2one('res.users', 'User', select=True),
|
||||
'estimation': fields.float('Estimation',select=True),
|
||||
'date': fields.date('Create Date', required=True),
|
||||
'gross_revenue':fields.float('Gross revenue',readonly=True, select=True),
|
||||
'net_revenue':fields.float('Net revenue',readonly=True, select=True),
|
||||
'obj_margin':fields.float('Net margin', readonly=True, select=True),
|
||||
'obj_ret':fields.integer('# obj ret', readonly=True, select=True),
|
||||
'adj':fields.integer('Adj.', readonly=True, select=True),
|
||||
'obj_num':fields.integer('# of Encoded obj.', readonly=True, select=True),
|
||||
'state': fields.selection((('draft','Draft'),('unsold','Unsold'),('paid','Paid'),('invoiced','Invoiced')),'Status', required=True,select=1),
|
||||
}
|
||||
def init(self, cr):
|
||||
cr.execute('''create or replace view report_object_encoded as
|
||||
(select
|
||||
min(al.id) as id,
|
||||
to_char(al.create_date, 'YYYY-MM-DD') as date,
|
||||
al.state as state,
|
||||
al.create_uid as user_id,
|
||||
sum((100*lot_est1)/obj_price) as estimation,
|
||||
(SELECT count(1) FROM auction_lots WHERE obj_ret>0) as obj_ret,
|
||||
SUM(al.gross_revenue) as "gross_revenue",
|
||||
SUM(al.net_revenue) as "net_revenue",
|
||||
SUM(al.net_revenue)/count(al.id) as "obj_margin",
|
||||
COUNT(al.product_id) as obj_num,
|
||||
SUM(al.obj_price) as "adj"
|
||||
from auction_lots al
|
||||
where al.obj_price>0
|
||||
group by to_char(al.create_date, 'YYYY-MM-DD'), al.state, al.create_uid)
|
||||
''')
|
||||
|
||||
report_object_encoded()
|
||||
|
||||
@@ -0,0 +1,269 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_tree">
|
||||
<field name="name">Auction's Summary</field>
|
||||
<field name="model">report.auction</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Auction Summary tree view">
|
||||
<field name="date" invisible="1"/>
|
||||
<field name="user_id" invisible="1"/>
|
||||
<field name="year" invisible="1"/>
|
||||
<field name="day" invisible="1"/>
|
||||
<field name="month" invisible="1"/>
|
||||
<field name="auction" select="1" invisible="1"/>
|
||||
<field name="buyer_login" select="1" invisible="1"/>
|
||||
<field name="buyer" select="1" invisible="1"/>
|
||||
<field name="seller" invisible="1"/>
|
||||
<field name="object" select="1" invisible="1"/>
|
||||
<field name="state" select="1" invisible="1"/>
|
||||
<field name="lot_type" select="1" invisible="1"/>
|
||||
<field name="avg_estimation" />
|
||||
<field name="avg_price" select="1"/>
|
||||
<field name="gross_revenue" />
|
||||
<field name="net_revenue" />
|
||||
<field name="net_margin" />
|
||||
<field name="total_price" select="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_report_auction_search" model="ir.ui.view">
|
||||
<field name="name">report.auction.search</field>
|
||||
<field name="model">report.auction</field>
|
||||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Auction Summary">
|
||||
<group>
|
||||
<filter icon="terp-go-year" string=" 365 Days "
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('date','>',(datetime.date.today()-datetime.timedelta(days=365)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Auction in last 365 days"/>
|
||||
<filter icon="terp-go-month" string=" 30 Days "
|
||||
name="month"
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Auction in last 30 days"/>
|
||||
<filter icon="terp-go-week"
|
||||
string=" 7 Days "
|
||||
separator="1"
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Auction during last 7 days"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="terp-document-new"
|
||||
string="Draft"
|
||||
domain="[('state','=','draft')]"/>
|
||||
<filter icon="terp-dolar"
|
||||
string="Sold"
|
||||
domain="[('state','=', 'sold')]"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="auction"/>
|
||||
<field name="user_id" widget="selection">
|
||||
<filter icon="terp-personal"
|
||||
string="My Auction"
|
||||
help="My Auction"
|
||||
domain="[('user_id','=',uid)]"/>
|
||||
</field>
|
||||
<field name="object"/>
|
||||
<field name="state"/>
|
||||
<field name="lot_type"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." colspan="10" col="12">
|
||||
<filter string="User" icon="terp-personal" name="User" context="{'group_by':'user_id'}"/>
|
||||
<filter string="Buyer" icon="terp-personal" name="buyer" context="{'group_by':'buyer'}"/>
|
||||
<filter string="Seller" icon="terp-personal" name="seller" context="{'group_by':'seller'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Auction" icon="terp-project" name="auction" context="{'group_by':'auction'}"/>
|
||||
<separator orientation="vertical" />
|
||||
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||
<filter string="Type"
|
||||
icon="terp-stock_symbol-selection"
|
||||
help="Object Category" domain="[]"
|
||||
context="{'group_by':'lot_type'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Day" icon="terp-go-today" context="{'group_by':'day'}"/>
|
||||
<filter string="Month" icon="terp-go-month" context="{'group_by':'month'}"/>
|
||||
<filter string="Year" icon="terp-go-year" context="{'group_by':'year'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_report_auction_graph" model="ir.ui.view">
|
||||
<field name="name">report.auction.graph</field>
|
||||
<field name="model">report.auction</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Auction's Summary" type="bar">
|
||||
<field name="auction"/>
|
||||
<field name="total_price" operator="+"/>
|
||||
<field name="avg_estimation" operator="+"/>
|
||||
<field name="avg_price" operator="+"/>
|
||||
<field name="gross_revenue" operator="+"/>
|
||||
<field name="net_revenue" operator="+"/>
|
||||
<field name="net_margin" operator="+"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_auction">
|
||||
<field name="name">Auction Analysis</field>
|
||||
<field name="res_model">report.auction</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<!-- <field name="domain">[('date','ilike',time.strftime('%Y-%m'))]</field>-->
|
||||
<field name="search_view_id" ref="view_report_auction_search"/>
|
||||
<field name="context">{'search_default_month':1}</field>
|
||||
</record>
|
||||
|
||||
<!-- <menuitem name="Auction" id="auction_report_auction_menu" parent="auction.auction_report_menu"/>-->
|
||||
<menuitem name="Auction Analysis" action="action_report_auction" id="menu_report_auction" parent="auction.auction_report_menu"/>
|
||||
|
||||
<!--end : creating buyer Reporting menu for the buyer by pmo-->
|
||||
|
||||
|
||||
=============================
|
||||
Objects per Day
|
||||
==============================
|
||||
<record model="ir.ui.view" id="view_report_auction_object_date_tree">
|
||||
<field name="name">Objects by date</field>
|
||||
<field name="model">report.auction.object.date</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Objects per Day">
|
||||
<field name="month" select="1" />
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="obj_num"/>
|
||||
<field name="name" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_object_date_form">
|
||||
<field name="name">Object date</field>
|
||||
<field name="model">report.auction.object.date</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Objects per Day">
|
||||
<field name="user_id" />
|
||||
<field name="name" select="1"/>
|
||||
<field name="obj_num" />
|
||||
<field name="month" select="1"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_object_date_graph">
|
||||
<field name="name">report.auction.object.date.graph</field>
|
||||
<field name="model">report.auction.object.date</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Objects per day" type="bar">
|
||||
<field name="name" select="1"/>
|
||||
<field name="obj_num" operator="+"/>
|
||||
<field name="user_id" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_auction_object_date_tree_my">
|
||||
<field name="res_model">report.auction.object.date</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
<field name="domain">[('user_id','=',uid),('month','=',time.strftime('%Y-%m-01'))]</field>
|
||||
</record>
|
||||
<record model="ir.actions.act_window" id="action_report_auction_object_date_tree">
|
||||
<field name="res_model">report.auction.object.date</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
<field name="domain">[('month','=',time.strftime('%Y-%m-01'))]</field>
|
||||
</record>
|
||||
|
||||
=============================
|
||||
Auction adjudication
|
||||
==============================
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_adjudication_tree">
|
||||
<field name="name">report.auction.adjudication.tree</field>
|
||||
<field name="model">report.auction.adjudication</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Total adjudication">
|
||||
<field name="name" select="1"/>
|
||||
<field name="adj_total" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_auction_adjudication_graph">
|
||||
<field name="name">report.auction.adjudication.graph</field>
|
||||
<field name="model">report.auction.adjudication</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Total adjudication" type="bar">
|
||||
<field name="name" select="1"/>
|
||||
<field name="adj_total" select="1" />
|
||||
<field name="user_id" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_auction_adjudication_tree">
|
||||
<field name="res_model">report.auction.adjudication</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
</record>
|
||||
|
||||
=============================
|
||||
Object encoded
|
||||
==============================
|
||||
|
||||
<record model="ir.ui.view" id="view_report_object_encoded_tree">
|
||||
<field name="name">report.object.encoded.tree</field>
|
||||
<field name="model">report.object.encoded</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Objects statistics">
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="estimation" />
|
||||
<field name="obj_ret" />
|
||||
<field name="obj_num" sum="# objects" select="1"/>
|
||||
<field name="adj" sum="Total adj."/>
|
||||
<field name="obj_margin" />
|
||||
<field name="net_revenue" sum="Total net rev."/>
|
||||
<field name="gross_revenue" sum="Total gross rev."/>
|
||||
<field name="date" select="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_report_object_encoded_graph">
|
||||
<field name="name">report.object.encoded.graph</field>
|
||||
<field name="model">report.object.encoded</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Object statistic" type="bar">
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="obj_ret" operator="+" />
|
||||
<field name="obj_num" operator="+" />
|
||||
<field name="obj_margin" operator="+" />
|
||||
<field name="net_revenue" operator="+" />
|
||||
<field name="gross_revenue" operator="+" />
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_report_object_encoded_tree">
|
||||
<field name="name">Object statistics</field>
|
||||
<field name="res_model">report.object.encoded</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="domain">[('date','ilike',time.strftime('%Y-%m'))]</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version = '1.0' encoding="utf-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
|
||||
<xsl:template name="first_page_graphics_report"/>
|
||||
<xsl:template name="other_pages_graphics_report"/>
|
||||
<!--
|
||||
<xsl:template name="first_page_graphics_corporation"/>
|
||||
<xsl:template name="other_pages_graphics_corporation"/>
|
||||
|
||||
<xsl:template name="first_page_frames"/>
|
||||
<xsl:template name="other_pages_frames"/>
|
||||
-->
|
||||
<xsl:template name="rml">
|
||||
<document>
|
||||
<template author="Generated by OpenERP, Fabien Pinckaers">
|
||||
<xsl:attribute name="pageSize">
|
||||
<xsl:value-of select="$pageSize"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="leftMargin">
|
||||
<xsl:value-of select="$leftMargin"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="rightMargin">
|
||||
<xsl:value-of select="$rightMargin"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="topMargin">
|
||||
<xsl:value-of select="$topMargin"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="bottomMargin">
|
||||
<xsl:value-of select="$bottomMargin"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="$title"/>
|
||||
</xsl:attribute>
|
||||
|
||||
<pageTemplate id="first_page">
|
||||
<pageGraphics>
|
||||
<xsl:call-template name="first_page_graphics_corporation"/>
|
||||
<xsl:call-template name="first_page_graphics_report"/>
|
||||
</pageGraphics>
|
||||
|
||||
<xsl:call-template name="first_page_frames"/>
|
||||
</pageTemplate>
|
||||
|
||||
<pageTemplate id="other_pages">
|
||||
<pageGraphics>
|
||||
<xsl:call-template name="other_pages_graphics_corporation"/>
|
||||
<xsl:call-template name="other_pages_graphics_report"/>
|
||||
</pageGraphics>
|
||||
|
||||
<xsl:call-template name="other_pages_frames"/>
|
||||
</pageTemplate>
|
||||
</template>
|
||||
|
||||
<stylesheet>
|
||||
<xsl:call-template name="stylesheet"/>
|
||||
</stylesheet>
|
||||
|
||||
<story>
|
||||
<xsl:call-template name="story"/>
|
||||
</story>
|
||||
|
||||
</document>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
||||
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
|
||||
<xsl:import href="../../base/report/rml_template.xsl"/>
|
||||
<xsl:import href="corporate_defaults.xsl"/>
|
||||
<xsl:import href="rml_template.xsl"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rml"/>
|
||||
|
||||
@@ -8,17 +8,8 @@
|
||||
"access_auction_bid","auction.bid","model_auction_bid","base.group_user",1,1,1,1
|
||||
"access_auction_bid_line","auction.bid.line","model_auction_bid_line","base.group_user",1,1,1,1
|
||||
"access_auction_lot_history","auction.lot.history","model_auction_lot_history","base.group_user",1,1,1,1
|
||||
"access_report_buyer_auction","report.buyer.auction","model_report_buyer_auction","base.group_user",1,0,0,0
|
||||
"access_report_buyer_auction2","report.buyer.auction2","model_report_buyer_auction2","base.group_user",1,0,0,0
|
||||
"access_report_seller_auction","report.seller.auction","model_report_seller_auction","base.group_user",1,0,0,0
|
||||
"access_report_seller_auction2","report.seller.auction2","model_report_seller_auction2","base.group_user",1,0,0,0
|
||||
"access_report_auction_view","report.auction.view","model_report_auction_view","base.group_user",1,0,0,0
|
||||
"access_report_auction_view2","report.auction.view2","model_report_auction_view2","base.group_user",1,0,0,0
|
||||
"access_report_auction","report.auction","model_report_auction","base.group_user",1,0,0,0
|
||||
"access_report_auction_object_date","report.auction.object.date","model_report_auction_object_date","base.group_user",1,0,0,0
|
||||
"access_report_auction_estimation_adj_category","report.auction.estimation.adj.category","model_report_auction_estimation_adj_category","base.group_user",1,0,0,0
|
||||
"access_report_auction_adjudication","report.auction.adjudication","model_report_auction_adjudication","base.group_user",1,0,0,0
|
||||
"access_report_attendance","report.attendance","model_report_attendance","base.group_user",1,0,0,0
|
||||
"access_report_deposit_border","report.deposit.border","model_report_deposit_border","base.group_user",1,0,0,0
|
||||
"access_report_object_encoded","report.object.encoded","model_report_object_encoded","base.group_user",1,0,0,0
|
||||
"access_report_object_encoded_manager","report.object.encoded.manager","model_report_object_encoded_manager","base.group_user",1,0,0,0
|
||||
"access_report_unclassified_objects","report.unclassified.objects","model_report_unclassified_objects","base.group_user",1,0,0,0
|
||||
"access_aie_category","aie.category","model_aie_category","base.group_user",1,0,0,0
|
||||
|
||||
|
+241
-88
@@ -18,39 +18,141 @@
|
||||
warranty: 0.0
|
||||
weight: 0.0
|
||||
weight_net: 0.0
|
||||
|
||||
-
|
||||
I create a new artist for an object.
|
||||
-
|
||||
!record {model: auction.artists, id: auction_artists_vincentvangogh0}:
|
||||
birth_death_dates: 1853-1900
|
||||
name: Vincent van Gogh
|
||||
|
||||
-
|
||||
I modifying a expenses journal record for analytic journal.
|
||||
-
|
||||
!record {model: account.journal, id: account.expenses_journal}:
|
||||
analytic_journal_id: account.exp
|
||||
-
|
||||
I modifying a sales journal record for analytic journal.
|
||||
-
|
||||
!record {model: account.journal, id: account.sales_journal}:
|
||||
analytic_journal_id: account.cose_journal_sale
|
||||
|
||||
-
|
||||
I'm creating new Seller "Mr. Pinakin" with him email "info@mycustomer.com".
|
||||
-
|
||||
!record {model: res.partner, id: res_partner_mrpinakin0}:
|
||||
address:
|
||||
- city: Namur
|
||||
country_id: base.be
|
||||
phone: (+32).10.45.18.77
|
||||
street: 23, street ways
|
||||
type: default
|
||||
zip: '2324324'
|
||||
email: 'info@mycustomer.com'
|
||||
name: Mr. Pinakin
|
||||
|
||||
-
|
||||
I'm creating new Buyer "Mr. Patel" with him email "info@myinfobid.com".
|
||||
-
|
||||
!record {model: res.partner, id: res_partner_mrpatel0}:
|
||||
address:
|
||||
- city: Bruxelles
|
||||
country_id: base.be
|
||||
street: Rue des Palais 51, bte 33
|
||||
type: default
|
||||
zip: '1000'
|
||||
email: 'info@myinfobid.com'
|
||||
name: Mr. Patel
|
||||
|
||||
-
|
||||
I'm creating new Buyer "Mr. Johnson" with him email "info@mrkjohnson.com".
|
||||
-
|
||||
!record {model: res.partner, id: res_partner_mrkjohnson0}:
|
||||
address:
|
||||
- city: paris
|
||||
country_id: base.fr
|
||||
name: Mark Johnson
|
||||
street: 1 rue Rockfeller
|
||||
type: invoice
|
||||
zip: '75016'
|
||||
email: 'info@mrkjohnson.com'
|
||||
name: Mr. Mark Johnson
|
||||
|
||||
-
|
||||
I'm creating new Buyer "Mr. Rahi" with him email "info@poalrahi.com".
|
||||
-
|
||||
!record {model: res.partner, id: res_partner_poalrahi0}:
|
||||
address:
|
||||
- city: Bruxelles
|
||||
country_id: base.be
|
||||
street: Rue des Palais 51, bte 33
|
||||
type: default
|
||||
zip: '1000'
|
||||
email: 'info@poalrahi.com'
|
||||
name: Mr. Rahi
|
||||
|
||||
|
||||
-
|
||||
Now I want to associate an object with the auction so for that I create an auction "Antique furniture exhibition"
|
||||
I create Account tax with 0.03 amount to give Buyer "3%" Commision.
|
||||
-
|
||||
!record {model: account.tax, id: account_tax_buyer0}:
|
||||
amount: 0.029999999999999999
|
||||
applicable_type: 'true'
|
||||
company_id: base.main_company
|
||||
domain: auction
|
||||
name: Buyer Costs(%3)
|
||||
sequence: 1
|
||||
type: percent
|
||||
type_tax_use: all
|
||||
-
|
||||
I create Account tax with 0.04 amount to give seller "4%" commision.
|
||||
-
|
||||
!record {model: account.tax, id: account_tax_sellercosts0}:
|
||||
amount: 0.040000000000000001
|
||||
applicable_type: 'true'
|
||||
company_id: base.main_company
|
||||
domain: auction
|
||||
name: Seller Costs(%4)
|
||||
sequence: 1
|
||||
type: percent
|
||||
type_tax_use: all
|
||||
|
||||
-
|
||||
Now I want to associate an object with the auction so for that I create an auction "Antique furniture exhibition" which
|
||||
start from 1 Aug to 31 Aug with Seller Commition 4%, buyer commition 3%.
|
||||
-
|
||||
!record {model: auction.dates, id: auction_dates_antiquefurnitureexhibition0}:
|
||||
acc_expense: account.a_pay
|
||||
acc_income: account.a_recv
|
||||
account_analytic_id: account.analytic_root
|
||||
auction1: '2010-05-20'
|
||||
auction2: '2010-05-21'
|
||||
expo1: '2010-05-18'
|
||||
expo2: '2010-05-19'
|
||||
auction1: '2010-08-01'
|
||||
auction2: '2010-08-31'
|
||||
expo1: '2010-08-01'
|
||||
expo2: '2010-08-31'
|
||||
journal_id: account.expenses_journal
|
||||
journal_seller_id: account.sales_journal
|
||||
name: Antique furniture exhibition
|
||||
name: Antique furniture exhibition
|
||||
seller_costs:
|
||||
- auction.account_tax_sellercosts0
|
||||
buyer_costs:
|
||||
- auction.account_tax_buyer0
|
||||
-
|
||||
An object is being deposited for an auction,I create a seller's deposit record.
|
||||
An object is being deposited for an auction,I create a seller's deposit record with deposit cost.
|
||||
-
|
||||
!record {model: auction.deposit, id: auction_deposit_ad0}:
|
||||
date_dep: '2010-05-18'
|
||||
date_dep: '2010-08-01'
|
||||
method: keep
|
||||
name: AD/006
|
||||
partner_id: base.res_partner_4
|
||||
partner_id: res_partner_mrpinakin0
|
||||
specific_cost_ids:
|
||||
- account: auction.auction_expense
|
||||
amount: 200.0
|
||||
name: Transfer Cost
|
||||
-
|
||||
I create a new object wooden-chair which is to be auctioned.
|
||||
-
|
||||
!record {model: auction.lots, id: auction_lots_woodenchair0}:
|
||||
ach_uid: base.res_partner_2
|
||||
ach_uid: res_partner_mrkjohnson0
|
||||
artist_id: auction_artists_vincentvangogh0
|
||||
auction_id: auction_dates_antiquefurnitureexhibition0
|
||||
bord_vnd_id: auction_deposit_ad0
|
||||
@@ -61,18 +163,18 @@
|
||||
name2: antique wooden chair
|
||||
obj_num: 1
|
||||
obj_price: 4000.0
|
||||
obj_ret: 5000.0
|
||||
obj_ret: 0.0
|
||||
product_id: 'product_product_furniture0'
|
||||
state: draft
|
||||
vnd_lim: 5000.0
|
||||
-
|
||||
I create a bid for an object "wooden-chair" which is to be auctioned in Antique furniture exhibition.
|
||||
I create a bid for an object "wooden-chair" which is to be auctioned in Antique furniture exhibition bided by Mr.Patel.
|
||||
-
|
||||
!record {model: auction.bid, id: auction_bid_bid0}:
|
||||
auction_id: auction_dates_antiquefurnitureexhibition0
|
||||
contact_tel: (+32)2 211 34 83
|
||||
name: bid/001
|
||||
partner_id: auction.partner_record1
|
||||
partner_id: res_partner_mrpatel0
|
||||
-
|
||||
I create a bid line.
|
||||
-
|
||||
@@ -80,14 +182,15 @@
|
||||
auction: Antique furniture exhibition
|
||||
bid_id: auction_bid_bid0
|
||||
lot_id: auction.auction_lots_woodenchair0
|
||||
price: 3500.0
|
||||
price: 3100.0
|
||||
|
||||
-
|
||||
I create another bid for an object "wooden-chair" bided by a different partner
|
||||
I create another bid for an object "wooden-chair" bided by a Mr.poalrahi
|
||||
-
|
||||
!record {model: auction.bid, id: auction_bid_bid1}:
|
||||
auction_id: auction_dates_antiquefurnitureexhibition0
|
||||
name: bid/002
|
||||
partner_id: base.res_partner_2
|
||||
partner_id: res_partner_poalrahi0
|
||||
-
|
||||
I create a bid line.
|
||||
-
|
||||
@@ -96,7 +199,26 @@
|
||||
bid_id: 'auction_bid_bid1'
|
||||
call: 1
|
||||
lot_id: auction.auction_lots_woodenchair0
|
||||
price: 3200.0
|
||||
|
||||
-
|
||||
I create another bid for an object "wooden-chair" bided by a Mr.Johnson
|
||||
-
|
||||
!record {model: auction.bid, id: auction_bid_bid2}:
|
||||
auction_id: auction_dates_antiquefurnitureexhibition0
|
||||
name: bid/003
|
||||
partner_id: res_partner_mrkjohnson0
|
||||
-
|
||||
I create a bid line.
|
||||
-
|
||||
!record {model: auction.bid_line, id: auction_bid_line_2}:
|
||||
auction: Antique furniture exhibition
|
||||
bid_id: 'auction_bid_bid2'
|
||||
call: 1
|
||||
lot_id: auction.auction_lots_woodenchair0
|
||||
price: 4000.0
|
||||
-
|
||||
Mr. MarkJohnson bid are selected as Finallist Bid with 4000 Euro
|
||||
-
|
||||
I check that buyer price and seller price gets bind with the value
|
||||
-
|
||||
@@ -104,69 +226,94 @@
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
assert(auc_id.buyer_price,auc_id.seller_price), _('Buyer price and seller price are not available!')
|
||||
|
||||
-
|
||||
I check that a record gets created in the Seller's Summary.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
auc_deposit_obj=self.pool.get('auction.deposit')
|
||||
rep_sell_obj = self.pool.get('report.seller.auction')
|
||||
ids =rep_sell_obj.search(cr, uid, [('auction', '=', auc_id.auction_id.id),('seller', '=',auc_id.bord_vnd_id.partner_id.id)])
|
||||
assert ids, _('No record found!')
|
||||
-
|
||||
I check that a record gets created in the Seller's Revenues.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
auc_deposit_obj=self.pool.get('auction.deposit')
|
||||
rep_sell_obj = self.pool.get('report.seller.auction2')
|
||||
ids =rep_sell_obj.search(cr, uid, [('auction', '=', auc_id.auction_id.id),('seller', '=',auc_id.bord_vnd_id.partner_id.id)])
|
||||
assert ids, _('No record found!')
|
||||
-
|
||||
I check that a record gets created in the Buyer's Summary.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id1=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
rep_buy_obj1 = self.pool.get('report.buyer.auction')
|
||||
ids1=rep_buy_obj1.search(cr, uid, [('auction', '=', auc_id1.auction_id.id),('buyer', '=',auc_id1.ach_uid.id)])
|
||||
assert ids1, _('No record found!')
|
||||
-
|
||||
I check that a record gets created in the Buyer's Revenue.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id1=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
rep_buy_obj1 = self.pool.get('report.buyer.auction2')
|
||||
ids1=rep_buy_obj1.search(cr, uid, [('auction', '=', auc_id1.auction_id.id),('buyer', '=',auc_id1.ach_uid.id)])
|
||||
assert ids1, _('No record found!')
|
||||
-
|
||||
I check that a record gets created in the Auction's Summary.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id2=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
rep_auc_obj1 = self.pool.get('report.auction.view')
|
||||
ids2=rep_auc_obj1.search(cr, uid, [('auction_id', '=', auc_id2.auction_id.id)])
|
||||
assert ids2, _('No record found!')
|
||||
-
|
||||
I check that a record gets created in the Auction's Revenues.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id3=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
rep_auc_obj1 = self.pool.get('report.auction.view2')
|
||||
ids3=rep_auc_obj1.search(cr, uid, [('auction', '=', auc_id3.auction_id.id)])
|
||||
assert ids3, _('No record found!')
|
||||
-
|
||||
An object has been sold,so I click on the "Sold" button.
|
||||
Now, An object has been sold,so I click on the "Sold" button.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
self.button_bought(cr, uid, [ref("auction_lots_woodenchair0")], {"lang": "en_US", "tz":
|
||||
False, "active_model": "ir.ui.menu", "active_ids": [ref("auction.auction_lots_woodenchair0")],
|
||||
"active_id": ref("auction.auction_lots_woodenchair0")})
|
||||
-
|
||||
I click on the "Create all invoices" button for all Objects in this Auction.
|
||||
-
|
||||
!python {model: auction.dates}: |
|
||||
self.close(cr, uid, [ref("auction.auction_dates_antiquefurnitureexhibition0")],
|
||||
{"active_model": "ir.ui.menu", "active_ids":
|
||||
[ref("auction.menu_auction_dates_next1")], "active_id": ref("auction.menu_auction_dates_next1")})
|
||||
-
|
||||
I check that a record gets created in the "Supplier Invoices".
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
assert(auc_id.sel_inv_id), _('Seller Invoice has not been created!')
|
||||
|
||||
-
|
||||
I create a buyer's invoice by using the "Invoice Buyer objects" wizard.
|
||||
-
|
||||
!record {model: auction.lots.make.invoice.buyer, id: auction_lots_make_invoice_buyer_0}:
|
||||
amount: 3090.0
|
||||
buyer_id: res_partner_mrkjohnson0
|
||||
number: 2010/003
|
||||
objects: 1
|
||||
-
|
||||
Then I click on the "Create Invoices" button.
|
||||
-
|
||||
!python {model: auction.lots.make.invoice.buyer}: |
|
||||
self.makeInvoices(cr, uid, [ref("auction_lots_make_invoice_buyer_0")], {"active_model": "auction.lots", "active_ids": [ref("auction_lots_woodenchair0")],
|
||||
"active_id": ref("auction_lots_woodenchair0"), })
|
||||
-
|
||||
I check that a "Buyer Invoice" field gets bind with the value.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
assert(auc_id.ach_inv_id), _('Buyer Invoice has not been created!')
|
||||
-
|
||||
Buyer Create a Invoice payment record by Click on "Pay Invoice" Button of Account invoice.
|
||||
-
|
||||
!record {model: account.invoice.pay, id: account_invoice_pay_furniture0}:
|
||||
amount: 4120.0
|
||||
date: '2010-08-06'
|
||||
journal_id: account.cash_journal
|
||||
name: Furniture
|
||||
period_id: account.period_8
|
||||
-
|
||||
Now Buyer want to make Full payment by click on "Full Payment" button of Account Invoice wizard.
|
||||
-
|
||||
!python {model: account.invoice.pay}: |
|
||||
obj_invoice = self.pool.get('account.invoice')
|
||||
obj_lots = self.pool.get('auction.lots')
|
||||
lots_id = obj_lots.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
invoice_ids = obj_invoice.search(cr, uid, [('id', '=', lots_id.ach_inv_id.id)])
|
||||
self.wo_check(cr, uid, [ref("account_invoice_pay_furniture0")], {"active_model": "account.invoice", "department_id": False,
|
||||
"record_id": 7, "search_default_draft": "1", "active_ids": invoice_ids,
|
||||
"active_id": invoice_ids[0]})
|
||||
-
|
||||
After Click on Full Payment Button, Creating a account invoice pay writeoff record.
|
||||
-
|
||||
!record {model: account.invoice.pay.writeoff, id: account_invoice_pay_writeoff_0}:
|
||||
comment: Write-Off
|
||||
writeoff_acc_id: auction.auction_income_costs
|
||||
writeoff_journal_id: account.sales_journal
|
||||
-
|
||||
And click on "pay_and_reconcile_writeoff" button.
|
||||
-
|
||||
!python {model: account.invoice.pay.writeoff}: |
|
||||
obj_invoice = self.pool.get('account.invoice')
|
||||
obj_lots = self.pool.get('auction.lots')
|
||||
lots_id = obj_lots.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
invoice_ids = obj_invoice.search(cr, uid, [('id', '=', lots_id.ach_inv_id.id)])
|
||||
self.pay_and_reconcile_writeoff(cr, uid, [ref("account_invoice_pay_writeoff_0")],
|
||||
{"active_model": "account.invoice", "department_id":
|
||||
False, "record_id": 7, "search_default_draft": "1", "active_ids": invoice_ids ,
|
||||
"active_id": invoice_ids[0], })
|
||||
-
|
||||
I check that "Buyer Invoice Reconciled" field is marked.
|
||||
-
|
||||
!assert {model: auction.lots, id: auction_lots_woodenchair0}:
|
||||
- paid_ach == True, 'Buyer Invoice should be Reconciled.'
|
||||
-
|
||||
I check that the order which was initially in the draft state has transit to sold state.
|
||||
-
|
||||
@@ -183,22 +330,28 @@
|
||||
"active_id": ref("auction.auction_all_objects_menu")})
|
||||
-
|
||||
I check that the order which was initially in the sold state has transit to taken away state.
|
||||
-
|
||||
!assert {model: auction.lots, id: auction_lots_woodenchair0}:
|
||||
- state == 'taken_away', "state is not taken Away"
|
||||
-
|
||||
In order to change the auction for an object I use the "Change auction date" wizard.
|
||||
This will Erase The Object Adjudication Price and Its Buyer!
|
||||
-
|
||||
!record {model: auction.lots.auction.move, id: auction_lots_auction_move_0}:
|
||||
auction_id: auction.auction_date_2
|
||||
-
|
||||
Then I click on the "Move to Auction date" button.
|
||||
-
|
||||
!python {model: auction.lots.auction.move}: |
|
||||
self.auction_move_set(cr, uid, [ref("auction_lots_auction_move_0")], {"lang":
|
||||
"en_US", "tz": False, "active_model": "auction.lots", "active_ids": [ref("auction_lots_woodenchair0")],
|
||||
"active_id": ref("auction_lots_woodenchair0"), })
|
||||
-
|
||||
I check that a record gets created in the lot history.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
assert(auc_id.state == 'taken_away'), _('State not changed!')
|
||||
-
|
||||
I click on the "Close + Create all invoices" button
|
||||
-
|
||||
!python {model: auction.dates}: |
|
||||
self.close(cr, uid, [ref("auction.auction_dates_antiquefurnitureexhibition0")],
|
||||
{"lang": "en_US", "tz": False, "active_model": "ir.ui.menu", "active_ids":
|
||||
[ref("auction.menu_auction_dates_next1")], "active_id": ref("auction.menu_auction_dates_next1")})
|
||||
-
|
||||
I check that a record gets created in the "Supplier Invoices".
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
|
||||
assert(auc_id.sel_inv_id), _('Seller Invoice has not been created!')
|
||||
auc_lot_his=self.pool.get('auction.lot.history')
|
||||
ids=auc_lot_his.search(cr, uid, [('lot_id', '=', auc_id.id)])
|
||||
assert ids, _('Auction history does not exists!')
|
||||
|
||||
@@ -87,62 +87,7 @@
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_painting0"))
|
||||
assert(auc_id.ach_uid), _('Buyer not assigned!')
|
||||
-
|
||||
I mark that a seller has been paid by using the "Mark as paid for seller" wizard.
|
||||
-
|
||||
!record {model: auction.payer.sel, id: auction_payer_sel_0}:
|
||||
{}
|
||||
-
|
||||
I click on the "Pay" button.
|
||||
-
|
||||
!python {model: auction.payer.sel}: |
|
||||
self.payer_sel(cr, uid, [ref("auction_payer_sel_0")], {"lang": "en_US", "tz":
|
||||
False, "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")], "active_id": ref("auction_lots_painting0")})
|
||||
-
|
||||
I check that the Seller paid field is set to True.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_painting0"))
|
||||
assert(auc_id.paid_vnd == True), _('Seller paid is not marked!')
|
||||
-
|
||||
I use the "Mark as taken away" wizard to indicate that an object is taken away.
|
||||
-
|
||||
!record {model: auction.lots.able, id: auction_lots_able_0}:
|
||||
{}
|
||||
-
|
||||
Then I click on the "Able Taken away" wizard.
|
||||
-
|
||||
!python {model: auction.lots.able}: |
|
||||
self.confirm_able(cr, uid, [ref("auction_lots_able_0")], {"lang":"en_US", "tz":
|
||||
False, "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")],
|
||||
"active_id": ref("auction_lots_painting0")})
|
||||
-
|
||||
I check that Taken away field is set to True.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_painting0"))
|
||||
assert(auc_id.ach_emp == True), _('Taken away is not marked!')
|
||||
-
|
||||
I use the "Unmark as taken away" wizard to unmark the Taken Away field.
|
||||
-
|
||||
!record {model: auction.lots.enable, id: auction_lots_enable_0}:
|
||||
confirm_en: 0.0
|
||||
-
|
||||
Then I click on the "Enable Taken away" button.
|
||||
-
|
||||
!python {model: auction.lots.enable}: |
|
||||
self.confirm_enable(cr, uid, [ref("auction_lots_enable_0")], {"lang": "en_US",
|
||||
"tz": False, "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")],
|
||||
"active_id": ref("auction_lots_painting0"),})
|
||||
-
|
||||
I check that Taken away field is set to False.
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
from tools.translate import _
|
||||
auc_id=self.browse(cr, uid, ref("auction_lots_painting0"))
|
||||
assert(auc_id.ach_emp == False), _('Taken away is marked!')
|
||||
|
||||
-
|
||||
I create statement lines for an object's payment by using the "Pay objects of the buyer" wizard
|
||||
-
|
||||
|
||||
@@ -29,12 +29,8 @@ import auction_pay_buy
|
||||
import auction_payer_sel
|
||||
import auction_lots_sms_send
|
||||
import auction_catalog_flagey_report
|
||||
#import auction_lots_cancel
|
||||
#import auction_transfer_unsold_object
|
||||
#import auction_aie_send
|
||||
#import auction_aie_send_result
|
||||
import auction_lots_buyer_map
|
||||
#import auction_lots_numerotate
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
||||
@@ -11,11 +11,13 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Catalog Flagey Report">
|
||||
<label string="Print Auction Catalog Flagey Report..."/>
|
||||
<group col="2" colspan="4">
|
||||
<separator colspan="4" />
|
||||
<group col="4" colspan="4">
|
||||
<label string=" " colspan="2"/>
|
||||
<button icon='gtk-cancel' special="cancel"
|
||||
string="Cancel" />
|
||||
<button name="print_report" string="Ok"
|
||||
colspan="1" type="object" icon="gtk-ok" />
|
||||
<button name="print_report" string="Print"
|
||||
colspan="1" type="object" icon="gtk-print" />
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
@@ -26,7 +28,7 @@
|
||||
src_model="auction.dates"
|
||||
view_mode="form"
|
||||
target="new"
|
||||
key2="client_action_multi"
|
||||
key2="client_print_multi"
|
||||
id="action_auction_catalog_flagey_wizard"/>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -28,22 +28,14 @@ import tools
|
||||
import wizard
|
||||
|
||||
class auction_lots_auction_move(osv.osv_memory):
|
||||
|
||||
"""Auction Move"""
|
||||
_name = "auction.lots.auction.move"
|
||||
_description = "Auction move "
|
||||
_description = __doc__
|
||||
_columns= {
|
||||
'auction_id':fields.many2one('auction.dates', 'Auction Date', required=True),
|
||||
}
|
||||
|
||||
# def _top(self, cr, uid, ids, context={}):
|
||||
# refs = self.pool.get('auction.lots')
|
||||
# rec_ids = refs.browse(cr, uid, context['active_ids'])
|
||||
# for rec in rec_ids:
|
||||
# if not rec.auction_id:
|
||||
# raise osv.except_osv('Error !', 'You can not move a lot that has no auction date')
|
||||
# return {}
|
||||
|
||||
def auction_move_set(self, cr, uid, ids, context={}):
|
||||
|
||||
def auction_move_set(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
This Function update auction date on auction lots to given auction date.
|
||||
erase the auction lots's object adjudication price and its buyer and change state to draft.
|
||||
@@ -52,13 +44,14 @@ class auction_lots_auction_move(osv.osv_memory):
|
||||
@param uid: the current user’s ID for security checks,
|
||||
@param ids: List of auction lots auction move’s IDs.
|
||||
"""
|
||||
refs = self.pool.get('auction.lots')
|
||||
if not context:
|
||||
context={}
|
||||
auction_bid_line_obj = self.pool.get('auction.bid_line')
|
||||
auction_lot_history_obj = self.pool.get('auction.lot.history')
|
||||
auction_lots_obj = self.pool.get('auction.lots')
|
||||
rec_ids = refs.browse(cr, uid, context['active_ids'])
|
||||
for datas in self.read(cr, uid, ids):
|
||||
if not (datas['auction_id'] and len(context['active_ids'])) :
|
||||
rec_ids = auction_lots_obj.browse(cr, uid, context.get('active_ids', []))
|
||||
for current in self.browse(cr, uid, ids, context):
|
||||
if not (current.auction_id and len(context.get('active_ids', []))):
|
||||
return {}
|
||||
|
||||
# line_ids = auction_bid_line_obj.search(cr, uid, [('lot_id', 'in', context['active_ids'])])
|
||||
@@ -70,7 +63,7 @@ class auction_lots_auction_move(osv.osv_memory):
|
||||
'price': rec.obj_ret
|
||||
})
|
||||
up_auction = auction_lots_obj.write(cr, uid, [rec.id], {
|
||||
'auction_id':datas['auction_id'],
|
||||
'auction_id': current.auction_id.id,
|
||||
'obj_ret': None,
|
||||
'obj_price': None,
|
||||
'ach_login': None,
|
||||
|
||||
@@ -7,16 +7,15 @@
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Change Auction Date">
|
||||
<group colspan="4" >
|
||||
<label string="Warning, this will erase the object adjudication price and its buyer !" colspan="2"/>
|
||||
<newline/>
|
||||
<field name="auction_id"/>
|
||||
<label string ="Warning, Erase The Object Adjudication Price and Its Buyer!" colspan="4"/>
|
||||
<separator string="Change Auction Date" colspan="4"/>
|
||||
<field name="auction_id"/>
|
||||
<separator string="" colspan="4"/>
|
||||
<group colspan="4" col="4">
|
||||
<label string=" " colspan="2"/>
|
||||
<button icon="gtk-close" special="cancel" string="Close"/>
|
||||
<button icon="gtk-redo" string="Move to Auction date" name="auction_move_set" type="object"/>
|
||||
</group>
|
||||
<separator string="" colspan="4" />
|
||||
<group colspan="4" col="6">
|
||||
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
|
||||
<button icon="gtk-redo" string="Move to Auction date" name="auction_move_set" type="object"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -26,7 +26,6 @@ from osv import osv,fields
|
||||
class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
_name = 'auction.lots.buyer_map'
|
||||
_description = 'Map Buyer'
|
||||
|
||||
_columns = {
|
||||
'ach_login': fields.char('Buyer Username', size=64, required=True),
|
||||
'ach_uid': fields.many2one('res.partner','Buyer', required=True),
|
||||
@@ -42,19 +41,17 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
@param context: A standard dictionary
|
||||
@return: A dictionary which of fields with values.
|
||||
"""
|
||||
ids = context and context.get('active_ids',False) or False
|
||||
assert ids, _('Active IDs not Found')
|
||||
res = super(wiz_auc_lots_buyer_map,self).default_get(cr, uid, fields, context)
|
||||
cr.execute('select id from auction_lots where (ach_uid is null and ach_login is not null) ')
|
||||
v_ids = [x[0] for x in cr.fetchall()]
|
||||
for rec in self.pool.get('auction.lots').browse(cr, uid, v_ids, context):
|
||||
auction_lots_obj = self.pool.get('auction.lots')
|
||||
lots_ids = auction_lots_obj.search(cr, uid, [('ach_uid', '=', ''), ('ach_login', '!=', '')])
|
||||
for rec in auction_lots_obj.browse(cr, uid, lots_ids, context):
|
||||
if (not rec.ach_uid or not rec.ach_login):
|
||||
res.update(self._start(cr, uid, ids, context))
|
||||
return res
|
||||
res.update(self._start(cr, uid, ids, context))
|
||||
res.update(self._start(cr, uid, context.get('active_ids', []), context))
|
||||
return res
|
||||
res.update(self._start(cr, uid, context.get('active_ids', []), context))
|
||||
return res
|
||||
|
||||
def _start(self, cr, uid, ids, context):
|
||||
def _start(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
Returns login if already there in the selected record.
|
||||
@param self: The object pointer.
|
||||
@@ -64,6 +61,8 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
@param context: A standard dictionary
|
||||
@return: login field from current record.
|
||||
"""
|
||||
if not context:
|
||||
context={}
|
||||
lots_obj = self.pool.get('auction.lots')
|
||||
for rec in lots_obj.browse(cr, uid, ids, context):
|
||||
if (len(ids)==1) and (not rec.ach_uid and not rec.ach_login):
|
||||
@@ -72,7 +71,7 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
return {'ach_login': rec.ach_login}
|
||||
return {}
|
||||
|
||||
def buyer_map_set(self, cr, uid, ids, context):
|
||||
def buyer_map_set(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
To map the buyer and login name.
|
||||
@param self: The object pointer.
|
||||
@@ -80,16 +79,16 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
@param uid: ID of the user currently logged in
|
||||
@param ids: List of ids
|
||||
@param context: A standard dictionary
|
||||
@return:
|
||||
"""
|
||||
rec_ids = context and context.get('active_ids',False) or False
|
||||
if not context:
|
||||
context={}
|
||||
rec_ids = context and context.get('active_ids',[]) or []
|
||||
assert rec_ids, _('Active IDs not Found')
|
||||
datas = self.read(cr, uid, ids[0], ['ach_login','ach_uid'])
|
||||
lots_obj = self.pool.get('auction.lots')
|
||||
recs = lots_obj.browse(cr, uid, rec_ids, context)
|
||||
for rec in recs:
|
||||
if rec.ach_login==datas['ach_login']:
|
||||
lots_obj.write(cr, uid, [rec.id], {'ach_uid': datas['ach_uid']}, context=context)
|
||||
for current in self.browse(cr, uid, ids):
|
||||
for lots in lots_obj.browse(cr, uid, rec_ids, context):
|
||||
if lots.ach_login == current.ach_login:
|
||||
lots_obj.write(cr, uid, [lots.id], {'ach_uid': current.ach_uid.id}, context=context)
|
||||
return {}
|
||||
|
||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form',
|
||||
@@ -102,8 +101,12 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
@param context: A standard dictionary
|
||||
@return: New arch of view.
|
||||
"""
|
||||
record_ids = context and context.get('active_ids', False) or False
|
||||
if not context:
|
||||
context={}
|
||||
record_ids = context and context.get('active_ids', []) or []
|
||||
res = super(wiz_auc_lots_buyer_map, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
|
||||
if context.get('active_model','') != 'auction.lots':
|
||||
return res
|
||||
lots_obj = self.pool.get('auction.lots')
|
||||
if record_ids:
|
||||
try:
|
||||
@@ -111,9 +114,10 @@ class wiz_auc_lots_buyer_map(osv.osv_memory):
|
||||
if lots.ach_uid:
|
||||
res['arch'] = """
|
||||
<form title="Mapping Result">
|
||||
<group col="2" colspan="2">
|
||||
<group col="2" colspan="4">
|
||||
<label string="All objects are assigned to buyers !"/>
|
||||
<newline/>
|
||||
<separator string="" colspan="4"/>
|
||||
<button icon='gtk-cancel' special="cancel"
|
||||
string="Done" />
|
||||
</group>
|
||||
|
||||
@@ -10,15 +10,17 @@
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Buyer Map" >
|
||||
<separator string="Map " colspan="4"/>
|
||||
<field name="ach_login" colspan="4"/>
|
||||
<newline/>
|
||||
<field name="ach_uid" colspan="4"/>
|
||||
<separator colspan="4"/>
|
||||
<group col="4" colspan="4">
|
||||
<button icon='gtk-cancel' special="cancel"
|
||||
string="Exit" />
|
||||
|
||||
<button icon='gtk-close' special="cancel"
|
||||
string="Close" />
|
||||
<button name="buyer_map_set" string="Update"
|
||||
colspan="2" type="object" icon="gtk-go-forward" />
|
||||
type="object" icon="gtk-go-forward" />
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -29,7 +29,7 @@ class auction_lots_cancel(osv.osv):
|
||||
_name = 'auction.lots.cancel'
|
||||
_description = 'To cancel auction lots.'
|
||||
|
||||
def cancel(self, cr, uid, ids, context):
|
||||
def cancel(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
To cancel the auction lot
|
||||
|
||||
@@ -40,10 +40,11 @@ class auction_lots_cancel(osv.osv):
|
||||
@param context: A standard dictionary
|
||||
@return:
|
||||
"""
|
||||
|
||||
if not context:
|
||||
context={}
|
||||
lots_obj = self.pool.get('auction.lots')
|
||||
invoice_obj = self.pool.get('account.invoice')
|
||||
lot = lots_obj.browse(cr, uid, context['active_id'], context)
|
||||
lot = lots_obj.browse(cr, uid, context.get('active_id', False), context)
|
||||
if lot.ach_inv_id:
|
||||
supplier_refund_inv_id = invoice_obj.refund(cr, uid, [lot.ach_inv_id.id])
|
||||
if lot.sel_inv_id:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user