diff --git a/addons/account/account.py b/addons/account/account.py index 73c1018d66b..384ef47e980 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1223,7 +1223,7 @@ class account_move(osv.osv): 'period_id': fields.many2one('account.period', 'Period', required=True, states={'posted':[('readonly',True)]}), 'journal_id': fields.many2one('account.journal', 'Journal', required=True, states={'posted':[('readonly',True)]}), 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'State', required=True, readonly=True, - help='All manually created new journal entry are usually in the state \'Unposted\', but you can set the option to skip that state on the related journal. In that case, they will be behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' state.'), + help='All manually created new journal entries are usually in the state \'Unposted\', but you can set the option to skip that state on the related journal. In that case, they will be behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' state.'), 'line_id': fields.one2many('account.move.line', 'move_id', 'Entries', states={'posted':[('readonly',True)]}), 'to_check': fields.boolean('To Review', help='Check this box if you are unsure of that journal entry and if you want to note it as \'to be reviewed\' by an accounting expert.'), 'partner_id': fields.related('line_id', 'partner_id', type="many2one", relation="res.partner", string="Partner", store=True), diff --git a/addons/account/account_bank.py b/addons/account/account_bank.py index 01eab2fbb01..02270b94186 100644 --- a/addons/account/account_bank.py +++ b/addons/account/account_bank.py @@ -99,7 +99,6 @@ class bank(osv.osv): 'type': 'bank', 'company_id': bank.company_id.id, 'analytic_journal_id': False, - 'currency_id': False, 'default_credit_account_id': acc_bank_id, 'default_debit_account_id': acc_bank_id, 'view_id': view_id_cash diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index fcd630ea78b..39cc471c2f6 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -923,7 +923,6 @@ class account_invoice(osv.osv): 'line_id': line, 'journal_id': journal_id, 'date': date, - 'type': entry_type, 'narration':inv.comment } period_id = inv.period_id and inv.period_id.id or False @@ -1081,7 +1080,8 @@ class account_invoice(osv.osv): del line['invoice_id'] for field in ('company_id', 'partner_id', 'account_id', 'product_id', 'uos_id', 'account_analytic_id', 'tax_code_id', 'base_code_id'): - line[field] = line.get(field, False) and line[field][0] + if line.get(field): + line[field] = line[field][0] if 'invoice_line_tax_id' in line: line['invoice_line_tax_id'] = [(6,0, line.get('invoice_line_tax_id', [])) ] return map(lambda x: (0,0,x), lines) @@ -1209,7 +1209,7 @@ class account_invoice(osv.osv): l2['name'] = name lines = [(0, 0, l1), (0, 0, l2)] - move = {'ref': ref, 'line_id': lines, 'journal_id': pay_journal_id, 'period_id': period_id, 'date': date, 'type': entry_type} + move = {'ref': ref, 'line_id': lines, 'journal_id': pay_journal_id, 'period_id': period_id, 'date': date} move_id = self.pool.get('account.move').create(cr, uid, move, context=context) line_ids = [] diff --git a/addons/l10n_br/data/account_tax_template.xml b/addons/l10n_br/data/account_tax_template.xml index 58f860e0d90..fcdcb4d30e6 100644 --- a/addons/l10n_br/data/account_tax_template.xml +++ b/addons/l10n_br/data/account_tax_template.xml @@ -5,7 +5,6 @@ IPI IPI - vat 0.00 @@ -21,7 +20,6 @@ IPI 2% IPI 2% - vat 0.02 @@ -37,7 +35,6 @@ IPI 3% IPI 3% - vat 0.03 @@ -53,7 +50,6 @@ IPI 4% IPI 4% - vat 0.04 @@ -69,7 +65,6 @@ IPI 5% IPI 5% - vat 0.05 @@ -85,7 +80,6 @@ IPI 7% IPI 7% - vat 0.07 @@ -101,7 +95,6 @@ IPI 8% IPI 8% - vat 0.08 @@ -117,7 +110,6 @@ IPI 10% IPI 10% - vat 0.10 @@ -133,7 +125,6 @@ IPI 12% IPI 12% - vat 0.12 @@ -149,7 +140,6 @@ IPI 13% IPI 13% - vat 0.13 @@ -165,7 +155,6 @@ IPI 15% IPI 15% - vat 0.15 @@ -181,7 +170,6 @@ IPI 16% IPI 16% - vat 0.16 @@ -197,7 +185,6 @@ IPI 18% IPI 18% - vat 0.18 @@ -213,7 +200,6 @@ IPI 20% IPI 20% - vat 0.20 @@ -229,7 +215,6 @@ IPI 22% IPI 22% - vat 0.22 @@ -245,7 +230,6 @@ IPI 25% IPI 25% - vat 0.25 @@ -261,7 +245,6 @@ IPI 27% IPI 27% - vat 0.27 @@ -277,7 +260,6 @@ IPI 30% IPI 30% - vat 0.30 @@ -293,7 +275,6 @@ IPI 35% IPI 35% - vat 0.35 @@ -309,7 +290,6 @@ IPI 40% IPI 40% - vat 0.40 @@ -325,7 +305,6 @@ IPI 42% IPI 42% - vat 0.42 @@ -341,7 +320,6 @@ IPI 45% IPI 45% - vat 0.45 @@ -357,7 +335,6 @@ IPI 50% IPI 50% - vat 0.50 @@ -373,7 +350,6 @@ IPI 60% IPI 60% - vat 0.60 @@ -389,7 +365,6 @@ IPI 330% IPI 330% - vat 3.30 @@ -405,7 +380,6 @@ ICMS Interno ICMS Interno - vat 0.00 @@ -421,7 +395,6 @@ ICMS Externo ICMS Externo - vat 0.00 @@ -437,7 +410,6 @@ ICMS Subist ICMS Subist - vat 0.00 @@ -451,7 +423,6 @@ ICMS Externo 7% ICMS Externo 7% - vat 0.07 @@ -467,7 +438,6 @@ ICMS Externo 12% ICMS Externo 12% - vat 0.12 @@ -483,7 +453,6 @@ ICMS Interno 19% ICMS Interno 19% - vat 0.19 @@ -499,7 +468,6 @@ ICMS Interno 26% ICMS Interno 26% - vat 0.26 @@ -515,7 +483,6 @@ PIS PIS - vat 0.00 @@ -531,7 +498,6 @@ PIS 0,65% PIS 0,65% - vat 0.0065 @@ -547,7 +513,6 @@ COFINS COFINS - vat 0.00 @@ -563,7 +528,6 @@ COFINS 3% COFINS 3% - vat 0.03 @@ -579,7 +543,6 @@ IRPJ IRPJ - vat 0.00 @@ -593,7 +556,6 @@ IR IR - vat 0.00 @@ -607,7 +569,6 @@ ISS ISS - vat 0.00 @@ -621,7 +582,6 @@ ISS 1% ISS 1% - vat 0.01 @@ -635,7 +595,6 @@ ISS 2% ISS 2% - vat 0.02 @@ -649,7 +608,6 @@ ISS 3% ISS 3% - vat 0.03 @@ -663,7 +621,6 @@ ISS 4% ISS 4% - vat 0.04 @@ -677,7 +634,6 @@ ISS 5% ISS 5% - vat 0.05 @@ -691,7 +647,6 @@ CSLL CSLL - vat 0.00 @@ -703,4 +658,4 @@ - \ No newline at end of file + diff --git a/addons/l10n_cr/data/account_tax_template.xml b/addons/l10n_cr/data/account_tax_template.xml index 7626b25b5ad..42b5ca03a13 100644 --- a/addons/l10n_cr/data/account_tax_template.xml +++ b/addons/l10n_cr/data/account_tax_template.xml @@ -11,7 +11,6 @@ 10 13 percent - all true @@ -34,7 +33,6 @@ 10 13 percent - all true diff --git a/addons/mrp_jit/__openerp__.py b/addons/mrp_jit/__openerp__.py index 6f8aec2dcc9..72ef35ebc4b 100644 --- a/addons/mrp_jit/__openerp__.py +++ b/addons/mrp_jit/__openerp__.py @@ -41,7 +41,7 @@ In that case, you can not use priorities any more on the different picking. """, 'author': 'OpenERP SA', - 'depends': ['procurement', 'mrp'], + 'depends': ['procurement'], 'update_xml': ['mrp_jit.xml'], 'demo_xml': [], 'test': ['test/mrp_jit.yml'],