6 Commits
Author SHA1 Message Date
Jitendra Prajapat 33f7006737 [FIX] point_of_sale: printer icon visibility
In this commit:
===============
printer icon will visible based on printer configuration

task - 3869678

closes odoo/odoo#162056

Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
2024-04-19 16:58:43 +00:00
Jitendra Prajapat 929b92076d [FIX] point_of_sale: total show Nan in coins pop-up
Before this commit:
===================
In coins/bills pop pup, if user adds some coin and removes quantity from any of
the fields (blank space) then it's showing `NAN` and not calculating the other
inputted value which is completely annoying.

After this commit:
==================
If user removes quantity from any of the fields (blank space) then the input
will count `0` in the backend and calculate accordingly.

task - 3728728

closes odoo/odoo#153770

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2024-03-27 16:10:57 +00:00
Jitendra Prajapat 4acf3c6c79 [FIX] pos_self_order: kiosk print receipt when nothing to pay
Before this commit:
===================
If there is an order with a total amount of 0 in kiosk mode, then after the cart
page it is redirected to the home page without printing a receipt.

After this commit:
==================
with this commit, if an order amount is 0 then it will redirect to the
confirmation/receipt page like a normal order with the amount without
redirecting to the payment page.

task - 3773450

closes odoo/odoo#155826

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2024-03-01 13:48:20 +00:00
Jitendra Prajapat d49f94315a [FIX] mrp: By-product update in MO
Before this commit:
===================
If by-product is updated in mo after confirm then the initial by-product is considered and the
new one is ignored in stock_move_line(Product moves).

After this commit:
==================
If by-product is updated in mo then the initial by-product will updated with
new one in stock_move_line(Product moves).

closes odoo/odoo#149074

Task: 3534703
X-original-commit: 8908db1271d369aa05ab77ffde9f51fe9c86cf6d
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2024-01-12 11:18:02 +00:00
Jitendra Prajapat af0d1b565c [IMP] purchase: added discount field in Vendor Pricelist
In this commit
==============

- Added the discount fields to the vendor pricelist and PO line models,
  making them optional and hidden.
- Implemented automatic filling of the discount field on the PO line when
  the unit price is sourced from the vendor pricelist.
- Implemented a mechanism to automatically populate the discount field on the
  PO line when the unit price is fetched from the vendor pricelist.
- Modified the pricing logic to ensure the discount is applied to the
  tax-excluded price.
- PO confirmation process to check if a pricelist already
  exists for the vendor. If not, a new pricelist line is created, including the
  discount if it is present.

task - 3380306

closes odoo/odoo#126804

Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2023-09-22 11:55:50 +00:00
Jitendra Prajapat 4c8fddd570 [FIX] point_of_sale: modified flow of order date
Before this commit:
===================
In the back-end, there is only one field "date_order" is used, while on the
frontend side, there are two separate fields: "creation_date" and
"validation_date," which causes confusion in the code flow and leads to
redundancies.

After this commit:
==================
Revised the order date flow by eliminating the confusion stemming from the
separate "creation_date" and "validation_date" fields. Both have been
consolidated into the "date_order" field, offering clarity to the order date
process.

task - 3482072

closes odoo/odoo#133293

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2023-09-06 13:25:27 +00:00