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

l10n_cn_account_voucher: add a new way to generate chinese voucher number #18

Open
wants to merge 10 commits into
base: 9.0
Choose a base branch
from

Conversation

cysnake4713
Copy link

No description provided.

@cysnake4713
Copy link
Author

@Rona111 @elicoidal read l10n_cn_sequence_voucher, nice work but didn't fit in my shoe, so create another module which a litte manually but handy,

My customer usually need print voucher at the end of the month or beginning of another month, by that time the voucher generated maybe be been closed an open, deleted and created many times, generate chinese voucher number automaticly maybe not the best choice here, when to print, when to determine is my goal.

@cysnake4713
Copy link
Author

and reverse the depends help separate behivair and print module, but the best way maybe create a new module to put custom fields in that, but so far is good to me

@@ -0,0 +1,2 @@
# __author__ = [email protected]
Copy link
Contributor

Choose a reason for hiding this comment

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

@cysnake4713 Thanks for your contribution to the OCA.

Please create one pull request per module (the other modules besides are already included in another PR.

Besides, please let me introduce to you some basic information about contribution in OCA and I will review other points in more comments inside the code..
In general, please follow the principles:

Copy link
Author

@cysnake4713 cysnake4713 Jun 4, 2016

Choose a reason for hiding this comment

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

Please create one pull request per module (the other modules besides are already included in another PR.

three of the module has depends, pull them seperatly will not pass runbot test. I will add a link to the old pr if that's ok
#8

Copy link
Contributor

Choose a reason for hiding this comment

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

The logical order is to have the first PR #8 merged before moving forward with yours.

@cysnake4713
Copy link
Author

this pr is based on #8

@cysnake4713
Copy link
Author

@elicoidal base on you comment updated the file, please check if python file format and english translation is ok, then I will rebase the commit and update zh_CN.po file to make offical PR,
Thanks for your help~

@elicoidal
Copy link
Contributor

I would suggest to first validate and merge PR#8, rebase this one and finish the process with your module.
I can get another review internally so it could go quite quickly.

<t t-foreach='docs' t-as='o' >
<t t-call="report.internal_layout">
<t t-set="body">
<t t-foreach='docs' t-as='o'>
Copy link
Author

Choose a reason for hiding this comment

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

voucher seems use minimal layout to print is much nice. internal_layout has header div, which seems not be need in voucher

Copy link
Contributor

Choose a reason for hiding this comment

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

I tend to agree with you.
Do you have a screenshot of both cases?

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.

3 participants