Skip to content

Commit

Permalink
[18.0][MIG] sale_blanket_order: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
woutDynapps committed Jan 14, 2025
1 parent 1151435 commit 11961b4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
40 changes: 20 additions & 20 deletions sale_blanket_order/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ section:
Hitting the button create will open the form view in which we can
introduce the following information:

- Vendor
- Vendor

- Salesperson
- Salesperson

- Payment Terms
- Payment Terms

- Validity date
- Validity date

- Order lines:
- Order lines:

- Product
- Accorded price
- Original, Ordered, Invoiced, Received and Remaining quantities
- Product
- Accorded price
- Original, Ordered, Invoiced, Received and Remaining quantities

- Terms and Conditions of the Blanket Order
- Terms and Conditions of the Blanket Order

|image2|

Expand Down Expand Up @@ -97,8 +97,8 @@ PO line is associated. Upon adding a new product in a newly created Sale
Order a blanket order line will be suggested depending on the following
factors:

- Closer Validity date
- Remaining quantity > Quantity introduced in the Sale Order line
- Closer Validity date
- Remaining quantity > Quantity introduced in the Sale Order line

|image6|

Expand Down Expand Up @@ -130,22 +130,22 @@ Authors
Contributors
------------

- André Pereira <[email protected]> (https://www.acsone.eu/)
- André Pereira <[email protected]> (https://www.acsone.eu/)

- Adrià Gil Sorribes <[email protected]> (https://www.eficent.com/)
- Adrià Gil Sorribes <[email protected]> (https://www.eficent.com/)

- Jordi Ballester Alomar <[email protected]>
- Jordi Ballester Alomar <[email protected]>

- Alex Comba <[email protected]> (https://www.agilebg.com/)
- Alex Comba <[email protected]> (https://www.agilebg.com/)

- Codeforward (https://www.codeforward.nl/):
- Codeforward (https://www.codeforward.nl/):

- Jasper Jumelet <[email protected]>
- Chris Bergman <[email protected]>
- Jasper Jumelet <[email protected]>
- Chris Bergman <[email protected]>

- `Trobz <https://trobz.com>`__:
- `Trobz <https://trobz.com>`__:

- Nguyễn Minh Chiến <[email protected]>
- Nguyễn Minh Chiến <[email protected]>

Other credits
-------------
Expand Down
2 changes: 1 addition & 1 deletion sale_blanket_order/models/blanket_orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def _get_pricelist_price_before_discount(self):

return self.pricelist_item_id._compute_price_before_discount(

Check warning on line 581 in sale_blanket_order/models/blanket_orders.py

View check run for this annotation

Codecov / codecov/patch

sale_blanket_order/models/blanket_orders.py#L581

Added line #L581 was not covered by tests
product=self.product_id,
quantity=self.product_uom_qty or 1.0,
quantity=self.original_uom_qty or 1.0,
uom=self.product_uom,
date=fields.Date.today(),
currency=self.currency_id,
Expand Down
6 changes: 1 addition & 5 deletions sale_blanket_order/views/sale_blanket_order_line_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="activity_ids" widget="mail_activity" />
<field name="message_ids" widget="mail_thread" />
</div>
<chatter />
</form>
</field>
</record>
Expand Down

0 comments on commit 11961b4

Please sign in to comment.