-
Notifications
You must be signed in to change notification settings - Fork 118
[IMP] account: Add more visibility about the sent status of invoice #4807
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
Conversation
This PR targets the un-managed branch odoo-dev/odoo:18.0-rd-accounting-onboarding-malb, it needs to be retargeted before it can be merged. |
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.
almost perfect !
@@ -603,6 +603,11 @@ def _sequence_year_range_monthly_regex(self): | |||
tracking=True, | |||
help="It indicates that the invoice/payment has been sent or the PDF has been generated.", | |||
) | |||
move_sent_status = fields.Selection( | |||
[('sent', 'Sent'), ('not_sent', 'Not Sent')], |
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.
nitpicking here but you split in multiple line for readability, also small rule of thumbs that i like:
- Use double quotes when the user see the info (so here Sent and Not Sent could be in double quotes)
- use single quotes otherwise
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.
Done, thanks for the review!
This commit aims to add a new column "Sent Status" to invoice list view. And a filter for "sent" invoices. task-4908901
982c838
to
150c827
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.
Thankssss
@@ -603,6 +603,11 @@ def _sequence_year_range_monthly_regex(self): | |||
tracking=True, | |||
help="It indicates that the invoice/payment has been sent or the PDF has been generated.", | |||
) | |||
move_sent_status = fields.Selection( | |||
[('sent', "Sent"), ('not_sent', "Not Sent")], |
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.
for the next pr's, usually we split those in mutliple line 😄
This commit aims to add a new column "Sent Status" to invoice list view. And a filter for "sent" invoices.
task-4908901