Merge lp:~julie-w/unifield-server/US-2316 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 4182
Proposed branch: lp:~julie-w/unifield-server/US-2316
Merge into: lp:unifield-server
Diff against target: 39 lines (+4/-3)
3 files modified
bin/addons/account/invoice.py (+1/-1)
bin/addons/account/wizard/account_invoice_refund.py (+2/-1)
bin/addons/account_override/invoice.py (+1/-1)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-2316
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+316109@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/addons/account/invoice.py'
--- bin/addons/account/invoice.py 2017-01-02 08:59:17 +0000
+++ bin/addons/account/invoice.py 2017-02-01 13:16:26 +0000
@@ -274,7 +274,7 @@
274 },274 },
275 multi='all'),275 multi='all'),
276 'currency_id': fields.many2one('res.currency', 'Currency', required=True, readonly=True, states={'draft':[('readonly',False)]}),276 'currency_id': fields.many2one('res.currency', 'Currency', required=True, readonly=True, states={'draft':[('readonly',False)]}),
277 'journal_id': fields.many2one('account.journal', 'Journal', required=True, readonly=True, states={'draft':[('readonly',False)]}),277 'journal_id': fields.many2one('account.journal', 'Journal', required=True, hide_default_menu=True, readonly=True, states={'draft':[('readonly',False)]}),
278 'company_id': fields.many2one('res.company', 'Company', required=True, change_default=True, readonly=True, states={'draft':[('readonly',False)]}),278 'company_id': fields.many2one('res.company', 'Company', required=True, change_default=True, readonly=True, states={'draft':[('readonly',False)]}),
279 'check_total': fields.float('Total', digits_compute=dp.get_precision('Account'), states={'open':[('readonly',True)],'close':[('readonly',True)],'paid':[('readonly',True)]}),279 'check_total': fields.float('Total', digits_compute=dp.get_precision('Account'), states={'open':[('readonly',True)],'close':[('readonly',True)],'paid':[('readonly',True)]}),
280 'reconciled': fields.function(_reconciled, method=True, string='Paid/Reconciled', type='boolean',280 'reconciled': fields.function(_reconciled, method=True, string='Paid/Reconciled', type='boolean',
281281
=== modified file 'bin/addons/account/wizard/account_invoice_refund.py'
--- bin/addons/account/wizard/account_invoice_refund.py 2015-07-30 10:17:05 +0000
+++ bin/addons/account/wizard/account_invoice_refund.py 2017-02-01 13:16:26 +0000
@@ -34,7 +34,8 @@
34 _columns = {34 _columns = {
35 'date': fields.date('Operation date', help='This date will be used as the invoice date for Refund Invoice and Period will be chosen accordingly!'),35 'date': fields.date('Operation date', help='This date will be used as the invoice date for Refund Invoice and Period will be chosen accordingly!'),
36 'period': fields.many2one('account.period', 'Force period'),36 'period': fields.many2one('account.period', 'Force period'),
37 'journal_id': fields.many2one('account.journal', 'Refund Journal', help='You can select here the journal to use for the refund invoice that will be created. If you leave that field empty, it will use the same journal as the current invoice.'),37 'journal_id': fields.many2one('account.journal', 'Refund Journal', hide_default_menu=True,
38 help='You can select here the journal to use for the refund invoice that will be created. If you leave that field empty, it will use the same journal as the current invoice.'),
38 'description': fields.char('Description', size=128, required=True),39 'description': fields.char('Description', size=128, required=True),
39 'filter_refund': fields.selection([('modify', 'Modify'), ('refund', 'Refund'), ('cancel', 'Cancel')], "Refund Type", required=True, help='Refund invoice base on this type. You can not Modify and Cancel if the invoice is already reconciled'),40 'filter_refund': fields.selection([('modify', 'Modify'), ('refund', 'Refund'), ('cancel', 'Cancel')], "Refund Type", required=True, help='Refund invoice base on this type. You can not Modify and Cancel if the invoice is already reconciled'),
40 }41 }
4142
=== modified file 'bin/addons/account_override/invoice.py'
--- bin/addons/account_override/invoice.py 2016-12-22 16:17:14 +0000
+++ bin/addons/account_override/invoice.py 2017-02-01 13:16:26 +0000
@@ -225,7 +225,7 @@
225 method=True, string="Can be imported as invoice in a debit note?",),225 method=True, string="Can be imported as invoice in a debit note?",),
226 'imported_invoices': fields.one2many('account.invoice.line', 'import_invoice_id', string="Imported invoices", readonly=True),226 'imported_invoices': fields.one2many('account.invoice.line', 'import_invoice_id', string="Imported invoices", readonly=True),
227 'partner_move_line': fields.one2many('account.move.line', 'invoice_partner_link', string="Partner move line", readonly=True),227 'partner_move_line': fields.one2many('account.move.line', 'invoice_partner_link', string="Partner move line", readonly=True),
228 'fake_journal_id': fields.function(_get_fake_m2o_id, method=True, type='many2one', relation="account.journal", string="Journal", readonly="True"),228 'fake_journal_id': fields.function(_get_fake_m2o_id, method=True, type='many2one', relation="account.journal", string="Journal", hide_default_menu=True, readonly="True"),
229 'fake_currency_id': fields.function(_get_fake_m2o_id, method=True, type='many2one', relation="res.currency", string="Currency", readonly="True"),229 'fake_currency_id': fields.function(_get_fake_m2o_id, method=True, type='many2one', relation="res.currency", string="Currency", readonly="True"),
230 'have_donation_certificate': fields.function(_get_have_donation_certificate, method=True, type='boolean', string="Have a Certificate of donation?"),230 'have_donation_certificate': fields.function(_get_have_donation_certificate, method=True, type='boolean', string="Have a Certificate of donation?"),
231 'purchase_list': fields.boolean(string='Purchase List ?', help='Check this box if the invoice comes from a purchase list', readonly=True, states={'draft':[('readonly',False)]}),231 'purchase_list': fields.boolean(string='Purchase List ?', help='Check this box if the invoice comes from a purchase list', readonly=True, states={'draft':[('readonly',False)]}),

Subscribers

People subscribed via source and target branches