[MRG] merge with lp:~openerp-dev/openobject-addons/trunk-red-button

bzr revid: tpa@tinyerp.com-20120614064655-wksv5wtso0ni6ped
This commit is contained in:
Turkesh Patel (Open ERP)
2012-06-14 12:16:55 +05:30
23 changed files with 484 additions and 332 deletions
+8 -8
View File
@@ -148,10 +148,10 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="invoice_open" states="draft,proforma2" string="Validate"/>
<button name="%(action_account_invoice_refund)d" type='action' string='Ask Refund' states='open,paid'/>
<button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_form_button_active_flow"/>
<button name="%(action_account_invoice_refund)d" type='action' string='Ask Refund' states='open,paid' class="oe_form_button_return_flow"/>
<button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="base.group_no_one"/>
<button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object"/>
<button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" class="oe_form_button_return_flow"/>
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>
<field name="state" widget="statusbar" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
</header>
@@ -274,13 +274,13 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="action_invoice_sent" type="object" string="Send by Email" states="open" attrs="{'invisible':['|',('sent','=',True), ('state', '=', 'draft')]}"/>
<button name="action_invoice_sent" type="object" string="Send by Email" states="open" attrs="{'invisible':['|',('sent','=',True), ('state', '=', 'draft')]}" class="oe_form_button_active_flow"/>
<button name="invoice_print" string="Print Invoice" type="object" states="open" attrs="{'invisible':['|',('sent','=',True), ('state', '=', 'draft')]}"/>
<button name="invoice_open" states="draft,proforma2" string="Validate"/>
<button name="invoice_proforma2" states="draft" string="PRO-FORMA" groups="account.group_proforma_invoices"/>
<button name="%(action_account_invoice_refund)d" type='action' string='Refund Invoice' states='paid'/>
<button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_form_button_active_flow"/>
<button name="invoice_proforma2" states="draft" string="PRO-FORMA" groups="account.group_proforma_invoices" class="oe_form_button_active_flow"/>
<button name="%(action_account_invoice_refund)d" type='action' string='Refund Invoice' states='paid' class="oe_form_button_return_flow"/>
<button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="base.group_no_one"/>
<button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object"/>
<button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object" class="oe_form_button_return_flow"/>
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>
<!--button name="%(account_invoices)d" string="Print Invoice" type="action" states="open,paid,proforma,sale,proforma2"/-->
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
+11 -11
View File
@@ -13,8 +13,8 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="create_period" states="draft" string="Create Monthly Periods" type="object"/>
<button name="create_period3" states="draft" string="Create 3 Months Periods" type="object"/>
<button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_form_button_active_flow"/>
<button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_form_button_active_flow"/>
<field name="state" widget="statusbar" nolabel="1" />
</header>
<sheet string="Fiscalyear" layout="auto">
@@ -172,7 +172,7 @@
<form string="Account" version="7.0">
<label for="name" class="oe_form_readonly_hidden" string="Account Name and Code:"/>
<h1>
<field name="name"/> -
<field name="name"/> -
<field name="code"/>
</h1>
<label for="company_id"/>
@@ -589,8 +589,8 @@
<field name="arch" type="xml">
<form string="Bank Statement" version="7.0">
<header>
<button name="button_confirm_bank" states="draft" string="Confirm" type="object" />
<button name="button_dummy" states="draft" string="Compute" type="object"/>
<button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_form_button_active_flow"/>
<button name="button_dummy" states="draft" string="Compute" type="object" class="oe_form_button_active_flow"/>
<button name="button_cancel" states="confirm" string="Cancel" type="object"/>
<field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
</header>
@@ -1270,7 +1270,7 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="button_validate" states="draft" string="Post" type="object"/>
<button name="button_validate" states="draft" string="Post" type="object" class="oe_form_button_active_flow"/>
<button name="button_cancel" states="posted" string="Cancel" type="object"/>
<field name="state" widget="statusbar"/>
</header>
@@ -1289,7 +1289,7 @@
<notebook colspan="4">
<page string="Journal Items">
<field name="balance" invisible="1"/>
<field colspan="4" name="line_id" widget="one2many_list"
<field colspan="4" name="line_id" widget="one2many_list"
on_change="onchange_line_id(line_id)"
context="{'balance': balance , 'journal': journal_id }">
<form string="Journal Item" version="7.0">
@@ -1825,8 +1825,8 @@
<form string="Recurring" version="7.0">
<header>
<button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
<button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
<button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove"/>
<button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_form_button_active_flow"/>
<button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_form_button_active_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
</header>
@@ -2531,8 +2531,8 @@ action = pool.get('res.config').next(cr, uid, [], context)
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="button_confirm_cash" states="open" string="Close CashBox" type="object"/>
<button name="button_open" states="draft" string="Open CashBox" type="object"/>
<button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_form_button_active_flow"/>
<button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_form_button_active_flow"/>
<button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</header>
+3 -3
View File
@@ -81,9 +81,9 @@
<field name="arch" type="xml">
<form string="Asset" version="7.0">
<header>
<button name="validate" states="draft" string="Confirm Asset" type="object"/>
<button name="set_to_close" states="open" string="Set to Close" type="object"/>
<button name="set_to_draft" states="open" string="Set to Draft" type="object"/>
<button name="validate" states="draft" string="Confirm Asset" type="object" class="oe_form_button_active_flow"/>
<button name="set_to_close" states="open" string="Set to Close" type="object" class="oe_form_button_active_flow"/>
<button name="set_to_draft" states="open" string="Set to Draft" type="object" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,open"/>
</header>
<sheet>
@@ -110,10 +110,10 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button string="Confirm" name="confirm" states="draft" type="workflow" />
<button string="Approve" name="validate" states="confirm" type="workflow"/>
<button string="Done" name="done" states="validate" type="workflow" />
<button name="draft" states="cancel" string="Reset to Draft" type="workflow"/>
<button string="Confirm" name="confirm" states="draft" type="workflow" class="oe_form_button_active_flow"/>
<button string="Approve" name="validate" states="confirm" type="workflow" class="oe_form_button_active_flow"/>
<button string="Done" name="done" states="validate" type="workflow" class="oe_form_button_active_flow"/>
<button name="draft" states="cancel" string="Reset to Draft" type="workflow" class="oe_form_button_return_flow"/>
<button string="Cancel" name="cancel" states="confirm,validate" type="workflow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
</header>
+4 -4
View File
@@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-02-08 00:35+0000\n"
"PO-Revision-Date: 2012-06-08 01:54+0000\n"
"PO-Revision-Date: 2012-06-13 17:16+0000\n"
"Last-Translator: Akira Hiyama <Unknown>\n"
"Language-Team: Japanese <ja@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: 2012-06-09 05:39+0000\n"
"X-Generator: Launchpad (build 15376)\n"
"X-Launchpad-Export-Date: 2012-06-14 04:34+0000\n"
"X-Generator: Launchpad (build 15405)\n"
#. module: account_budget
#: field:crossovered.budget,creating_user_id:0
@@ -169,7 +169,7 @@ msgstr "会社"
#. module: account_budget
#: view:crossovered.budget:0
msgid "To Approve"
msgstr "承認のため"
msgstr "承認"
#. module: account_budget
#: view:crossovered.budget:0
@@ -3,7 +3,7 @@
<data>
<!-- Supplier voucher view -->
<record model="ir.ui.view" id="view_vendor_payment_check_form">
<field name="name">account.voucher.payment.check.form</field>
<field name="model">account.voucher</field>
@@ -20,7 +20,7 @@
<field name="number" attrs="{'readonly':[('allow_check','!=',1)]}" />
</field>
<button name="proforma_voucher" position="after">
<button name="print_check" icon="gtk-print" string="Print Check" type="object" attrs="{'invisible':['|',('allow_check','!=',1),('state','!=','posted') ]}"/>
<button name="print_check" icon="gtk-print" string="Print Check" type="object" attrs="{'invisible':['|',('allow_check','!=',1),('state','!=','posted') ]}" class="oe_form_button_active_flow"/>
</button>
</field>
</record>
@@ -104,9 +104,9 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="open" states="draft" string="Confirm Payments" />
<button name="set_done" states="open" string="Make Payments" type="object"/>
<button name="set_to_draft" states="cancel" string="Set to draft" type="object"/>
<button name="open" states="draft" string="Confirm Payments" class="oe_form_button_active_flow"/>
<button name="set_done" states="open" string="Make Payments" type="object" class="oe_form_button_active_flow"/>
<button name="set_to_draft" states="cancel" string="Set to draft" type="object" class="oe_form_button_return_flow"/>
<button name="cancel" states="draft,open" string="Cancel"/>
<field name="state" widget="statusbar" statusbar_visible="draft,open"/>
</header>
@@ -8,7 +8,7 @@
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<button name="invoice_open" position="after">
<button name="invoice_pay_customer" type="object" string="Register Payment" states="open" icon="gtk-go-forward"/>
<button name="invoice_pay_customer" type="object" string="Register Payment" states="open" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</button>
</field>
</record>
@@ -19,7 +19,7 @@
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="arch" type="xml">
<button name="invoice_open" position="after">
<button name="invoice_pay_customer" type="object" string="Pay" states="open" icon="gtk-go-forward"/>
<button name="invoice_pay_customer" type="object" string="Pay" states="open" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</button>
</field>
</record>
@@ -43,7 +43,7 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="proforma_voucher" string="Post" states="draft"/>
<button name="proforma_voucher" string="Post" states="draft" class="oe_form_button_active_flow"/>
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to unreconcile this record?"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
@@ -145,10 +145,10 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)"/>
<button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)" class="oe_form_button_active_flow"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?" class="oe_form_button_return_flow"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</header>
<sheet string="Bill Payment">
@@ -297,10 +297,10 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)"/>
<button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)" class="oe_form_button_active_flow"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?" class="oe_form_button_return_flow"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</header>
<sheet>
@@ -82,11 +82,11 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="proforma_voucher" string="Validate" states="draft"/>
<button name="%(act_pay_voucher)d" context="{'narration':narration, 'title':'Customer Payment', 'type':'receipt', 'partner_id':partner_id, 'reference':reference, 'amount':amount}" type="action" string="Pay" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}"/>
<button name="proforma_voucher" string="Validate" states="draft" class="oe_form_button_active_flow"/>
<button name="%(act_pay_voucher)d" context="{'narration':narration, 'title':'Customer Payment', 'type':'receipt', 'partner_id':partner_id, 'reference':reference, 'amount':amount}" type="action" string="Pay" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_form_button_active_flow"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</header>
<sheet string="Sales Receipt" layout="auto">
@@ -207,11 +207,11 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="proforma_voucher" string="Validate" states="draft"/>
<button name="%(act_pay_bills)d" context="{'narration':narration, 'title':'Bill Payment', 'type':'payment', 'partner_id': partner_id, 'reference':reference}" type="action" string="Pay Bill" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}"/>
<button name="proforma_voucher" string="Validate" states="draft" class="oe_form_button_active_flow"/>
<button name="%(act_pay_bills)d" context="{'narration':narration, 'title':'Bill Payment', 'type':'payment', 'partner_id': partner_id, 'reference':reference}" type="action" string="Pay Bill" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_form_button_active_flow"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</header>
<sheet string="Supplier Voucher">
+10 -8
View File
@@ -63,8 +63,8 @@
<form string="Leads Form" version="7.0">
<header>
<button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" type="action"
states="draft,open,pending" help="Convert to Opportunity"/>
<button name="case_escalate" string="Escalate" type="object"
states="draft,open,pending" help="Convert to Opportunity" class="oe_form_button_active_flow"/>
<button name="case_escalate" string="Escalate" type="object" class="oe_form_button_return_flow"
states="draft,open,pending"/>
<button name="case_reset" string="Reset" type="object"
states="cancel"/>
@@ -364,20 +364,22 @@
<form string="Opportunities" version="7.0">
<header>
<button name="case_mark_won" string="Mark Won" type="object"
states="draft,open,pending"/>
<button name="case_open" string="Open" type="object"
states="open" class="oe_form_button_active_flow"/>
<button name="case_mark_won" string="Mark Won" type="object"
states="draft,pending"/>
<button name="case_open" string="Open" type="object" class="oe_form_button_active_flow"
states="draft,pending"/>
<button name="case_escalate" string="Escalate" type="object"
states="open"/>
states="open" class="oe_form_button_return_flow"/>
<button name="case_mark_lost" string="Mark Lost" type="object"
states="draft,open"/>
<button name="case_reset" string="Reset to Draft" type="object"
states="done,cancel"/>
states="done,cancel" class="oe_form_button_return_flow"/>
<button name="case_cancel" string="Cancel" type="object"
states="draft"/>
<button name="stage_previous" string="Previous" type="object"
<button name="stage_previous" string="Previous" type="object" class="oe_form_button_return_flow"
states="open" icon="gtk-go-back" context="{'stage_type': 'opportunity'}"/>
<button name="stage_next" string="Next" type="object"
<button name="stage_next" string="Next" type="object" class="oe_form_button_active_flow"
states="open" icon="gtk-go-forward" context="{'stage_type': 'opportunity'}"/>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
+3 -3
View File
@@ -27,11 +27,11 @@
<field name="arch" type="xml">
<form string="Meetings" version="7.0">
<header>
<button name="case_open" string="Confirm" type="object"
<button name="case_open" string="Confirm" type="object" class="oe_form_button_active_flow"
states="draft"/>
<button name="case_close" string="Done" type="object"
<button name="case_close" string="Done" type="object" class="oe_form_button_active_flow"
states="open"/>
<button name="case_reset" string="Reset to Unconfirmed" type="object"
<button name="case_reset" string="Reset to Unconfirmed" type="object" class="oe_form_button_return_flow"
states="cancel,done"/>
<button name="case_cancel" string="Cancel" type="object"
states="draft,open"/>
+3 -3
View File
@@ -64,15 +64,15 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="case_open" string="Confirm" type="object"
<button name="case_open" string="Confirm" type="object" class="oe_form_button_active_flow"
states="draft,pending" icon="gtk-go-forward"/>
<button name="case_close" string="Held" type="object"
<button name="case_close" string="Held" type="object" class="oe_form_button_active_flow"
states="open,pending" icon="gtk-jump-to"/>
<button name="case_reset" string="Reset to Todo" type="object"
states="cancel" icon="gtk-convert"/>
<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending" icon="gtk-cancel"/>
<button string="Convert to Opportunity"
<button string="Convert to Opportunity" class="oe_form_button_active_flow"
name="%(phonecall2opportunity_act)d"
icon="gtk-index" type="action"
attrs="{'invisible':[('opportunity_id','!=',False)]}" />
+6 -6
View File
@@ -90,19 +90,19 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="case_open" string="Open" type="object"
states="draft,pending"/>
<button name="case_close" string="Done" type="object"
<button name="case_open" string="Open" type="object" class="oe_form_button_active_flow"
states="draft,pending" />
<button name="case_close" string="Done" type="object" class="oe_form_button_active_flow"
states="open,pending"/>
<button name="case_refuse" string="Refuse" type="object"
<button name="case_refuse" string="Refuse" type="object" class="oe_form_button_active_flow"
states="draft,open,pending"/>
<button name="stage_previous" string="Previous Stage" type="object"
states="open,pending" icon="gtk-go-back" attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="stage_next" string="Next Stage" type="object"
states="open,pending" icon="gtk-go-forward" attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="case_reset" string="Reset to Draft" type="object"
<button name="case_reset" string="Reset to Draft" type="object" class="oe_form_button_return_flow"
states="cancel,done"/>
<button name="case_cancel" string="Cancel" type="object"
<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
+8 -6
View File
@@ -30,15 +30,17 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="case_open" string="Open" type="object"
<button name="case_open" string="Open" type="object" class="oe_form_button_active_flow"
states="draft,pending"/>
<button name="case_close" string="Close" type="object"
states="open,draft,pending"/>
<button name="case_close" string="Close" type="object" states="draft,pending"/>
<button name="case_close" string="Close" type="object" states="open" class="oe_form_button_active_flow"/>
<button name="case_pending" string="Pending" type="object"
states="draft,open"/>
<button name="case_reset" string="Reset to Draft" type="object"
states="draft"/>
<button name="case_pending" string="Pending" type="object" class="oe_form_button_return_flow"
states="open"/>
<button name="case_reset" string="Reset to Draft" type="object" class="oe_form_button_return_flow"
states="cancel,done"/>
<button name="case_escalate" string="Escalate" type="object"
<button name="case_escalate" string="Escalate" type="object" class="oe_form_button_return_flow"
states="open,draft,pending"/>
<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/>
+119
View File
@@ -0,0 +1,119 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-02-08 00:36+0000\n"
"PO-Revision-Date: 2012-06-13 22:19+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@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: 2012-06-14 04:34+0000\n"
"X-Generator: Launchpad (build 15405)\n"
#. module: google_base_account
#: field:res.users,gmail_user:0
msgid "Username"
msgstr ""
#. module: google_base_account
#: model:ir.actions.act_window,name:google_base_account.act_google_login_form
msgid "Google Login"
msgstr ""
#. module: google_base_account
#: code:addons/google_base_account/wizard/google_login.py:29
#, python-format
msgid "Google Contacts Import Error!"
msgstr ""
#. module: google_base_account
#: view:res.users:0
msgid " Synchronization "
msgstr ""
#. module: google_base_account
#: sql_constraint:res.users:0
msgid "You can not have two users with the same login !"
msgstr ""
#. module: google_base_account
#: code:addons/google_base_account/wizard/google_login.py:75
#, python-format
msgid "Error"
msgstr ""
#. module: google_base_account
#: view:google.login:0
msgid "Google login"
msgstr ""
#. module: google_base_account
#: model:ir.model,name:google_base_account.model_res_users
msgid "res.users"
msgstr ""
#. module: google_base_account
#: field:google.login,password:0
msgid "Google Password"
msgstr ""
#. module: google_base_account
#: view:google.login:0
msgid "_Cancel"
msgstr ""
#. module: google_base_account
#: view:res.users:0
msgid "Google Account"
msgstr ""
#. module: google_base_account
#: field:google.login,user:0
msgid "Google Username"
msgstr ""
#. module: google_base_account
#: code:addons/google_base_account/wizard/google_login.py:29
#, python-format
msgid ""
"Please install gdata-python-client from http://code.google.com/p/gdata-"
"python-client/downloads/list"
msgstr ""
#. module: google_base_account
#: model:ir.model,name:google_base_account.model_google_login
msgid "Google Contact"
msgstr ""
#. module: google_base_account
#: view:google.login:0
msgid "_Login"
msgstr ""
#. module: google_base_account
#: constraint:res.users:0
msgid "The chosen company is not in the allowed companies for this user"
msgstr ""
#. module: google_base_account
#: field:res.users,gmail_password:0
msgid "Password"
msgstr ""
#. module: google_base_account
#: code:addons/google_base_account/wizard/google_login.py:75
#, python-format
msgid "Authentication fail check the user and password !"
msgstr ""
#. module: google_base_account
#: view:google.login:0
msgid "ex: user@gmail.com"
msgstr ""
+3 -3
View File
@@ -67,9 +67,9 @@
<field name="arch" type="xml">
<form string="Idea" version="7.0">
<header>
<button name="idea_open" string="Open" states="draft"/>
<button name="idea_close" string="Accept" states="open"/>
<button name="idea_cancel" string="Refuse" states="open" />
<button name="idea_open" string="Open" states="draft" class="oe_form_button_active_flow"/>
<button name="idea_close" string="Accept" states="open" class="oe_form_button_active_flow"/>
<button name="idea_cancel" string="Refuse" states="open" class="oe_form_button_active_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,open,close"/>
</header>
<sheet>
+2 -2
View File
@@ -25,8 +25,8 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" attrs="{'invisible':[('state','=','confirmed')]}"/>
<button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action"/>
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" states="draft" class="oe_form_button_active_flow"/>
<button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action" states="confirmed" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,confirmed"/>
</header>
<sheet string="Order">
@@ -17,9 +17,9 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="state_running_set" string="Run" states="draft"/>
<button name="state_done_set" string="Done" states="running"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled"/>
<button name="state_running_set" string="Run" states="draft" class="oe_form_button_active_flow"/>
<button name="state_done_set" string="Done" states="running" class="oe_form_button_active_flow"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled" class="oe_form_button_return_flow"/>
<button name="state_cancel_set" string="Cancel" states="running"/>
<field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/>
</header>
@@ -135,9 +135,9 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="state_running_set" string="Run" states="draft"/>
<button name="state_done_set" string="Close" states="running"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled"/>
<button name="state_running_set" string="Run" states="draft" class="oe_form_button_active_flow"/>
<button name="state_done_set" string="Close" states="running" class="oe_form_button_active_flow"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled" class="oe_form_button_return_flow"/>
<button name="state_cancel_set" string="Cancel" states="running"/>
<field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/>
</header>
+265 -236
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -15,9 +15,9 @@
<field name="arch" type="xml">
<form string="Subscriptions" version="7.0">
<header>
<button name="set_process" states="draft" string="Process" type="object"/>
<button name="set_done" states="running" string="Stop" type="object"/>
<button name="set_draft" states="done" string="Set to Draft" type="object"/>
<button name="set_process" states="draft" string="Process" type="object" class="oe_form_button_active_flow"/>
<button name="set_done" states="running" string="Stop" type="object" class="oe_form_button_active_flow"/>
<button name="set_draft" states="done" string="Set to Draft" type="object" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="draft,running"/>
</header>
<sheet>
+6 -6
View File
@@ -20,9 +20,9 @@
<field name="arch" type="xml">
<form string="Survey" version="7.0">
<header>
<button name="survey_open" string="Open" states="cancel,close" type="object"/>
<button name="survey_close" string="Close" states="open" type="object"/>
<button name="survey_cancel" string="Cancel" states="open" type="object"/>
<button name="survey_open" string="Open" states="cancel,close" type="object" class="oe_form_button_return_flow"/>
<button name="survey_close" string="Close" states="open" type="object" class="oe_form_button_active_flow"/>
<button name="survey_cancel" string="Cancel" states="open" type="object" class="oe_form_button_return_flow"/>
<field name="state" widget="statusbar" statusbar_visible="open,close"/>
</header>
<sheet>
@@ -1058,9 +1058,9 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object"/>
<button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object"/>
<button name="survey_req_done" string="Done" states="waiting_answer" type="object"/>
<button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" class="oe_form_button_return_flow"/>
<button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" class="oe_form_button_active_flow"/>
<button name="survey_req_done" string="Done" states="waiting_answer" type="object" class="oe_form_button_active_flow"/>
<button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/>
<field name="state" widget="statusbar" statusbar_visible="draft,waiting_answer"/>
</header>