-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
[ADD][16.0] account_invoice_transmit #1715
base: 16.0
Are you sure you want to change the base?
Conversation
b5216bb
to
b1dac1e
Compare
742e559
to
f08dd78
Compare
@@ -0,0 +1,3 @@ | |||
* Jacques-Etienne Baudoux (BCIM) <[email protected]> | |||
* Camptocamp | |||
* Acsone SA |
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.
@jbaudoux If you can put me here and ACSONE as author too (for the tests essentially) ? Thanks
d4d1208
to
954dfc6
Compare
Get proper template for credit notes
954dfc6
to
125a219
Compare
document = fields.Binary( | ||
comodel_name="ir.attachment", attachment=True, readonly=True | ||
) |
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.
document = fields.Binary( | |
comodel_name="ir.attachment", attachment=True, readonly=True | |
) | |
document = fields.Binary(attachment=True, readonly=True) |
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.
LGTM (Code review only)
6aa3f3f
to
5783aca
Compare
prevent 2 sending jobs running in parallel to send the same invoice
5783aca
to
5e91029
Compare
As the number of invoices can be huge, the job can fail in timeout.
[IMP] account_invoice_transmit: Use a separate job for sending emails
Implements the sending of invoices in background as defined by the transmit method.
Replaces the standard "send and print" odoo action on list view with this new wizard.
Report to print is generated in background.
Note: another module will follow for sending by peppol
cc @lmignon @rousseldenis @simahawk