Skip to content

[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

mograby3500
Copy link

This commit aims to add a new column "Sent Status" to invoice list view. And a filter for "sent" invoices.

task-4908901

@robodoo
Copy link

robodoo commented Jul 2, 2025

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.

Copy link

@malb-odoo malb-odoo left a 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')],

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

Copy link
Author

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
@mograby3500 mograby3500 force-pushed the 18.0-rd-accounting-onboarding-add-more-visisblity-on-sent-status-alah branch from 982c838 to 150c827 Compare July 7, 2025 09:06
Copy link

@malb-odoo malb-odoo left a 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")],

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 😄

@malb-odoo malb-odoo closed this Jul 7, 2025
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