Commit Graph
29 Commits
Author SHA1 Message Date
Mitali Patel 8f39c652c6 [IMP] point_of_sale: manage lot/serial number from POS front-end
Frontend:
- When product has lot/serial tracking open popup for accept lot/serial
  number when it selected.
- Add icon in order line to show related lot/serial number and it
  indicate status of product lot
- User can add or remove product by lot from current lot dialog box
- Order line quantity don't match with lot line quantity show warning
  message

Back End:
- Added model `pos.pack.operation.lot` to manage product lot related
  with pos order
- Added state button in pos session form view to show pickings which are
  not in 'Done' stage
2016-06-13 10:19:01 +02:00
Tanguy Charlier a1a8d6d44f [MIG] barcodes: Simplify selection fields overrides 2016-06-07 17:43:35 +02:00
ptr 0f41256009 [ADD] mail,sale,stock,purchase,event,pos: Source document clickable in chatter
PURPOSE:
The source document should be in the chatter and clickable

NEW MAIL TEMPLATE:
mail: new template 'message_origin_link' with clickable link to origin
Variables to pass:
- origin: the record from which the current record had been created
- self: The current record
Optional:
- edit: If true, the record has been modified. Otherwise it has been created
  from the origin

SPECIFICATION:
Source Document is available in following models
1) After creating SO then Sale to Invoice -> Source Document (After creating Sales Order and then clicking on Create invoice)
2) When procurement is created after SO or MO or Order Point(procurement.order) - > Source Document
3) Stock.picking -> Source Document ( After Creating SO or PO)
4) When Manufacturing Order is Created (mrp.production) -> Source Document (Coming after creating a sale order of product)
5) Event -> Attendees(event.registration) -> Source Document
6) Request For Quotation -> Source Document (After creating Purchase Tender, SO)
7) In Purchase Tender(purchase.requisition) -> Source Document (When a new Purchase Tender is Created)
8) After creating PO then create invoice(vendor bill)-> Source Document
9) After creating Invoice from contract (subscription) - > source Document.
10) Refund invoice from Invoice --> Source Document.
11) Return picking from picking --> Source Document.
12) sale use POS to create invoice and picking -->  Source Document.

MESSAGES TO DISPLAY:
-In Customer Invoice, there is a source document of Sale Order.
 "This Invoice has been created from Sale Order(s): SO001, SO002"

-In Procurement, the source document can be either of Sale Order or Manufacturing Order or Order Point.
 "This procurement is created from: SO001 or MO0001 or OP/0001"

-In Stock Picking, the source document can be either of Sale Order or Purchase Order.
 "This transfer has been created from sales order(s): SO001 or PO0001"

-Create new Sales order of manufactured product , there will be Source Document with that Sale Order number
"This production has been created from procurement(s): WH: Stock -> CustomersMTO"

-When registering for Event from website, Sale Order is Created and it is stored in Source Document,
 "The attendee has been created from Sale order: SO001"

-In RFQ, the source document can be either Purchase Tender or Sale Order or Order Point,
 "This purchase order has been created from purchase requisition(s): TE0001 or SO001 or OP/0001"

-In Purchase Tender, the source document can be either of Sale Order/ Manufacturing Order/ Order Point.
 "This Purchase Requisition has been created from: WH: Stock -> CustomersMTO"

-In Vendor bill, there is a source document of Purchase Order.
 "This Vendor bill has been created from Purchase Order(s): PO0001, PO002"

-When creating refund of invoice
 "This customer invoices refund has been created from customer invoices: INV/2016/0001"

-when create invoice and picking form pos.
 "This invoce has been create from point of sale: MainXX"
2016-06-02 15:33:57 +02:00
Christophe Simonis 38b861b52b [MERGE] forward port of branch saas-11 up to e38ddcf 2016-05-17 14:41:09 +02:00
Christophe Simonis e38ddcfeae [MERGE] forward port of branch saas-10 up to b26fd22 2016-05-17 14:39:05 +02:00
Christophe Simonis b26fd22584 [MERGE] forward port of branch saas-9 up to 6d6a90f 2016-05-17 14:12:07 +02:00
Christophe Simonis 1e26ef6579 [MERGE] forward port of branch saas-11 up to 91c9284 2016-05-13 16:36:04 +02:00
Christophe Simonis 91c9284951 [MERGE] forward port of branch saas-10 up to 5aa0bae 2016-05-13 16:33:51 +02:00
Christophe Simonis c4bba868f0 [MERGE] forward port of branch saas-9 up to 087729f 2016-05-13 15:58:06 +02:00
Kinjal Mehta 4656186472 [IMP] point_of_sale: Stat button to invoice on pos_order view
Purpose:
In POS order form view the 'Re-Print' button is placed improperly.
There should be a way where invoice can be linked to POS without this button..

