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

[16.0][IMP/ADD] shipment_advice*: Add action on shipment advice to print delivery slip and cash on delivery invoices #129

Open
wants to merge 5 commits into
base: 16.0
Choose a base branch
from

Conversation

trisdoan
Copy link

Note

This changes

This PR includes:

  • [IMP] shipment_advice: Add action on shipment advice to print delivery slip
  • [ADD] shipment_advice_cash_on_delivery: Add action on shipment advice to print cash on delivery invoices
  • [REF] shipment_advice_cash_on_delivery: Extract cash on delivery to separate module

@trisdoan trisdoan marked this pull request as draft June 27, 2024 16:49
@trisdoan
Copy link
Author

DRAFT: working on failed test

Comment on lines +9 to +15


class TestShipmentAdviceCashOnDelivery(Common):
@classmethod
def setUpClass(cls):
super().setUpClass()
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
class TestShipmentAdviceCashOnDelivery(Common):
@classmethod
def setUpClass(cls):
super().setUpClass()
from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT
class TestShipmentAdviceCashOnDelivery(Common):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env["base"].with_context(**DISABLED_MAIL_CONTEXT).env

Copy link

@cyrilmanuel cyrilmanuel left a comment

Choose a reason for hiding this comment

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

pre-approval after fixing test

@max3903 max3903 added this to the 16.0 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved no stale Use this label to prevent the automated stale action from closing this PR/Issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants