Commit Graph
43 Commits
Author SHA1 Message Date
Jainik Patel 965b7d060c [IMP] stock: Lot/Serial Numbers label uniformization
In master one place is missing lots to lots/serial numbers.
2016-06-14 13:13:59 +02:00
Jainik Patel 919bee4058 [IMP] stock: Lot/Serial Numbers label uniformization
In master , some places the string "Lot" is used and at some places
"Serial Numbers" is used , which is very confusing for the user.

Make a common string "Lots / Serial Numbers" everywhere for the uniformity.
2016-06-10 15:03:44 +02:00
rap-odoo a5e7a4c8ae [IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Christophe Simonis 7306e888a6 [MERGE] forward port of branch saas-11 up to ac50230 2016-06-08 12:28:16 +02:00
Christophe Simonis ac5023060c [MERGE] forward port of branch saas-10 up to 2f948c7 2016-06-08 12:19:23 +02:00
Tanguy Charlier a1a8d6d44f [MIG] barcodes: Simplify selection fields overrides 2016-06-07 17:43:35 +02:00
Christophe Simonis b76c883cd0 [FIX] stock: module claim_from_delivery does'nt exists anymore
saas~11 not being deployed yet, this model change is accepted.
2016-06-06 11:33:12 +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
Srushti Patel 516ee0fda2 [REM] product_uos: remove module product_uos it is no longer supported (group_uom manage this by default) 2016-05-27 10:13:22 +02:00
Thibault Delavallée f9b8c009cb [FIX] stock: product_strategy: effectively call method 2016-05-24 17:23:02 +02:00
Thibault Delavallée 0064778c4c [FIX] stock: config: advanced locations settings
If you manage several warehouses with several locations, do not go back to only
one warehouse when choosing advanced routing.
2016-05-24 17:12:09 +02:00
Thibault Delavallée 7088b0ad9e [FIX] stock: quant package: issue with newId
When creating a new stock.quant.package, the method tried to access a key
that does not exist in an intermediate dict. Indeed a new record does not
have an ID available in self.ids.
2016-05-24 17:12:09 +02:00
Thibault Delavallée e87dbff063 [FIX] stock: wrong field name in move.split() 2016-05-24 17:11:55 +02:00
Thibault Delavallée 28e623be66 [FIX] stock: do not use self in a multi loop 2016-05-24 17:11:54 +02:00
Thibault Delavallée 865ccfe636 [FIX] stock: typo in onchange 2016-05-23 15:44:44 +02:00
Christophe Simonis f2230136bd [FIX] stock: correct (de)activation of internal picking types in config wizard 2016-05-19 13:00:58 +02:00
Ravi Patel b9fced8ce1 [FIX] stock: missing module in reference xml id 2016-05-17 10:43:59 +02:00
Thibault Delavallée 2231c12920 [FIX] stock: a gnome stole my methods. 2016-05-11 16:01:29 +02:00
Yannick Tivisse 8ff9cbad2c [IMP] sale,purchase,stock,account: Don't display an empty 'warning' page
And add a category hidden on the res.group definition
2016-05-06 17:06:35 +02:00
Thibault Delavallée e6d7261692 [FIX] stock, delivery: put_in_pack return
When called in new API it returns a record, not an ID. Update the override
in delivery accordingly.
2016-05-04 11:26:38 +02:00
Thibault Delavallée 0d0f96ddcd [IMP] stock_picking: code cleaning
Method _get_top_level_packages is moved to the quant model. Some code cleaning
is also performed in picking in methods computing pack operations.
2016-04-29 12:18:49 +02:00
Thibault Delavallée 16a7af219f [MIGR] stock: stock_incoterms
Incoterms model is 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:47 +02:00
Thibault Delavallée 69c4c87090 [MOV] stock: stock_incoterms
Incoterms models and views are moved in their own file. Impacted:

 - stock.incoterms

This commit only moves files. No change is done.

This last commit is done by renaming the remaining code in stock.py file. We
hope this helps keeping a bit of history by being able to retrieve the original
stock.py file.
2016-04-29 12:18:47 +02:00
Thibault Delavallée 82faf1691d [MIGR] stock: procurement model
Procurement model is 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:46 +02:00
Thibault Delavallée b9853db8b5 [MIGR] stock: product and product strategy
Product 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.

Impacted models

 - product.product
 - product.template
 - product.removal
 - product.putaway
 - stock.fixed.putaway.strat
2016-04-29 12:18:46 +02:00
Thibault Delavallée d00a054a38 [MIGR] stock: stock_production_lot
Production lot model is 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:45 +02:00
Thibault Delavallée 87cf139677 [MOV] stock: stock_production_lot
Production lot models and views are moved in their own file. Impacted:

 - stock.production.lot

This commit only moves files. No change is done.i
2016-04-29 12:18:45 +02:00
Thibault Delavallée 1d36fb428f [MIGR] stock: stock_location
Location 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:44 +02:00
Thibault Delavallée f37cabe36d [MOV] stock: stock_location
Location models and views are moved in their own file. Impacted:

 - stock.location
 - stock.location.route
 - stock.location.path

This commit only moves files. No change is done.
2016-04-29 12:18:43 +02:00
Thibault Delavallée cb486d7eb6 [MIGR] stock: stock.move
Move model is 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:43 +02:00
Thibault Delavallée a17ef9a7cd [MOV] stock: stock_move
Move models and views are moved in their own file. Impacted:

 - stock.move

This commit only moves files. No change is done.
2016-04-29 12:18:42 +02:00
Thibault Delavallée d8548e0771 [MIGR] stock: stock_pack_operation
Pack operation 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:42 +02:00
Thibault Delavallée 65fdba526f [MOV] stock: stock_pack_operation
Pack operation models and views are moved in their own file. Impacted:

 - stock.pack.operation
 - stock.pack.operation.lot
 - stock.move.operation.link

This commit only moves files. No change is done.
2016-04-29 12:18:41 +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
Thibault Delavallée b0914de8cd [MOV] stock: stock_warehouse
Warehouse models and views are moved in their own file. Impacted:

 - stock.warehouse
 - stock.warehouse.orderpoint

This commit only moves files. No change is done.
2016-04-29 12:18:40 +02:00
Thibault Delavallée d45996c915 [MIGR] stock: stock_picking
Picking 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:40 +02:00
Thibault Delavallée 674ff8d383 [MOV] stock: stock_picking
Picking models and views are moved in their own file. Impacted:

 - stock.picking
 - stock.picking.type

This commit only moves files. No change is done.
2016-04-29 12:18:39 +02:00
Thibault Delavallée 7d01ed5ee9 [MIGR] stock: stock_inventory
Inventory 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:39 +02:00
Thibault Delavallée 87b5d29b5c [MOV] stock: stock_inventory
Inventory models and views are moved in their own file. Impacted:

 - stock.inventory
 - stock.inventory.line

This commit only moves files. No change is done.
2016-04-29 12:18:38 +02:00
Thibault Delavallée fe9b31c0e7 [MIGR] stock: stock_quant
Quant 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:37 +02:00
Thibault Delavallée 88b000859f [MOV] stock: stock_quant
Quant models and views are moved in their own file. Impacted:

 - stock.quant
 - stock.quant.package

This commit only moves files. No change is done.
2016-04-29 12:18:37 +02:00
Thibault Delavallée d7af45bb03 [MIGR] stock: barcode, settings, planner and res_*
Those 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:36 +02:00
Thibault Delavallée e28b83603b [MOV] stock: barcode, procurement, product, res_*
Move models not located in stock.py file and their views:

 - barcode
 - procurement
 - product
 - product.putaway, product.removal and stock.fixed.putaway.strat are
   extracted from product.py to their own product_strategy file
   to separate product and product.template code from stock specific
   code related to products
 - res_*
 - settings
 - web_planner

This commit only moves files. No change is done.
2016-04-29 12:18:36 +02:00