Commit Graph
107399 Commits
Author SHA1 Message Date
Rohan Patel c4ea772ddb [IMP] website_quote: add currency symbol
to discounted price on quotations in the front-end.
2017-01-10 14:34:18 +01:00
Rohan Patel 7be3f7eee9 [IMP] website_quote: Hide taxes if none are set
if there are no taxes in quotation then no need to display subtotal and taxes
in front-end quotation.
2017-01-10 14:34:18 +01:00
Rohan Patel 9fb08ad860 [ADD] website_quote: Added payment term in online quotation template 2017-01-10 14:34:18 +01:00
Christophe Simonis a2c1df8b9c [MERGE] forward port branch saas-14 up to 557feb950c 2017-01-10 13:52:44 +01:00
Christophe Simonis 557feb950c [MERGE] forward port branch 10.0 up to 482fd04167 2017-01-10 13:50:48 +01:00
Christophe Simonis 482fd04167 [MERGE] forward port branch saas-11 up to f1583504ce 2017-01-10 13:46:17 +01:00
Christophe Simonis f1583504ce [MERGE] forward port branch 9.0 up to 3f7b1f6083 2017-01-10 12:07:44 +01:00
Frank Petrilli d38e00031f [CLA] Singature for FrankPetrilli
Signed at #14853
2017-01-10 10:43:33 +01:00
Frank Petrilli a83e670b96 [FIX] crm: Typo in "Ready to boost you sales?" 2017-01-10 10:41:43 +01:00
Jitendra Prajapati e9e2e0cbb5 [IMP] account: Add a payment receipt report that can be sent by mail
- create a report for payment to print a receipt. Simple report with the amount received and name of the partner header of the company
- add a new action in action menu for print receipt
- add a new button action menu to send the receipt by email :  STRING of the button = Send Receipt
- default template of payment receipt like sales
- add chatter history same as sales object
- this report use for both ('customer payment' & 'vendor payment)
2017-01-10 10:38:50 +01:00
Ravi Gohil 23d07478e3 [FIX] mrp: fix migration issue using recordset instead of record in loop 2017-01-10 09:44:35 +01:00
fgi-odoo d7bca63e36 [IMP] account: remove space in reference bracket 2017-01-10 08:34:35 +01:00
Nicolas Lempereur 3f7b1f6083 [FIX] web_editor: ignore read only + debug + write
In some case (for example the one solved with b51d21c5) we can have
write done on a field text in read only mode.

With 98ed53ce if :

- such a case happened (in b51d21c5 the fix only worked after the given
  field was written one time) or a similar instance,
- and the user was in debug mode,
- and the widget used was TextFieldHtmlSimple

this could lead to an issue with the code trying to toggle the code view
mode whilst the editor is closed.
2017-01-10 08:31:38 +01:00
Nicolas Lempereur 41c64a89a5 [FIX] stock: use avg for cost in group by report
When doing pivot table data visualization, the Unit Cost of several
lines are summed up but there has more meaning if they were averaged.

This will probably still not be perfect (such as averaging two line
with different quantities the quantities would not be taken into
accounts) but it is already slightly better.

opw-694068
2017-01-09 16:53:40 +01:00
Pratima Gupta c965f3f67d [FIX] account: Rename filter name from 'State' to 'Status' as in the model 2017-01-09 16:42:04 +01:00
Yannick Tivisse 27fc71507e [MERGE] web,mail: Support multi attachment upload 2017-01-09 16:38:25 +01:00
Yannick Tivisse 4895c9fbad [IMP] mail: Allow to upload multiple files in the mail composer 2017-01-09 16:37:16 +01:00
Yannick Tivisse 43fcbe3318 [IMP] web: allow to upload multiple files in many2many_binary widget 2017-01-09 16:37:16 +01:00
Simon Lejeune 17adc2e09e [FIX] barcodes: form view barcode handler: concurrency
Suppose the following usecase: you scan the first product of the
picking. A server onchange is then triggered. You scan the same product
a second time, before the first onchange has returned. You expect that
the first onchange is completely executed before running the second one.
This was not the case. Moreover, some onchanges were not be able to
work with the invalid  state of the formview at some times, and crashed.

The previous implementation was wrong because id didn't run the main
barcode processing mechanism inside a Mutex. It was also wrong because
it didn't correctly wait for the onchange to execute (a previous  barcode
onchanges or some classic ones) before setting the barcode field.
2017-01-09 16:36:00 +01:00
Jérome Maes 2bfee397b5 [MERGE] rating: cleaning and improvements
- add form and list view for rating
- better use in livechat rating
- better filters
- improve kanban rating view
- remove rating when uninstalling module
- ...
2017-01-09 16:34:25 +01:00
Jérome Maes 8e10f6adf9 [IMP] rating: delete rating when needed
Automatically deleting a rating was not implemented
yet. We find 2 cases :
- when uninstalling a module, the same mecanism as
mail.follower is used, via a res_model_id field
pointing on ir.model. When this model does not
exist anymore, remove all related rating.
- when deleting a record, its rating should be
deleted too.
2017-01-09 16:33:21 +01:00
Nicolas Lempereur f27e69eced [FIX] web_editor: harmless ; missing in 98ed53ce 2017-01-09 16:26:15 +01:00
Jérome Maes 567ae3137f [IMP] rating,livechat: better use of rating mixin
- use rating.mixin field instead of rating_ids to
display rating on form view
- clean controller method
- ...
2017-01-09 16:19:26 +01:00
Jigar Patel f7379b1c7f [IMP] rating_*: cleaning and improvements
In rating module
- provide list and form view for rating
- better kanban view (remove js code, ellispsis
for long name, better feedback display, ...)
- provide more field on the mixin to cover
more case
- update res_name of rating when the ressource name
is changed (for consistency)
- make the rating web page, a correct html page (by
using web.layout template)
- some guidelines compliance

In rating_project and rating_project_issue:
- add filter for rated document
- some guidelines compliance
2017-01-09 16:19:25 +01:00
Jérome Maes 4495cb897c [IMP] rating: guidelines compliance 2017-01-09 16:19:25 +01:00
Nicolas Lempereur 81b668c3e3 [IMP] web_editor: tour testing inline editor saving (up to s11)
With 98ed53ce when a form view is saved when a html field is in code
view mode, the change is not lost.

This new backend tour check that when saving in or not in code view, the
content is saved effectively.

The test not in code view would ensure issues like #14381 #14351 #14394
are detected on runbot.

closes #14475
opw-693052

note: the old test system is used so this test is only for up to saas-11
2017-01-09 16:06:46 +01:00
Nicolas Lempereur 98ed53ce3a [FIX] web_editor: don't lose modified code view content
The intended scenario when using the code view is the following:

1) click on code view button to use code view
2) make changes
3) click on code view button to get back to wysiwyg view
4) save from the wysiwyg view

If the 3rd step was not done:

- for the inline editor, we lose the changes that have been done in
  code view,
- for the iframe editor, we lose the entirety of the content.

At one time the user was forced to go back to wysiwyg before being able
to save, but this have been removed hence the present usability issue.

With this fix, when the editor content is saved, if the user is in code
view he is automatically set back to wysiwyg view.

fixes #14648
closes #14475
opw-678677
opw-693052
2017-01-09 16:04:42 +01:00
abh 718290a530 [IMP] website_quote: applied padding on the title hidden in the navagitaion bar 2017-01-09 15:55:30 +01:00
Goffin Simon 0b2bb25084 [FIX] web_kanban: disable_multiple_selection in kanban creation
Fine tuning of this commit: 47e7f74022
Now when creating a record from kanban view by clicking on "+" button,
the stage_id is kept.

opw:703281
2017-01-09 15:22:41 +01:00
Nicolas Lempereur d40edd7052 [FIX] web: wraparound no create editable list
In e0c4ec54ca a change was done to improve the behavior in some
editable list instances, but this introduced a small issue for
list with line creation disabled.

With this change, doing tab or enter at last line should keep the
previous behavior of wrapping around and not creating a new line.

opw-703748
2017-01-09 15:03:29 +01:00
Pierre Masereel 9f94dbdba3 [FIX] account: ir.mode.access on products
When the 'Invoicing' or 'Accounting' module is installed without the
module 'Sales', only the admin user can create products in the database.

The expected behavior is that any 'Accounting Adviser' should be able to
manage some products in Odoo.

To allow 'Accounting Advisers' to manage products, we add them the CRUD
rights on 'product.product', 'product.template' and
'product.price.history'

opw-703610
2017-01-09 14:38:23 +01:00
Goffin Simon 47e7f74022 [FIX] web_kanban: column_add_record with required field
When a quality.alert was added from the kanban view, a traceback was raised
due to a coding error. In the fail function, the event is the second parameter.

opw:703281
2017-01-09 14:13:23 +01:00
Goffin Simon 5335f8c516 [FIX] sale: _get_tax_amount_by_group
When computing the amount tax by group, the taxes which affect base of
subsequent taxes must be taken into account.

opw:703524
2017-01-09 14:03:40 +01:00
Haresh Shyara b081203522 [IMP] mrp: Hide origin field on MO in debut mode 2017-01-09 13:45:18 +01:00
Aaron Bohy 5936356603 [FIX] web: Apply autofocus on form views opened in dialogs
Purpose:
========

When user opens a wizard , the cursor should be placed in the first field which saves a click for the user.
Right now , in odoo the cursor is not coming in the first field by default.
2017-01-09 13:21:52 +01:00
Odoo Translation Bot b5381e8537 [I18N] Update translation terms from Transifex 2017-01-09 13:18:30 +01:00
dut-odoo 345b117fae [FIX] l10_be_invoice_bba: trigger the onchange when reference_type is modified
Bug introduced by during the module migration

https://github.com/odoo/odoo/commit/dc6e7ca25ba4f1b5b6ce9c1857527e14ff919e31
2017-01-09 12:02:19 +01:00
dut-odoo 32f2d25a2f [IMP] l10n_be_invoice_bba: show communication on invoice report and in email
If a communication is set, add in the report the folllowing line :
    Please use the following communication for your payment : (reference in bold)
2017-01-09 12:02:19 +01:00
Haresh Shyara 359e8a008b [IMP] mrp: improve display of some views
* Manufacturing Order: set Update button invisible when creating
   a MO, and also when MO is canceled. When creating a MO user
   should not be able to update;
 * Limitate production messages to routing group as those are linked
   to work orders, used when doing routing
2017-01-09 12:00:52 +01:00
Odoo Translation Bot 5f6e3f4686 [I18N] Update translation terms from Transifex 2017-01-09 12:00:30 +01:00
hza 8b7aa82265 [IMP] hr_holidays: better distinguish allocation and leave requests
Purpose of this commit is to help user distinguish allocation and leave
requests. This is achieved through three improvements

 * name_get is improved to display the holidays type
 * type is tracked and therefore displayed in chatter messages
 * button in notification emails depends on holidays type
2017-01-09 11:05:05 +01:00
Martin Geubelle 63f732b9a1 [IMP] web_kanban: add bold attribute
This commit introduces a new `bold` attribute that can be set
on a <field> in kanban which will be wrapped inside a <strong>.
2017-01-09 10:52:04 +01:00
Hiral Bhavsar 675d0bb001 [FIX] note: Display stages on some demo data
The stages aren't displayed if the user is not set on the note
2017-01-09 10:43:23 +01:00
Hiral Bhavsar 3a5341506b [IMP] note: add an editable tree view for tags
Also:
- Don't display "Active -> True" when we create a note
- Allow to create tags on the fly on a note form view

When user create a new Note or click on 'Tick' option in kanban view, remove the message 'Active->True' & 'True->False' and Make the creation of 'Tags' inline mode.

[IMP] note: 'Tags' should be created from note's form view.
2017-01-09 10:38:53 +01:00
David Arnold 6ac397e58e [REF] account: improve inheritability.
Split method generate_account() in chart template generation to allow an easier overwritting of the vals in case a localization added some custom fields on account.account object. Courtesy of David Arnold(dar@devco.co)
2017-01-09 10:25:57 +01:00
Fabien Pinckaers 0741e64e5b [IMP] mrp: computed blocking time based on working hours or wc
for machine blocks only, as people can do extra hours
2017-01-08 00:23:20 -08:00
Fabien Pinckaers b33228cb49 [IMP] *: color index - avoid lots of grey tags on kanban 2017-01-07 23:34:38 -08:00
Fabien Pinckaers e84e7f7445 [IMP] mass_mailing: app name consitency: Email Marketing (webite, pricing, app name, menu 2017-01-07 22:20:11 -08:00
Fabien Pinckaers eee806e4a4 [IMP] *: remove #general messages at module installation 2017-01-07 21:31:11 -08:00
Odoo Translation Bot 854ab68902 [I18N] Update translation terms from Transifex 2017-01-08 04:43:31 +01:00