Removed the reprint button from the form view of POS order.
And add the invoice state button so invoice can be linked to POS.
2016-05-13 11:09:00 +02:00
Srushti Patel 58ffd9fc02 [IMP] point_of_sale: Cash Control Default Opening/Closing Balance
========
Purpose
========

POS : It is annoying process to put coin/bill value repeatedly in the cash register.
If user select cash control check box it should add default values.

In pos configuration the option cash control checkbox move to a new category
called Cash Control.

-When opening a POS session, when doing the cash control, it should already prefill
 the modal with the defaults cash control values (Coin/Bill Value, Number of
 Coins/Bills, Subtotal).
-When closing the POS session, the closing balance should just take the Coin/Bill
 Value defaults values. The user has to type in the number of Coins/Bills manually).
2016-05-12 14:38:32 +02:00
Mansi Gandhi c220c22fbd [IMP] point_of_sale: 'Receipt Ref code' when returning product on order
It's about 'Receipt Reference code' which gets generated when Order is
created from POS .

After this, click on 'RETURN PRODUCTS' button, the return Order doesn't
fetch the "Receipt Ref" of the origin Order, so there is no way to find
the origin order from where the return of the products done.
2016-05-02 15:25:42 +02:00
Thibault Delavallée 70e1d5d5bc [MIGR] stock: stock_warehouse
Warehouse models are migrated to new API. No change is performed to code
structure or functional structure. Some code cleaning may be performed when
migrating to simplify the code. Other files may be updated due to the move
towards the new API.
2016-04-29 12:18:41 +02:00
Christophe Simonis 2dcbdd0778 [MERGE] forward port of branch saas-10 up to bb8f0f1 2016-04-25 15:48:31 +02:00
Christophe Simonis bb8f0f1fc3 [MERGE] forward port of branch saas-9 up to 4d337f7 2016-04-25 14:43:44 +02:00
Raphael Collet 84cf3ceb44 [FIX] base_action_rule, mail, membership, point_of_sale: do not mix cache format with record format 2016-04-25 13:37:11 +02:00
Joren Van Onder bbaf956328 [IMP] point_of_sale: make pos.config use active instead of custom state
pos.config had a special state field that mimiced what we usually do
with an 'active' field. The concepts of 'inactive' and 'deprecated' seem
to have never been fully worked out, as both of them resulted in the
same behaviour.
2016-04-20 15:46:04 +02:00
Rohan Patel bd6f805f4f [IMP] point_of_sale: stat button on customer form to display pos orders
fp request
2016-04-11 13:33:26 +02:00
Christophe Simonis aa6ebd146a [MERGE] forward port of branch saas-9 up to 549daaa 2016-04-05 19:27:34 +02:00
Christophe Simonis 6e95659a08 [MERGE] forward port of branch saas-9 up to f4d1adc 2016-04-01 18:51:55 +02:00
Christophe Simonis ddb0fb2739 [MERGE] forward port of branch saas-9 up to 59d3f63 2016-03-24 16:53:45 +01:00
Yannick Tivisse 4c037681ee [IMP] point_of_sale: Move common demo data into importable modules.
The only remaining demo data are the partners from the indiegogo campaign
2016-02-26 16:12:20 +01:00
Joren Van Onder 076fad1de5 [IMP] point_of_sale: add default pos.config fiscal position
This makes it so people can pick one of the selected fiscal positions in
pos_config.fiscal_position_ids as their default fiscal position. When
creating a new order in the front- or backend the pos order will
automatically be assigned this default fiscal position.
2016-02-26 14:16:16 +01:00
Joren Van Onder 22b93174af [FIX] point_of_sale: fix forgotten method rename
pos_order.onchange_qty was renamed to pos_order._onchange_qty during the
migration to the new API.
2016-02-19 10:23:02 +01:00
Darshan Kalola 32b5515a8f [REF] point_of_sale: migrate to new api 2016-02-17 17:10:03 +01:00
Darshan Kalola 62406fa4bf [REM] point of sale: removed useless wizard and code
Never called or not used
2016-02-17 17:04:26 +01:00
Martin Trigaux 7d93f9904e [IMP] point_of_sale: remove complete_name and iface_fullscreen
complete_name is actually the existing orm field display_name
field iface_fullscreen is never used, cf TODO
2016-02-17 17:04:26 +01:00
Darshan Kalola fcdd43010a [REF] point_of_sale: split files per model 2016-02-17 17:04:22 +01:00
Martin Trigaux d1c3c6518d [REF] point_of_sale: move files to appropriate folders 2016-02-17 16:28:27 +01:00