Skip to content
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

[11.0][MIG] account_invoice_update_wizard #75

Open
wants to merge 9 commits into
base: 11.0
Choose a base branch
from
Open

[11.0][MIG] account_invoice_update_wizard #75

wants to merge 9 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 17, 2018

No description provided.

Account Invoice Update Wizard
=============================

This module adds a button *Update Invoice* on Customer and Supplier invoices in Open or Paid state. This button starts a wizard which allows the user to update non-legal fields of the invoice:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move 'This button starts...' to a new line


* Source Document
* Reference/Description
* Payment terms (update allowed only to a payment term with same number of terms of the same amount and on invoices without any payment)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same: make this more readable... new lines are cheap ;)


class TestAccountInvoiceUpdateWizard(TransactionCase):

def setUp(self):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use SavepointCase + setUpClass + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))


""",
'author': 'Akretion',
'website': 'http://www.akretion.com',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is published on odoo apps it would be better to have https://github.com/akretion/odoo-usability

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2017 Akretion (Alexis de Lattre <[email protected]>)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright

Copy link

@Tonow-c2c Tonow-c2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please doing readme like this https://github.com/OCA/maintainer-tools/tree/master/template/module/readme

and improving fields declaration indentation like :

 fields_id = fields.Many2one(
            'module.[...]', 
            string='My name',
            required=True,
            readonly=True
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants