[MERGE]Merged with lp:addons
bzr revid: ron@tinyerp.com-20110916065638-lxitbqcmqqh7e2qa
This commit is contained in:
commit
24b6a02bd0
|
@ -623,7 +623,7 @@ class account_journal(osv.osv):
|
|||
'currency': fields.many2one('res.currency', 'Currency', help='The currency used to enter statement'),
|
||||
'entry_posted': fields.boolean('Skip \'Draft\' State for Manual Entries', help='Check this box if you don\'t want new journal entries to pass through the \'draft\' state and instead goes directly to the \'posted state\' without any manual validation. \nNote that journal entries that are automatically created by the system are always skipping that state.'),
|
||||
'company_id': fields.many2one('res.company', 'Company', required=True, select=1, help="Company related to this journal"),
|
||||
'allow_date':fields.boolean('Check Date not in the Period', help= 'If set to True then do not accept the entry if the entry date is not into the period dates'),
|
||||
'allow_date':fields.boolean('Check Date in Period', help= 'If set to True then do not accept the entry if the entry date is not into the period dates'),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
|
|
@ -588,10 +588,18 @@ class account_move_line(osv.osv):
|
|||
return False
|
||||
return True
|
||||
|
||||
def _check_date(self, cr, uid, ids, context=None):
|
||||
for l in self.browse(cr, uid, ids, context=context):
|
||||
if l.journal_id.allow_date:
|
||||
if not time.strptime(l.date[:10],'%Y-%m-%d') >= time.strptime(l.period_id.date_start, '%Y-%m-%d') or not time.strptime(l.date[:10], '%Y-%m-%d') <= time.strptime(l.period_id.date_stop, '%Y-%m-%d'):
|
||||
return False
|
||||
return True
|
||||
|
||||
_constraints = [
|
||||
(_check_no_view, 'You can not create move line on view account.', ['account_id']),
|
||||
(_check_no_closed, 'You can not create move line on closed account.', ['account_id']),
|
||||
(_check_company_id, 'Company must be same for its related account and period.',['company_id'] ),
|
||||
(_check_date, 'The date of your Journal Entry is not in the defined period!',['date'] ),
|
||||
]
|
||||
|
||||
#TODO: ONCHANGE_ACCOUNT_ID: set account_tax_id
|
||||
|
@ -1098,35 +1106,6 @@ class account_move_line(osv.osv):
|
|||
move_obj.validate(cr, uid, move_ids, context=context)
|
||||
return result
|
||||
|
||||
def _check_date(self, cr, uid, vals, context=None, check=True):
|
||||
if context is None:
|
||||
context = {}
|
||||
move_obj = self.pool.get('account.move')
|
||||
journal_obj = self.pool.get('account.journal')
|
||||
period_obj = self.pool.get('account.period')
|
||||
journal_id = False
|
||||
if 'date' in vals.keys():
|
||||
if 'journal_id' in vals and 'journal_id' not in context:
|
||||
journal_id = vals['journal_id']
|
||||
if 'period_id' in vals and 'period_id' not in context:
|
||||
period_id = vals['period_id']
|
||||
elif 'journal_id' not in context and 'move_id' in vals:
|
||||
if vals.get('move_id', False):
|
||||
m = move_obj.browse(cr, uid, vals['move_id'])
|
||||
journal_id = m.journal_id.id
|
||||
period_id = m.period_id.id
|
||||
else:
|
||||
journal_id = context.get('journal_id', False)
|
||||
period_id = context.get('period_id', False)
|
||||
if journal_id:
|
||||
journal = journal_obj.browse(cr, uid, journal_id, context=context)
|
||||
if journal.allow_date and period_id:
|
||||
period = period_obj.browse(cr, uid, period_id, context=context)
|
||||
if not time.strptime(vals['date'][:10],'%Y-%m-%d') >= time.strptime(period.date_start, '%Y-%m-%d') or not time.strptime(vals['date'][:10], '%Y-%m-%d') <= time.strptime(period.date_stop, '%Y-%m-%d'):
|
||||
raise osv.except_osv(_('Error'),_('The date of your Journal Entry is not in the defined period!'))
|
||||
else:
|
||||
return True
|
||||
|
||||
def write(self, cr, uid, ids, vals, context=None, check=True, update_check=True):
|
||||
if context is None:
|
||||
context={}
|
||||
|
@ -1137,7 +1116,6 @@ class account_move_line(osv.osv):
|
|||
ids = [ids]
|
||||
if vals.get('account_tax_id', False):
|
||||
raise osv.except_osv(_('Unable to change tax !'), _('You can not change the tax, you should remove and recreate lines !'))
|
||||
self._check_date(cr, uid, vals, context, check)
|
||||
if ('account_id' in vals) and not account_obj.read(cr, uid, vals['account_id'], ['active'])['active']:
|
||||
raise osv.except_osv(_('Bad account!'), _('You can not use an inactive account!'))
|
||||
if update_check:
|
||||
|
@ -1221,7 +1199,6 @@ class account_move_line(osv.osv):
|
|||
company_id = self.pool.get('account.move').read(cr, uid, vals['move_id'], ['company_id']).get('company_id', False)
|
||||
if company_id:
|
||||
vals['company_id'] = company_id[0]
|
||||
self._check_date(cr, uid, vals, context, check)
|
||||
if ('account_id' in vals) and not account_obj.read(cr, uid, vals['account_id'], ['active'])['active']:
|
||||
raise osv.except_osv(_('Bad account!'), _('You can not use an inactive account!'))
|
||||
if 'journal_id' in vals:
|
||||
|
@ -1232,7 +1209,6 @@ class account_move_line(osv.osv):
|
|||
m = move_obj.browse(cr, uid, vals['move_id'])
|
||||
context['journal_id'] = m.journal_id.id
|
||||
context['period_id'] = m.period_id.id
|
||||
|
||||
self._update_journal_check(cr, uid, context['journal_id'], context['period_id'], context)
|
||||
move_id = vals.get('move_id', False)
|
||||
journal = journal_obj.browse(cr, uid, context['journal_id'], context=context)
|
||||
|
|
|
@ -451,8 +451,6 @@ msgstr ""
|
|||
#: field:account.move.bank.reconcile,journal_id:0
|
||||
#: view:account.move.line:0
|
||||
#: field:account.move.line,journal_id:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: code:addons/account/account_move_line.py:983
|
||||
#: view:analytic.entries.report:0
|
||||
#: field:analytic.entries.report,journal_id:0
|
||||
|
@ -1071,6 +1069,7 @@ msgstr ""
|
|||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.tax.code.entries:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
|
@ -1258,6 +1257,16 @@ msgstr ""
|
|||
#: selection:account.partner.balance,display_partner:0
|
||||
#: selection:account.pl.report,display_account:0
|
||||
#: selection:account.report.general.ledger,display_account:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "With balance is not equal to 0"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1980,6 +1989,9 @@ msgstr ""
|
|||
#. module: account
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.print.journal,sort_selection:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
|
||||
msgid "Entries Sorted By"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2001,11 +2013,16 @@ msgstr ""
|
|||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: view:account.entries.report:0
|
||||
#: field:account.entries.report,fiscalyear_id:0
|
||||
#: field:account.fiscalyear,name:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: field:account.journal.period,fiscalyear_id:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
|
@ -2305,6 +2322,7 @@ msgstr ""
|
|||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.overdue:0
|
||||
#: report:account.third_party_ledger:0
|
||||
|
@ -2537,6 +2555,8 @@ msgstr ""
|
|||
#. module: account
|
||||
#: view:account.pl.report:0
|
||||
#: model:ir.ui.menu,name:account.menu_account_pl_report
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Profit And Loss"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2786,7 +2806,6 @@ msgstr ""
|
|||
#: report:account.general.journal:0
|
||||
#: field:account.general.journal,journal_ids:0
|
||||
#: view:account.journal.period:0
|
||||
#: report:account.partner.balance:0
|
||||
#: field:account.partner.balance,journal_ids:0
|
||||
#: field:account.partner.ledger,journal_ids:0
|
||||
#: field:account.pl.report,journal_ids:0
|
||||
|
@ -2800,6 +2819,17 @@ msgstr ""
|
|||
#: model:ir.ui.menu,name:account.menu_action_account_journal_form
|
||||
#: model:ir.ui.menu,name:account.menu_journals
|
||||
#: model:ir.ui.menu,name:account.menu_journals_report
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Journals"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3001,6 +3031,7 @@ msgstr ""
|
|||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
msgid "Counterpart"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3477,11 +3508,10 @@ msgid "Analytic Balance"
|
|||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/report/account_balance_sheet.py:76
|
||||
#: code:addons/account/report/account_balance_sheet.py:122
|
||||
#: code:addons/account/report/account_profit_loss.py:76
|
||||
#: code:addons/account/report/account_profit_loss.py:124
|
||||
#, python-format
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Net Loss"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4267,7 +4297,6 @@ msgid "Analytic Balance -"
|
|||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: field:account.aged.trial.balance,target_move:0
|
||||
#: field:account.balance.report,target_move:0
|
||||
#: field:account.bs.report,target_move:0
|
||||
|
@ -4280,10 +4309,8 @@ msgstr ""
|
|||
#: field:account.common.report,target_move:0
|
||||
#: report:account.general.journal:0
|
||||
#: field:account.general.journal,target_move:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.move.journal,target_move:0
|
||||
#: report:account.partner.balance:0
|
||||
#: field:account.partner.balance,target_move:0
|
||||
#: field:account.partner.ledger,target_move:0
|
||||
#: field:account.pl.report,target_move:0
|
||||
|
@ -4293,6 +4320,16 @@ msgstr ""
|
|||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: field:account.vat.declaration,target_move:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Target Moves"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4408,6 +4445,8 @@ msgstr ""
|
|||
#: view:account.bs.report:0
|
||||
#: model:ir.actions.act_window,name:account.action_account_bs_report
|
||||
#: model:ir.ui.menu,name:account.menu_account_bs_report
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Balance Sheet"
|
||||
msgstr ""
|
||||
|
||||
|
@ -5081,6 +5120,19 @@ msgstr ""
|
|||
#. module: account
|
||||
#: code:addons/account/report/common_report_header.py:100
|
||||
#, python-format
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
msgid "No Filter"
|
||||
msgstr ""
|
||||
|
||||
|
@ -5938,6 +5990,7 @@ msgstr ""
|
|||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: view:account.report.general.ledger:0
|
||||
#: model:ir.actions.act_window,name:account.action_account_general_ledger_menu
|
||||
#: model:ir.actions.report.xml,name:account.account_general_ledger
|
||||
|
@ -6756,6 +6809,7 @@ msgstr ""
|
|||
#: view:account.entries.report:0
|
||||
#: field:account.entries.report,partner_id:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: view:account.invoice:0
|
||||
#: field:account.invoice,partner_id:0
|
||||
#: field:account.invoice.line,partner_id:0
|
||||
|
@ -6997,6 +7051,19 @@ msgstr ""
|
|||
#: field:account.tax.chart,period_id:0
|
||||
#: code:addons/account/account_move_line.py:982
|
||||
#: field:validate.account.move,period_id:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
#, python-format
|
||||
msgid "Period"
|
||||
msgstr ""
|
||||
|
@ -7068,11 +7135,17 @@ msgid "Company Currency"
|
|||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
msgid "Chart of Account"
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Chart of Accounts"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
|
@ -7181,6 +7254,12 @@ msgstr ""
|
|||
#: report:account.central.journal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Filter By"
|
||||
msgstr ""
|
||||
|
||||
|
@ -7405,6 +7484,7 @@ msgstr ""
|
|||
#: field:account.entries.report,currency_id:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: field:account.invoice,currency_id:0
|
||||
#: field:account.invoice.report,currency_id:0
|
||||
#: field:account.journal,currency:0
|
||||
|
@ -7658,12 +7738,17 @@ msgstr ""
|
|||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Start Period"
|
||||
msgstr ""
|
||||
|
||||
|
@ -7775,7 +7860,12 @@ msgstr ""
|
|||
#: report:account.central.journal:0
|
||||
#: field:account.entries.report,balance:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: field:account.move.line,balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: selection:account.payment.term.line,value:0
|
||||
|
@ -7794,6 +7884,15 @@ msgstr ""
|
|||
|
||||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Display Account"
|
||||
msgstr ""
|
||||
|
||||
|
@ -7991,12 +8090,17 @@ msgstr ""
|
|||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "End Period"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8186,6 +8290,7 @@ msgstr ""
|
|||
#: field:account.entries.report,credit:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.model.line,credit:0
|
||||
#: field:account.move.line,credit:0
|
||||
|
@ -8262,6 +8367,18 @@ msgstr ""
|
|||
#: selection:account.pl.report,filter:0
|
||||
#: selection:account.print.journal,filter:0
|
||||
#: selection:account.report.general.ledger,filter:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: view:account.vat.declaration:0
|
||||
#: selection:account.vat.declaration,filter:0
|
||||
|
@ -8463,13 +8580,10 @@ msgid "Tax Source"
|
|||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/report/account_balance_sheet.py:71
|
||||
#: code:addons/account/report/account_balance_sheet.py:116
|
||||
#: code:addons/account/report/account_balance_sheet.py:119
|
||||
#: code:addons/account/report/account_balance_sheet.py:120
|
||||
#: code:addons/account/report/account_profit_loss.py:71
|
||||
#: code:addons/account/report/account_profit_loss.py:127
|
||||
#, python-format
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Net Profit"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8493,7 +8607,7 @@ msgstr ""
|
|||
#: report:account.general.ledger:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
msgid "JNRL"
|
||||
msgid "JRNL"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
|
@ -8695,6 +8809,7 @@ msgstr ""
|
|||
#: field:account.entries.report,debit:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.model.line,debit:0
|
||||
#: field:account.move.line,debit:0
|
||||
|
@ -8764,6 +8879,16 @@ msgstr ""
|
|||
#: selection:account.common.account.report,display_account:0
|
||||
#: selection:account.pl.report,display_account:0
|
||||
#: selection:account.report.general.ledger,display_account:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "With movements"
|
||||
msgstr ""
|
||||
|
||||
|
@ -9115,3 +9240,14 @@ msgstr ""
|
|||
msgid "The residual amount on a receivable or payable of a journal entry expressed in its currency (maybe different of the company currency)."
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Assets"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Liabilities"
|
||||
msgstr ""
|
|
@ -1435,6 +1435,16 @@ msgstr "Vous ne pouvez pas utiliser ce compte général dans ce journal !"
|
|||
#: selection:account.partner.balance,display_partner:0
|
||||
#: selection:account.pl.report,display_account:0
|
||||
#: selection:account.report.general.ledger,display_account:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "With balance is not equal to 0"
|
||||
msgstr "Avec la balance qui n'est pas égale à 0"
|
||||
|
||||
|
@ -2251,6 +2261,8 @@ msgstr "Propriétés des comptes"
|
|||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.print.journal,sort_selection:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
msgid "Entries Sorted By"
|
||||
msgstr "Écritures triées par"
|
||||
|
||||
|
@ -2272,12 +2284,16 @@ msgstr "Modèle de produit"
|
|||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: view:account.entries.report:0
|
||||
#: field:account.entries.report,fiscalyear_id:0
|
||||
#: field:account.fiscalyear,name:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: field:account.journal.period,fiscalyear_id:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
|
@ -2887,8 +2903,10 @@ msgstr "Comptabilité financière"
|
|||
#. module: account
|
||||
#: view:account.pl.report:0
|
||||
#: model:ir.ui.menu,name:account.menu_account_pl_report
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Profit And Loss"
|
||||
msgstr "Pertes et profits"
|
||||
msgstr "Compte de résultat"
|
||||
|
||||
#. module: account
|
||||
#: view:account.fiscal.position:0
|
||||
|
@ -3168,7 +3186,6 @@ msgstr "Laisser vide pour utiliser le compte de dépense"
|
|||
#: field:account.general.journal,journal_ids:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: view:account.journal.period:0
|
||||
#: report:account.partner.balance:0
|
||||
#: field:account.partner.balance,journal_ids:0
|
||||
#: field:account.partner.ledger,journal_ids:0
|
||||
#: field:account.pl.report,journal_ids:0
|
||||
|
@ -3182,6 +3199,17 @@ msgstr "Laisser vide pour utiliser le compte de dépense"
|
|||
#: model:ir.ui.menu,name:account.menu_action_account_journal_form
|
||||
#: model:ir.ui.menu,name:account.menu_journals
|
||||
#: model:ir.ui.menu,name:account.menu_journals_report
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Journals"
|
||||
msgstr "Journaux"
|
||||
|
||||
|
@ -3920,11 +3948,10 @@ msgid "Analytic Balance"
|
|||
msgstr "Balance analytique"
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/report/account_balance_sheet.py:76
|
||||
#: code:addons/account/report/account_balance_sheet.py:122
|
||||
#: code:addons/account/report/account_profit_loss.py:76
|
||||
#: code:addons/account/report/account_profit_loss.py:124
|
||||
#, python-format
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Net Loss"
|
||||
msgstr "Perte nette"
|
||||
|
||||
|
@ -4776,7 +4803,6 @@ msgid "Analytic Balance -"
|
|||
msgstr "Balance Analytique -"
|
||||
|
||||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: field:account.aged.trial.balance,target_move:0
|
||||
#: field:account.balance.report,target_move:0
|
||||
#: field:account.bs.report,target_move:0
|
||||
|
@ -4789,11 +4815,8 @@ msgstr "Balance Analytique -"
|
|||
#: field:account.common.report,target_move:0
|
||||
#: report:account.general.journal:0
|
||||
#: field:account.general.journal,target_move:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: field:account.move.journal,target_move:0
|
||||
#: report:account.partner.balance:0
|
||||
#: field:account.partner.balance,target_move:0
|
||||
#: field:account.partner.ledger,target_move:0
|
||||
#: field:account.pl.report,target_move:0
|
||||
|
@ -4803,11 +4826,16 @@ msgstr "Balance Analytique -"
|
|||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: field:account.vat.declaration,target_move:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:account.aged_trial_balance:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Target Moves"
|
||||
msgstr "Mouvements Cibles"
|
||||
|
||||
|
@ -4924,8 +4952,8 @@ msgstr "Résultat du lettrage"
|
|||
#: view:account.bs.report:0
|
||||
#: model:ir.actions.act_window,name:account.action_account_bs_report
|
||||
#: model:ir.ui.menu,name:account.menu_account_bs_report
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Balance Sheet"
|
||||
msgstr "Bilan"
|
||||
|
||||
|
@ -5642,6 +5670,16 @@ msgstr "La nouvelle devise n'est pas correctement paramétrée !"
|
|||
#: field:account.print.journal,filter:0
|
||||
#: field:account.report.general.ledger,filter:0
|
||||
#: field:account.vat.declaration,filter:0
|
||||
#: field:account.account.balance,filter:0
|
||||
#: field:account.central.journal,filter:0
|
||||
#: field:account.general.journal,filter:0
|
||||
#: field:account.partner.balance,filter:0
|
||||
#: field:account.balancesheet,filter:0
|
||||
#: field:account.balancesheet.horizontal,filter:0
|
||||
#: field:account.general.ledger,filter:0
|
||||
#: field:account.general.ledger_landscape,filter:0
|
||||
#: field:pl.account,filter:0
|
||||
#: field:pl.account.horizontal,filter:0
|
||||
msgid "Filter by"
|
||||
msgstr "Filtrer par"
|
||||
|
||||
|
@ -5673,6 +5711,19 @@ msgstr "Journal général de comptabilité"
|
|||
#. module: account
|
||||
#: code:addons/account/report/common_report_header.py:100
|
||||
#, python-format
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
msgid "No Filter"
|
||||
msgstr "Pas de filtre"
|
||||
|
||||
|
@ -7925,6 +7976,19 @@ msgstr "Gestion de la comptabilité et des finances"
|
|||
#: field:account.tax.chart,period_id:0
|
||||
#: code:addons/account/account_move_line.py:982
|
||||
#: field:validate.account.move,period_id:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
#, python-format
|
||||
msgid "Period"
|
||||
msgstr "Période"
|
||||
|
@ -8021,16 +8085,17 @@ msgid "Company Currency"
|
|||
msgstr "Devise société"
|
||||
|
||||
#. module: account
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:account.aged_trial_balance:0
|
||||
msgid "Chart of Account"
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Chart of Accounts"
|
||||
msgstr "Plan comptable"
|
||||
|
||||
#. module: account
|
||||
|
@ -8151,10 +8216,12 @@ msgstr "Journal d'avoirs"
|
|||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Filter By"
|
||||
msgstr "Filtré par"
|
||||
|
||||
|
@ -8724,15 +8791,19 @@ msgstr "Gestion des suivis"
|
|||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Start Period"
|
||||
msgstr "Démarrer la période"
|
||||
msgstr "Période de début"
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/account.py:2357
|
||||
|
@ -8859,8 +8930,12 @@ msgstr "Laisser vide pour utiliser le compte de revenu"
|
|||
#: report:account.central.journal:0
|
||||
#: field:account.entries.report,balance:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: field:account.move.line,balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: selection:account.payment.term.line,value:0
|
||||
|
@ -8874,7 +8949,7 @@ msgstr "Laisser vide pour utiliser le compte de revenu"
|
|||
#: report:pl.account.horizontal:0
|
||||
#: report:pl.account:0
|
||||
msgid "Balance"
|
||||
msgstr "Solde de la balance"
|
||||
msgstr "Balance"
|
||||
|
||||
#. module: account
|
||||
#: model:process.node,note:account.process_node_supplierbankstatement0
|
||||
|
@ -8883,11 +8958,15 @@ msgstr "Saisi manuellement ou automatiquement dans le système"
|
|||
|
||||
#. module: account
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Display Account"
|
||||
msgstr "Afficher le compte"
|
||||
|
||||
|
@ -9116,15 +9195,19 @@ msgstr "Solde analytique"
|
|||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:account.journal.period.print:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "End Period"
|
||||
msgstr "Fin de période"
|
||||
msgstr "Période de fin"
|
||||
|
||||
#. module: account
|
||||
#: field:account.aged.trial.balance,chart_account_id:0
|
||||
|
@ -9429,6 +9512,18 @@ msgstr "Général"
|
|||
#: selection:account.pl.report,filter:0
|
||||
#: selection:account.print.journal,filter:0
|
||||
#: selection:account.report.general.ledger,filter:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.central.journal:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.journal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
#: report:account.vat.declaration:0
|
||||
#: view:account.vat.declaration:0
|
||||
#: selection:account.vat.declaration,filter:0
|
||||
|
@ -9647,13 +9742,10 @@ msgid "Tax Source"
|
|||
msgstr "Base de la taxe"
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/report/account_balance_sheet.py:71
|
||||
#: code:addons/account/report/account_balance_sheet.py:116
|
||||
#: code:addons/account/report/account_balance_sheet.py:119
|
||||
#: code:addons/account/report/account_balance_sheet.py:120
|
||||
#: code:addons/account/report/account_profit_loss.py:71
|
||||
#: code:addons/account/report/account_profit_loss.py:127
|
||||
#, python-format
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "Net Profit"
|
||||
msgstr "Profit net"
|
||||
|
||||
|
@ -9973,6 +10065,16 @@ msgstr ""
|
|||
#: selection:account.common.account.report,display_account:0
|
||||
#: selection:account.pl.report,display_account:0
|
||||
#: selection:account.report.general.ledger,display_account:0
|
||||
#: report:account.account.balance:0
|
||||
#: report:account.partner.balance:0
|
||||
#: report:account.third_party_ledger:0
|
||||
#: report:account.third_party_ledger_other:0
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
#: report:account.general.ledger:0
|
||||
#: report:account.general.ledger_landscape:0
|
||||
#: report:pl.account:0
|
||||
#: report:pl.account.horizontal:0
|
||||
msgid "With movements"
|
||||
msgstr "Avec mouvements"
|
||||
|
||||
|
@ -10365,6 +10467,24 @@ msgstr ""
|
|||
"exprimée dans la devise du journal (si elle est différente de la devise de "
|
||||
"la société)"
|
||||
|
||||
#. module: account
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Assets"
|
||||
msgstr "Actif"
|
||||
|
||||
#. module: account
|
||||
#: report:account.balancesheet:0
|
||||
#: report:account.balancesheet.horizontal:0
|
||||
msgid "Liabilities"
|
||||
msgstr "Passif"
|
||||
|
||||
#~ msgid "Keep empty to use the period of the validation date."
|
||||
#~ msgstr "Laissez vide pour utiliser la période de la date de validation"
|
||||
|
||||
#~ msgid "Error! You can not create recursive account."
|
||||
#~ msgstr "Erreur! Vous ne pouvez pas créer de comptes récursifs"
|
||||
|
||||
#~ msgid "Aged Trial Balance"
|
||||
#~ msgstr "Balance Agée"
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
<blockTable colWidths="110.0,110.0,110.0,110.0,128.0,93.0,110.0" style="Table8">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Account</para>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Accounts</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
|
|
|
@ -212,7 +212,7 @@
|
|||
<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>
|
||||
<para style="terp_tblheader_General_Centre"> [[ data['model']=='ir.ui.menu' and 'Chart of Accounts' or removeParentNode('para') ]]</para></td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
</td>
|
||||
|
|
|
@ -172,9 +172,9 @@
|
|||
</para>
|
||||
<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">Chart of Accounts</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">Target Moves</para></td>
|
||||
</tr>
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
|
||||
<blockTable colWidths="250.0,100.0,150.0,120.0,150.0" style="Table2_header" >
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Accounts</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</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>
|
||||
|
@ -196,28 +196,40 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_default_9"><font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font><font>[[ a['code1'] ]]</font></para>
|
||||
<para style="terp_default_9">
|
||||
<font>[[ repeatIn(get_lines(),'a' ) ]] </font>[[ a['code1'] ]]<font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_9"><font color="white">[[ '. '*(a['level1']-1) ]]</font><font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name1'] ]]</font></para>
|
||||
<para style="terp_default_9">
|
||||
<font color="white">[[ '. '*(a['level1']-1) ]]</font><font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name1'] ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Right_9"><font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font><font>[[ formatLang(a['balance1']) ]] [[ company.currency_id.symbol ]]</font></para>
|
||||
<para style="terp_default_Right_9">
|
||||
<font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font><font>[[ formatLang(a['balance1']) ]] [[ company.currency_id.symbol ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_9"><font face="Times-Roman">[[ repeatIn(get_lines(), 'a') ]]</font> <font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font><font>[[ a['code'] ]]</font><font>[[ a['name']=='Net Profit' and setTag('para','para',{'style':'terp_default_Bold_9'}) or removeParentNode('font') ]]</font></para>
|
||||
<para style="terp_default_9">
|
||||
[[ a['code'] ]]<font>[[ ( a['level']<4 or a['name']=='Net Profit') and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_9"><font color="white">[[ '. '*(a['level']-1) ]]</font><font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name'] ]]</font><font>[[ a['name']=='Net Profit' and setTag('para','para',{'style':'terp_default_Bold_9'}) or removeParentNode('font') ]]</font></para>
|
||||
<para style="terp_default_9">
|
||||
<font color="white">[[ '. '*(a['level']-1) ]]</font>
|
||||
<font>[[ (a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) and a['name']!='Net Profit') or removeParentNode('font') ]][[ a['name'] ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Right_9"><font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font>
|
||||
<font>[[ a['name']=='Net Profit' and setTag('para','para',{'style':'terp_default_Right_9_Bold'}) or removeParentNode('font') ]]</font>
|
||||
<font> [[(a['code'] and a['name']) and formatLang(a['balance']) or removeParentNode('font')]] [[ company.currency_id.symbol ]]</font></para>
|
||||
<para style="terp_default_Right_9">
|
||||
<font>[[ ( a['level']<4 or a['name']=='Net Profit') and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font>
|
||||
<font>[[(a['code'] and a['name']) and formatLang(a['balance']) or removeParentNode('font')]] [[ company.currency_id.symbol ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="290.16,100.32,290.16,100.32" style="Table_Net_Profit_Loss">
|
||||
</tr>
|
||||
</blockTable>
|
||||
<blockTable colWidths="290.16,100.32,290.16,100.32" style="Table_Net_Profit_Loss">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">Balance:</para>
|
||||
|
|
|
@ -235,8 +235,7 @@
|
|||
</blockTable>
|
||||
<blockTable colWidths="130.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>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Accounts</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Journal</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filter By [[get_filter(data)!='No Filter' and get_filter(data) ]]</para></td>
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
<blockTable colWidths="80.0,100,80.0,150.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>
|
||||
<para style="terp_tblheader_General_Centre"> [[ data['model']=='ir.ui.menu' and 'Chart of Accounts' or removeParentNode('para') ]]</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Journals</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filter By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para></td>
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">Partner</para>
|
||||
|
@ -304,7 +304,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">Partner</para>
|
||||
|
@ -344,16 +344,16 @@
|
|||
<blockTable colWidths="102.0,102.0,102.0,130.0,102.0" style="Table13">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Account</para>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Accounts</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Journal</para>
|
||||
<para style="terp_tblheader_General_Centre">Journals</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Filters By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para>
|
||||
<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">Target Moves</para>
|
||||
|
@ -431,7 +431,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">Partner</para>
|
||||
|
@ -530,7 +530,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">Partner</para>
|
||||
|
|
|
@ -361,7 +361,7 @@
|
|||
<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>
|
||||
<para style="terp_tblheader_General_Centre">[[ data['model']=='ir.ui.menu' and 'Chart of Accounts' or removeParentNode('para') ]]</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
<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>
|
||||
<para style="terp_tblheader_General_Centre">[[ data['model']=='ir.ui.menu' and 'Chart of Accounts' or removeParentNode('para') ]]</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Journal</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filters By </para></td>
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
</para>
|
||||
<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">Chart of Accounts</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Journals</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Filter By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para></td>
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -308,7 +308,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -346,13 +346,13 @@
|
|||
<blockTable colWidths="82.0,82.0,82.0,128.0,82.0,82.0" style="Table1">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Account</para>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Accounts</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Journal</para>
|
||||
<para style="terp_tblheader_General_Centre">Journals</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Filters By [[ data['form']['filter'] not in ('filter_no','unreconciled') and get_filter(data) ]]</para>
|
||||
|
@ -443,7 +443,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -544,7 +544,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
|
|
@ -281,7 +281,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -310,7 +310,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -347,13 +347,13 @@
|
|||
<blockTable colWidths="82.0,82.0,82.0,128.0,82.0,82.0" style="Table1">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Account</para>
|
||||
<para style="terp_tblheader_General_Centre">Chart of Accounts</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Fiscal Year</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Journal</para>
|
||||
<para style="terp_tblheader_General_Centre">Journals</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_General_Centre">Filters By [[ data['form']['filter'] not in ('filter_no','unreconciled') and get_filter(data) ]]</para>
|
||||
|
@ -441,7 +441,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
@ -546,7 +546,7 @@
|
|||
<para style="terp_tblheader_Details">Date</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details">JNRL</para>
|
||||
<para style="terp_tblheader_Details">JRNL</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Centre">Ref</para>
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
<para style="P2">[[ get_data(data) or removeParentNode('para')]]</para>
|
||||
<blockTable colWidths="250.0,100.0,150.0,120.0,150.0" style="Table2_header">
|
||||
<tr>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Account </para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Chart of Accounts</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</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>
|
||||
|
@ -193,7 +193,7 @@
|
|||
<para style="terp_default_Bold_9">Code</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">Particular</para>
|
||||
<para style="terp_default_Bold_9">Expenses</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_tblheader_Details_Right">Balance</para>
|
||||
|
@ -202,7 +202,7 @@
|
|||
<para style="terp_default_Bold_9">Code</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">Particular</para>
|
||||
<para style="terp_default_Bold_9">Income</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="P1">Balance</para>
|
||||
|
@ -212,7 +212,7 @@
|
|||
<td>
|
||||
<para style="terp_default_9">
|
||||
|
||||
<font face="Times-Roman">[[ repeatIn(get_lines(),'a' ) ]] </font>[[ a['code'] ]]<font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font>
|
||||
<font>[[ repeatIn(get_lines(),'a' ) ]] </font>[[ a['code'] ]]<font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]]</font>
|
||||
</para>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -234,7 +234,7 @@
|
|||
</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Right_9"><font>[[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font><font>[[(a['code1'] and a['name1']) and formatLang(abs(a['balance1'])) or removeParentNode('font') ]] [[ company.currency_id.symbol ]]</font></para>
|
||||
<para style="terp_default_Right_9"><font>[[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]]</font><font>[[(a['code1'] and a['name1']) and formatLang(abs(a['balance1'])) or removeParentNode('font') ]] [[ company.currency_id.symbol ]]</font></para>
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
</para>
|
||||
<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">Chart of Accounts</para></td>
|
||||
<td><para style="terp_tblheader_General_Centre">Fiscal Year</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>
|
||||
|
|
|
@ -94,10 +94,10 @@ class common_report_header(object):
|
|||
def _get_filter(self, data):
|
||||
if data.get('form', False) and data['form'].get('filter', False):
|
||||
if data['form']['filter'] == 'filter_date':
|
||||
return _('Date')
|
||||
return 'Date'
|
||||
elif data['form']['filter'] == 'filter_period':
|
||||
return _('Periods')
|
||||
return _('No Filter')
|
||||
return 'Periods'
|
||||
return 'No Filter'
|
||||
|
||||
def _sum_debit_period(self, period_id, journal_id=None):
|
||||
journals = journal_id or self.journal_ids
|
||||
|
|
|
@ -112,6 +112,12 @@ class account_asset_asset(osv.osv):
|
|||
amount = (amount_to_depr / asset.method_number) / total_days * (total_days - days)
|
||||
elif asset.method == 'degressive':
|
||||
amount = residual_amount * asset.method_progress_factor
|
||||
if asset.prorata:
|
||||
days = total_days - float(depreciation_date.strftime('%j'))
|
||||
if i == 1:
|
||||
amount = (residual_amount * asset.method_progress_factor) / total_days * days
|
||||
elif i == undone_dotation_number:
|
||||
amount = (residual_amount * asset.method_progress_factor) / total_days * (total_days - days)
|
||||
return amount
|
||||
|
||||
def _compute_board_undone_dotation_nb(self, cr, uid, asset, depreciation_date, total_days, context=None):
|
||||
|
@ -242,13 +248,13 @@ class account_asset_asset(osv.osv):
|
|||
|
||||
def _check_prorata(self, cr, uid, ids, context=None):
|
||||
for asset in self.browse(cr, uid, ids, context=context):
|
||||
if asset.prorata and (asset.method != 'linear' or asset.method_time != 'number'):
|
||||
if asset.prorata and asset.method_time != 'number':
|
||||
return False
|
||||
return True
|
||||
|
||||
_constraints = [
|
||||
(_check_recursion, 'Error ! You can not create recursive assets.', ['parent_id']),
|
||||
(_check_prorata, 'Prorata temporis can be applied only for computation method "linear" and time method "number of depreciations".', ['prorata']),
|
||||
(_check_prorata, 'Prorata temporis can be applied only for time method "number of depreciations".', ['prorata']),
|
||||
]
|
||||
|
||||
def onchange_category_id(self, cr, uid, ids, category_id, context=None):
|
||||
|
@ -267,9 +273,9 @@ class account_asset_asset(osv.osv):
|
|||
}
|
||||
return res
|
||||
|
||||
def onchange_method_time(self, cr, uid, ids, method='linear', method_time='number', context=None):
|
||||
def onchange_method_time(self, cr, uid, ids, method_time='number', context=None):
|
||||
res = {'value': {}}
|
||||
if method != 'linear' or method_time != 'number':
|
||||
if method_time != 'number':
|
||||
res['value'] = {'prorata': False}
|
||||
return res
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<separator string="Depreciation Method" colspan="2"/>
|
||||
<field name="method"/>
|
||||
<field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/>
|
||||
<field name="prorata" attrs="{'invisible':[('method','<>','linear')]}"/>
|
||||
<field name="prorata"/>
|
||||
<field name="open_asset"/>
|
||||
</group>
|
||||
<group col="2" colspan="2" groups="analytic.group_analytic_accounting">
|
||||
|
@ -109,9 +109,9 @@
|
|||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Depreciation Method" colspan="2"/>
|
||||
<field name="method" on_change="onchange_method_time(method)"/>
|
||||
<field name="method"/>
|
||||
<field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/>
|
||||
<field name="prorata" attrs="{'invisible': ['|',('method_time','=','end'),('method','!=','linear')]}"/>
|
||||
<field name="prorata" attrs="{'invisible': [('method_time','=','end')]}"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<separator string="" colspan="4"/>
|
||||
|
|
|
@ -0,0 +1,505 @@
|
|||
# Slovenian translation for openobject-addons
|
||||
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2011-01-11 11:14+0000\n"
|
||||
"PO-Revision-Date: 2011-09-15 06:14+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: 2011-09-16 04:36+0000\n"
|
||||
"X-Generator: Launchpad (build 13955)\n"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_mail_to_user:0
|
||||
msgid ""
|
||||
"Check this if you want the rule to send an email to the responsible person."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_remind_partner:0
|
||||
msgid "Remind Partner"
|
||||
msgstr "Opomni partnerja"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_partner_categ_id:0
|
||||
msgid "Partner Category"
|
||||
msgstr "Kategorija partnerja"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_mail_to_watchers:0
|
||||
msgid "Mail to Watchers (CC)"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_state_to:0
|
||||
msgid "Button Pressed"
|
||||
msgstr "Pritisnjeni gumb"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,model_id:0
|
||||
msgid "Object"
|
||||
msgstr "Predmet"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_mail_to_email:0
|
||||
msgid "Mail to these Emails"
|
||||
msgstr "Sporočila na te e-pošte"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_state:0
|
||||
msgid "Set State to"
|
||||
msgstr "Nastavi stanje na"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_email_from:0
|
||||
msgid "Email From"
|
||||
msgstr "E-pošta od"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Email Body"
|
||||
msgstr "Vsebina e-pošte"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_range_type:0
|
||||
msgid "Days"
|
||||
msgstr "Dnevi"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,last_run:0
|
||||
msgid "Last Run"
|
||||
msgstr "Zadnji zagon"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: code:addons/base_action_rule/base_action_rule.py:313
|
||||
#, python-format
|
||||
msgid "Error!"
|
||||
msgstr "Napaka!"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_reply_to:0
|
||||
msgid "Reply-To"
|
||||
msgstr "Odgovori-na"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_email_cc:0
|
||||
msgid ""
|
||||
"These people will receive a copy of the future communication between partner "
|
||||
"and users by email"
|
||||
msgstr ""
|
||||
"Ti ljudje bodo prejeli kopijo bodočih komunikacij med partnerjem in "
|
||||
"uporabniki po e-pošti"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_range_type:0
|
||||
msgid "Minutes"
|
||||
msgstr "Minute"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,name:0
|
||||
msgid "Rule Name"
|
||||
msgstr "Ime pravila"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_remind_partner:0
|
||||
msgid ""
|
||||
"Check this if you want the rule to send a reminder by email to the partner."
|
||||
msgstr ""
|
||||
"Označite to, če želite da pravilo pošlje opomnik po e-pošti partnerju."
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Conditions on Model Partner"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_type:0
|
||||
msgid "Deadline"
|
||||
msgstr "Rok"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_partner_id:0
|
||||
msgid "Partner"
|
||||
msgstr "Stranka"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_subject)s = Object subject"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Email Reminders"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Special Keywords to Be Used in The Body"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_state_from:0
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: model:ir.actions.act_window,help:base_action_rule.base_action_rule_act
|
||||
msgid ""
|
||||
"Use automated actions to automatically trigger actions for various screens. "
|
||||
"Example: a lead created by a specific user may be automatically set to a "
|
||||
"specific sales team, or an opportunity which still has status pending after "
|
||||
"14 days might trigger an automatic reminder email."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_mail_to_email:0
|
||||
msgid "Email-id of the persons whom mail is to be sent"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
#: model:ir.module.module,shortdesc:base_action_rule.module_meta_information
|
||||
msgid "Action Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Fields to Change"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_type:0
|
||||
msgid "Creation Date"
|
||||
msgstr "Ustvarjeno dne"
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_type:0
|
||||
msgid "Last Action Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_range_type:0
|
||||
msgid "Hours"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_id)s = Object ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Delay After Trigger Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_remind_attach:0
|
||||
msgid "Remind with Attachment"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: constraint:ir.cron:0
|
||||
msgid "Invalid arguments"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_user_id:0
|
||||
msgid "Set Responsible to"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_type:0
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_email_to:0
|
||||
msgid ""
|
||||
"Use a python expression to specify the right field on which one than we will "
|
||||
"use for the 'To' field of the header"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_user_phone)s = Responsible phone"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid ""
|
||||
"The rule uses the AND operator. The model must match all non-empty fields so "
|
||||
"that the rule executes the action described in the 'Actions' tab."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_date_range_type:0
|
||||
msgid "Delay type"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,regex_name:0
|
||||
msgid ""
|
||||
"Regular expression for matching name of the resource\n"
|
||||
"e.g.: 'urgent.*' will search for records having name starting with the "
|
||||
"string 'urgent'\n"
|
||||
"Note: This is case sensitive search."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_method:0
|
||||
msgid "Call Object Method"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_email_to:0
|
||||
msgid "Email To"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_mail_to_watchers:0
|
||||
msgid ""
|
||||
"Check this if you want the rule to mark CC(mail to any other person defined "
|
||||
"in actions)."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(partner)s = Partner name"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Note"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_email_from:0
|
||||
msgid ""
|
||||
"Use a python expression to specify the right field on which one than we will "
|
||||
"use for the 'From' field of the header"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_date_range:0
|
||||
msgid "Delay after trigger date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Conditions"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,trg_date_range:0
|
||||
msgid ""
|
||||
"Delay After Trigger Date,specifies you can put a negative number. If you "
|
||||
"need a delay before the trigger date, like sending a reminder 15 minutes "
|
||||
"before a meeting."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,active:0
|
||||
msgid "Active"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: code:addons/base_action_rule/base_action_rule.py:314
|
||||
#, python-format
|
||||
msgid "No E-Mail ID Found for your Company address!"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_remind_user:0
|
||||
msgid "Remind Responsible"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: model:ir.module.module,description:base_action_rule.module_meta_information
|
||||
msgid "This module allows to implement action rules for any object."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,sequence:0
|
||||
msgid "Gives the sequence order when displaying a list of rules."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_range_type:0
|
||||
msgid "Months"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,filter_id:0
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: selection:base.action.rule,trg_date_type:0
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,server_action_id:0
|
||||
msgid ""
|
||||
"Describes the action name.\n"
|
||||
"eg:on which object which action to be taken on basis of which condition"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: model:ir.model,name:base_action_rule.model_ir_cron
|
||||
msgid "ir.cron"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_description)s = Object description"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: constraint:base.action.rule:0
|
||||
msgid "Error: The mail is not well formated"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Email Actions"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Email Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: model:ir.model,name:base_action_rule.model_base_action_rule
|
||||
msgid "Action Rules"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_mail_body:0
|
||||
msgid "Content of mail"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_user_id:0
|
||||
msgid "Responsible"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(partner_email)s = Partner Email"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_date)s = Creation date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_user_email)s = Responsible Email"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_mail_body:0
|
||||
msgid "Mail body"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_remind_user:0
|
||||
msgid ""
|
||||
"Check this if you want the rule to send a reminder by email to the user."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Server Action to be Triggered"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_mail_to_user:0
|
||||
msgid "Mail to Responsible"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,act_email_cc:0
|
||||
msgid "Add Watchers (Cc)"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Conditions on Model Fields"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: model:ir.actions.act_window,name:base_action_rule.base_action_rule_act
|
||||
#: model:ir.ui.menu,name:base_action_rule.menu_base_action_rule_form
|
||||
msgid "Automated Actions"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,server_action_id:0
|
||||
msgid "Server Action"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,regex_name:0
|
||||
msgid "Regex on Resource Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,act_remind_attach:0
|
||||
msgid ""
|
||||
"Check this if you want that all documents attached to the object be attached "
|
||||
"to the reminder email sent."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Conditions on Timing"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,sequence:0
|
||||
msgid "Sequence"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: help:base.action.rule,active:0
|
||||
msgid ""
|
||||
"If the active field is set to False, it will allow you to hide the rule "
|
||||
"without removing it."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "%(object_user)s = Responsible name"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,create_date:0
|
||||
msgid "Create Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: view:base.action.rule:0
|
||||
msgid "Conditions on States"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_action_rule
|
||||
#: field:base.action.rule,trg_date_type:0
|
||||
msgid "Trigger Date"
|
||||
msgstr ""
|
|
@ -170,7 +170,7 @@ class base_synchro(osv.osv_memory):
|
|||
#
|
||||
# If not synchronized, try to find it with name_get/name_search
|
||||
#
|
||||
names = pool_src.get(object).name_get(cr, uid, [id], context)[0][1]
|
||||
names = pool_src.get(object).name_get(cr, uid, [id])[0][1]
|
||||
res = pool_dest.get(object).name_search(cr, uid, names, [], 'like')
|
||||
if res:
|
||||
result = res[0][0]
|
||||
|
@ -189,7 +189,7 @@ class base_synchro(osv.osv_memory):
|
|||
def data_transform(self, cr, uid, pool_src, pool_dest, object, data, action='u', context=None):
|
||||
self.meta.setdefault(pool_src, {})
|
||||
if not object in self.meta[pool_src]:
|
||||
self.meta[pool_src][object] = pool_src.get(object).fields_get(cr, uid, context)
|
||||
self.meta[pool_src][object] = pool_src.get(object).fields_get(cr, uid)
|
||||
fields = self.meta[pool_src][object]
|
||||
|
||||
for f in fields:
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<field name="name">Base Synchronization</field>
|
||||
<field name="model">base.synchro</field>
|
||||
<field name="type">form</field>
|
||||
<field name="priority">1</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Transfer Data To Server">
|
||||
<field name="server_url" colspan="4"/>
|
||||
|
@ -29,19 +30,18 @@
|
|||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="next_id_62" name="Synchronization" parent="base.menu_administration"/>
|
||||
<record id="view_base_synchro_finish" model="ir.ui.view">
|
||||
<field name="name">Base Synchronization</field>
|
||||
<field name="model">base.synchro</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Synchronization Complited!">
|
||||
<form string="Synchronization Completed!">
|
||||
<label string="The synchronisation has been started.You will receive a request when it's done." colspan="4"/>
|
||||
<separator string="" colspan="4"/>
|
||||
<button special="cancel" string="OK" icon="gtk-ok"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
</record>
|
||||
|
||||
<menuitem id="next_id_62" name="Synchronization" parent="base.menu_administration"/>
|
||||
|
||||
|
|
|
@ -7,15 +7,20 @@
|
|||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Luc Latour'" name="partner_name"/>
|
||||
<field eval="'The Oil Company'" name="partner_name"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(726) 782-0636'" name="mobile"/>
|
||||
<field eval="'Luc Latour'" name="contact_name"/>
|
||||
<field name="title" ref="base.res_partner_title_sir"/>
|
||||
<field eval="'Training Manager'" name="function"/>
|
||||
<field eval="'Paris'" name="city"/>
|
||||
<field name="country_id" ref="base.fr"/>
|
||||
<field eval="'luc.latour@oilcompany.fr'" name="email_from"/>
|
||||
<field eval="'0033 621 782-0636'" name="mobile"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor6"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval="'The Oil Company'" name="name"/>
|
||||
<field eval="'(769) 703-274'" name="phone"/>
|
||||
<field eval="'Plan to Attend a Training'" name="name"/>
|
||||
<field eval="'0033 769 703-274'" name="phone"/>
|
||||
</record>
|
||||
|
||||
<record id="crm_case_electonicgoodsdealer0" model="crm.lead">
|
||||
|
@ -23,14 +28,20 @@
|
|||
<field eval="'4'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Marc Dufour'" name="partner_name"/>
|
||||
<field eval="'Le Club SARL'" name="partner_name"/>
|
||||
<field eval="'Marc Dufour'" name="contact_name"/>
|
||||
<field name="title" ref="base.res_partner_title_sir"/>
|
||||
<field eval="'Purchase Manager'" name="function"/>
|
||||
<field eval="'Bordeaux'" name="city"/>
|
||||
<field name="country_id" ref="base.fr"/>
|
||||
<field eval="'md@leclub.fr'" name="email_from"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(392) 895-7917'" name="mobile"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor2"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Le Club SARL'" name="name"/>
|
||||
<field eval="'Interest in Your New Product'" name="name"/>
|
||||
<field eval="'(956) 293-2595'" name="phone"/>
|
||||
</record>
|
||||
|
||||
|
@ -39,31 +50,36 @@
|
|||
<field eval="'2'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'Fabien Pinckaers'" name="partner_name"/>
|
||||
<field eval="'The Kompany'" name="partner_name"/>
|
||||
<field eval="'John Miller'" name="contact_name"/>
|
||||
<field eval="'New-York'" name="city"/>
|
||||
<field name="country_id" ref="base.us"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(820) 167-3208'" name="mobile"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor4"/>
|
||||
<field name="stage_id" ref="crm.stage_lead4"/>
|
||||
<field eval="'TheKompany'" name="name"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Need Info about Web Design'" name="name"/>
|
||||
<field eval="'(079) 681-2139'" name="phone"/>
|
||||
<field eval="'contact@tecsas.fr'" name="email_from"/>
|
||||
<field eval="'contact@thkompany.com'" name="email_from"/>
|
||||
</record>
|
||||
<record id="crm_case_qrecorp0" model="crm.lead">
|
||||
<field name="type_id" ref="crm.type_lead8"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Henry Mc Coy'" name="partner_name"/>
|
||||
<field eval="'The Gas Company'" name="partner_name"/>
|
||||
<field eval="'Henry Mc Coy'" name="contact_name"/>
|
||||
<field eval="'London'" name="city"/>
|
||||
<field name="country_id" ref="base.uk"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(077) 582-4035'" name="mobile"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor1"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval="'The Gas Company'" name="name"/>
|
||||
<field eval="'Need a New Website'" name="name"/>
|
||||
<field eval="'(514) 698-4118'" name="phone"/>
|
||||
<field eval="'hmc@thgascompany.com'" name="email_from"/>
|
||||
</record>
|
||||
|
||||
<record id="crm_case_itdeveloper0" model="crm.lead">
|
||||
|
@ -71,15 +87,20 @@
|
|||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Carrie Helle'" name="partner_name"/>
|
||||
<field eval="'Stonage IT'" name="partner_name"/>
|
||||
<field eval="'Carrie Helle'" name="contact_name"/>
|
||||
<field eval="'Purchase Manager'" name="function"/>
|
||||
<field eval="'Bruxelles'" name="city"/>
|
||||
<field name="country_id" ref="base.be"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(333) 715-1450'" name="mobile"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor6"/>
|
||||
<field name="stage_id" ref="crm.stage_lead3"/>
|
||||
<field eval="'Stonage IT'" name="name"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor1"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Need a Quotation for PC1'" name="name"/>
|
||||
<field eval="'(855) 924-4364'" name="phone"/>
|
||||
<field eval="'helle@stonageit.be'" name="email_from"/>
|
||||
</record>
|
||||
|
||||
<record id="crm_case_mgroperations0" model="crm.lead">
|
||||
|
@ -90,13 +111,17 @@
|
|||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Tina Pinero'" name="partner_name"/>
|
||||
<field eval="'Opensides'" name="partner_name"/>
|
||||
<field eval="'Tina Pinero'" name="contact_name"/>
|
||||
<field eval="'Consultant'" name="function"/>
|
||||
<field eval="'Roma'" name="city"/>
|
||||
<field name="country_id" ref="base.it"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(468) 017-2684'" name="mobile"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor8"/>
|
||||
<field name="stage_id" ref="crm.stage_lead6"/>
|
||||
<field eval="'Opensides SPRL'" name="name"/>
|
||||
<field eval="'Need Info about your Services'" name="name"/>
|
||||
<field eval="'(373) 907-1009'" name="phone"/>
|
||||
<field eval="'info@opensides.be'" name="email_from"/>
|
||||
</record>
|
||||
|
@ -105,86 +130,100 @@
|
|||
<field name="type_id" ref="crm.type_lead8"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'Wendi Baltz'" name="partner_name"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'Gardner Group'" name="partner_name"/>
|
||||
<field eval="'Wendi Baltz'" name="contact_name"/>
|
||||
<field eval="'Journalist'" name="function"/>
|
||||
<field eval="'Kiev'" name="city"/>
|
||||
<field name="country_id" ref="base.ua"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field eval="'(463) 014-1208'" name="mobile"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor4"/>
|
||||
<field name="stage_id" ref="crm.stage_lead4"/>
|
||||
<field eval="'Gardner Group'" name="name"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Info about Your Company ?'" name="name"/>
|
||||
<field eval="'(282) 603-7489'" name="phone"/>
|
||||
</record>
|
||||
<record id="crm_case_webvisitor0" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type_id" ref="crm.type_lead5"/>
|
||||
<field eval=""1"" name="priority"/>
|
||||
<field eval="'1'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval=""Questionnaire"" name="name"/>
|
||||
<field eval=""open"" name="state"/>
|
||||
<field eval="'Survey'" name="name"/>
|
||||
<field eval="'open'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor6"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval=""Website Visitor"" name="partner_name"/>
|
||||
<field eval=""smith_john@gmail.com"" name="email_from"/>
|
||||
<field eval="'Survey Expert'" name="partner_name"/>
|
||||
<field eval="'John Smith'" name="contact_name"/>
|
||||
<field eval="'Sales'" name="function"/>
|
||||
<field eval="'Cambridge'" name="city"/>
|
||||
<field name="country_id" ref="base.uk"/>
|
||||
<field eval="'smith_john@gmail.com'" name="email_from"/>
|
||||
<field eval="'(282) 596-8584'" name="phone"/>
|
||||
</record>
|
||||
<record id="crm_case_business_card0" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type_id" ref="crm.type_lead3"/>
|
||||
<field eval=""2"" name="priority"/>
|
||||
<field eval="'2'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""Marketing Products"" name="name"/>
|
||||
<field eval=""open"" name="state"/>
|
||||
<field eval="'Partnership'" name="name"/>
|
||||
<field eval="'open'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor5"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval=""Business Card"" name="partner_name"/>
|
||||
<field eval="'Marketing Business'" name="partner_name"/>
|
||||
<field eval="'Laure Smith'" name="contact_name"/>
|
||||
<field eval="'Sales'" name="function"/>
|
||||
<field eval="'Oxford'" name="city"/>
|
||||
<field name="country_id" ref="base.uk"/>
|
||||
<field eval="'l.smith@marketing-business.com'" name="email_from"/>
|
||||
<field eval="'(252) 578-7894'" name="phone"/>
|
||||
</record>
|
||||
<record id="crm_case_imported_contact0" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type_id" ref="crm.type_lead8"/>
|
||||
<field eval=""2"" name="priority"/>
|
||||
<field eval="'2'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval=""Business Group"" name="name"/>
|
||||
<field eval=""cancel"" name="state"/>
|
||||
<field eval="'Info'" name="name"/>
|
||||
<field eval="'cancel'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor1"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval=""Imported Contact"" name="partner_name"/>
|
||||
<field eval="'Business Group'" name="partner_name"/>
|
||||
</record>
|
||||
<record id="crm_case_employee0" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type_id" ref="crm.type_lead3"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""OpenERP Campaining"" name="name"/>
|
||||
<field eval=""draft"" name="state"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'Need Info about Onsite Intervention'" name="name"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor3"/>
|
||||
<field name="stage_id" ref="crm.stage_lead3"/>
|
||||
<field eval=""Campaining"" name="partner_name"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Agrolait'" name="partner_name"/>
|
||||
<field eval="'Sylvie Lelitre'" name="contact_name"/>
|
||||
</record>
|
||||
<record id="crm_case_company_partnership0" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type_id" ref="crm.type_lead3"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="type">lead</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval=""Offer"" name="name"/>
|
||||
<field eval=""done"" name="state"/>
|
||||
<field eval="'Need Quotation for 100 PC and 100 Keyboards'" name="name"/>
|
||||
<field eval="'done'" name="state"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor7"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor1"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval=""Partnership Offer"" name="partner_name"/>
|
||||
<field eval="'Centrale d\'achats 1'" name="partner_name"/>
|
||||
</record>
|
||||
|
||||
<!-- Call Function to Open the leads-->
|
||||
<function model="crm.lead" name="case_open">
|
||||
<value eval="[ref('crm_case_itisatelesalescampaign0'), ref('crm_case_electonicgoodsdealer0'), ref('crm_case_company_partnership0'), ref('crm_case_webvisitor0'), ref('crm_case_business_card0')]"/>
|
||||
<value eval="[ref('crm_case_electonicgoodsdealer0'), ref('crm_case_company_partnership0'), ref('crm_case_webvisitor0'), ref('crm_case_business_card0'), ref('crm.crm_case_employee0')]"/>
|
||||
</function>
|
||||
<!-- Call Function to mark the lead as Pending-->
|
||||
<function model="crm.lead" name="case_pending">
|
||||
|
@ -207,30 +246,48 @@
|
|||
<field name="type">opportunity</field>
|
||||
<field name="type_id" ref="crm.type_lead1"/>
|
||||
<field name="partner_id" ref="base.res_partner_3"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""open"" name="state"/>
|
||||
<field eval="85000.0" name="planned_revenue"/>
|
||||
<field eval="'open'" name="state"/>
|
||||
<field eval="'150000'" name="planned_revenue"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor1"/>
|
||||
<field name="stage_id" ref="crm.stage_lead3"/>
|
||||
<field eval=""CONS TRUST (AZ) 529701 - 1000 units"" name="name"/>
|
||||
<field eval="'Plan to buy 200 PC2'" name="name"/>
|
||||
<field eval="'Conf call with purchase manager'" name="title_action"/>
|
||||
</record>
|
||||
<record id="crm_case_rdroundfundingunits0" model="crm.lead">
|
||||
<field name="partner_address_id" ref="base.res_partner_address_15"/>
|
||||
<field name="partner_address_id" ref="base.res_partner_address_1"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="type_id" ref="crm.type_lead2"/>
|
||||
<field name="partner_id" ref="base.res_partner_11"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""draft"" name="state"/>
|
||||
<field name="partner_id" ref="base.res_partner_9"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field eval="45000.0" name="planned_revenue"/>
|
||||
<field eval="50" name="probability"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor5"/>
|
||||
<field name="stage_id" ref="crm.stage_lead1"/>
|
||||
<field eval=""3rd Round Funding - 1000 units "" name="name"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor3"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Pricing Information of Onsite Intervention'" name="name"/>
|
||||
<field eval="'Send price list regarding our interventions'" name="title_action"/>
|
||||
</record>
|
||||
<record id="crm_case_rdroundfundingunits25" model="crm.lead">
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="type_id" ref="crm.type_lead2"/>
|
||||
<field name="partner_id" ref="base.res_partner_lucievonck0"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'draft'" name="state"/>
|
||||
<field eval="30000.0" name="planned_revenue"/>
|
||||
<field eval="75" name="probability"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor3"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Interest in your Kitchen Design Project'" name="name"/>
|
||||
<field eval="'Send Catalogue by E-Mail'" name="title_action"/>
|
||||
</record>
|
||||
<record id="crm_case_mediapoleunits0" model="crm.lead">
|
||||
<field eval="10" name="probability"/>
|
||||
|
@ -239,48 +296,80 @@
|
|||
<field name="type">opportunity</field>
|
||||
<field name="type_id" ref="crm.type_lead1"/>
|
||||
<field name="partner_id" ref="base.res_partner_8"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""pending"" name="state"/>
|
||||
<field eval="'done'" name="state"/>
|
||||
<field eval="55000.0" name="planned_revenue"/>
|
||||
<field eval="70" name="probability"/>
|
||||
<field eval="90" name="probability"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor7"/>
|
||||
<field name="stage_id" ref="crm.stage_lead5"/>
|
||||
<field eval=""Mediapole - 5000 units"" name="name"/>
|
||||
<field eval=""info@mycompany.net"" name="email_from"/>
|
||||
<field eval="'Need 20 Days of Consultancy'" name="name"/>
|
||||
<field eval="'info@mycompany.net'" name="email_from"/>
|
||||
</record>
|
||||
<record id="crm_case_abcfuelcounits0" model="crm.lead">
|
||||
<field eval="40" name="probability"/>
|
||||
<field name="partner_address_id" ref="base.res_partner_address_1"/>
|
||||
<field name="partner_address_id" ref="base.res_partner_address_marcdubois0"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="type_id" ref="crm.type_lead1"/>
|
||||
<field name="partner_id" ref="base.res_partner_9"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field name="partner_id" ref="base.res_partner_duboissprl0"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval=""open"" name="state"/>
|
||||
<field eval="'open'" name="state"/>
|
||||
<field eval="45000.0" name="planned_revenue"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor5"/>
|
||||
<field name="stage_id" ref="crm.stage_lead4"/>
|
||||
<field eval=""ABC FUEL CO 829264 - 1000 units "" name="name"/>
|
||||
<field eval=""info@opensides.be"" name="email_from"/>
|
||||
<field eval="'Need new design for my website'" name="name"/>
|
||||
<field eval="'info@opensides.be'" name="email_from"/>
|
||||
<field eval="'Convert to quote'" name="title_action"/>
|
||||
</record>
|
||||
<record id="crm_case_dirtminingltdunits0" model="crm.lead">
|
||||
<field eval="80" name="probability"/>
|
||||
<record id="crm_case_dirtminingltdunits25" model="crm.lead">
|
||||
<field eval="30" name="probability"/>
|
||||
<field name="partner_address_id" ref="base.res_partner_address_wong"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="partner_id" ref="base.res_partner_maxtor"/>
|
||||
<field eval=""3"" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval=""done"" name="state"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field eval="'done'" name="state"/>
|
||||
<field eval="42000.0" name="planned_revenue"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor2"/>
|
||||
<field name="stage_id" ref="crm.stage_lead6"/>
|
||||
<field eval=""Dirt Mining Ltd 271742 - 1000 units"" name="name"/>
|
||||
<field eval="'Want to subscribe to your online solution'" name="name"/>
|
||||
</record>
|
||||
<record id="crm_case_dirtminingltdunits0" model="crm.lead">
|
||||
<field eval="30" name="probability"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="partner_id" ref="base.res_partner_tinyatwork"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'done'" name="state"/>
|
||||
<field eval="25000.0" name="planned_revenue"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor6"/>
|
||||
<field name="stage_id" ref="crm.stage_lead6"/>
|
||||
<field eval="'Interest in your Partnership Contract'" name="name"/>
|
||||
</record>
|
||||
<record id="crm_case_dirtminingltdunits10" model="crm.lead">
|
||||
<field eval="30" name="probability"/>
|
||||
<field name="partner_address_id" ref="base.res_partner_address_3000"/>
|
||||
<field eval="1" name="active"/>
|
||||
<field name="type">opportunity</field>
|
||||
<field name="partner_id" ref="base.res_partner_desertic_hispafuentes"/>
|
||||
<field eval="'3'" name="priority"/>
|
||||
<field name="user_id" ref="base.user_root"/>
|
||||
<field eval="'open'" name="state"/>
|
||||
<field eval="5000" name="planned_revenue"/>
|
||||
<field eval="30" name="probability"/>
|
||||
<field name="section_id" ref="crm.section_sales_department"/>
|
||||
<field name="categ_id" ref="crm.categ_oppor2"/>
|
||||
<field name="stage_id" ref="crm.stage_lead2"/>
|
||||
<field eval="'Plan to attend a training'" name="name"/>
|
||||
<field eval="'Call to give info about next training session'" name="title_action"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -66,7 +66,6 @@ class crm_claim_report(osv.osv):
|
|||
'categ_id': fields.many2one('crm.case.categ', 'Category',\
|
||||
domain="[('section_id','=',section_id),\
|
||||
('object_id.model', '=', 'crm.claim')]", readonly=True),
|
||||
'probability': fields.float('Probability',digits=(16,2),readonly=True, group_operator="avg"),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
|
||||
'company_id': fields.many2one('res.company', 'Company', readonly=True),
|
||||
'priority': fields.selection(AVAILABLE_PRIORITIES, 'Priority'),
|
||||
|
@ -74,8 +73,7 @@ class crm_claim_report(osv.osv):
|
|||
'date_closed': fields.date('Close Date', readonly=True, select=True),
|
||||
'date_deadline': fields.date('Deadline', readonly=True, select=True),
|
||||
'delay_expected': fields.float('Overpassed Deadline',digits=(16,2),readonly=True, group_operator="avg"),
|
||||
'email': fields.integer('# Emails', size=128, readonly=True),
|
||||
'probability': fields.float('Probability',digits=(16,2),readonly=True, group_operator="avg")
|
||||
'email': fields.integer('# Emails', size=128, readonly=True)
|
||||
}
|
||||
|
||||
def init(self, cr):
|
||||
|
@ -106,8 +104,7 @@ class crm_claim_report(osv.osv):
|
|||
c.type_action as type_action,
|
||||
date_trunc('day',c.create_date) as create_date,
|
||||
avg(extract('epoch' from (c.date_closed-c.create_date)))/(3600*24) as delay_close,
|
||||
(SELECT count(id) FROM mail_message WHERE model='crm.claim' AND res_id=c.id AND email_from IS NOT NULL) AS email,
|
||||
(SELECT avg(probability) FROM crm_case_stage WHERE id=c.stage_id) AS probability,
|
||||
(SELECT count(id) FROM mail_message WHERE model='crm.claim' AND res_id=c.id) AS email,
|
||||
extract('epoch' from (c.date_deadline - c.date_closed))/(3600*24) as delay_expected
|
||||
from
|
||||
crm_claim c
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
<field name="nbr" string="#Claim" sum="#Claim"/>
|
||||
<field name="email" sum="# Mails"/>
|
||||
<field name="delay_close" avg="Avg Closing Delay"/>
|
||||
<field name="probability" widget="progressbar"/>
|
||||
<field name="delay_expected"/>
|
||||
<field name="state" invisible="1"/>
|
||||
<field name="stage_id" invisible="1"/>
|
||||
|
|
|
@ -211,6 +211,7 @@ class one2many_mod2(fields.one2many):
|
|||
class hr_payslip_run(osv.osv):
|
||||
|
||||
_name = 'hr.payslip.run'
|
||||
_description = 'Payslip Run'
|
||||
_columns = {
|
||||
'name': fields.char('Name', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
||||
'slip_ids': fields.one2many('hr.payslip', 'payslip_run_id', 'Payslips', required=False, readonly=True, states={'draft': [('readonly', False)]}),
|
||||
|
|
|
@ -270,43 +270,7 @@
|
|||
<field name="credit_note"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
<page string="Salary Computation" >
|
||||
<field name="line_ids" colspan="4" nolabel="1">
|
||||
<tree string="Salary Structure" editable="bottom" colors="blue:total == 0">
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="category_id"/>
|
||||
<field name="sequence" invisible="1"/>
|
||||
<field name="quantity" string="Quantity/Rate"/>
|
||||
<field name="amount"/>
|
||||
<field name="total"/>
|
||||
</tree>
|
||||
<form string="Payslip Line">
|
||||
<group>
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="category_id"/>
|
||||
<field name="sequence" groups="base.group_extended"/>
|
||||
<field name="quantity" string="Quantity/Rate"/>
|
||||
<field name="amount"/>
|
||||
<field name="total"/>
|
||||
<field name="salary_rule_id" groups="base.group_extended"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Details By Salary Rule Category">
|
||||
<field name="details_by_salary_rule_category" context="{'group_by':'category_id'}" domain="[('appears_on_payslip', '=', True)]" nolabel="1">
|
||||
<tree string="Payslip Lines" colors="blue:total == 0">
|
||||
<field name="category_id"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="total"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
|
||||
<page string="Worked Days & Inputs">
|
||||
<page string="Worked Days & Inputs">
|
||||
<field name="worked_days_line_ids" colspan="4" nolabel="1">
|
||||
<tree string="Worked Days" editable="bottom">
|
||||
<field name="name"/>
|
||||
|
@ -347,8 +311,42 @@
|
|||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Salary Computation" >
|
||||
<field name="line_ids" colspan="4" nolabel="1">
|
||||
<tree string="Salary Structure" editable="bottom" colors="blue:total == 0">
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="category_id"/>
|
||||
<field name="sequence" invisible="1"/>
|
||||
<field name="quantity" string="Quantity/Rate"/>
|
||||
<field name="amount"/>
|
||||
<field name="total"/>
|
||||
</tree>
|
||||
<form string="Payslip Line">
|
||||
<group>
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="category_id"/>
|
||||
<field name="sequence" groups="base.group_extended"/>
|
||||
<field name="quantity" string="Quantity/Rate"/>
|
||||
<field name="amount"/>
|
||||
<field name="total"/>
|
||||
<field name="salary_rule_id" groups="base.group_extended"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Details By Salary Rule Category">
|
||||
<field name="details_by_salary_rule_category" context="{'group_by':'category_id'}" domain="[('appears_on_payslip', '=', True)]" nolabel="1">
|
||||
<tree string="Payslip Lines" colors="blue:total == 0">
|
||||
<field name="category_id"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="total"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
|
||||
<page string="Other Information">
|
||||
<separator colspan="4" string="Other Information"/>
|
||||
<group col="5" colspan="2">
|
||||
|
@ -663,8 +661,8 @@
|
|||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Payslip Runs">
|
||||
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft runs"/>
|
||||
<filter icon="terp-camera_test" string="Done" domain="[('state','=','done')]" help="Done runs"/>
|
||||
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Payslip Runs"/>
|
||||
<filter icon="terp-camera_test" string="Done" domain="[('state','=','close')]" help="Done Payslip Runs"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="name"/>
|
||||
<field name="date_start"/>
|
||||
|
@ -683,6 +681,7 @@
|
|||
<field name="date_start"/>
|
||||
<field name="date_end"/>
|
||||
<field name="credit_note"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -734,7 +733,18 @@
|
|||
id="act_hr_employee_payslip_list"
|
||||
groups="base.group_hr_manager"/>
|
||||
|
||||
<act_window domain="[('slip_id', '=', active_id)]" context="{'search_default_register_id': 1}" id="act_payslip_lines" name="Payslip Lines" res_model="hr.payslip.line" src_model="hr.payslip"/>
|
||||
<act_window name="Payslip Computation Details"
|
||||
domain="[('slip_id', '=', active_id)]"
|
||||
res_model="hr.payslip.line"
|
||||
src_model="hr.payslip"
|
||||
id="act_payslip_lines"/>
|
||||
|
||||
<act_window name="Payslip Lines"
|
||||
domain="[('register_id', '=', active_id)]"
|
||||
context="{'search_default_register_id': 1}"
|
||||
res_model="hr.payslip.line"
|
||||
src_model="hr.contribution.register"
|
||||
id="act_contribution_reg_payslip_lines"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -43,7 +43,7 @@ class payslip_details_report(report_sxw.rml_parse):
|
|||
return []
|
||||
if rule_categories[0].parent_id:
|
||||
rule_categories.insert(0, rule_categories[0].parent_id)
|
||||
self.get_recursive_parent(rule_categories)
|
||||
get_recursive_parent(rule_categories)
|
||||
return rule_categories
|
||||
|
||||
res = []
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
##############################################################################
|
||||
|
||||
import hr_payroll_account
|
||||
import wizard
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -39,6 +39,13 @@ class hr_payslip(osv.osv):
|
|||
'journal_id': fields.many2one('account.journal', 'Expense Journal',states={'draft': [('readonly', False)]}, readonly=True, required=True),
|
||||
'move_id': fields.many2one('account.move', 'Accounting Entry', readonly=True),
|
||||
}
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
if 'journal_id' in context:
|
||||
vals.update({'journal_id': context.get('journal_id')})
|
||||
return super(hr_payslip, self).create(cr, uid, vals, context=context)
|
||||
|
||||
def onchange_contract_id(self, cr, uid, ids, date_from, date_to, employee_id=False, contract_id=False, context=None):
|
||||
contract_obj = self.pool.get('hr.contract')
|
||||
|
@ -174,5 +181,14 @@ class hr_contract(osv.osv):
|
|||
}
|
||||
hr_contract()
|
||||
|
||||
class hr_payslip_run(osv.osv):
|
||||
|
||||
_inherit = 'hr.payslip.run'
|
||||
_description = 'Payslip Run'
|
||||
_columns = {
|
||||
'journal_id': fields.many2one('account.journal', 'Expense Journal', states={'draft': [('readonly', False)]}, readonly=True, required=True),
|
||||
}
|
||||
|
||||
hr_payslip_run()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -51,6 +51,46 @@
|
|||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Payslip Run View -->
|
||||
|
||||
<record id="hr_payslip_run_search_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.payslip.run.search.inherit</field>
|
||||
<field name="model">hr.payslip.run</field>
|
||||
<field name="type">search</field>
|
||||
<field name="inherit_id" ref="hr_payroll.hr_payslip_run_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date_end" position="after">
|
||||
<newline/>
|
||||
<field name="journal_id" widget="selection"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="hr_payslip_run_tree_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.payslip.run.tree.inherit</field>
|
||||
<field name="model">hr.payslip.run</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="inherit_id" ref="hr_payroll.hr_payslip_run_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date_end" position="after">
|
||||
<field name="journal_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="hr_payslip_run_form_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.payslip.run.form.inherit</field>
|
||||
<field name="model">hr.payslip.run</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="hr_payroll.hr_payslip_run_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date_end" position="after">
|
||||
<newline/>
|
||||
<field name="journal_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
|
||||
# d$
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import hr_payroll_payslips_by_employees
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,40 @@
|
|||
# -*- 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 osv import osv
|
||||
|
||||
class hr_payslip_employees(osv.osv_memory):
|
||||
|
||||
_inherit ='hr.payslip.employees'
|
||||
|
||||
def compute_sheet(self, cr, uid, ids, context=None):
|
||||
run_pool = self.pool.get('hr.payslip.run')
|
||||
if context is None:
|
||||
context = {}
|
||||
if context and context.get('active_id', False):
|
||||
run_data = run_pool.read(cr, uid, context['active_id'], ['journal_id'])
|
||||
journal_id = run_data.get('journal_id', False)[0]
|
||||
context.update({'journal_id': journal_id})
|
||||
return super(hr_payslip_employees, self).compute_sheet(cr, uid, ids, context=context)
|
||||
|
||||
hr_payslip_employees()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -98,7 +98,7 @@
|
|||
from tools.translate import _
|
||||
pur_id1=self.browse(cr, uid, ref("purchase_order_po1"))
|
||||
account_obj = self.pool.get('account.invoice')
|
||||
ids = account_obj.search(cr, uid, [('origin', '=', 'PO-'+str(pur_id1.id))])
|
||||
ids = account_obj.search(cr, uid, [('origin', '=', pur_id1.name)])
|
||||
assert ids, _('Pending Invoice is not created!')
|
||||
-
|
||||
I check that the order which was initially in the confirmed state has transit to approved state.
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
from tools.translate import _
|
||||
pur_id1=self.browse(cr, uid, ref("purchase_order_po2"))
|
||||
account_obj = self.pool.get('account.invoice')
|
||||
ids = account_obj.search(cr, uid, [('origin', '=', 'PO-'+str(pur_id1.id))])
|
||||
ids = account_obj.search(cr, uid, [('origin', '=', pur_id1.name)])
|
||||
assert ids, _('Pending Invoice is not created!')
|
||||
-
|
||||
I check that the order which was initially in the confirmed state has transit to approved state.
|
||||
|
|
|
@ -666,7 +666,7 @@ class sale_order(osv.osv):
|
|||
picking_id = False
|
||||
for line in order.order_line:
|
||||
proc_id = False
|
||||
date_planned = datetime.now() + relativedelta(days=line.delay or 0.0)
|
||||
date_planned = datetime.strptime(order.date_order, '%Y-%m-%d') + relativedelta(days=line.delay or 0.0)
|
||||
date_planned = (date_planned - timedelta(days=company.security_lead)).strftime('%Y-%m-%d %H:%M:%S')
|
||||
|
||||
if line.state == 'done':
|
||||
|
|
|
@ -167,7 +167,7 @@ class stock_location(osv.osv):
|
|||
\n* Production: Virtual counterpart location for production operations: this location consumes the raw material and produces finished products
|
||||
""", select = True),
|
||||
# temporarily removed, as it's unused: 'allocation_method': fields.selection([('fifo', 'FIFO'), ('lifo', 'LIFO'), ('nearest', 'Nearest')], 'Allocation Method', required=True),
|
||||
'complete_name': fields.function(_complete_name, type='char', size=100, string="Location Name"),
|
||||
'complete_name': fields.function(_complete_name, type='char', size=100, string="Location Name", store=True),
|
||||
|
||||
'stock_real': fields.function(_product_value, type='float', string='Real Stock', multi="stock"),
|
||||
'stock_virtual': fields.function(_product_value, type='float', string='Virtual Stock', multi="stock"),
|
||||
|
|
|
@ -558,6 +558,7 @@
|
|||
string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations" />
|
||||
<separator orientation="vertical"/>
|
||||
<field name="name"/>
|
||||
<field name="location_id" string="Parent Location"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -204,7 +204,7 @@ class stock_partial_move(osv.osv_memory):
|
|||
if not p_moves.get(move.id):
|
||||
continue
|
||||
partial_datas['move%s' % (move.id)] = {
|
||||
'product_id' : p_moves[move.id].id,
|
||||
'product_id' : p_moves[move.id].product_id.id,
|
||||
'product_qty' : p_moves[move.id].quantity,
|
||||
'product_uom' :p_moves[move.id].product_uom.id,
|
||||
'prodlot_id' : p_moves[move.id].prodlot_id.id,
|
||||
|
|
|
@ -170,7 +170,7 @@ class stock_partial_picking(osv.osv_memory):
|
|||
move_id = move.move_id.id
|
||||
|
||||
partial_datas['move%s' % (move_id)] = {
|
||||
'product_id': move.id,
|
||||
'product_id': move.product_id.id,
|
||||
'product_qty': move.quantity,
|
||||
'product_uom': move.product_uom.id,
|
||||
'prodlot_id': move.prodlot_id.id,
|
||||
|
|
Loading…
Reference in New Issue