merged from trunk
bzr revid: apa@tinyerp.com-20101103044751-fnrhlog907q3jnyb
This commit is contained in:
@@ -2533,8 +2533,8 @@ class wizard_multi_charts_accounts(osv.osv_memory):
|
||||
'bank_accounts_id': fields.one2many('account.bank.accounts.wizard', 'bank_account_id', 'Bank Accounts', required=True),
|
||||
'code_digits':fields.integer('# of Digits', required=True, help="No. of Digits to use for account code"),
|
||||
'seq_journal':fields.boolean('Separated Journal Sequences', help="Check this box if you want to use a different sequence for each created journal. Otherwise, all will use the same sequence."),
|
||||
"sale_tax": fields.many2one("account.tax.template", "Sale Tax"),
|
||||
"purchase_tax": fields.many2one("account.tax.template", "Purchase Tax"),
|
||||
"sale_tax": fields.many2one("account.tax.template", "Default Sale Tax"),
|
||||
"purchase_tax": fields.many2one("account.tax.template", "Default Purchase Tax"),
|
||||
}
|
||||
def onchange_chart_template_id(self, cr, uid, ids, chart_template_id=False, context=None):
|
||||
res = {}
|
||||
@@ -2542,12 +2542,12 @@ class wizard_multi_charts_accounts(osv.osv_memory):
|
||||
res['value']["sale_tax"] = False
|
||||
res['value']["purchase_tax"] = False
|
||||
if chart_template_id:
|
||||
ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
|
||||
, "=", chart_template_id)], order="sequence")
|
||||
if len(ids) > 0:
|
||||
id=ids[0]
|
||||
res['value']["sale_tax"] = id
|
||||
res['value']["purchase_tax"] = id
|
||||
sale_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
|
||||
, "=", chart_template_id), ('type_tax_use', 'in', ('sale','all'))], order="sequence")
|
||||
purchase_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
|
||||
, "=", chart_template_id), ('type_tax_use', 'in', ('purchase','all'))], order="sequence")
|
||||
res['value']["sale_tax"] = sale_tax_ids and sale_tax_ids[0] or False
|
||||
res['value']["purchase_tax"] = purchase_tax_ids and purchase_tax_ids[0] or False
|
||||
return res
|
||||
|
||||
def _get_chart(self, cr, uid, context={}):
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_id" ref="view_account_period_tree"/>
|
||||
<field name="context">{'search_default_draft': 1}</field>
|
||||
<field name="help"> After closing a period, you will no longer be able to post entries to the period once it has been closed.</field>
|
||||
<field name="help">A period is a fiscal period of time during which accounting entries should be recorded for accounting related activities. Monthly period is the norm but depending on your countries or company needs, you could also have quarterly periods. Closing a period will make it impossible to record new accounting entries, all new entries should then be made on the following open period. Close a period when you do not want to record new entries and want to lock this period for tax related calculation.</field>
|
||||
</record>
|
||||
<menuitem
|
||||
action="action_account_period_tree"
|
||||
|
||||
@@ -1925,6 +1925,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="view_subscription_search"/>
|
||||
<field name="help">A recurring entry is a payment related entry that occurs on a recurrent basis from a specific date corresponding to the signature of a contract or an agreement with a customer or a supplier. With Define Recurring Entries, you can create them in the system in order to automate their entries in the system.</field>
|
||||
</record>
|
||||
<menuitem
|
||||
name="Define Recurring Entries" action="action_subscription_form"
|
||||
@@ -2418,8 +2419,8 @@
|
||||
<field name ="code_digits" groups="base.group_extended"/>
|
||||
<field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)"/>
|
||||
<field name ="seq_journal" groups="base.group_extended"/>
|
||||
<field name="sale_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False)]"/>
|
||||
<field name="purchase_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False)]"/>
|
||||
<field name="sale_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"/>
|
||||
<field name="purchase_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"/>
|
||||
<field colspan="4" mode="tree" name="bank_accounts_id" nolabel="1" widget="one2many_list">
|
||||
<form string="Bank Information">
|
||||
<field name="acc_name"/>
|
||||
@@ -2466,7 +2467,7 @@ action = self.pool.get('res.config').next(cr, uid, [], context)
|
||||
<field name="name">New Company Financial Setting</field>
|
||||
<field eval="1" name="sequence"/>
|
||||
<field name="parent_id" ref="account.menu_finance_accounting"/>
|
||||
<field name="icon">STOCK_JUSTIFY_FILL</field>
|
||||
<field name="icon">STOCK_EXECUTE</field>
|
||||
<field name="action" ref="ir_actions_server_action_wizard_multi_chart"/>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="view_account_fiscalyear_close_state"/>
|
||||
<field name="target">new</field>
|
||||
<field name="help">If no additional entries should be recorded on a fiscal year, you can close it from here. It will close all opened periods in this year that will make impossible any new entry record. Close a fiscal year when you need to finalize your end of year results definitive.</field>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_account_fiscalyear_close_state"
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
<field name="view_id" ref="validate_account_move_line_view"/>
|
||||
<field name="context">{'record_id' : active_id}</field>
|
||||
<field name="target">new</field>
|
||||
<field name="help">This wizard will validate all journal entries of a particular journal and period. Once journal entries are validated, you can not update them anymore.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.values" id="validate_account_move_line_values">
|
||||
|
||||
@@ -192,6 +192,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="crossovered_budget_view_tree"/>
|
||||
<field name="search_view_id" ref="view_crossovered_budget_search"/>
|
||||
<field name="help">A budget is a forecast of your company's income and expenses expected for a period in the future. With a budget, a company is able to carefully look at how much money they are taking in during a given period, and figure out the best way to divide it among various categories. By keeping track of where your money goes, you may be less likely to overspend, and more likely to meet your financial goals. Forecast a budget by detailing the expected revenue per analytic account and monitor its evolution based on the actuals realised during that period.</field>
|
||||
</record>
|
||||
<menuitem parent="next_id_31"
|
||||
id="menu_act_crossovered_budget_view"
|
||||
|
||||
@@ -221,6 +221,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="view_payment_order_search"/>
|
||||
<field name="help">A payment order is a payment request that your company does in order to pay a supplier invoice or a customer credit note. Here you can register all payment orders that should be done, keep track of all payment orders and mention the invoice reference and the partner the payment should be done for.</field>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_payment_order_tree" id="menu_action_payment_order_form" parent="menu_main_payment" sequence="3"/>
|
||||
|
||||
@@ -128,8 +128,8 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="mailgate_message_tree_view"/>
|
||||
<field name="context">{'type':'imap'}</field>
|
||||
<field name="domain">[('type','=','imap')]</field>
|
||||
<field name="context">{'server_type':'imap'}</field>
|
||||
<field name="domain">[('server_type','=','imap')]</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
@@ -143,8 +143,8 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="mailgate_message_tree_view"/>
|
||||
<field name="context">{'type':'pop'}</field>
|
||||
<field name="domain">[('type','=','pop')]</field>
|
||||
<field name="context">{'server_type':'pop'}</field>
|
||||
<field name="domain">[('server_type','=','pop')]</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="html_view_form" model="ir.ui.view">
|
||||
<field name="name">htmlform</field>
|
||||
<field name="model">html.view</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Html Example">
|
||||
<html>
|
||||
<h2>This is Test Html Page </h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Name :
|
||||
</td>
|
||||
<td>
|
||||
<field name="name"/>
|
||||
</td>
|
||||
<td>
|
||||
Company :
|
||||
</td>
|
||||
<td>
|
||||
<field name="comp_id"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<field name="bank_ids"/>
|
||||
</html>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_html_view_form" model="ir.actions.act_window">
|
||||
<field name="name">Html Test</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">html.view</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<menuitem action="action_html_view_form" id="html_form" parent="base.menu_address_book" sequence="40"/>
|
||||
</data>
|
||||
<data>
|
||||
<record id="html_view_form" model="ir.ui.view">
|
||||
<field name="name">htmlform</field>
|
||||
<field name="model">html.view</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Html Example">
|
||||
<html>
|
||||
<h2>This is Test Html Page </h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Name :
|
||||
</td>
|
||||
<td>
|
||||
<field name="name"/>
|
||||
</td>
|
||||
<td>
|
||||
Company :
|
||||
</td>
|
||||
<td>
|
||||
<field name="comp_id"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<field name="bank_ids"/>
|
||||
</html>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_html_view_form" model="ir.actions.act_window">
|
||||
<field name="name">Html Test</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">html.view</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<menuitem action="action_html_view_form" id="html_form" parent="base.menu_address_book" sequence="40"/>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -11,7 +11,7 @@ company customize which Pad installation should be used to link to new pads
|
||||
'author': 'OpenERP SA',
|
||||
'website': 'http://openerp.com',
|
||||
'depends': ['base'],
|
||||
'update_xml': [
|
||||
'data': [
|
||||
'company_pad.xml'
|
||||
],
|
||||
'installable': True,
|
||||
|
||||
@@ -297,10 +297,10 @@ class purchase_order(osv.osv):
|
||||
managers.append(manager.id)
|
||||
for manager_id in managers:
|
||||
request.create(cr, uid,{
|
||||
'name' : "Purchase amount over the limit",
|
||||
'name' : _("Purchase amount over the limit"),
|
||||
'act_from' : uid,
|
||||
'act_to' : manager_id,
|
||||
'body': 'Somebody has just confirmed a purchase with an amount over the defined limit',
|
||||
'body': _('Somebody has just confirmed a purchase with an amount over the defined limit'),
|
||||
'ref_partner_id': po.partner_id.id,
|
||||
'ref_doc1': 'purchase.order,%d' % (po.id,),
|
||||
})
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
parent="base.menu_purchase_root" sequence="4"/>
|
||||
<menuitem action="stock.action_picking_tree4" id="menu_action_picking_tree4" parent="menu_procurement_management_inventory"
|
||||
name="Incoming Shipments" sequence="9"
|
||||
groups="base.group_extended"/>
|
||||
groups="base.group_extended"/>
|
||||
<menuitem action="stock.action_reception_picking_move" id="menu_action_picking_tree_in_move"
|
||||
parent="menu_procurement_management_inventory" sequence="11"/>
|
||||
|
||||
@@ -147,8 +147,7 @@
|
||||
<button name="purchase_confirm" states="draft" string="Convert to Purchase Order" icon="gtk-go-forward"/>
|
||||
<button name="purchase_appbuyer" states="wait_auth" string="Approve Purchase" icon="gtk-ok"/>
|
||||
<button name="purchase_approve" states="confirmed" string="Approved by Supplier" icon="gtk-go-forward"/>
|
||||
<button name="%(report_purchase_order)d" string="Print" states="approved" type="action" icon="gtk-print"/>
|
||||
|
||||
<button name="%(report_purchase_order)d" string="Print" states="approved" type="action" icon="gtk-print"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Delivery & Invoices" groups="base.group_extended">
|
||||
@@ -199,7 +198,7 @@
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="0" string="Group By..." colspan="4" col="10" groups="base.group_extended">
|
||||
<filter string="Supplier" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
|
||||
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
||||
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||
@@ -377,10 +376,11 @@
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="0" string="Group By...">
|
||||
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by' : 'partner_id'}" />
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by' : 'product_id'}" />
|
||||
<filter string="Supplier" icon="terp-personal" domain="[]" context="{'group_by' : 'partner_id'}" />
|
||||
<filter icon="terp-gtk-jump-to-rtl" string="Order Reference" domain="[]" context="{'group_by' :'order_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by' : 'state'}" />
|
||||
</group>
|
||||
</search>
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="context">{"search_default_At Date":1,'group_by_no_leaf':1,'group_by':[]}</field>
|
||||
<field name="search_view_id" ref="view_report_account_invoice_filter"/>
|
||||
<field name="help">This report gives you an overview of all the invoices generated by the system. You can sort and group your results by specific selection criteria to quickly find what you are looking for.</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Invoice Report" id="menu_report_account_invoice_product" parent="account.menu_finance_reporting"/>
|
||||
|
||||
Reference in New Issue
Block a user