Commit Graph
946 Commits
Author SHA1 Message Date
Cédric Krier 5dcefc1111 Always raise exception in table handler
issue7175
review40161002
2018-03-15 00:46:18 +01:00
Sergi Almacellas Abellana 9f77575a36 Remove user groups from buttons readonly property.
Readonly definition is no more needed as it's managed by ir.model.button

issue7191
review35991002
2018-03-09 11:52:31 +01:00
Sergi Almacellas Abellana 74e9a217e4 Register all buttons are registered in ir.model.button
issue6389
review36621002
2018-03-01 12:45:05 +01:00
Sergi Almacellas Abellana 2c60d69bd9 Add depends on Button
issue6919
review40811002
2018-02-19 11:40:31 +01:00
Sergi Almacellas Abellana 4c3bdbcca1 Do not process same sale multiple times when it's invoice lines are deleted
issue7084
review41011002
2018-01-25 17:31:33 +01:00
Cédric Krier abe6b645d7 Remove MySQL backend
issue7017
2018-01-24 20:14:36 +01:00
Cédric Krier 2a1bf2d706 Improve dependency links
issue7049
2018-01-21 19:58:05 +01:00
Cédric Krier f55af4ec7a Add wizard to modify sale header after filling lines
issue6972
review38991002
2018-01-08 19:31:23 +01:00
Cédric Krier 16dea5aea2 Use product and sale record name for line
This gives more information than the id.

issue7021
review42971002
2017-12-26 17:38:51 +01:00
Cédric Krier eea4a4d3ef Expose shipments_returns constructors
issue7016
review42951002
2017-12-20 19:30:57 +01:00
Cédric Krier a41bd1a70d Make description on sale line optional
issue6860
review40831002
2017-12-18 19:05:43 +01:00
Cédric Krier 00e0417535 Store cache in one save
issue6980
review44461002
2017-12-13 18:01:34 +01:00
Cédric Krier 2715055916 Enforce list of unique products for get_purchase_price call
issue6941
review36801002
2017-11-21 20:48:21 +01:00
Cédric Krier 3d8aa609b8 Invoice shipped product instead of sold product
issue6841
review43601002
2017-11-11 16:09:07 +01:00
Cédric Krier fec7e94ee3 Increase version number 2017-10-30 15:30:05 +01:00
Cédric Krier 8cb0e3ab5f Added tag 4.6.0 for changeset e6b09f17a450 2017-10-30 15:29:45 +01:00
Cédric Krier 67db153203 Prepare release 4.6.0 2017-10-30 15:29:45 +01:00
Cédric Krier 21ef75bc1f Ensure quantity from context is a number
The quantity compares with other quantity so it fails on Python3 if quantity
is None.

issue6885
review40781002
2017-10-30 09:57:23 +01:00
Cédric Krier 0a20bcb086 Update translations 2017-10-28 16:49:49 +02:00
Cédric Krier 5720dd9cf0 Use always admin in sale scenario
With changeset c182396e788f, it became cumbersome to tests using different
users because the Model definition may be different per user.

issue6877
review38891002
2017-10-26 10:14:32 +02:00
Cédric Krier 1081181374 Search on shipments by rec_name or id if not yet nested
Reintroduce the fix from rev adde28720c96

issue6874
review43631002
2017-10-25 18:48:58 +02:00
Cédric Krier 303a6d8f47 Remove support of Python 3.3 and add Python 3.6
issue6843
review41611002
2017-10-23 23:54:07 +02:00
Cédric Krier 571f003055 Enforce the same category of UoM for move with a sale line as origin
The sale line computes the remaining quantity and the quantity to invoice by
converting the move quantity to the sale unit. So they must have the same
category of UoM.

