Commit Graph
100478 Commits
Author SHA1 Message Date
rap-odoo 9b38946529 [REF] account_analytic_default: migration to new API 2016-01-08 14:04:47 +01:00
rap-odoo 05a3e91487 [IMP] account_analytic_default: remove dead code
No longer called, removed in accounting refactoring
2016-01-08 13:56:35 +01:00
rap-odoo f51fd9ac8f [IMP] account_analytic_default: split files
KISS
2016-01-08 13:56:35 +01:00
rap-odoo 44d8e4b487 [REF] account_analytic_default: move files in proper folder 2016-01-08 13:56:35 +01:00
Nicolas Martinelli fca05dfd5c [IMP] product_visible_discount: clean-up
Create a specific onchange method to calculate the discount instead of
extending current onchanges.
2016-01-08 08:13:00 +01:00
Christophe Simonis c5a22592df [MERGE] forward port of branch saas-9 up to 4852d60 2016-01-07 18:26:42 +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 99b6cd8119 [MERGE] forward port of branch saas-7 up to 2a834c2 2016-01-07 18:19:52 +01:00
Christophe Simonis 2a834c22b0 [MERGE] forward port of branch 9.0 up to 100d604 2016-01-07 18:19:17 +01:00
Christophe Simonis 100d604cb0 [FIX] im_livechat: correct loader js code 2016-01-07 18:16:20 +01:00
Goffin Simon 61cf01b7a8 [FIX] mail: mailing domain not set properly
When selecting contacts from Contacts list views and clicking on
action window "Partner Mass Mailing", the 'active_domain' must be
filled in the wizard with the selecting contacts. In this way,
the right mailing_domain will be set when creating the related
mail.mass_mailing record (in addons/mass_mailing/wizard/mail_compose_message.py
in function get_mail_values).

opw:659383
2016-01-07 16:58:52 +01:00
Yannick Tivisse e03943a8df [IMP] Remove and clean product demo data
Remaining products :
- product_product_0 becomes service_order_01
- product_product_1b becomes service_cost_01
- product_product_43 becomes product_order_01
- product_product_47 becomes product_delivery_01
- prodcut_product becomes product_delivery_02
- Replace product_product_56 by service_delivery
- Replace product_product_59 by consu_delivery_01
- Replace product_product_58 by consu_delivery_02
- Replace product_product_57 by consu_delivery_03

Removed products :
- product_product_53, product_product_57, product_product_55, product_product_54, product_product_52,
  product_product_51, product_product_50, product_product_48, product_product_46, product_product_32,
  product_product_33, product_product_28, product_product_38, product_product_39, product_product_40,
  product_product_41, product_product_34, product_product_29, product_product_30, product_product_44,
  product_product_31, product_product_35, product_product_36, product_product_37, product_product_42,
  product_product_45, product_product_49, product_product_26, product_product_14, product_product_15,
  product_product_18, product_product_19, product_product_21, product_product_23

Removed corresponding binaries.

Removed all Bill of Materials demo data, that were ridiculous and replace them by 2 bom: A complete
computer, and a kit computer. Rewritten the tests accordingly.

Fixed tests :
- sale_mrp/test/cancellation_propagated.yml : The yaml ref function return a id, not a dictionnary
- sale_stock/tests/test_sale_stock.py : The service product invoiced on the delivered quantity was
  in fact not invoiced on delivery on the test. As we are in sale_stock, Without timesheet, we
  manually set the delivered qty for the product serv_del. If we don't do this, the invoice will
  never be fully invoiced.
- The pricelist rules choice is not based on the sequence anymore (Seems to be a bug, reported to
  online). By the way, I changed the product to avoid the overlap.
- sale_mrp/test/sale_mrp.yml: The yaml ref function return a id, not a dictionnary
- mrp : Rewritten the tests to be coherent with the new bom data
2016-01-07 16:07:28 +01:00
Keyur Gajjar ddff754303 [IMP] crm: improved lead to opportunity wizard labels 2016-01-07 16:06:16 +01:00
Prashant Panchal cd11497bd8 [IMP] product: removed product state field and cleaned list view
- removed product state field
- renamed Gross Weight label in Weight
- removed volume field from list view
2016-01-07 15:45:16 +01:00
Kinjal Mehta 77f9981297 [IMP] sale: filters update
Quotations and sales search views are udpated. Indeed they share a lot of
common filters. However their use is different and their filters should
therefore be different.

