[MRG] [FIX] remove the dependency on base_scheduler_creator and fix manifest's description

This commit is contained in:
Joel Grand-Guillaume
2012-12-20 14:39:02 +01:00
4 changed files with 22 additions and 36 deletions

View File

@@ -22,27 +22,35 @@
{
"name" : "Easy Reconcile",
"version" : "1.1",
"depends" : ["account", "base_scheduler_creator"
"depends" : ["account",
],
"author" : "Akretion,Camptocamp",
"description": """
This is a shared work between Akretion and Camptocamp in order to provide:
Easy Reconcile
==============
This is a shared work between Akretion and Camptocamp
in order to provide:
- reconciliation facilities for big volume of transactions
- setup different profiles of reconciliation by account
- each profile can use many methods of reconciliation
- this module is also a base to create others reconciliation methods
which can plug in the profiles
- a profile a reconciliation can be run manually or by a cron
- monitoring of reconciliation runs with an history which keep track
of the reconciled entries
- this module is also a base to create others
reconciliation methods which can plug in the profiles
- a profile a reconciliation can be run manually
or by a cron
- monitoring of reconciliation runs with an history
which keep track of the reconciled entries
2 simple reconciliation methods are integrated in this module, the simple
reconciliations works on 2 lines (1 debit / 1 credit) and do not allows
partial reconcilation, they also match on 1 key, partner or entry name.
2 simple reconciliation methods are integrated
in this module, the simple reconciliations works
on 2 lines (1 debit / 1 credit) and do not allow
partial reconcilation, they also match on 1 key,
partner or entry name.
You may be interested to install also the account_advanced_reconciliation
module available at: https://code.launchpad.net/c2c-financial-addons
This latter add more complex reconciliations, allows multiple lines and partial.
You may be interested to install also the
``account_advanced_reconciliation`` module.
This latter add more complex reconciliations,
allows multiple lines and partial.
""",
"website" : "http://www.akretion.com/",

View File

@@ -148,7 +148,6 @@ class account_easy_reconcile(Model):
'name': fields.char('Name', size=64, required=True),
'account': fields.many2one('account.account', 'Account', required=True),
'reconcile_method': fields.one2many('account.easy.reconcile.method', 'task_id', 'Method'),
'scheduler': fields.many2one('ir.cron', 'scheduler', readonly=True),
'unreconciled_count': fields.function(_get_total_unrec,
type='integer', string='Unreconciled Entries'),
'reconciled_partial_count': fields.function(_get_partial_rec,
@@ -166,13 +165,6 @@ class account_easy_reconcile(Model):
readonly=True),
}
def copy_data(self, cr, uid, id, default=None, context=None):
if default is None:
default = {}
default = dict(default, scheduler=False)
return super(account_easy_reconcile, self).copy_data(
cr, uid, id, default=default, context=context)
def _prepare_run_transient(self, cr, uid, rec_method, context=None):
return {'account_id': rec_method.task_id.account.id,
'write_off': rec_method.write_off,

View File

@@ -15,7 +15,6 @@
<field name="account"/>
<field name="unreconciled_count"/>
<field name="reconciled_partial_count"/>
<field name="scheduler"/>
<separator colspan="4" string="Reconcile Method" />
<notebook colspan="4">
<page name="methods" string="Configuration">
@@ -67,7 +66,6 @@ The lines should have the same amount (with the write-off) and the same partner
<tree string="Automatic Easy Reconcile">
<field name="name"/>
<field name="account"/>
<field name="scheduler"/>
<field name="unreconciled_count"/>
<field name="reconciled_partial_count"/>
<button icon="gtk-ok" name="run_reconcile" colspan="4"
@@ -87,7 +85,6 @@ The lines should have the same amount (with the write-off) and the same partner
<field name="res_model">account.easy.reconcile</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="context">{'wizard_object' : 'account.easy.reconcile', 'function' : 'action_rec_auto', 'object_link' : 'account.easy.reconcile' }</field>
</record>
@@ -135,16 +132,5 @@ The lines should have the same amount (with the write-off) and the same partner
<menuitem action="action_account_easy_reconcile" id="menu_easy_reconcile" parent="account.periodical_processing_reconciliation"/>
<!-- button on the left -->
<record id="ir_action_create_scheduler_in_easy_reconcile" model="ir.values">
<field name="key2">client_action_multi</field>
<field name="model">account.easy.reconcile</field>
<field name="name">Create a Scheduler</field>
<field eval="'ir.actions.act_window,%d'%ref('base_scheduler_creator.action_scheduler_creator_wizard')" name="value"/>
<field eval="True" name="object"/>
</record>
</data>
</openerp>

View File

@@ -49,7 +49,7 @@ msgstr "easy.reconcile.simple.name"
#. module: account_easy_reconcile
#: model:ir.model,name:account_easy_reconcile.model_easy_reconcile_options
msgid "easy.reconcile.options"
msgstr "lettrage automatisé.options"
msgstr "easy.reconcile.options"
#. module: account_easy_reconcile
#: view:easy.reconcile.history:0