-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIG] l10n_it_ricevute_bancarie -> l10n_it_riba #3615
[MIG] l10n_it_ricevute_bancarie -> l10n_it_riba #3615
Conversation
Changes for 6.0 should be done in a branch for 6.0. For the reason to use 'fields.date' instead of 'time', see https://bugs.launchpad.net/openobject-server/+bug/925361 https://bugs.launchpad.net/openerp-web/+bug/918257
Moving to lp:~agilebg/openobject-italia/riba_v7_style
… wizard export riba
…ri in wizard export
…ione, data di registrazione su distinta
moves all modules into a __unported__ directory
'Technical method to migrate a module from "8.0" to "10.0" branch' gives too many conflicts
porting to new API porting to new accounting porting views porting tests FIX l10n_it_ricevute_bancarie wrong computation of payment_ids and tests ADD OCA dep for account_due_list
…t as default for action_riba_da_emettere
debit bank is not mandatory in CBI file From documentation: 2.7 Struttura del record - codice fisso “40” 71-120 f an Banca/sportello domiciliataria F eventuale denominazione in chiaro della banca/sportello domiciliataria/o;
after odoo/odoo@efa4f85 otherwise: 2017-05-20 03:21:02,605 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ERROR: test_delete_due_cost_line (odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba.TestInvoiceDueCost) 2017-05-20 03:21:02,605 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: Traceback (most recent call last): 2017-05-20 03:21:02,605 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` File "/home/travis/build/OCA/l10n-italy/l10n_it_ricevute_bancarie/tests/test_riba.py", line 205, in test_delete_due_cost_line 2017-05-20 03:21:02,605 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` self.invoice.action_invoice_draft() 2017-05-20 03:21:02,606 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` File "/home/travis/build/OCA/l10n-italy/l10n_it_ricevute_bancarie/models/account/account.py", line 213, in action_invoice_draft 2017-05-20 03:21:02,606 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` line.unlink() 2017-05-20 03:21:02,606 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` File "/home/travis/odoo-10.0/addons/account/models/account_invoice.py", line 1360, in unlink 2017-05-20 03:21:02,606 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` raise UserError(_('You can only delete an invoice line if the invoice is in draft state.')) 2017-05-20 03:21:02,606 6389 ERROR openerp_test odoo.addons.l10n_it_ricevute_bancarie.tests.test_riba: ` UserError: (u'You can only delete an invoice line if the invoice is in draft state.', None)
File "odoo/lib/python2.7/site-packages/odoo/models.py", line 4369, in <lambda> @api.returns('self', lambda value: value.id) AttributeError: 'NoneType' object has no attribute 'id' while duplicating
e12f143
to
a5effa4
Compare
l10n_it_riba/views/account_view.xml
Outdated
<record id="view_account_invoice_filter_unsolved" model="ir.ui.view"> | ||
<field name="name">account.invoice.select.unsolved</field> | ||
<record id="view_account_invoice_filter_past_due" model="ir.ui.view"> | ||
<field name="name">account.invoice.select.past_due</field> | ||
<field name="model">account.move</field> | ||
<field name="inherit_id" ref="account.view_account_invoice_filter"/> | ||
<field name="arch" type="xml"> | ||
<filter name="unpaid" position="after"> | ||
<filter name="unsolved" string="Past Due" domain="[('is_unsolved','=',True)]" help="Past Due Invoices"/> | ||
<filter name="past_due" string="Past Due" domain="[('is_past_due','=',True)]" help="Past Due Invoices"/> | ||
</filter> | ||
</field> | ||
</record> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se non serve eliminare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
l10n_it_riba/views/account_view.xml
Outdated
<!-- MABO | ||
<field name="tax_ids" position="after"> | ||
<field name="unsolved_move_line_ids" colspan="4" nolabel="1"/> | ||
<field name="past_due_move_line_ids" colspan="4" nolabel="1"/> | ||
</field> | ||
--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se non serve Eliminare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Migration scripts not tested because `account` module cannot be migrated yet with OpenUpgrade Co-authored-by: Tony Masci <45100916+TonyMasciI@users.noreply.github.com>
Cleanup old syntax super(Class, instance) -> super() Remove unused code
a5effa4
to
5a5e002
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM functional review
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
It looks like something changed on |
It looks like something changed on |
Congratulations, your PR was merged at 0acf4cf. Thanks a lot for contributing to OCA. ❤️ |
Sostituisce #3131.
Ho lasciato alcune modifiche in un commit separato perché applicabili anche a
14.0
, nel caso qualcuno volesse cimentarsi.Risolve #3616 per
16.0
.