Commit Graph
38 Commits
Author SHA1 Message Date
Yannick Tivisse 9e57185449 [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

[FIX] account: move some ir.model.access to sale module
[FIX] payment: Move some ir.rule to website_sale
[FIX] stock: move some ir.model.access rule to sale_stock
[FIX] project: Move some ir.model.access rules to crm_project_issue
[FIX] mrp: Move some ir.model.access rules to sale_mrp
[FIX] calendar: move some ir.model.access rules to crm

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.

[ADD] sales_team: See own documents => See only his sales team
Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm
into sales_team module. Add the record rules so that user can see only his Own Sales Team
if "See Own Leads" is sales right and can see all sales teams if he is having sales rights
of "See All Leads" or manager.
2016-06-09 16:05:25 +02:00
Yannick Tivisse ccdb5cbfc0 Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring
when installing modules in different orders.

This reverts commit fa6e415cdb.
2016-06-06 17:26:30 +02:00
Yannick Tivisse fa6e415cdb [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.
2016-06-06 15:46:52 +02:00
Mansi Trivedi 977d1acc7c [IMP] sale_stock,delivery: Various imp on delivery slips and picking reports
ON THE DELIVERY SLIP : 

1. CUSTOMER REFERENCE
- If a customer reference is filled in the SO, on the delivery slip, under
  Customer Address, add a section Customer Reference :
- Display every customer information in the header

2. SO NUMBER 
- Display the SO reference under the origin instead on the picking type name.
  Do not display it if unset

3. LOCATIONS AND STATUS
- remove the columns locations and status

4. ORDERED QUANTITY
- add a column (between product and quantity) named Ordered Quantity. It
  contains the quantity of the initial demand. Rename Quantity into
  Delivered Quantity

5. BACKORDER
- If the delivery is a backorder, add the string : This shipment is a backorder
  of "stock.picking.name".
- If a backorder has been created, add the string  : All items couldn't be shipped,
  the remaining ones will be shipped as soon as they become available.
- If it is a backorder and another backorder has been created, both strings should
  be printed.

6. SCHEDULE DATE
- Should be the date when the delivery order is validated.
- Rename Scheduled Date into "Date" 
    - If the DO is not yet validated, display the scheduled date.
    - If the DO is validated : display the date it was validated.

7. WEIGHT
- Add the unit of measure after the weight value
- Display only if set

8. CARRIER
- Display only if set

9. LOT/SERIAL NUMBERS
- Keep the header of the column + rename it into Serial Number / Lot

10. CUSTOMER/CONTACT ADDRESS
- Should be displayed on the right, keep only minimal information: Customer name,
  phone number

ON THE PICKING REPORT
- picking: https://drive.google.com/file/d/0Bx4JWs1efCreX1FrZUhaZDEtblU/view?usp=drivesdk
- form: https://drive.google.com/a/openerp.com/file/d/0B5BDHVRYo-q5X3VGVWI1aThWcWM/view?usp=drivesdk
2016-04-07 14:06:14 +02:00
Martin Geubelle d32abe75b1 [IMP] delivery: usability
* Remove useless field `partner_id` (+ data)
* `delivery.carrier` form view
* 'Install more provider' button
* etc.
2016-03-10 13:41:10 +01:00
Martin Geubelle c603b93e1d [IMP] delivery: change terminology for active field 2016-03-10 13:41:09 +01:00
Parth Mehta 9aa351a9db [IMP] delivery: margin on shipping price
Allow users to define a percentage on shipping price, in order to cover
up differences between rating and shipping actual price.

Authors:
	Barad Mahendra <mba@openerp.com>
	Parth Mehta <pme@odoo.com>
2016-02-26 11:37:35 +01:00
Yannick Tivisse 80b7cba812 [IMP] Delivery: Display kg on 'Put in Pack' wizard 2016-02-24 17:09:29 +01:00
Christophe Simonis 60c9cac46b [MERGE] forward port of branch saas-9 up to 87a01c7 2016-02-17 18:07:21 +01:00
Christophe Simonis 87a01c75ef [MERGE] forward port of branch saas-7 up to 5be43b8 2016-02-17 18:01:11 +01:00
Christophe Simonis 5be43b8d9a [MERGE] forward port of branch 9.0 up to 27058c4 2016-02-17 17:48:03 +01:00
Christophe Simonis 27058c4763 [IMP] delivery: Add "Archive" button on carrier view
Also allow to search on archived carriers easily.
2016-02-17 17:44:54 +01:00
Christophe Simonis 04416a5a6f [MERGE] forward port of branch saas-9 up to 469e04e 2016-02-02 14:55:52 +01:00
Christophe Simonis 469e04e97c [MERGE] forward port of branch saas-8 up to 2611a81 2016-02-02 14:52:15 +01:00
Christophe Simonis e765569d04 [MERGE] forward port of branch 9.0 up to f0a63e5 2016-02-02 14:44:39 +01:00
Richard Mathot 7e3d6e92b6 [IMP] delivery: hide real shipping cost on DO 2016-02-02 14:18:00 +01:00
Richard Mathot 36fbbc46e1 [ADD] delivery: environment field
This field is used in all delivery carriers to determine if they call
the test or the production API.
2016-02-02 14:01:35 +01:00
Martin Geubelle 2ff3749064 [ADD] delivery: package editable after put in pack
* It is sometime useful to be able to set the package type and the package weight during the delivery
* These fields can be edited during the 'put in pack' operation or after, with a button in the view
* As the weight is computed, a new field 'shipping_weight' has been added
* These fields (package type and weight) will be used in the delivery carrier for the shipping
* Packaging types are now handled in a centralized way for all shippers
2016-02-01 16:04:02 +01:00
Nicolas Martinelli a5c8846653 [IMP] delivery: add product_qty to SO line
Add the normalized quantity to the SO line. This field is useful for
delivery carriers, since the package price depends on the weight, which
is always defined as a function fo the product UoM.

opw-667594
2016-02-01 13:04:32 +01:00
Christophe Simonis 4852d6033d [MERGE] forward port of branch saas-8 up to 99b6cd8 2016-01-07 18:21:13 +01:00
Christophe Simonis e502b3ea1f [MERGE] forward port of branch 9.0 up to 833fe49 2016-01-06 16:09:34 +01:00
Martin Trigaux 8b4f052a38 [MERGE] Forwardport of branch saas-6 up to c649bb0df 2016-01-05 18:28:06 +01:00
Richard Mathot c21b6dd8e2 [FIX] delivery: buggy view 2015-12-24 14:59:51 +01:00
Richard Mathot 108f66d69e [IMP] delivery: HS codes for product
HS Code is a standardized code used to describe products categories, and
facilitate customs clearance.
(https://en.wikipedia.org/wiki/Harmonized_System)

Some international transporters require HS codes and use them. We allow
users to store them on product.template's.
2015-12-23 16:03:09 +01:00
Richard Mathot 8ee9f8eb3c [REF] delivery: missing XML declaration 2015-12-23 16:02:44 +01:00
Richard Mathot 09f8216314 [IMP] delivery,procurement,stock: terms disambiguation
Avoid confusion among Carriers/Delivery Methods/Delivery Types
2015-10-21 09:23:07 +02:00
Richard Mathot fb39656bb6 [FIX] delivery: hide carriers search_more 2015-09-28 17:25:42 +02:00
Martin Trigaux 4c73125931 [FIX] delivery: typo 2015-09-21 12:22:54 +02:00
Richard Mathot ec7fb80775 [REM] delivery: unused field for now, should not have been merged in a223111b92 2015-09-21 10:20:03 +02:00
qsm-odoo 45995b57c0 [FIX] delivery: double button_box in template
Inherited template added a button_box to a formview which already
contained one.
2015-09-17 11:25:09 +02:00
Nicolas Martinelli 78cc0b95f4 [FIX] delivery: remove deprecated methods and field
Due to new Sale module
2015-09-11 15:42:28 +02:00
Richard Mathot ca1749d0a0 [IMP] delivery: add an option to disable shipping while validating pickings
It allows people to only use the rating service of the sales orders
2015-09-11 15:27:15 +02:00
Fabien Pinckaers b568affe66 [IMP] Adding placeholders to all oe_title (thanks xgrep), usability guidelines 2015-09-11 08:51:57 +02:00
Josse Colpaert a934b9e1ba [IMP] delivery: add fields for retrieving the bulk weight and the weight of the packages of a picking
As the transporter interfaces will put a label on every package,
it is in handy to have a field with the list of the final packages
(and their weights) treated in  the picking.
We give a weight for the products that are not in a package also(bulk).
We only put the weight on the package in the views.

The weights in the product form views should appear entirely or not in
product / product templates (only when only 1 variant)
(attrs was only on the field, not label, ...)

The digits= for the weights are not needed as there is a decimal precision
on these fields.
2015-09-09 17:11:54 +02:00
Mahendra barad a223111b92 [IMP] delivery, website_sale_delivery: refactoring and usability
* migration to new API
* removed delivery.grid object, has been merged with delivery.carrier
* change view of delivery.carrier (price rules, etc.)
* tests from yml to py
* website : restrict the list of countries for delivery address in the shop
2015-09-01 08:14:16 +02:00
Nandan Jani c505f00c3e [ADD] stock,delivery: delivery slip for pickings 2015-07-23 13:46:51 +02:00
Mohammed Shekha 14780ca16a [IMP]contact widget: Improve contact widget used in qweb reports, added option phone_icons to show icons in phone related fields 2015-07-01 15:36:38 +02:00
Josse Colpaert 58cef1286f [ADD] Shipping report extension
bzr revid: jco@openerp.com-20140318125154-k0a0bc031lb4g2us
2014-03-18 13:51:54 +01:00