Cédric Krier
2f166d30c3
Change unit value earlier if needed in on_change_product
...
issue2761
2012-10-20 23:34:35 +02:00
Cédric Krier
119a04fe85
Fix OpenCustomer to not call browse with int
...
issue2836
review572002
2012-10-20 23:28:13 +02:00
Cédric Krier
b2c0f180ee
Use getattr with default value in _get_context_sale_price
...
Some fields from sale could not be defined.
2012-10-19 19:29:34 +02:00
Cédric Krier
dd271eca5f
Add missing test on warehouse in get_warehouse
...
issue2839
2012-10-18 23:47:56 +02:00
Cédric Krier
99dddea4d3
Fix naming collison from AR migration
2012-10-11 17:54:46 +02:00
Cédric Krier
9c9b3932ba
Active Record
2012-09-24 22:18:13 +02:00
Cédric Krier
fe4d332806
Merge all kind of buttons
...
review483002
2012-09-10 15:28:33 +02:00
Cédric Krier
584f793a68
Fix typo in HandleInvoiceException
2012-09-04 22:53:48 +02:00
Cédric Krier
39d193212e
Add missing sale_date on some on_change
2012-08-26 15:56:53 +02:00
Cédric Krier
de970ebc27
unit_price and quantity could be None during on_change calls
...
issue2740
2012-08-07 12:53:09 +02:00
Cédric Krier
3e9690c058
Improve warehouse requirement test and fix get_from_location
...
issue2644
review386003
2012-06-13 23:23:29 +02:00
Cédric Krier
d51b4b9212
Fix invoice line generation for non-line
...
review377002
2012-05-30 12:08:26 +02:00
Cédric Krier
639dab5a11
Wrap subquery inside an other inner subquery for MySQL
...
MySQL syntax doesn't allow update a table and select from the same table in a
subquery.
2012-05-22 11:55:30 +02:00
Cédric Krier
ffe792bb7a
Replace SQL query "UPDATE FROM" not supported by sqlite nor MySQL
...
issue2608
review358002
2012-05-21 12:36:59 +02:00
Cédric Krier
6546ec6a45
Use SQL query for migration
...
review359001
2012-05-19 15:34:10 +02:00
Cédric Krier
a50bea24a4
Remove required on sequence
...
review348001
2012-05-14 15:36:50 +02:00
Cédric Krier
b6dccc932f
Allow to reset to draft a cancelled sale
...
review360001
2012-05-12 16:41:50 +02:00
Cédric Krier
0bcf3b29f0
Fx manual method, on_invoice_paid invoice method and states of cancel button
...
review360001
2012-05-12 16:40:17 +02:00
Cédric Krier
a64a1e6f81
Manage invoice line creation the same way as stock move
...
As the invoice and shipment are both managed in the process method. So it sum
all the quantity invoiced (even the canceled) with the exception of the one
already recreated.
review351001
2012-05-05 09:24:44 +02:00
Cédric Krier
ea738ead82
Fix invoicing non-line type
...
Non-line type can be put on invoice only when all lines are copied on invoice.
Otherwise it generates an odd design.
issue2555
review334001
2012-04-21 01:19:39 +02:00
Nicolas Évrard
42512718f8
Fix wizard to create a return from a sale
2012-04-18 17:42:46 +02:00
Cédric Krier
e6b26ebd45
Skip invoice line not type "line" when compute invoiced quantities
...
review322001
2012-04-13 13:17:24 +02:00
Cédric Krier
9c24936050
Fix pep8 and pyflakes
2012-04-03 20:07:35 +02:00
Cédric Krier
4822ace28d
Allow only deleting cancelled workflowed models
...
review317001
2012-04-03 12:17:19 +02:00
Nicolas Évrard
ff1193da97
Manage negative amounts in sale
...
review274001
issue1795
2012-04-02 12:48:09 +02:00
Cédric Krier
6f3b7d4247
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:58 +02:00
Cédric Krier
2e7aa17c38
Fix invisible state of delivery_date
2012-03-25 15:51:48 +02:00
Cédric Krier
f5a0391236
Remove special uom search clause
...
review292002
2012-03-25 15:40:02 +02:00
Cédric Krier
73494dff5a
Simplify workflow engine
...
review256001
2012-03-25 00:18:13 +01:00
Nicolas Évrard
63d907b1b8
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:53 +01:00
Robin Baumgartner
092217932a
Change sale line amount with unit
...
issue2465
review257001
2012-03-21 08:37:56 +01:00
Cédric Krier
40be9734e3
New product types: Goods, Assets and Service
...
review260001
2012-03-16 12:41:57 +01:00
Sergi Almacellas Abellana
a12621ac4b
Added indexes on company fields
...
Put an index on every company field.
issue2184
review226002
2012-03-14 09:32:44 +01:00
Cédric Krier
4852039d19
Add cache on amount fields in readonly states
...
issue1382
review282001
2012-03-16 10:47:23 +01:00
Cédric Krier
20973931a3
Don't make eager fields depend on lazy fields
...
review280001
2012-03-12 22:32:02 +01:00
Cédric Krier
5cc614577e
Rename "On Order Confirmed" into "On Order Processed"
...
issue2473
2012-03-05 11:41:50 +01:00
Mathias Behrle
b4a17cc7ce
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:07 +01:00
Albert Cervera i Areny
39ef29c345
Rename field payment_term to customer_payment_term for consistency.
...
issue2161
review124001
2012-03-03 19:10:42 +01:00
Cédric Krier
5533c88ed4
Fix wizards to handle exception
...
Add missing return state name on transition
Fix typo
2012-02-26 18:41:57 +01:00
Cédric Krier
ab913d0a06
Add default database language code
...
review198003
2012-01-27 21:12:12 +01:00
Cédric Krier
262d3c4a12
New wizard design
2012-01-02 18:04:22 +01:00
Cédric Krier
724d880307
Remove change_default on fields
...
issue2249
review212003
2011-12-22 22:06:41 +01:00
Sharoon Thomas
681c66f5a2
Fix wrong _order in sale.sale
...
Issue2309
review212001
2011-12-21 21:33:26 +05:30
Cédric Krier
0540ad3580
Confirmed state split into Confirmed and Processing
...
review192002
2011-12-16 22:53:16 +01:00
Cédric Krier
4e9b73f521
Fix _compute_delivery_date when there is no product
...
issue2321
2011-12-05 13:46:40 +01:00
Cédric Krier
0367921805
Add a Function field delivery_date to sale line
...
issue2238
review185003
2011-12-01 16:05:00 +01:00
Cédric Krier
6b612e1bc6
Sale date is required only at confirmation
...
issue1087
review188002
2011-12-01 15:20:23 +01:00
Cédric Krier
4a9ee09806
warehouse is not always required
...
issue2248
review160008
2011-11-19 19:37:11 +01:00
Nicolas Évrard
53f84929bc
merge.
2011-11-02 17:07:27 +01:00
Cédric Krier
e272e09634
Set company on shipment since there is a field
...
issue2247
review165009
2011-11-02 16:59:13 +01:00