Using a base view, those two now have separate search views allowing to
define custom filters for quotations and sale orders.
2016-01-07 15:19:14 +01:00
Christophe Simonis 5ba5172d99 [MERGE] forward port of branch saas-8 up to 8064379 2016-01-07 15:16:56 +01:00
Christophe Simonis 18fc5307c1 [REL] 9.saas~9 2016-01-07 15:16:27 +01:00
rmu-odoo e19c7ebde2 [IMP] product: added field category_id in search view 2016-01-07 15:09:17 +01:00
Mitali Patel 3941e41b9f [IMP] product: removed create uom from product view 2016-01-07 14:08:54 +01:00
Srushti Patel b91b3217a6 [IMP] account,payment: Need to improve typo in helptip message, change 'that' into 'This' 2016-01-07 14:00:12 +01:00
Lionel Sausin 66e6a7ce22 [FIX] report: translate report name
As the report are downloaded from a controller, the context of the
webclient is lost. We chose to use `context_get` to get back one
instead of serializing the context trough the url.
2016-01-07 13:39:07 +01:00
Stephen Medina 8e1057316f [ADD] doc: mention how to include static files
Does not explicitly mention how static files are loaded. This will
confuse anyone who is using the documentation as a guide and not going
through the pet store example code. Feel free to edit however, as long
as it is mentioned somewhere.

fixes #9170
2016-01-07 12:29:25 +01:00
Yannick Tivisse 0f3621fd63 [REM] claim_from_delivery: Remove the module 2016-01-07 12:08:22 +01:00
Yannick Tivisse 8304949019 [REM] website_crm_claim: remove the module 2016-01-07 12:08:22 +01:00
Yannick Tivisse f88e4b2b52 [REM] crm_claim: Remove the module 2016-01-07 12:08:22 +01:00
rap-odoo cc247e9709 [IMP] base: Change the word 'paying' to 'paid' in the warning. 2016-01-07 12:00:12 +01:00
Gaurav Panchal 3eab623ac2 [IMP] stock : rename the string of procurements field in config settings 2016-01-07 11:25:27 +01:00
Nicolas Lempereur 3002a8dd09 [FIX] lunch: typo in xml_id from 8641681 2016-01-07 11:13:18 +01:00
Yannick Tivisse 8641681400 [IMP] Lunch: Archive products
Add a stat/toggle button on form view
Add a stat/toggle action on tree view
2016-01-07 10:53:32 +01:00
Denis Ledoux 0b9fbc67bb [FIX] purchase: prevent write on the related stock.location
`default_location_dest_id_usage` on `purchase.order` is
used only for an attrs domain on the field
`dest_address_id` in the purchase order form.

There is therefore no worries to set it as readonly,
it won't break the feature he has been added for.

Besides, this will prevent the useless write of the
same field value on the related `stock.location`
when saving the purchase order.

This is important to prevent the useless write
on `stock.location`, as users might have the rights
to create/edit purchase orders without having
the write access to the stock locations.

opw-660736
2016-01-07 10:29:49 +01:00
Christophe Matthieu 7fcce928f3 [FIX] web_editor: allow custom template for html_frame field 2016-01-07 09:52:56 +01:00
Mitali Patel fe4f8405f6 [IMP] payment: added missing payment methods from settings 2016-01-07 09:10:51 +01:00
rap-odoo e64fb37679 [FIX] product: "Products" filter now includes stockable products 2016-01-07 09:10:29 +01:00
Goffin Simon da03d97003 [IMP] account: test_product_id_change
Forward port of c4fb2c2 in new api
2016-01-06 23:18:54 +01:00
Yannick Tivisse d0e58a647d [FIX] website_quote: Take the template order line description if the
product is defined on the template

Also, implement 'back' button in quote template frontend edit mode
2016-01-06 16:58:19 +01:00
Joren Van Onder 17bb5fd374 [FIX] point_of_sale: fix forward port related issues
Fix 697739d, 682e660, da9275a and 697739d which where forward-ported in
8b4f052a38.
2016-01-06 16:55:59 +01:00
Mansi Trivedi ba2b37d3b9 [IMP] crm: CRM Lost Reason should be translatable. 2016-01-06 16:46:24 +01:00
Joren Van Onder 70e43b18e0 [FIX] point_of_sale: use tax_ids on the pos orderline, not the product
We have taxes on pos.order.line and we have taxes on the product of the
`pos.order.line`. There was no real consensus in the POS about which
taxes to use. As long as they're the same it doesn't cause issues, but
if someone where to change the taxes on a product which is used in an
open `pos.session` things will start going wrong.

When closing the pos.session amount_total of the `pos.order` in question
will not equal tax `account.move.lines` + product
`account.move.lines`. The reason for it is that we use the taxes on the
`pos.order.line` for the tax account.move.lines, whereas amount_total
used the taxes on product.

This fixes the problem by always using the tax set on
`pos.order.line`. This tax should be set only once through
`_order_line_fields` during orderline creation. After that it shouldn't
change. Therefore `pos.sessions` won't be affected by changes to taxes
of products anymore.

opw-660765
2016-01-06 16:45:28 +01:00
Christophe Simonis e502b3ea1f [MERGE] forward port of branch 9.0 up to 833fe49 2016-01-06 16:09:34 +01:00
Nicolas Lempereur dccecaf11f [IMP] web_editor: use unicode number for FontAwesome controller
In some non-usual circumstances, using unicode in controllers can lead
to issue. For example on a terminal using C encoding (instead of the
mighty UTF-8) werkzeug might use sys.getfilesystemencoding to encode the
request URL which will fail with UTF-8 inside.

This commit change the URL character of the font awesome controller to
UTF-8, but keep the old way since every sent mail might still use it.

There is the overlap of character 0 to 9 which are overidden in this
commit by unicode code 0 to 9, but these were not used in font-awesome
anyway (or these are not even visible ASCII characters).

closes #9572
2016-01-06 15:31:03 +01:00
Yannick Tivisse e6c35bc4de [IMP] hr: renamed hr_department description to 'Department'
When creating a department, a default message appears in the chatter
that says "HR department created". It is misleading because the
department is not necessarily HR.
2016-01-06 15:15:53 +01:00
Anand Kansagra 83a35fa118 [IMP] sale: chaned default value of track_service
From 'Timesheet' to 'Manual' if service and 'Invoice Policy' is 'Reinvoice Costs'.
2016-01-06 14:58:00 +01:00
Anand Kansagra 4cc256182f [IMP] sale: changed 'cost' invoice_policy label
Label changed from 'Invoice based on time and material' to 'Reinvoice Costs'.
2016-01-06 14:57:14 +01:00
Anand Kansagra be88ef914a [IMP] sale: Move 'Invoice Policy' and 'Track Service' options into 'Sales' tab. 2016-01-06 14:56:51 +01:00
Anand Kansagra 71336afe10 [IMP] sale, purchase: Add tooltips in the product form view. 2016-01-06 14:56:48 +01:00
Cedric Snauwaert 833fe492d1 [FIX] account: add buttons on journal entries and journal item to see reconciled entries 2016-01-06 14:46:19 +01:00
Martin Trigaux bf6b106044 [FIX] doc: remove reference to website_less
No more module website_less needed to create a theme
Fixes #8182
2016-01-06 14:29:38 +01:00
Goffin Simon b935289acc [FIX] sale_analytic, sale_timesheet: _compute_analytic
The default domain set in _compute_analytic didn't allow to recompute
SO lines linked to several analytic lines because unit_amount is always
greater or equal to zero. The idea is to recompute the quantity delivred
on SO line linked to analytic lines with amount<=0 (which means that this
is a cost for the company, an expense or a refund).

opw:660812
2016-01-06 12:41:04 +01:00
Nicolas Lempereur 3450401afe [IMP] website{,_forum}: editor for forum or designer
With de5a00ac9 the editor would be loaded on the forum, but it would
then always be loaded on the website which might not be for the best.

With this change, the editor assets will be loaded on the website:

- if the viewer is part of the "base.group_website_designer" group,
- if we are on a forum page,

better solution for #9402
2016-01-06 11:52:50 +01:00
Goffin Simon 3756969517 [FIX] account: total_invoiced in res.partner
"total_invoiced" must only take customer invoices into account because
when you click on the button "invoiced" in the partner view form
you just see the customer invoices.

opw:665574
2016-01-06 11:46:31 +01:00