Commit Graph
237 Commits
Author SHA1 Message Date
Cédric Krier e13a4bcdcd Store default language in database
review592004
2012-11-23 18:01:01 +01:00
Cédric Krier 37400bd213 Fix comment of compute_supply_date 2012-11-22 23:17:54 +01:00
Cédric Krier 60e481131b Change unit value earlier if needed in on_change_product
issue2761
2012-10-20 23:35:09 +02:00
Cédric Krier d346db0ee5 Fix OpenCustomer to not call browse with int
issue2837
review573002
2012-10-20 23:26:36 +02:00
Cédric Krier 687a58be2a Use gettattr with default value in _get_context_purchase_price
Some fields from purchase could not be defined.
2012-10-19 19:30:27 +02:00
Cédric Krier ce9aa1fc44 Fix test on to_recreate in invoice exception handling 2012-10-11 17:54:17 +02:00
Cédric Krier 81a0dbc4b1 Fix naming collison from AR migration 2012-10-11 17:53:41 +02:00
Cédric Krier 26e2f86828 Fix typo in on_change_party, it should use the instance instead of id
issue2822
2012-10-10 16:46:01 +02:00
Cédric Krier 15d3ba7fb2 Managage negative amounts in purchase
review354001
2012-09-30 21:19:45 +02:00
Cédric Krier eeced05eec Active Record 2012-09-24 22:18:09 +02:00
Cédric Krier 41ece280fb Merge all kind of buttons
review483002
2012-09-10 15:28:28 +02:00
Cédric Krier 6eac20694a Add missing purchase_date on some on_change 2012-09-04 22:56:49 +02:00
Cédric Krier 8d1ecc28bc Ensure clause concatination works with tuple vs list 2012-09-04 22:56:05 +02:00
Cédric Krier 0b7c9afc5e unit_price and quantity could be None during on_change calls
issue2740
2012-08-07 12:53:48 +02:00
Cédric Krier 0a94ba79ac Remove required on sequence
review348001
2012-05-14 15:36:47 +02:00
Cédric Krier a37d14cd14 Allow to reset to draft a cancelled purchase
review340004
2012-05-12 16:45:47 +02:00
Cédric Krier 70eac46c04 Fix manual invoice method and states of cancel button
review340004
2012-05-12 16:45:14 +02:00
Cédric Krier 36a817ae6c 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.

review350001
2012-05-05 09:23:50 +02:00
Cédric Krier 3030cb04a9 Add missing state return in transation on Exception wizards 2012-04-27 12:46:05 +02:00
Cédric Krier b422b6a1ac 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
review335001
2012-04-21 01:20:31 +02:00
Nicolas Évrard 5d3c47fa1d Fix use of button_draft 2012-04-18 13:51:06 +02:00
Cédric Krier c5578c2a72 Skip invoice line not type "line" when compute invoiced quantities
review322002
2012-04-13 13:17:58 +02:00
Cédric Krier 70144738a6 Fix pep8 and pyflakes 2012-04-03 20:07:31 +02:00
Cédric Krier 3157aad56c Allow only deleting cancelled workflowed models
review317001
2012-04-03 12:17:16 +02:00
Cédric Krier a8593f91bf Replace wrong usage of False by None
issue2512
2012-03-27 10:43:54 +02:00
Cédric Krier a5a8aecb20 default_from_location doesn't exist anymore
issue2255
review285002
2012-03-25 18:25:25 +02:00
Cédric Krier 4b20060196 Remove special uom search clause
review295002
2012-03-25 15:40:32 +02:00
Cédric Krier 7c123a9d75 Simplify workflow engine
review256001
2012-03-25 00:18:10 +01:00
Nicolas Évrard e1ff366192 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:52 +01:00
Robin Baumgartner 8831954f71 Change purchase line with amount
issue2465
review257001
2012-03-21 08:47:42 +01:00
Cédric Krier 6ffab824fe New product types: Goods, Assets and Service
review260001
2012-03-16 12:41:54 +01:00
Sergi Almacellas Abellana 935103de7b Added indexes on company fields
Put an index on every company field.

issue2184
review226001
2012-03-14 09:30:39 +01:00
Cédric Krier bb0048bfce Add cache on amount fields in readonly states
issue1382
review282002
2012-03-16 10:46:09 +01:00
Cédric Krier e1cb286fb1 Don't make eager fields depend on lazy fields
review281001
2012-03-12 22:32:30 +01:00
Mathias Behrle 08c3ff29a5 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:06 +01:00
Cédric Krier 0453a7645e Use the most used currency by party
It takes the most used currency on the 10 last records as default value for
purchase and product_supplier

issue2386
review221003
2012-02-27 12:46:27 +01:00
Cédric Krier 7f6011ba39 Allow to customize values of stock move
review253001
2012-02-27 10:42:01 +01:00
Cédric Krier a65fae5010 Add default database language code
review202001
2012-01-27 21:13:39 +01:00
Cédric Krier 0ecbd852b8 Add currency on product_supplier
issue2385
review222003
2012-01-17 13:13:35 +01:00
Cédric Krier f575b8de7d New wizard design 2012-01-02 18:03:18 +01:00
Cédric Krier 4f5bd7e87f Remove change_default on fields
issue2249
review206003
2011-12-22 22:06:05 +01:00
Cédric Krier 022bdc0c8a Fix _compute_delivery_date when there is no product
issue2321
2011-12-05 13:47:17 +01:00
Cédric Krier f5e9784897 Add a Function field delivery_date to purchase line
issue2238
review188001
2011-12-01 16:06:06 +01:00
Cédric Krier 43b8d73421 Purchase date is required only at confirmation
issue1087
review189003
2011-12-01 15:25:16 +01:00
Cédric Krier 3e2346285a merge 2011-11-29 21:07:14 +01:00
Nathanael Perat 4fbe87bcc5 Method compute_supply_date returns 1 date
compute_supply_date used to return 2 dates, 1 for the supply date
and 1 for the next date.
Now it returns only the supply date

issue 2300
review 184001
2011-11-29 18:26:26 +01:00
Cédric Krier 46996f083b warehouse is not always required
issue2248
review168002
2011-11-19 19:34:47 +01:00
Nicolas Évrard 319a3ae801 fix pyflake errors
review163013
2011-11-02 16:12:32 +01:00
Cédric Krier 1f4f290695 Round get_purchase_price according to unit_price digits
issue2094
review129002
2011-10-04 19:57:40 +02:00
Cédric Krier 377ee452ba New search widget
review95005
2011-10-03 09:51:28 +02:00