issue6839
review35691002
2017-10-18 14:51:12 +02:00
Sergi Almacellas Abellana 6407bfe647 Use used property for account receivable
issue6561
review43311002
2017-09-28 10:17:12 +02:00
Cédric Krier dd7f60db0a Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:32 +02:00
Cédric Krier 17187fd0e0 Fix chained set_lang call in report
issue6548
review42631002
2017-09-07 18:52:09 +02:00
Cédric Krier 6e4a06c8d0 Set planned date of backorder move to today
issue6700
review42581002
2017-09-03 11:21:16 +02:00
Cédric Krier fdf9fe590d Use Flat OpenDocument
issue6545
review35031002
2017-08-31 22:53:04 +02:00
Cédric Krier 82cfe7cb87 Do not use cancel moves to compute shipping date
issue6701
review39611002
2017-08-28 18:19:06 +02:00
Cédric Krier 0645beeba9 Update to drone 0.8
issue6030
2017-08-19 00:33:14 +02:00
Cédric Krier 79842c8ffe Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:21 +02:00
Cédric Krier b9674584da Add test scenario for empty sale
issue6639
review35121002
2017-07-26 23:22:51 +02:00
Cédric Krier d34216a221 Ensure empty sale goes to done state
As there is not transition from confirmed to done, the sale must first be
processed.

issue6639
review35121002
2017-07-26 23:22:25 +02:00
Cédric Krier 1741a6d5d1 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:48 +02:00
Cédric Krier 8b3f0b5af1 Add cron task to process confirmed sale
issue6487
review42301003
2017-05-31 00:02:15 +02:00
Cédric Krier fdf80680db Add report_address property on sale
issue6438
review38331002
2017-05-22 18:42:25 +02:00
Cédric Krier b5393bf96f Do not deduct recreated moves in remaining quantity if they are not done
issue6484
review38361002
2017-05-09 19:17:44 +02:00
Cédric Krier b8a1b090b1 Increase version number 2017-05-01 21:19:51 +02:00
Cédric Krier aad369ff1f Added tag 4.4.0 for changeset 7fee0182f57f 2017-05-01 21:18:36 +02:00
Cédric Krier 30f4602914 Prepare release 4.4.0 2017-05-01 21:18:35 +02:00
Cédric Krier f00c17a504 Update translations 2017-04-29 18:59:25 +02:00
Cédric Krier 1d152d9dc5 Fix get_move_done computation for returns
The quantity of the line may be negative, so the absolute value must be used.
The scenario update does not catch this case because it is a complex case that
can not be achieved with the default methods. But it adds various states
checks.

issue6440
review39311002
2017-04-19 10:29:30 +02:00
Sergi Almacellas Abellana 4627feb3b9 Don't return shipment methods in sale configuration invoice_method selection
issue6418
review36291002
2017-04-04 17:22:24 +02:00
Cédric Krier b1ab81d8aa Add sale price on product view from line
issue6407
review35361002
2017-04-02 12:51:43 +02:00
Cédric Krier 22bb1983c0 Allow no lead time on product
They are cases where a company can not define a lead time for selling a
product. In such case, the customer moves generated must not have any planned
date.

issue6394
review28131002
2017-04-02 12:43:37 +02:00
Cédric Krier b2769295b4 Catch KeyError on ModelData.get_id in default method
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.

issue6409
2017-04-01 10:42:31 +02:00
Cédric Krier ff30aef9b6 Remove Property fields
issue2349
review28151002
2017-04-01 00:36:49 +02:00
Cédric Krier f31d55bf81 Use reference as origin name if filled
Because it is used as references on the reports, it targets the external world.

issue6370
review33241002
2017-03-29 22:40:15 +02:00
Cédric Krier 58d37f2eb7 Add missing forth argument in invoice relate
As it uses the Reference field origin, it needs the extra argument which was
wrongly dropped by changeset f98f9e94e160

issue6376
review27221002
2017-03-21 23:25:27 +01:00
Cédric Krier 4cd7175fb9 Use shipment_party location when available
The shipment will use the shipment_party so the location of moves should also
otherwise the outgoing move domain is not respected.

issue6368
review33231002
2017-03-20 10:47:23 +01:00