Browse Source

Sep 10: [FIX] Bug Fixed 'sale_consignment'

pull/331/head
Cybrosys Technologies 8 months ago
parent
commit
4a63a1c47f
  1. 2
      sale_consignment/__manifest__.py
  2. 5
      sale_consignment/doc/RELEASE_NOTES.md
  3. 2
      sale_consignment/models/res_config_settings.py
  4. 3
      sale_consignment/models/stock_picking.py
  5. BIN
      sale_consignment/static/description/assets/screenshots/1.png
  6. BIN
      sale_consignment/static/description/assets/screenshots/10.png
  7. BIN
      sale_consignment/static/description/assets/screenshots/2.png
  8. BIN
      sale_consignment/static/description/assets/screenshots/3.png
  9. BIN
      sale_consignment/static/description/assets/screenshots/4.png
  10. BIN
      sale_consignment/static/description/assets/screenshots/5.png
  11. BIN
      sale_consignment/static/description/assets/screenshots/6.png
  12. BIN
      sale_consignment/static/description/assets/screenshots/7.png
  13. BIN
      sale_consignment/static/description/assets/screenshots/8.png
  14. BIN
      sale_consignment/static/description/assets/screenshots/9.png
  15. BIN
      sale_consignment/static/description/assets/screenshots/GIF.gif
  16. 38
      sale_consignment/static/description/index.html

2
sale_consignment/__manifest__.py

@ -21,7 +21,7 @@
################################################################################ ################################################################################
{ {
'name': "Sale Consignment", 'name': "Sale Consignment",
'version': "17.0.1.0.0", 'version': "17.0.1.0.1",
'category': 'Sales', 'category': 'Sales',
'summary': """Consignment Sale Order""", 'summary': """Consignment Sale Order""",
'description': """Sale Order with consignment option""", 'description': """Sale Order with consignment option""",

5
sale_consignment/doc/RELEASE_NOTES.md

@ -3,3 +3,8 @@
#### Version 17.0.1.0.0 #### Version 17.0.1.0.0
##### ADD ##### ADD
- Initial Commit for Sale Consignment - Initial Commit for Sale Consignment
#### 10.09.2024
#### Version 17.0.1.0.1
##### ADD
- Initial Commit for Sale Consignment

2
sale_consignment/models/res_config_settings.py

@ -42,7 +42,7 @@ class ResConfigSettings(models.TransientModel):
consignment_product_only = fields.Boolean(help='Enable Product ' consignment_product_only = fields.Boolean(help='Enable Product '
'Filtered in ' 'Filtered in '
'consignment by ' 'consignment by '
'Consignment Prodduct', 'Consignment Product',
string='Consignment Product', string='Consignment Product',
config_parameter='sale_consignment.consignment_product_only', ) config_parameter='sale_consignment.consignment_product_only', )
consignment_customer_only = fields.Boolean(help='Enable Customer ' consignment_customer_only = fields.Boolean(help='Enable Customer '

3
sale_consignment/models/stock_picking.py

@ -35,6 +35,9 @@ class StockPicking(models.Model):
related to the consignment order""" related to the consignment order"""
res = super().button_validate() res = super().button_validate()
consignment_id = self.sale_id.consignment_id consignment_id = self.sale_id.consignment_id
if consignment_id:
self.location_id = consignment_id.location_dest_id
self.move_line_ids.location_id = consignment_id.location_dest_id
sale_order = self.env['sale.order'].search([ sale_order = self.env['sale.order'].search([
('consignment_id', '=', consignment_id.id)]) ('consignment_id', '=', consignment_id.id)])
for record in consignment_id.consignment_line_ids: for record in consignment_id.consignment_line_ids:

BIN
sale_consignment/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
sale_consignment/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
sale_consignment/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
sale_consignment/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
sale_consignment/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
sale_consignment/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
sale_consignment/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
sale_consignment/static/description/assets/screenshots/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

BIN
sale_consignment/static/description/assets/screenshots/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

BIN
sale_consignment/static/description/assets/screenshots/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
sale_consignment/static/description/assets/screenshots/GIF.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

38
sale_consignment/static/description/index.html

@ -22,7 +22,13 @@
<div class="my-3"> <div class="my-3">
<img src="assets/misc/Cybrosys R.png" style="width:auto !important; height:40px !important"> <img src="assets/misc/Cybrosys R.png" style="width:auto !important; height:40px !important">
</div> </div>
<div class="my-3 d-flex align-items-center"> <div class="my-3 d-flex align-items-center">
<div class="text-center"
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;">
Enterprise
</div>
<div class="text-center" <div class="text-center"
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Community Community
@ -41,7 +47,7 @@
Customer Can Sell Product as a Consignment Order. Customer Can Sell Product as a Consignment Order.
</p> </p>
<div style="width: 80%; margin-top: 3rem;"> <div style="width: 80%; margin-top: 3rem;">
<img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/GIF.gif" class="img-responsive" width="100%" height="auto">
</div> </div>
</div> </div>
</div> </div>
@ -166,7 +172,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/settings.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/1.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -182,7 +188,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/ot.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/2.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -198,7 +204,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/ss1.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/5.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -215,7 +221,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sale_order.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/6.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -231,7 +237,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/pickings.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/7.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -247,7 +253,7 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/pickings.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/9.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"
@ -263,7 +269,23 @@
<div <div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0"> <div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/mail_notification.png" class="img-responsive" width="100%" height="auto"> <img src="assets/screenshots/8.png" class="img-responsive" width="100%" height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Moves History</h4>
<h6 class="mt-2"
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important">Moves History.
</h6>
</div>
</div>
</div>
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/10.png" class="img-responsive" width="100%" height="auto">
</div> </div>
<div class="px-3"> <div class="px-3">
<h4 class="mt-2" <h4 class="mt-2"

Loading…
Cancel
Save