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

Migration of account_chart_report to V8 #54

Merged
merged 10 commits into from Feb 6, 2015
Merged

Migration of account_chart_report to V8 #54

merged 10 commits into from Feb 6, 2015

Conversation

JehoG
Copy link

@JehoG JehoG commented Jan 27, 2015

Some functions of /report/chart_of_accounts.py aren't ported to V8 API because they can't accept the decorators (no browse attribute error).
If there's a way, I'll be happy to make the changes.

'Chart of Accounts',
help='Select Charts of Accounts',
required=True,
domain=domain_char_account)
Copy link
Member

Choose a reason for hiding this comment

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

You can put directly the domain between quotes instead of making that weird trick.

res = self.read(cr, uid, ids, context=context)[0]
@api.multi
def print_report(self, data):
res = self.read()[0]
Copy link
Member

Choose a reason for hiding this comment

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

instead of using read, you can directly get the value.
(I assume self can only be a single ChartOfAccountsReport)

self.chart_account_id.id

@yvaucher
Copy link
Member

Please rebase this PR to fix travis build.

@JehoG
Copy link
Author

JehoG commented Jan 30, 2015

Done

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 83abecc on JehoG:8.0 into * on OCA:8.0*.

required=True,
domain=domain_char_account),
}
chart_account_id = fields.Many2one('account.account',
Copy link
Member

Choose a reason for hiding this comment

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

Please remove the whitespace at EOL

./account_chart_report/wizard/account_report_chart_of_account.py:30:58: W291 trailing whitespace

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8312cc1 on JehoG:8.0 into * on OCA:8.0*.

}
chart_account_id = fields.Many2one(
'account.account',
'Chart of Accounts',
Copy link
Member

Choose a reason for hiding this comment

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

./account_chart_report/wizard/account_report_chart_of_account.py:31:13: E126 continuation line over-indented for hanging indent

Please remove 4 spaces of indent

@JehoG
Copy link
Author

JehoG commented Feb 4, 2015

@yvaucher @pedrobaeza Is this PR needs some other modifications?

@pedrobaeza
Copy link
Member

👍 for me

@lmignon
Copy link
Sponsor

lmignon commented Feb 5, 2015

👍

@pedrobaeza
Copy link
Member

Before merging, can you please extract the description to a README.rst file and remove it from the manifest (new possibility in v8)?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling de0e1f1 on JehoG:8.0 into * on OCA:8.0*.

@pedrobaeza
Copy link
Member

Thanks for the changes. It's missing the OCA disclaimer part, but I'll add it in a later commit.

pedrobaeza added a commit that referenced this pull request Feb 6, 2015
Migration of account_chart_report to V8
@pedrobaeza pedrobaeza merged commit 364f041 into OCA:8.0 Feb 6, 2015
alexis-via pushed a commit to akretion/account-financial-reporting that referenced this pull request May 25, 2015
Migration of account_chart_report to V8
vrenaville pushed a commit to camptocamp/account-financial-reporting that referenced this pull request Oct 23, 2018
[IMP] set statement line on old account move for bank statement report
rconjour pushed a commit to EssentNovaTeam/account-financial-reporting that referenced this pull request Mar 16, 2020
Move fr.po in account_move_line_search_extension to __unported__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants