Commit Graph
112814 Commits
Author SHA1 Message Date
Josse Colpaert 4cb2e626a9 [IMP] mrp: Allow optional bom lines with 0 qty
When processing moves with 0 initial demand,
it will set the initial demand = qty_done.  Also, when updating the quantity of
an MO, don't take into account those with 0 quantity.
2017-09-27 18:10:20 +02:00
Monish Soni 0a75db1db2 [IMP] res_config: Display 'Discard' in capital letters 2017-09-27 17:35:22 +02:00
Jérome Maes 3c7e8e79a4 [FIX] sale_timesheet: avoid crash when comparing UoM of different category
If not UoM set, timesheet UoM is hours by default
and product one is Units. We can consider 1 unit =
1 hour.
2017-09-27 17:32:59 +02:00
Jérome Maes 18861ff104 [FIX] sale_timesheet: add a domain on so line field for task
SO line partner should be the same as the
task cutomer. The so line field only appears
when customer is set, so it makes sense.
2017-09-27 17:32:59 +02:00
Jérome Maes 932c0d2301 [FIX] website_quote: allow to sign quotation even when customer portal is not configured 2017-09-27 17:32:59 +02:00
Jérome Maes 38018ecda7 [FIX] hr_expense: better implied access group
To confirm expense, you have to be expense manager,
which implied HR officer. This implied relation is
not required anymore.
For the HR apps to be independent, removing this
relation is better and does not impact normal
expense flow (submit - confirm - post).
2017-09-27 17:32:24 +02:00
Yannick Tivisse 54e99d2298 [FIX] transifex: Avoid traceback on transifex_url computation 2017-09-27 17:23:31 +02:00
Khoi Nguyen 982834714b [IMP] mrp: Groundwork for the new workorder tablet view
This commit ensures that the prerequisites for the new tablet view
(introduced in Enterprise) are met. Aside from a few additional fields
and simple view modifications which allow simpler changes via
inheritance, the main change it introduces is the capability to take
into account consumed quantities of untracked components.
2017-09-27 17:13:24 +02:00
Khoi Nguyen e73922855d [IMP] mrp: Allow page-setting fields for pdf widget
This revision allows the page number of a pdf file to be set via an
integer field. If the pdf widget is attached to the 'field' field, then
the page can be changed via the 'field_page' field.
2017-09-27 17:13:24 +02:00
Khoi Nguyen 0c7d4b6495 [IMP] web: Allow setting form_view_initial_mode in fullscreen
This commit lays the groundwork for the new work order tablet view,
which is a fullscreen form view that requires to be started in 'edit'
mode.
2017-09-27 17:13:24 +02:00
Khoi Nguyen 8d5f103b58 [REF] mrp: Change demodata
This revision changes the BOM and routing of what was previously a
"computer desk". The aim is to provide a complete example which can be
used to showcase what can be accomplished with the new tablet view.
2017-09-27 17:13:24 +02:00
Raphael Collet 36141931bf [FIX] mail: remove field res_model_id for performance reasons (#19744) 2017-09-27 16:58:19 +02:00
Hetashree Chauhan 379f949bad [IMP] mrp: Fix traceback when creating alert 2017-09-27 16:29:10 +02:00
Martin Trigaux dbf8304e3a [IMP] account: clarify help message
Was too technical
2017-09-27 15:30:50 +02:00
jpr-odoo 3f0291ee6d [FIX] account_payment: inclusion of transactions
Part of commit was missing in 6e4db0e6db .
2017-09-27 15:23:12 +02:00
jpr-odoo ebfadc29b9 [FIX] account_payment: keep arguments including token in payment form redirections 2017-09-27 14:33:33 +02:00
jpr-odoo 6951951c98 [FIX] sale_payment: keep arguments including token in payment form redirections 2017-09-27 14:33:33 +02:00
Dhaval Suthar 6e4db0e6db [FIX] account: fix and improve display of invoices in customer portal
* fix breadcrumb for invoices in portal, when going into an invoice
   the 'Invoices' part of the breadcrumb allowing to come back to the
   invoices list was not a link;
 * remove duplicate of invoice reference in page view;
2017-09-27 14:33:33 +02:00
Rohan Patel c3ee3f7e3f [FIX] sale_payment: do not propose to pay an order containing already payed transactions 2017-09-27 14:33:32 +02:00
Priyanka Kakadiya 16a55872e9 [FIX] purchase: Fix typo on stat button 2017-09-27 14:26:50 +02:00
stefanorigano eb96289678 [FIX] web: review and fix kanban design
- Folded column design
- Adapt progressbar header layout
- Remove custom opacity mixin (use default o-hover-opacity)
- Remove columns' border (increase padding-right)
- Decrease counter opacity if no records
- Refine counter animations
- ...
2017-09-27 14:22:39 +02:00
Pratima Gupta 9877989e06 [FIX] mail: only set module icon if possible
Posting a message on a custom model (i.e. created with Studio) crashed.

If it's a custom model, its `_original_module` attribute is not correctly set so
trying to retrieve the icon based on this attribute does not work.
2017-09-27 13:51:28 +02:00
Aaron Bohy f49d758665 [FIX] web: BasicModel: recursively compute onchange specs
Before this rev., onchange specs where only computed up to level
2 (i.e. for fields inside x2many fields). So basically, if there
were a one2many list inside a one2many (e.g. which opens in a
form view), the fields of that inner one2many list weren't added
to the specs, and it could lead to unexpected responses from the
server (like erasing the changes made on the inner one2many
records).

Closes #19600
2017-09-27 13:50:07 +02:00
Thibault Delavallée b53ce01b16 [MOV] website_sale: move models in their right file 2017-09-27 13:21:53 +02:00
Yannick Tivisse 2b30a585cf [IMP] sale: do not display 'Create Invoice' button without sale_management 2017-09-27 13:21:44 +02:00
Yannick Tivisse e2f58616d4 [IMP] payment: display journal_id on top of payment acquirer form
Otherwise Paypal layout is a bit messy as fees appears before accounting
configuration which should be the first thing to be displayed.
2017-09-27 13:21:35 +02:00
Joren Van Onder a6114ac371 [IMP] sale: remove unused variable 2017-09-27 13:20:00 +02:00
Vandan Shah 0c8e18eba6 [IMP] stock: logged the note when edit the initial demand on a picking and when edit the received(done) quantity on a picking done(validated) as well as backorder message is deleted for better usability 2017-09-27 13:20:00 +02:00
Vandan Shah b509427e7a [IMP] mrp: when quantity, location, lot changed log note should be logged 2017-09-27 13:20:00 +02:00
Vandan Shah 41a3c884c0 [IMP] purchase: when product qty is change in confirmed PO display log note 2017-09-27 13:20:00 +02:00
Vandan Shah 513c1474a3 [IMP] sale: improved logged note on confirmed sale order 2017-09-27 13:20:00 +02:00
Lucas Perais (lpe) 9dead7e3d3 [FIX] web: fix less on toggle boolean 2017-09-27 13:18:53 +02:00
jpr-odoo 23d7c53424 [FIX][IMP] portal, sale: fix and improve UX for signature form in customer portal
* set height for draw signature when user want to accept order to avoid
   various display issues;
 * fix name input not being displayed as error if trying to sign with a
   void partner name;
 * no more show 'Accept & Sign' button if customer signed document;
 * update message string for success message after signature;
 * add an option to specify the signature button label and use it in
   sale customer portal;
 * improve return of signature route to return more specific error
   messages;

This commit contains squashed code from @rop-odoo .
2017-09-27 13:02:24 +02:00
jpr-odoo 9d9f4cccdb [IMP] sale: better display taxes in order display on customer portal
Do it like sale order report.
2017-09-27 13:02:24 +02:00
Dhaval Suthar 896487c063 [FIX] sale: fix and improve behavior of sale customer portal
* display canceled or done status of quotations on quotation page
   view in order to ease user navigation;
 * allow to filter on state;
 * fix breadcrumb for canceled quotations, currently telling 'Sales
   Orders' instead of 'Quotations';
 * display order shipping address only if multi address group
   is activated;
 * display order expiration date on sale order customer portal;
 * when signed, add help message on disabled 'Sign' button telling
   when and by who the order has been signed;
 * fix download button display and alignment in quote template

This commit contains squashed commits coming from @jpr-odoo and
@abh-odoo .
2017-09-27 13:02:24 +02:00
Aaron Bohy c52b7ebd26 [FIX] web: tests: invalid XML in the arch
not detected by the runbot... but so the test isn't executed.
2017-09-27 13:01:04 +02:00
Martin Trigaux 6f6a69ec23 [FIX] transifex: allow both python import
Now that @jem-odoo has finally migrated to python3
2017-09-27 10:30:49 +02:00
Dhaval Suthar 9ae6feb934 [FIX] sale: set sign as default option for online signature and payment options 2017-09-27 10:30:01 +02:00
Luis Ernesto Torres Macías 82e205701e [FIX] l10n_mx: fix DIOT report by adding tags
- DIOT report is splitted in some columns like Tax 16% , Tax 0%, Retention and Exempt. was added a tag by each column, to allow indicate the correct column. However, this report is broken since this commit:

https://github.com/odoo/odoo/commit/3fb4159ad9c9b9488912292b7b339d9f1fd2ce3c#diff-0cd8c6aab13e39d5fe3ec259db54035cL3)

- Assign the new tags in the correct tax
2017-09-27 10:24:54 +02:00
Pierre Masereel c493569866 [FIX] stock, barcodes: allow force detailed view of picking and rename barcode 'CANCEL' to 'DISCARD' 2017-09-27 09:21:17 +02:00
Pratima Gupta 55c0221e38 [IMP] stock, mrp{,_repair}: warn when operating on out of stock products
This implements a warning when the user tries to do any of the
following operations on a product that is not in stock:

- Scrapping
- Unbuilding
- Repairing

The warning displays the current stock of the product in question per
location which can be helpful in case the user selected the wrong
location.
2017-09-26 21:36:10 -07:00
Pratima Gupta a5de785969 [IMP] stock: open stock.move.line when clicking on scrap smart button
Instead of stock.move.
2017-09-26 21:36:10 -07:00
Pratima Gupta 6e6e8f1cc4 [IMP] mrp_repair: require lot immediately when creating repair lines
Instead of only checking when actually confirming the repair.
2017-09-26 21:36:10 -07:00
Pratima Gupta 578ebc6f6e [IMP] mrp: make smart button on mrp.unbuild open stock.move.line
Instead of stock.move.
2017-09-26 21:36:06 -07:00
Rohit Ramnani 088a329749 [FIX] mrp: force computation of time_cycle in workcenter form view
Without this time_cycle is not computed in the tree view on new
workcenters created through 'Add an item'. This leads to the
time_cycle field being displayed as NaN:NaN. This forces computation
on the form view opened through 'Add an item' which solves the issue.
2017-09-26 20:04:19 -07:00
Suraj Shukla 7295ed473e [FIX] mrp: allocate more room for oee field on kanban card
To avoid it overflowing past the edge of the card.
2017-09-26 20:00:33 -07:00
Jaykishan Solanki 9345463582 [FIX] mrp: remove top button to block workcenters on kanban
These buttons are already present at the bottom of the card.
2017-09-26 19:56:30 -07:00
Sanjay Jamod 75780c1b18 [FIX] stock: default product when creating lot from template form
stock.production.lot links to product.product, so don't do it if the
template has >1 variant.
2017-09-26 19:54:20 -07:00
Ankit Joshi 10d1149edf [FIX] stock: show virtual_available and fields that compute it as float
Essentially undoing what was done at
ccd50b7ecd. This no longer seems
necessary as the new webclient seems to handle this fine.
2017-09-26 16:49:43 -07:00
Joren Van Onder 5539c54d61 [IMP] l10n_co: update and simplify
This simplifies the chart of accounts and taxes to only the common
ones used. It also updates some changes that took place (eg. the VAT
increase from 16% to 19%). Lastly it implements some additional fields
on res.partner: a document type and a verification code that is
calculated based on the VAT.
2017-09-26 11:11:54 -07:00