Merge lp:~openerp-commiter/openobject-addons/chricar_trunk_layout into lp:openobject-addons
- chricar_trunk_layout
- Merge into trunk
Status: | Rejected |
---|---|
Rejected by: | Fabien (Open ERP) |
Proposed branch: | lp:~openerp-commiter/openobject-addons/chricar_trunk_layout |
Merge into: | lp:openobject-addons |
Diff against target: |
2054 lines (+300/-1119) 12 files modified
account/account_invoice_view.xml (+61/-50) account/invoice.py (+2/-1) delivery/delivery_view.xml (+8/-6) purchase/purchase.py (+21/-8) purchase/purchase_view.xml (+23/-14) sale/__openerp__.py (+1/-1) sale/sale.py (+36/-3) sale/sale_view.xml (+35/-44) sale/stock_view.xml (+8/-0) smtpclient/i18n/fr.po (+0/-871) stock/stock.py (+3/-1) stock/stock_view.xml (+102/-120) |
To merge this branch: | bzr merge lp:~openerp-commiter/openobject-addons/chricar_trunk_layout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Vora (Serpent Consulting Services) (community) | Needs Fixing | ||
Ferdinand (community) | Needs Resubmitting | ||
Fabien (Open ERP) | Needs Fixing | ||
Review via email: mp+24656@code.launchpad.net |
This proposal supersedes a proposal from 2010-05-04.
Commit message
Description of the change
fixed some bugs
Ferdinand (office-chricar) wrote : | # |
Ferdinand (office-chricar) wrote : | # |
please merge ASAP as bzr merge from trunk needs always very time consuming manual review of xml files
unified layout for PO/SO/Picking/
unified logic for SO/PO (payment_term, scheduled date)
Fabien (Open ERP) (fp-tinyerp) wrote : | # |
Why did you removed this ?
<field name="context"
We need this.
Ferdinand (office-chricar) wrote : | # |
> Review: Needs Fixing
> Why did you removed this ?
> <field name="context"
>
>
> We need this.
We need to display partner AND address and
as we can not have address_id twice
so I have added in stock.py
'partner_id':
fields.
relation=
and display (a few lines later)
partner_id and adress_id
hope that is OK
--
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner
Ferdinand (office-chricar) wrote : | # |
We need to display partner AND address and
as we can not have address_id twice
so I have added in stock.py
'partner_id':
fields.
relation=
and display (a few lines later)
partner_id and adress_id
hope that is OK
Ferdinand (office-chricar) wrote : | # |
Ferdinand (office-chricar) wrote : | # |
@Fabien
well I will create a address_display_id instead and keep the original address_id functionality
Ferdinand (office-chricar) wrote : | # |
stock view uses again
name="address_id" context=
and partner_id displays partner name (which as missing)
Ferdinand (office-chricar) wrote : | # |
improved layout merged with r 3541
please let me know if you ever want to accept these layout changes - it costs about 2-3 hours to check conflicts each time.
Jay Vora (Serpent Consulting Services) (jayvora) wrote : | # |
Hello,
<button name="195" type="action" string="Re-Open" states="paid" icon="gtk-
It has always to be the reference of action, not an id directly.
Thanks.
Ferdinand (office-chricar) wrote : | # |
As I said in mail on expert list
* the branch trunk_layout as it is needs fixing -
** layout changes (combined relocation of fields AND changes of field attributes) are not (well) handled by bzr merge / bzr emerge
* it last worked with r 3541
I will not be able to do much before weekend or beginning of next week.
Preview Diff
1 | === modified file 'account/account_invoice_view.xml' | |||
2 | --- account/account_invoice_view.xml 2010-05-26 08:28:37 +0000 | |||
3 | +++ account/account_invoice_view.xml 2010-05-27 21:44:29 +0000 | |||
4 | @@ -140,31 +140,38 @@ | |||
5 | 140 | <field name="type">form</field> | 140 | <field name="type">form</field> |
6 | 141 | <field name="priority">2</field> | 141 | <field name="priority">2</field> |
7 | 142 | <field name="arch" type="xml"> | 142 | <field name="arch" type="xml"> |
9 | 143 | <form string="Supplier invoice"> | 143 | <form string="Supplier invoice"> |
10 | 144 | <group col="6" colspan="4"> | 144 | <group col="6" colspan="4"> |
11 | 145 | <field domain="[('type', '=', 'purchase')]" name="journal_id"/> | ||
12 | 146 | <field name="number" readonly="1"/> | 145 | <field name="number" readonly="1"/> |
13 | 147 | <field name="type" invisible="1"/> | ||
14 | 148 | <field name="currency_id" domain="[('company_id','=', company_id)]" on_change="onchange_currency_id(currency_id, company_id)"/> | ||
15 | 149 | <newline/> | ||
16 | 150 | <field name="partner_id" domain="[('supplier','=', 1)]" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank,company_id)" context="{'default_customer': 0}"/> | ||
17 | 151 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id"/> | ||
18 | 152 | <field name="fiscal_position" groups="base.group_extended" widget="selection"/> | ||
19 | 153 | <newline/> | ||
20 | 154 | <field name="date_invoice"/> | 146 | <field name="date_invoice"/> |
21 | 147 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget="selection" groups="base.group_multi_company"/> | ||
22 | 148 | <field name="partner_id" domain="[('supplier','=', 1)]" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank,company_id)" context="{'default_customer': 0}" colspan="4"/> | ||
23 | 149 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id" colspan="4"/> | ||
24 | 150 | |||
25 | 151 | |||
26 | 152 | <newline/> | ||
27 | 153 | <field name="type" /> | ||
28 | 155 | <field name="period_id" groups="base.group_user"/> | 154 | <field name="period_id" groups="base.group_user"/> |
32 | 156 | <group colspan="2" col="1" groups="base.group_user"> | 155 | <field name="currency_id" domain="[('company_id','=', company_id)]" on_change="onchange_currency_id(currency_id, company_id)"/> |
30 | 157 | <label align="0.0" string="(keep empty to use the current period)"/> | ||
31 | 158 | </group> | ||
33 | 159 | </group> | 156 | </group> |
34 | 160 | <notebook colspan="4"> | 157 | <notebook colspan="4"> |
35 | 161 | <page string="Invoice"> | 158 | <page string="Invoice"> |
37 | 162 | <field domain="[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name="account_id" groups="base.group_user"/> | 159 | <group col="6" colspan="4"> |
38 | 160 | <field domain="[('type', '=', 'purchase')]" name="journal_id" colspan="4" /> | ||
39 | 161 | |||
40 | 162 | <field name="payment_term" widget="selection"/> | ||
41 | 163 | <field domain="[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name="account_id" groups="base.group_user" colspan="4"/> | ||
42 | 164 | <field name="date_due"/> | ||
43 | 165 | <field name="name" colspan="4" /> | ||
44 | 166 | <field name="reconciled"/> | ||
45 | 163 | <field name="reference_type" nolabel="1" size="0"/> | 167 | <field name="reference_type" nolabel="1" size="0"/> |
49 | 164 | <field name="reference" nolabel="1"/> | 168 | <field name="reference" nolabel="1" colspan="3"/> |
50 | 165 | <field name="date_due"/> | 169 | |
51 | 166 | <field name="check_total" required="2"/> | 170 | </group> |
52 | 167 | <field colspan="4" default_get="{'check_total': check_total, 'invoice_line': invoice_line, 'address_invoice_id': address_invoice_id, 'partner_id': partner_id, 'price_type': 'price_type' in dir() and price_type or False}" name="invoice_line" nolabel="1"> | 171 | <field colspan="4" default_get="{'check_total': check_total, 'invoice_line': invoice_line, 'address_invoice_id': address_invoice_id, 'partner_id': partner_id, 'price_type': 'price_type' in dir() and price_type or False}" name="invoice_line" nolabel="1"> |
53 | 172 | <!-- | ||
54 | 173 | --> | ||
55 | 174 | |||
56 | 168 | <tree string="Invoice lines"> | 175 | <tree string="Invoice lines"> |
57 | 169 | <field name="product_id" on_change="product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})"/> | 176 | <field name="product_id" on_change="product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})"/> |
58 | 170 | <field domain="[('company_id', '=', parent.company_id), ('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id" on_change="onchange_account_id(parent.fiscal_position,account_id)"/> | 177 | <field domain="[('company_id', '=', parent.company_id), ('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id" on_change="onchange_account_id(parent.fiscal_position,account_id)"/> |
59 | @@ -194,8 +201,10 @@ | |||
60 | 194 | <button colspan="2" name="button_reset_taxes" states="draft" string="Compute Taxes" type="object" icon="gtk-apply"/> | 201 | <button colspan="2" name="button_reset_taxes" states="draft" string="Compute Taxes" type="object" icon="gtk-apply"/> |
61 | 195 | <field name="amount_untaxed"/> | 202 | <field name="amount_untaxed"/> |
62 | 196 | <label string="" colspan="2"/> | 203 | <label string="" colspan="2"/> |
63 | 204 | |||
64 | 205 | |||
65 | 197 | <field name="amount_tax"/> | 206 | <field name="amount_tax"/> |
67 | 198 | <field name="reconciled"/> | 207 | <field name="check_total" required="2"/> |
68 | 199 | <field name="amount_total"/> | 208 | <field name="amount_total"/> |
69 | 200 | <field name="state"/> | 209 | <field name="state"/> |
70 | 201 | <field name="residual"/> | 210 | <field name="residual"/> |
71 | @@ -203,26 +212,29 @@ | |||
72 | 203 | <button name="invoice_open" states="draft,proforma2" string="Validate" icon="gtk-apply"/> | 212 | <button name="invoice_open" states="draft,proforma2" string="Validate" icon="gtk-apply"/> |
73 | 204 | <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" icon="gtk-cancel"/> | 213 | <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" icon="gtk-cancel"/> |
74 | 205 | <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/> | 214 | <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/> |
76 | 206 | <button name="%(action_account_state_open)d" type='action' string='Re-Open' states='paid' icon="gtk-convert"/> | 215 | <button name="195" type="action" string="Re-Open" states="paid" icon="gtk-convert"/> |
77 | 207 | </group> | 216 | </group> |
78 | 208 | </group> | 217 | </group> |
79 | 209 | </page> | 218 | </page> |
80 | 210 | <page string="Other Info"> | 219 | <page string="Other Info"> |
87 | 211 | <field domain="[('partner_id', '=', partner_id)]" name="partner_bank" on_change="onchange_partner_bank(partner_bank)"/> | 220 | <field colspan="4" domain="[('partner_id','=',partner_id)]" name="address_contact_id" groups="base.group_extended"/> |
88 | 212 | 221 | ||
89 | 213 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget="selection" groups="base.group_multi_company"/> | 222 | <field colspan="4" domain="[('partner_id', '=', partner_id)]" name="partner_bank" on_change="onchange_partner_bank(partner_bank)"/> |
90 | 214 | <newline/> | 223 | |
91 | 215 | <field name="payment_term" widget="selection"/> | 224 | |
86 | 216 | <field name="name"/> | ||
92 | 217 | <newline/> | 225 | <newline/> |
93 | 218 | <field name="origin" groups="base.group_extended"/> | 226 | <field name="origin" groups="base.group_extended"/> |
95 | 219 | <field colspan="4" domain="[('partner_id','=',partner_id)]" name="address_contact_id" groups="base.group_extended"/> | 227 | |
96 | 228 | <field name="fiscal_position" groups="base.group_extended" widget="selection"/> | ||
97 | 220 | <field name="move_id"/> | 229 | <field name="move_id"/> |
98 | 230 | |||
99 | 221 | <separator colspan="4" string="Additional Information"/> | 231 | <separator colspan="4" string="Additional Information"/> |
100 | 222 | <field colspan="4" name="comment" nolabel="1"/> | 232 | <field colspan="4" name="comment" nolabel="1"/> |
101 | 233 | |||
102 | 234 | |||
103 | 223 | </page> | 235 | </page> |
104 | 224 | <page string="Payments" groups="base.group_extended"> | 236 | <page string="Payments" groups="base.group_extended"> |
106 | 225 | <field name="payment_ids" colspan="4" nolabel="1" > | 237 | <field name="payment_ids" colspan="4" nolabel="1"> |
107 | 226 | <tree string="Payments"> | 238 | <tree string="Payments"> |
108 | 227 | <field name="date"/> | 239 | <field name="date"/> |
109 | 228 | <field name="ref"/> | 240 | <field name="ref"/> |
110 | @@ -246,29 +258,33 @@ | |||
111 | 246 | <field name="model">account.invoice</field> | 258 | <field name="model">account.invoice</field> |
112 | 247 | <field name="type">form</field> | 259 | <field name="type">form</field> |
113 | 248 | <field name="arch" type="xml"> | 260 | <field name="arch" type="xml"> |
115 | 249 | <form string="Invoice"> | 261 | <form string="Customer Invoice"> |
116 | 250 | <group colspan="4" col="6"> | 262 | <group colspan="4" col="6"> |
117 | 251 | <field name="journal_id" groups="base.group_user"/> | ||
118 | 252 | <field name="number"/> | ||
119 | 253 | <field name="type" invisible="1"/> | ||
120 | 254 | <field name="currency_id" domain="[('company_id','=', company_id)]" on_change="onchange_currency_id(currency_id, company_id)"/> | ||
121 | 255 | <newline/> | ||
122 | 256 | <field name="partner_id" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank,company_id)" groups="base.group_user"/> | ||
123 | 257 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id"/> | ||
124 | 258 | <field name="fiscal_position" groups="base.group_extended" widget="selection"/> | ||
125 | 259 | <newline/> | ||
126 | 260 | 263 | ||
127 | 264 | <field name="number" readonly="1"/> | ||
128 | 261 | <field name="date_invoice"/> | 265 | <field name="date_invoice"/> |
129 | 266 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget="selection" groups="base.group_multi_company"/> | ||
130 | 267 | <field name="partner_id" domain="[('customer','=', 1)]" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank,company_id)" groups="base.group_user" context="{'default_supplier': 0}" colspan="4"/> | ||
131 | 268 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id" colspan="4"/> | ||
132 | 269 | <newline/> | ||
133 | 270 | <field name="type" /> | ||
134 | 262 | <field name="period_id" groups="base.group_user"/> | 271 | <field name="period_id" groups="base.group_user"/> |
138 | 263 | <group colspan="2" col="1" groups="base.group_user"> | 272 | <field name="currency_id" domain="[('company_id','=', company_id)]" on_change="onchange_currency_id(currency_id, company_id)"/> |
136 | 264 | <label align="0.0" string="(keep empty to use the current period)"/> | ||
137 | 265 | </group> | ||
139 | 266 | </group> | 273 | </group> |
140 | 274 | |||
141 | 267 | <notebook colspan="4"> | 275 | <notebook colspan="4"> |
142 | 268 | <page string="Invoice"> | 276 | <page string="Invoice"> |
145 | 269 | <field domain="[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name="account_id" groups="base.group_user"/> | 277 | <group colspan="4" col="6"> |
146 | 270 | <field name="name"/> | 278 | |
147 | 279 | <field name="journal_id" groups="base.group_user" colspan="4"/> | ||
148 | 271 | <field name="payment_term" widget="selection"/> | 280 | <field name="payment_term" widget="selection"/> |
149 | 281 | <newline/> | ||
150 | 282 | <field domain="[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name="account_id" groups="base.group_user" colspan="4"/> | ||
151 | 283 | <field name="date_due"/> | ||
152 | 284 | <field name="name" colspan="4"/> | ||
153 | 285 | <field name="reconciled"/> | ||
154 | 286 | </group> | ||
155 | 287 | |||
156 | 272 | <field colspan="4" name="invoice_line" nolabel="1" widget="one2many_list"/> | 288 | <field colspan="4" name="invoice_line" nolabel="1" widget="one2many_list"/> |
157 | 273 | <group col="1" colspan="2"> | 289 | <group col="1" colspan="2"> |
158 | 274 | <field name="tax_line" nolabel="1"> | 290 | <field name="tax_line" nolabel="1"> |
159 | @@ -286,7 +302,7 @@ | |||
160 | 286 | <field name="amount_untaxed"/> | 302 | <field name="amount_untaxed"/> |
161 | 287 | <label string="" colspan="2"/> | 303 | <label string="" colspan="2"/> |
162 | 288 | <field name="amount_tax"/> | 304 | <field name="amount_tax"/> |
164 | 289 | <field name="reconciled"/> | 305 | <label string="" colspan="2"/> |
165 | 290 | <field name="amount_total"/> | 306 | <field name="amount_total"/> |
166 | 291 | <field name="state"/> | 307 | <field name="state"/> |
167 | 292 | <field name="residual"/> | 308 | <field name="residual"/> |
168 | @@ -295,21 +311,16 @@ | |||
169 | 295 | <button name="invoice_open" states="draft,proforma2" string="Create" icon="gtk-execute"/> | 311 | <button name="invoice_open" states="draft,proforma2" string="Create" icon="gtk-execute"/> |
170 | 296 | <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" icon="gtk-cancel"/> | 312 | <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" icon="gtk-cancel"/> |
171 | 297 | <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/> | 313 | <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/> |
173 | 298 | <button name='%(action_account_state_open)d' type='action' string='Re-Open' states='paid' icon="gtk-convert"/> | 314 | <button name="195" type="action" string="Re-Open" states="paid" icon="gtk-convert"/> |
174 | 299 | </group> | 315 | </group> |
175 | 300 | </group> | 316 | </group> |
176 | 301 | </page> | 317 | </page> |
177 | 302 | <page string="Other Info"> | 318 | <page string="Other Info"> |
178 | 303 | <field name="company_id" on_change="onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget="selection" groups="base.group_multi_company"/> | ||
179 | 304 | <newline/> | ||
180 | 305 | <field name="date_due"/> | ||
181 | 306 | <field name="user_id"/> | 319 | <field name="user_id"/> |
182 | 307 | <newline/> | 320 | <newline/> |
185 | 308 | <field domain="[('partner_id.ref_companies', 'in', [company_id])]" name="partner_bank" | 321 | <field domain="[('partner_id.ref_companies', 'in', [company_id])]" name="partner_bank" groups="base.group_extended"/> |
184 | 309 | groups="base.group_extended"/> | ||
186 | 310 | <field name="origin"/> | 322 | <field name="origin"/> |
189 | 311 | <field colspan="4" domain="[('partner_id','=',partner_id)]" name="address_contact_id" | 323 | <field colspan="4" domain="[('partner_id','=',partner_id)]" name="address_contact_id" groups="base.group_extended"/> |
188 | 312 | groups="base.group_extended"/> | ||
190 | 313 | <field name="move_id" groups="base.group_user"/> | 324 | <field name="move_id" groups="base.group_user"/> |
191 | 314 | <separator colspan="4" string="Additionnal Information"/> | 325 | <separator colspan="4" string="Additionnal Information"/> |
192 | 315 | <field colspan="4" name="comment" nolabel="1"/> | 326 | <field colspan="4" name="comment" nolabel="1"/> |
193 | 316 | 327 | ||
194 | === modified file 'account/invoice.py' | |||
195 | --- account/invoice.py 2010-05-26 08:28:37 +0000 | |||
196 | +++ account/invoice.py 2010-05-27 21:44:29 +0000 | |||
197 | @@ -288,7 +288,8 @@ | |||
198 | 288 | 'currency_id': fields.many2one('res.currency', 'Currency', required=True, readonly=True, states={'draft':[('readonly',False)]}), | 288 | 'currency_id': fields.many2one('res.currency', 'Currency', required=True, readonly=True, states={'draft':[('readonly',False)]}), |
199 | 289 | 'journal_id': fields.many2one('account.journal', 'Journal', required=True,readonly=True, states={'draft':[('readonly',False)]}), | 289 | 'journal_id': fields.many2one('account.journal', 'Journal', required=True,readonly=True, states={'draft':[('readonly',False)]}), |
200 | 290 | 'company_id': fields.many2one('res.company', 'Company', required=True, change_default=True), | 290 | 'company_id': fields.many2one('res.company', 'Company', required=True, change_default=True), |
202 | 291 | 'check_total': fields.float('Total', digits_compute=dp.get_precision('Account'), states={'open':[('readonly',True)],'close':[('readonly',True)]}), | 291 | 'check_total': fields.float('Total', digits_compute=dp.get_precision('Account'), states={'open':[('readonly',True)],'close':[('readonly',True)]}, |
203 | 292 | help="Total amount on invoice"), | ||
204 | 292 | 'reconciled': fields.function(_reconciled, method=True, string='Paid/Reconciled', type='boolean', | 293 | 'reconciled': fields.function(_reconciled, method=True, string='Paid/Reconciled', type='boolean', |
205 | 293 | store={ | 294 | store={ |
206 | 294 | 'account.invoice': (lambda self, cr, uid, ids, c={}: ids, None, 50), # Check if we can remove ? | 295 | 'account.invoice': (lambda self, cr, uid, ids, c={}: ids, None, 50), # Check if we can remove ? |
207 | 295 | 296 | ||
208 | === modified file 'delivery/delivery_view.xml' | |||
209 | --- delivery/delivery_view.xml 2010-05-12 11:43:48 +0000 | |||
210 | +++ delivery/delivery_view.xml 2010-05-27 21:44:29 +0000 | |||
211 | @@ -139,8 +139,8 @@ | |||
212 | 139 | <field name="model">stock.picking</field> | 139 | <field name="model">stock.picking</field> |
213 | 140 | <field name="inherit_id" ref="stock.view_picking_out_form"/> | 140 | <field name="inherit_id" ref="stock.view_picking_out_form"/> |
214 | 141 | <field name="arch" type="xml"> | 141 | <field name="arch" type="xml"> |
217 | 142 | <field name="address_id" position="after"> | 142 | <field name="backorder_id" position="after"> |
218 | 143 | <field name="carrier_id"/> | 143 | <field name="carrier_id" colspan="4"/> |
219 | 144 | <field name="weight"/> | 144 | <field name="weight"/> |
220 | 145 | </field> | 145 | </field> |
221 | 146 | </field> | 146 | </field> |
222 | @@ -152,7 +152,8 @@ | |||
223 | 152 | <field name="model">stock.picking</field> | 152 | <field name="model">stock.picking</field> |
224 | 153 | <field name="inherit_id" ref="stock.view_picking_in_form"/> | 153 | <field name="inherit_id" ref="stock.view_picking_in_form"/> |
225 | 154 | <field name="arch" type="xml"> | 154 | <field name="arch" type="xml"> |
227 | 155 | <field name="type" position="after"> | 155 | <field name="backorder_id" position="after"> |
228 | 156 | <field name="carrier_id" colspan="4"/> | ||
229 | 156 | <field name="weight"/> | 157 | <field name="weight"/> |
230 | 157 | </field> | 158 | </field> |
231 | 158 | </field> | 159 | </field> |
232 | @@ -164,7 +165,8 @@ | |||
233 | 164 | <field name="model">stock.picking</field> | 165 | <field name="model">stock.picking</field> |
234 | 165 | <field name="inherit_id" ref="stock.view_picking_form"/> | 166 | <field name="inherit_id" ref="stock.view_picking_form"/> |
235 | 166 | <field name="arch" type="xml"> | 167 | <field name="arch" type="xml"> |
237 | 167 | <field name="type" position="after"> | 168 | <field name="backorder_id" position="after"> |
238 | 169 | <field name="carrier_id" colspan="4"/> | ||
239 | 168 | <field name="weight"/> | 170 | <field name="weight"/> |
240 | 169 | </field> | 171 | </field> |
241 | 170 | </field> | 172 | </field> |
242 | @@ -176,8 +178,8 @@ | |||
243 | 176 | <field name="model">stock.picking</field> | 178 | <field name="model">stock.picking</field> |
244 | 177 | <field name="inherit_id" ref="stock.view_picking_delivery_form"/> | 179 | <field name="inherit_id" ref="stock.view_picking_delivery_form"/> |
245 | 178 | <field name="arch" type="xml"> | 180 | <field name="arch" type="xml"> |
248 | 179 | <field name="address_id" position="after"> | 181 | <field name="backorder_id" position="after"> |
249 | 180 | <field name="carrier_id"/> | 182 | <field name="carrier_id" colspan="4"/> |
250 | 181 | <field name="weight"/> | 183 | <field name="weight"/> |
251 | 182 | </field> | 184 | </field> |
252 | 183 | </field> | 185 | </field> |
253 | 184 | 186 | ||
254 | === modified file 'purchase/purchase.py' | |||
255 | --- purchase/purchase.py 2010-05-26 08:28:37 +0000 | |||
256 | +++ purchase/purchase.py 2010-05-27 21:44:29 +0000 | |||
257 | @@ -141,6 +141,15 @@ | |||
258 | 141 | def _invoiced(self, cursor, user, ids, name, arg, context=None): | 141 | def _invoiced(self, cursor, user, ids, name, arg, context=None): |
259 | 142 | res = {} | 142 | res = {} |
260 | 143 | for purchase in self.browse(cursor, user, ids, context=context): | 143 | for purchase in self.browse(cursor, user, ids, context=context): |
261 | 144 | if purchase.invoice_id: | ||
262 | 145 | res[purchase.id] = True | ||
263 | 146 | else: | ||
264 | 147 | res[purchase.id] = False | ||
265 | 148 | return res | ||
266 | 149 | |||
267 | 150 | def _paid(self, cursor, user, ids, name, arg, context=None): | ||
268 | 151 | res = {} | ||
269 | 152 | for purchase in self.browse(cursor, user, ids, context=context): | ||
270 | 144 | if purchase.invoice_id.reconciled: | 153 | if purchase.invoice_id.reconciled: |
271 | 145 | res[purchase.id] = purchase.invoice_id.reconciled | 154 | res[purchase.id] = purchase.invoice_id.reconciled |
272 | 146 | else: | 155 | else: |
273 | @@ -161,6 +170,7 @@ | |||
274 | 161 | help="Put an address if you want to deliver directly from the supplier to the customer." \ | 170 | help="Put an address if you want to deliver directly from the supplier to the customer." \ |
275 | 162 | "In this case, it will remove the warehouse link and set the customer location." | 171 | "In this case, it will remove the warehouse link and set the customer location." |
276 | 163 | ), | 172 | ), |
277 | 173 | 'partner_order_id': fields.many2one('res.partner.address', 'Ordering Contact', readonly=True, states={'draft': [('readonly', False)]}, help="The name and address of the contact who accepted the order or quotation."), | ||
278 | 164 | 'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', states={'posted':[('readonly',True)]}), | 174 | 'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', states={'posted':[('readonly',True)]}), |
279 | 165 | 'location_id': fields.many2one('stock.location', 'Destination', required=True, domain=[('usage','<>','view')]), | 175 | 'location_id': fields.many2one('stock.location', 'Destination', required=True, domain=[('usage','<>','view')]), |
280 | 166 | 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, help="The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities."), | 176 | 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, help="The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities."), |
281 | @@ -172,7 +182,8 @@ | |||
282 | 172 | 'picking_ids': fields.one2many('stock.picking', 'purchase_id', 'Picking List', readonly=True, help="This is the list of picking list that have been generated for this purchase"), | 182 | 'picking_ids': fields.one2many('stock.picking', 'purchase_id', 'Picking List', readonly=True, help="This is the list of picking list that have been generated for this purchase"), |
283 | 173 | 'shipped':fields.boolean('Received', readonly=True, select=True), | 183 | 'shipped':fields.boolean('Received', readonly=True, select=True), |
284 | 174 | 'shipped_rate': fields.function(_shipped_rate, method=True, string='Received', type='float'), | 184 | 'shipped_rate': fields.function(_shipped_rate, method=True, string='Received', type='float'), |
286 | 175 | 'invoiced': fields.function(_invoiced, method=True, string='Invoiced & Paid', type='boolean'), | 185 | 'invoiced': fields.function(_invoiced, method=True, string='Invoiced', type='boolean'), |
287 | 186 | 'paid': fields.function(_paid, method=True, string='Paid', type='boolean'), | ||
288 | 176 | 'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'), | 187 | 'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'), |
289 | 177 | 'invoice_method': fields.selection([('manual','Manual'),('order','From Order'),('picking','From Picking')], 'Invoicing Control', required=True, | 188 | 'invoice_method': fields.selection([('manual','Manual'),('order','From Order'),('picking','From Picking')], 'Invoicing Control', required=True, |
290 | 178 | help="From Order: a draft invoice will be pre-generated based on the purchase order. The accountant " \ | 189 | help="From Order: a draft invoice will be pre-generated based on the purchase order. The accountant " \ |
291 | @@ -184,19 +195,20 @@ | |||
292 | 184 | 'amount_untaxed': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Untaxed Amount', | 195 | 'amount_untaxed': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Untaxed Amount', |
293 | 185 | store={ | 196 | store={ |
294 | 186 | 'purchase.order.line': (_get_order, None, 10), | 197 | 'purchase.order.line': (_get_order, None, 10), |
296 | 187 | }, multi="sums"), | 198 | }, multi="sums",help="Calculated net"), |
297 | 188 | 'amount_tax': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Taxes', | 199 | 'amount_tax': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Taxes', |
298 | 189 | store={ | 200 | store={ |
299 | 190 | 'purchase.order.line': (_get_order, None, 10), | 201 | 'purchase.order.line': (_get_order, None, 10), |
301 | 191 | }, multi="sums"), | 202 | }, multi="sums",help="Calculated tax"), |
302 | 192 | 'amount_total': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Total', | 203 | 'amount_total': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Total', |
303 | 193 | store={ | 204 | store={ |
304 | 194 | 'purchase.order.line': (_get_order, None, 10), | 205 | 'purchase.order.line': (_get_order, None, 10), |
306 | 195 | }, multi="sums"), | 206 | }, multi="sums",help="Calculated total"), |
307 | 196 | 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'), | 207 | 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'), |
308 | 197 | 'product_id': fields.related('order_line','product_id', type='many2one', relation='product.product', string='Product'), | 208 | 'product_id': fields.related('order_line','product_id', type='many2one', relation='product.product', string='Product'), |
309 | 198 | 'create_uid': fields.many2one('res.users', 'Responsible'), | 209 | 'create_uid': fields.many2one('res.users', 'Responsible'), |
310 | 199 | 'company_id': fields.many2one('res.company','Company',required=True,select=1), | 210 | 'company_id': fields.many2one('res.company','Company',required=True,select=1), |
311 | 211 | 'payment_term': fields.many2one('account.payment.term', 'Payment Term'), | ||
312 | 200 | } | 212 | } |
313 | 201 | _defaults = { | 213 | _defaults = { |
314 | 202 | 'date_order': lambda *a: time.strftime('%Y-%m-%d'), | 214 | 'date_order': lambda *a: time.strftime('%Y-%m-%d'), |
315 | @@ -250,12 +262,13 @@ | |||
316 | 250 | def onchange_partner_id(self, cr, uid, ids, part): | 262 | def onchange_partner_id(self, cr, uid, ids, part): |
317 | 251 | 263 | ||
318 | 252 | if not part: | 264 | if not part: |
321 | 253 | return {'value':{'partner_address_id': False, 'fiscal_position': False}} | 265 | return {'value':{'partner_address_id': False, 'partner_order_id': False, 'payment_term': False, 'fiscal_position': False}} |
322 | 254 | addr = self.pool.get('res.partner').address_get(cr, uid, [part], ['default']) | 266 | addr = self.pool.get('res.partner').address_get(cr, uid, [part], ['default','contact']) |
323 | 255 | part = self.pool.get('res.partner').browse(cr, uid, part) | 267 | part = self.pool.get('res.partner').browse(cr, uid, part) |
324 | 256 | pricelist = part.property_product_pricelist_purchase.id | 268 | pricelist = part.property_product_pricelist_purchase.id |
325 | 257 | fiscal_position = part.property_account_position and part.property_account_position.id or False | 269 | fiscal_position = part.property_account_position and part.property_account_position.id or False |
327 | 258 | return {'value':{'partner_address_id': addr['default'], 'pricelist_id': pricelist, 'fiscal_position': fiscal_position}} | 270 | payment_term = part.property_payment_term and part.property_payment_term.id or False |
328 | 271 | return {'value':{'partner_address_id': addr['default'],'partner_order_id': addr['contact'], 'pricelist_id': pricelist, 'payment_term': payment_term, 'fiscal_position': fiscal_position}} | ||
329 | 259 | 272 | ||
330 | 260 | def wkf_approve_order(self, cr, uid, ids, context={}): | 273 | def wkf_approve_order(self, cr, uid, ids, context={}): |
331 | 261 | self.write(cr, uid, ids, {'state': 'approved', 'date_approve': time.strftime('%Y-%m-%d')}) | 274 | self.write(cr, uid, ids, {'state': 'approved', 'date_approve': time.strftime('%Y-%m-%d')}) |
332 | @@ -358,7 +371,7 @@ | |||
333 | 358 | 'origin': o.name, | 371 | 'origin': o.name, |
334 | 359 | 'invoice_line': il, | 372 | 'invoice_line': il, |
335 | 360 | 'fiscal_position': o.partner_id.property_account_position.id, | 373 | 'fiscal_position': o.partner_id.property_account_position.id, |
337 | 361 | 'payment_term': o.partner_id.property_payment_term and o.partner_id.property_payment_term.id or False, | 374 | 'payment_term': o.payment_term.id, |
338 | 362 | 'company_id': o.company_id.id, | 375 | 'company_id': o.company_id.id, |
339 | 363 | } | 376 | } |
340 | 364 | inv_id = self.pool.get('account.invoice').create(cr, uid, inv, {'type':'in_invoice'}) | 377 | inv_id = self.pool.get('account.invoice').create(cr, uid, inv, {'type':'in_invoice'}) |
341 | 365 | 378 | ||
342 | === modified file 'purchase/purchase_view.xml' | |||
343 | --- purchase/purchase_view.xml 2010-05-26 08:28:37 +0000 | |||
344 | +++ purchase/purchase_view.xml 2010-05-27 21:44:29 +0000 | |||
345 | @@ -66,23 +66,32 @@ | |||
346 | 66 | <field name="model">purchase.order</field> | 66 | <field name="model">purchase.order</field> |
347 | 67 | <field name="type">form</field> | 67 | <field name="type">form</field> |
348 | 68 | <field name="arch" type="xml"> | 68 | <field name="arch" type="xml"> |
350 | 69 | <form string="Purchase Order"> | 69 | <form string="Purchase Order"> |
351 | 70 | <group col="6" colspan="4"> | 70 | <group col="6" colspan="4"> |
352 | 71 | <field name="name"/> | 71 | <field name="name"/> |
357 | 72 | <field name="date_order"/> | 72 | <field name="date_order" select="1"/> |
358 | 73 | <field name="invoiced"/> | 73 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> |
359 | 74 | <newline/> | 74 | <field name="partner_id" on_change="onchange_partner_id(partner_id)" required="1" select="1" domain="[('supplier','=', 1)]" colspan="4"/> |
360 | 75 | <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/> | 75 | <field name="partner_ref"/> |
361 | 76 | <field domain="[('partner_id','=',partner_id)]" name="partner_address_id" colspan="4"/> | ||
362 | 77 | <!-- | ||
363 | 78 | <label colspan="2" align="0.0" string="Missing Customer reference date"/> | ||
364 | 79 | --> | ||
365 | 76 | <field name="origin"/> | 80 | <field name="origin"/> |
366 | 77 | <field name="shipped"/> | ||
367 | 78 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | ||
368 | 79 | </group> | 81 | </group> |
369 | 80 | <notebook colspan="4"> | 82 | <notebook colspan="4"> |
370 | 81 | <page string="Purchase Order"> | 83 | <page string="Purchase Order"> |
375 | 82 | <field name="partner_id" on_change="onchange_partner_id(partner_id)" domain="[('supplier','=', 1)]"/> | 84 | <group col="6" colspan="4"> |
376 | 83 | <field name="partner_address_id"/> | 85 | <field name="dest_address_id" on_change="onchange_dest_address_id(dest_address_id)" colspan="4"/> |
377 | 84 | <field domain="[('type','=','purchase')]" name="pricelist_id" groups="base.group_extended"/> | 86 | <field name="shipped_rate" widget="progressbar"/> |
378 | 85 | <field name="partner_ref"/> | 87 | <field domain="[('partner_id','=',partner_id)]" name="partner_order_id" colspan="4"/> |
379 | 88 | <field name="invoiced_rate" widget="progressbar"/> | ||
380 | 89 | <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/> | ||
381 | 90 | <field name="minimum_planned_date"/> | ||
382 | 91 | <field name="paid"/> | ||
383 | 92 | <field domain="[('type','=','purchase')]" name="pricelist_id" groups="base.group_extended"/> | ||
384 | 93 | <field name="payment_term" widget="selection"/> | ||
385 | 94 | </group> | ||
386 | 86 | <newline/> | 95 | <newline/> |
387 | 87 | <field colspan="4" name="order_line" nolabel="1" mode="tree,form"> | 96 | <field colspan="4" name="order_line" nolabel="1" mode="tree,form"> |
388 | 88 | <tree colors="red:date_planned<=current_date;black:date_planned>current_date" string="Purchase Order Lines"> | 97 | <tree colors="red:date_planned<=current_date;black:date_planned>current_date" string="Purchase Order Lines"> |
389 | @@ -120,8 +129,7 @@ | |||
390 | 120 | <page string="Delivery & Invoices" groups="account.group_account_user"> | 129 | <page string="Delivery & Invoices" groups="account.group_account_user"> |
391 | 121 | <group colspan="2" col="2" groups="base.group_extended"> | 130 | <group colspan="2" col="2" groups="base.group_extended"> |
392 | 122 | <separator string="Delivery" colspan="2"/> | 131 | <separator string="Delivery" colspan="2"/> |
395 | 123 | <field name="dest_address_id" on_change="onchange_dest_address_id(dest_address_id)"/> | 132 | |
394 | 124 | <field name="minimum_planned_date"/> | ||
396 | 125 | <field name="location_id"/> | 133 | <field name="location_id"/> |
397 | 126 | </group> | 134 | </group> |
398 | 127 | <group colspan="2" col="2"> | 135 | <group colspan="2" col="2"> |
399 | @@ -230,8 +238,9 @@ | |||
400 | 230 | <field colspan="4" name="name"/> | 238 | <field colspan="4" name="name"/> |
401 | 231 | <field name="date_planned" widget="date"/> | 239 | <field name="date_planned" widget="date"/> |
402 | 232 | <field name="price_unit"/> | 240 | <field name="price_unit"/> |
404 | 233 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 241 | <field name="company_id" invisible="1"/> |
405 | 234 | <field name="price_subtotal" readonly="1"/> | 242 | <field name="price_subtotal" readonly="1"/> |
406 | 243 | <field colspan="4" name="taxes_id" domain="[('parent_id','=',False),('type_tax_use','<>','sale')]"/> | ||
407 | 235 | </page> | 244 | </page> |
408 | 236 | <page string="Notes"> | 245 | <page string="Notes"> |
409 | 237 | <field colspan="4" name="notes" nolabel="1"/> | 246 | <field colspan="4" name="notes" nolabel="1"/> |
410 | 238 | 247 | ||
411 | === modified file 'sale/__openerp__.py' | |||
412 | --- sale/__openerp__.py 2010-05-26 08:28:37 +0000 | |||
413 | +++ sale/__openerp__.py 2010-05-27 21:44:29 +0000 | |||
414 | @@ -60,7 +60,7 @@ | |||
415 | 60 | 'stock_view.xml', | 60 | 'stock_view.xml', |
416 | 61 | # 'process/sale_process.xml', | 61 | # 'process/sale_process.xml', |
417 | 62 | ], | 62 | ], |
419 | 63 | 'demo_xml': ['sale_demo.xml'], | 63 | 'demo_xml': [], |
420 | 64 | 'test': [ | 64 | 'test': [ |
421 | 65 | 'test/shipping_manual_sale_order.yml', | 65 | 'test/shipping_manual_sale_order.yml', |
422 | 66 | 'test/prepaid_sale_order.yml', | 66 | 'test/prepaid_sale_order.yml', |
423 | 67 | 67 | ||
424 | === modified file 'sale/sale.py' | |||
425 | --- sale/sale.py 2010-05-26 08:28:37 +0000 | |||
426 | +++ sale/sale.py 2010-05-27 21:44:29 +0000 | |||
427 | @@ -160,7 +160,19 @@ | |||
428 | 160 | for sale in self.browse(cursor, user, ids, context=context): | 160 | for sale in self.browse(cursor, user, ids, context=context): |
429 | 161 | res[sale.id] = True | 161 | res[sale.id] = True |
430 | 162 | for invoice in sale.invoice_ids: | 162 | for invoice in sale.invoice_ids: |
432 | 163 | if invoice.state != 'paid': | 163 | break |
433 | 164 | if not sale.invoice_ids: | ||
434 | 165 | res[sale.id] = False | ||
435 | 166 | return res | ||
436 | 167 | |||
437 | 168 | def _paid(self, cursor, user, ids, name, arg, context=None): | ||
438 | 169 | if context is None: | ||
439 | 170 | context = {} | ||
440 | 171 | res = {} | ||
441 | 172 | for sale in self.browse(cursor, user, ids, context=context): | ||
442 | 173 | res[sale.id] = True | ||
443 | 174 | for invoice in sale.invoice_ids: | ||
444 | 175 | if invoice.reconciled != True: | ||
445 | 164 | res[sale.id] = False | 176 | res[sale.id] = False |
446 | 165 | break | 177 | break |
447 | 166 | if not sale.invoice_ids: | 178 | if not sale.invoice_ids: |
448 | @@ -204,6 +216,23 @@ | |||
449 | 204 | result[line.order_id.id] = True | 216 | result[line.order_id.id] = True |
450 | 205 | return result.keys() | 217 | return result.keys() |
451 | 206 | 218 | ||
452 | 219 | def _minimum_planned_date(self, cr, uid, ids, field_name, arg, context): | ||
453 | 220 | res={} | ||
454 | 221 | sale_obj=self.browse(cr, uid, ids, context=context) | ||
455 | 222 | for sale in sale_obj: | ||
456 | 223 | res[sale.id] = False | ||
457 | 224 | if sale.order_line: | ||
458 | 225 | #min_date=sale.order_line[0].date_planned | ||
459 | 226 | min_date='' | ||
460 | 227 | for line in sale.order_line: | ||
461 | 228 | if line.date_planned and ( not min_date or line.date_planned < min_date): | ||
462 | 229 | min_date=line.date_planned | ||
463 | 230 | if not min_date: | ||
464 | 231 | min_date=datetime.now() | ||
465 | 232 | res[sale.id]=min_date | ||
466 | 233 | return res | ||
467 | 234 | |||
468 | 235 | |||
469 | 207 | _columns = { | 236 | _columns = { |
470 | 208 | 'name': fields.char('Order Reference', size=64, required=True, select=True), | 237 | 'name': fields.char('Order Reference', size=64, required=True, select=True), |
471 | 209 | 'shop_id': fields.many2one('sale.shop', 'Shop', required=True, readonly=True, states={'draft': [('readonly', False)]}), | 238 | 'shop_id': fields.many2one('sale.shop', 'Shop', required=True, readonly=True, states={'draft': [('readonly', False)]}), |
472 | @@ -220,7 +249,7 @@ | |||
473 | 220 | ('done', 'Done'), | 249 | ('done', 'Done'), |
474 | 221 | ('cancel', 'Cancelled') | 250 | ('cancel', 'Cancelled') |
475 | 222 | ], 'Order State', readonly=True, help="Gives the state of the quotation or sale order. The exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). The 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Ordered Date'.", select=True), | 251 | ], 'Order State', readonly=True, help="Gives the state of the quotation or sale order. The exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). The 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Ordered Date'.", select=True), |
477 | 223 | 'date_order': fields.date('Ordered Date', required=True, readonly=True, states={'draft': [('readonly', False)]}), | 252 | 'date_order': fields.date('Date Ordered', required=True, readonly=True, states={'draft': [('readonly', False)]}), |
478 | 224 | 'create_date': fields.date('Creation Date', readonly=True), | 253 | 'create_date': fields.date('Creation Date', readonly=True), |
479 | 225 | 'date_confirm': fields.date('Confirmation Date', readonly=True), | 254 | 'date_confirm': fields.date('Confirmation Date', readonly=True), |
480 | 226 | 'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True), | 255 | 'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True), |
481 | @@ -252,7 +281,9 @@ | |||
482 | 252 | 'shipped': fields.boolean('Picked', readonly=True), | 281 | 'shipped': fields.boolean('Picked', readonly=True), |
483 | 253 | 'picked_rate': fields.function(_picked_rate, method=True, string='Picked', type='float'), | 282 | 'picked_rate': fields.function(_picked_rate, method=True, string='Picked', type='float'), |
484 | 254 | 'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'), | 283 | 'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'), |
486 | 255 | 'invoiced': fields.function(_invoiced, method=True, string='Paid', | 284 | 'invoiced': fields.function(_invoiced, method=True, string='Invoiced', |
487 | 285 | fnct_search=_invoiced_search, type='boolean'), | ||
488 | 286 | 'paid': fields.function(_paid, method=True, string='Paid', | ||
489 | 256 | fnct_search=_invoiced_search, type='boolean'), | 287 | fnct_search=_invoiced_search, type='boolean'), |
490 | 257 | 'note': fields.text('Notes', translate=True), | 288 | 'note': fields.text('Notes', translate=True), |
491 | 258 | 289 | ||
492 | @@ -279,6 +310,7 @@ | |||
493 | 279 | 'payment_term': fields.many2one('account.payment.term', 'Payment Term'), | 310 | 'payment_term': fields.many2one('account.payment.term', 'Payment Term'), |
494 | 280 | 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'), | 311 | 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'), |
495 | 281 | 'company_id': fields.many2one('res.company','Company',select=1), | 312 | 'company_id': fields.many2one('res.company','Company',select=1), |
496 | 313 | 'minimum_planned_date':fields.function(_minimum_planned_date, method=True,store=True, string='Expected Date', type='datetime', help="This is computed as the minimum scheduled date of all sale order lines' products."), | ||
497 | 282 | } | 314 | } |
498 | 283 | _defaults = { | 315 | _defaults = { |
499 | 284 | 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'sale.order', context=c), | 316 | 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'sale.order', context=c), |
500 | @@ -842,6 +874,7 @@ | |||
501 | 842 | 'order_partner_id': fields.related('order_id', 'partner_id', type='many2one', relation='res.partner', string='Customer'), | 874 | 'order_partner_id': fields.related('order_id', 'partner_id', type='many2one', relation='res.partner', string='Customer'), |
502 | 843 | 'salesman_id':fields.related('order_id','user_id',type='many2one',relation='res.users',string='Salesman'), | 875 | 'salesman_id':fields.related('order_id','user_id',type='many2one',relation='res.users',string='Salesman'), |
503 | 844 | 'company_id': fields.related('order_id','company_id',type='many2one',relation='res.company',string='Company',store=True), | 876 | 'company_id': fields.related('order_id','company_id',type='many2one',relation='res.company',string='Company',store=True), |
504 | 877 | 'date_planned': fields.datetime('Scheduled date', ), | ||
505 | 845 | } | 878 | } |
506 | 846 | _order = 'sequence, id' | 879 | _order = 'sequence, id' |
507 | 847 | _defaults = { | 880 | _defaults = { |
508 | 848 | 881 | ||
509 | === modified file 'sale/sale_view.xml' | |||
510 | --- sale/sale_view.xml 2010-05-26 08:28:37 +0000 | |||
511 | +++ sale/sale_view.xml 2010-05-27 21:44:29 +0000 | |||
512 | @@ -95,69 +95,59 @@ | |||
513 | 95 | <field name="model">sale.order</field> | 95 | <field name="model">sale.order</field> |
514 | 96 | <field name="type">form</field> | 96 | <field name="type">form</field> |
515 | 97 | <field name="arch" type="xml"> | 97 | <field name="arch" type="xml"> |
517 | 98 | <form string="Sales order"> | 98 | <form string="Sales order"> |
518 | 99 | <group col="6" colspan="4"> | 99 | <group col="6" colspan="4"> |
519 | 100 | <field name="name"/> | 100 | <field name="name"/> |
520 | 101 | <field name="date_order"/> | ||
521 | 102 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | ||
522 | 103 | <field name="partner_id" on_change="onchange_partner_id(partner_id)" required="1" select="1" domain="[('customer','=', 1)]" colspan="4"/> | ||
523 | 101 | <field name="client_order_ref"/> | 104 | <field name="client_order_ref"/> |
528 | 102 | <field name="shipped"/> | 105 | <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" colspan="4"/> |
529 | 103 | <field name="date_order"/> | 106 | <label colspan="2" align="0.0" string="Missing Customer reference date"/> |
530 | 104 | <field name="shop_id" on_change="onchange_shop_id(shop_id)" widget="selection" groups="base.group_extended"/> | 107 | |
527 | 105 | <field name="invoiced"/> | ||
531 | 106 | </group> | 108 | </group> |
532 | 107 | <notebook colspan="4"> | 109 | <notebook colspan="4"> |
533 | 108 | <page string="Sale Order"> | 110 | <page string="Sale Order"> |
542 | 109 | <field name="partner_id" on_change="onchange_partner_id(partner_id)" required="1"/> | 111 | <group col="6" colspan="4"> |
543 | 110 | <field domain="[('partner_id','=',partner_id)]" name="partner_order_id"/> | 112 | <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" colspan="4"/> |
544 | 111 | <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id"/> | 113 | <field name="picked_rate" widget="progressbar"/> |
545 | 112 | <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id"/> | 114 | <field domain="[('partner_id','=',partner_id)]" name="partner_order_id" colspan="4"/> |
546 | 113 | <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended" widget="selection"/> | 115 | <field name="invoiced_rate" widget="progressbar"/> |
547 | 114 | <field name="project_id" | 116 | <field name="shop_id" on_change="onchange_shop_id(shop_id)" widget="selection" groups="base.group_extended"/> |
548 | 115 | context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" | 117 | <field name="minimum_planned_date"/> |
549 | 116 | groups="base.group_extended"/> | 118 | <field name="paid"/> |
550 | 117 | <newline/> | 119 | <newline/> |
551 | 120 | <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended"/> | ||
552 | 121 | <field name="payment_term" widget="selection"/> | ||
553 | 122 | </group> | ||
554 | 118 | <field colspan="4" mode="tree,form,graph" name="order_line" nolabel="1" widget="one2many_list"> | 123 | <field colspan="4" mode="tree,form,graph" name="order_line" nolabel="1" widget="one2many_list"> |
555 | 119 | <form string="Sale Order Lines"> | 124 | <form string="Sale Order Lines"> |
556 | 120 | <notebook> | 125 | <notebook> |
557 | 121 | <page string="Order Line"> | 126 | <page string="Order Line"> |
577 | 122 | <field colspan="4" | 127 | <field colspan="4" context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], True, parent.date_order, product_packaging, parent.fiscal_position)" select="1"/> |
578 | 123 | context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" | 128 | <field context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" name="product_uom_qty" on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position, True)" select="1"/> |
579 | 124 | name="product_id" | 129 | <field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"/> |
580 | 125 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], True, parent.date_order, product_packaging, parent.fiscal_position)" | 130 | <field name="product_packaging" context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position)" domain="[('product_id','=',product_id)]" groups="base.group_extended"/> |
562 | 126 | /> | ||
563 | 127 | <field | ||
564 | 128 | context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" | ||
565 | 129 | name="product_uom_qty" | ||
566 | 130 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position, True)" | ||
567 | 131 | /> | ||
568 | 132 | <field name="product_uom" | ||
569 | 133 | on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)" | ||
570 | 134 | widget="selection"/> | ||
571 | 135 | <field | ||
572 | 136 | name="product_packaging" | ||
573 | 137 | context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom" | ||
574 | 138 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position)" | ||
575 | 139 | domain="[('product_id','=',product_id)]" | ||
576 | 140 | groups="base.group_extended"/> | ||
581 | 141 | 131 | ||
583 | 142 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 132 | <field name="type" groups="base.group_extended"/> |
584 | 143 | <field colspan="4" name="name"/> | 133 | <field colspan="4" name="name"/> |
585 | 144 | <field name="price_unit"/> | 134 | <field name="price_unit"/> |
586 | 145 | <field name="discount"/> | 135 | <field name="discount"/> |
588 | 146 | <field name="type" groups="base.group_extended"/> | 136 | <field name="price_subtotal"/> |
589 | 137 | <newline/> | ||
590 | 138 | <field name="date_planned"/> | ||
591 | 147 | <field name="delay" groups="base.group_extended"/> | 139 | <field name="delay" groups="base.group_extended"/> |
592 | 140 | <field name="company_id" invisible="1"/> | ||
593 | 148 | <newline/> | 141 | <newline/> |
594 | 149 | <field colspan="4" name="tax_id" domain="[('parent_id','=',False),('type_tax_use','<>','purchase')]"/> | 142 | <field colspan="4" name="tax_id" domain="[('parent_id','=',False),('type_tax_use','<>','purchase')]"/> |
595 | 143 | <!-- FIXME Make invoice defined on order line ???? | ||
596 | 150 | <group colspan="4" col="5" groups="base.group_extended"> | 144 | <group colspan="4" col="5" groups="base.group_extended"> |
597 | 151 | <separator colspan="5" string="States"/> | 145 | <separator colspan="5" string="States"/> |
599 | 152 | <field name="state"/> | 146 | <field name="state" readonly="1"/> |
600 | 153 | <field name="invoiced"/> | 147 | <field name="invoiced"/> |
607 | 154 | <button colspan="1" | 148 | <button colspan="1" name="368" states="confirmed" string="Make Invoice" type="action" icon="gtk-print"/> |
602 | 155 | name="%(action_view_sale_order_line_make_invoice)d" | ||
603 | 156 | states="confirmed" | ||
604 | 157 | string="Make Invoice" | ||
605 | 158 | type="action" | ||
606 | 159 | icon="gtk-print" /> | ||
608 | 160 | </group> | 149 | </group> |
609 | 150 | --> | ||
610 | 161 | </page> | 151 | </page> |
611 | 162 | <page groups="base.group_extended" string="Extra Info"> | 152 | <page groups="base.group_extended" string="Extra Info"> |
612 | 163 | <field name="th_weight"/> | 153 | <field name="th_weight"/> |
613 | @@ -177,6 +167,7 @@ | |||
614 | 177 | </notebook> | 167 | </notebook> |
615 | 178 | </form> | 168 | </form> |
616 | 179 | <tree string="Sales order lines"> | 169 | <tree string="Sales order lines"> |
617 | 170 | <field name="date_planned"/> | ||
618 | 180 | <field colspan="4" name="name"/> | 171 | <field colspan="4" name="name"/> |
619 | 181 | <field name="product_uom_qty" string="Qty"/> | 172 | <field name="product_uom_qty" string="Qty"/> |
620 | 182 | <field name="product_uom" string="UoM"/> | 173 | <field name="product_uom" string="UoM"/> |
621 | @@ -222,10 +213,9 @@ | |||
622 | 222 | <field groups="base.group_extended" name="origin"/> | 213 | <field groups="base.group_extended" name="origin"/> |
623 | 223 | </group> | 214 | </group> |
624 | 224 | <group colspan="2" col="2" groups="base.group_extended"> | 215 | <group colspan="2" col="2" groups="base.group_extended"> |
627 | 225 | <separator string="Conditions" colspan="2"/> | 216 | <separator string="Accounting" colspan="2"/> |
628 | 226 | <field name="payment_term" widget="selection"/> | 217 | <field name="project_id" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="base.group_extended"/> |
629 | 227 | <field name="fiscal_position" widget="selection"/> | 218 | <field name="fiscal_position" widget="selection"/> |
630 | 228 | <field name="company_id" widget="selection" groups="base.group_multi_company"/> | ||
631 | 229 | </group> | 219 | </group> |
632 | 230 | <group colspan="2" col="2" groups="base.group_extended"> | 220 | <group colspan="2" col="2" groups="base.group_extended"> |
633 | 231 | <separator string="Dates" colspan="2"/> | 221 | <separator string="Dates" colspan="2"/> |
634 | @@ -343,6 +333,7 @@ | |||
635 | 343 | <field name="type">tree</field> | 333 | <field name="type">tree</field> |
636 | 344 | <field name="arch" type="xml"> | 334 | <field name="arch" type="xml"> |
637 | 345 | <tree string="Sales order lines"> | 335 | <tree string="Sales order lines"> |
638 | 336 | <field name="date_planned"/> | ||
639 | 346 | <field name="order_id"/> | 337 | <field name="order_id"/> |
640 | 347 | <field name="order_partner_id"/> | 338 | <field name="order_partner_id"/> |
641 | 348 | <field name="product_id"/> | 339 | <field name="product_id"/> |
642 | 349 | 340 | ||
643 | === modified file 'sale/stock_view.xml' | |||
644 | --- sale/stock_view.xml 2010-04-16 09:16:25 +0000 | |||
645 | +++ sale/stock_view.xml 2010-05-27 21:44:29 +0000 | |||
646 | @@ -12,5 +12,13 @@ | |||
647 | 12 | </field> | 12 | </field> |
648 | 13 | </field> | 13 | </field> |
649 | 14 | </record> | 14 | </record> |
650 | 15 | |||
651 | 16 | <act_window | ||
652 | 17 | domain="[('sale_id', '=', active_id)]" | ||
653 | 18 | id="act_sale_order_2_stock_picking" | ||
654 | 19 | name="Picking" | ||
655 | 20 | res_model="stock.picking" | ||
656 | 21 | src_model="sale.order"/> | ||
657 | 22 | |||
658 | 15 | </data> | 23 | </data> |
659 | 16 | </openerp> | 24 | </openerp> |
660 | 17 | 25 | ||
661 | === removed directory 'smtpclient' | |||
662 | === removed directory 'smtpclient/i18n' | |||
663 | === removed file 'smtpclient/i18n/fr.po' | |||
664 | --- smtpclient/i18n/fr.po 2010-05-26 08:28:37 +0000 | |||
665 | +++ smtpclient/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
666 | @@ -1,871 +0,0 @@ | |||
667 | 1 | # French translation for openobject-addons | ||
668 | 2 | # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 | ||
669 | 3 | # This file is distributed under the same license as the openobject-addons package. | ||
670 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2010. | ||
671 | 5 | # | ||
672 | 6 | msgid "" | ||
673 | 7 | msgstr "" | ||
674 | 8 | "Project-Id-Version: openobject-addons\n" | ||
675 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
676 | 10 | "POT-Creation-Date: 2009-11-26 06:00+0000\n" | ||
677 | 11 | "PO-Revision-Date: 2010-05-22 09:14+0000\n" | ||
678 | 12 | "Last-Translator: Christophe Chauvet - http://www.syleam.fr/ <Unknown>\n" | ||
679 | 13 | "Language-Team: French <fr@li.org>\n" | ||
680 | 14 | "MIME-Version: 1.0\n" | ||
681 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
682 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
683 | 17 | "X-Launchpad-Export-Date: 2010-05-23 03:57+0000\n" | ||
684 | 18 | "X-Generator: Launchpad (build Unknown)\n" | ||
685 | 19 | |||
686 | 20 | #. module: smtpclient | ||
687 | 21 | #: field:email.smtpclient.queue,bcc:0 | ||
688 | 22 | msgid "BCC to" | ||
689 | 23 | msgstr "Copie cachée à" | ||
690 | 24 | |||
691 | 25 | #. module: smtpclient | ||
692 | 26 | #: view:email.smtpclient:0 | ||
693 | 27 | msgid "__number__ for Invoice / Sales Number" | ||
694 | 28 | msgstr "__number__ pour la facture / Numéro de vente" | ||
695 | 29 | |||
696 | 30 | #. module: smtpclient | ||
697 | 31 | #: field:email.smtpclient,ssl:0 | ||
698 | 32 | msgid "Use SSL?" | ||
699 | 33 | msgstr "Utiliser SSL?" | ||
700 | 34 | |||
701 | 35 | #. module: smtpclient | ||
702 | 36 | #: view:email.smtpclient:0 | ||
703 | 37 | msgid "Start Server" | ||
704 | 38 | msgstr "Démarrer le serveur" | ||
705 | 39 | |||
706 | 40 | #. module: smtpclient | ||
707 | 41 | #: model:ir.actions.wizard,name:smtpclient.wizard_email_verifycode | ||
708 | 42 | msgid "Verify Server" | ||
709 | 43 | msgstr "Vérifier le serveur" | ||
710 | 44 | |||
711 | 45 | #. module: smtpclient | ||
712 | 46 | #: field:email.smtpclient,priority:0 | ||
713 | 47 | msgid "Server Priority" | ||
714 | 48 | msgstr "Priorité du serveur" | ||
715 | 49 | |||
716 | 50 | #. module: smtpclient | ||
717 | 51 | #: help:email.sendcode,init,emailto:0 | ||
718 | 52 | msgid "Enter the address Email where you want to get the Verification Code" | ||
719 | 53 | msgstr "" | ||
720 | 54 | "Saisir l'adresse email à laquelle vous voulez envoyer le code de vérification" | ||
721 | 55 | |||
722 | 56 | #. module: smtpclient | ||
723 | 57 | #: selection:email.smtpclient,auth_type:0 | ||
724 | 58 | msgid "Other Mail Servers" | ||
725 | 59 | msgstr "Autres serveurs de courrier" | ||
726 | 60 | |||
727 | 61 | #. module: smtpclient | ||
728 | 62 | #: constraint:ir.actions.act_window:0 | ||
729 | 63 | msgid "Invalid model name in the action definition." | ||
730 | 64 | msgstr "Nom de modèle invalide pour la définition de l'action" | ||
731 | 65 | |||
732 | 66 | #. module: smtpclient | ||
733 | 67 | #: field:email.smtpclient.queue,to:0 | ||
734 | 68 | msgid "Mail to" | ||
735 | 69 | msgstr "Envoyer par email à" | ||
736 | 70 | |||
737 | 71 | #. module: smtpclient | ||
738 | 72 | #: code:addons/smtpclient/smtpclient.py:0 | ||
739 | 73 | #, python-format | ||
740 | 74 | msgid "Message Error!" | ||
741 | 75 | msgstr "Erreur de message!" | ||
742 | 76 | |||
743 | 77 | #. module: smtpclient | ||
744 | 78 | #: field:email.smtpclient,name:0 | ||
745 | 79 | msgid "Server Name" | ||
746 | 80 | msgstr "Nom du serveur" | ||
747 | 81 | |||
748 | 82 | #. module: smtpclient | ||
749 | 83 | #: field:email.smtpclient,header_ids:0 | ||
750 | 84 | msgid "Default Headers" | ||
751 | 85 | msgstr "Entêtes de courrier par défaut" | ||
752 | 86 | |||
753 | 87 | #. module: smtpclient | ||
754 | 88 | #: wizard_button:email.testemail,init,send:0 | ||
755 | 89 | msgid "Send Email" | ||
756 | 90 | msgstr "Envoyer un email" | ||
757 | 91 | |||
758 | 92 | #. module: smtpclient | ||
759 | 93 | #: field:res.company.address,company_id:0 | ||
760 | 94 | msgid "Company" | ||
761 | 95 | msgstr "Société" | ||
762 | 96 | |||
763 | 97 | #. module: smtpclient | ||
764 | 98 | #: view:email.smtpclient:0 | ||
765 | 99 | msgid "Set to Draft" | ||
766 | 100 | msgstr "Mettre en brouillon" | ||
767 | 101 | |||
768 | 102 | #. module: smtpclient | ||
769 | 103 | #: code:addons/smtpclient/wizard/verifycode.py:0 | ||
770 | 104 | #, python-format | ||
771 | 105 | msgid "Server already verified!" | ||
772 | 106 | msgstr "Serveur déjà vérifié!" | ||
773 | 107 | |||
774 | 108 | #. module: smtpclient | ||
775 | 109 | #: code:addons/smtpclient/wizard/sendcode.py:0 | ||
776 | 110 | #: code:addons/smtpclient/wizard/testemail.py:0 | ||
777 | 111 | #, python-format | ||
778 | 112 | msgid "Verification Failed. Please check the Server Configuration!" | ||
779 | 113 | msgstr "" | ||
780 | 114 | "Échec de vérification. Merci de vérifier le serveur de configuration!" | ||
781 | 115 | |||
782 | 116 | #. module: smtpclient | ||
783 | 117 | #: code:addons/smtpclient/smtpclient.py:0 | ||
784 | 118 | #, python-format | ||
785 | 119 | msgid "SMTP Server Error!" | ||
786 | 120 | msgstr "Erreur du serveur SMTP!" | ||
787 | 121 | |||
788 | 122 | #. module: smtpclient | ||
789 | 123 | #: field:email.smtpclient,auth_type:0 | ||
790 | 124 | #: field:email.smtpclient,type:0 | ||
791 | 125 | msgid "Server Type" | ||
792 | 126 | msgstr "Type de serveur" | ||
793 | 127 | |||
794 | 128 | #. module: smtpclient | ||
795 | 129 | #: field:email.smtpclient,from_email:0 | ||
796 | 130 | msgid "Email From" | ||
797 | 131 | msgstr "Email de" | ||
798 | 132 | |||
799 | 133 | #. module: smtpclient | ||
800 | 134 | #: view:email.smtpclient:0 | ||
801 | 135 | msgid "User Information" | ||
802 | 136 | msgstr "Information utilisateur" | ||
803 | 137 | |||
804 | 138 | #. module: smtpclient | ||
805 | 139 | #: code:addons/smtpclient/smtpclient.py:0 | ||
806 | 140 | #, python-format | ||
807 | 141 | msgid "OpenERP SMTP server Email Registration Code!" | ||
808 | 142 | msgstr "Code d'enregistrement email du serveur SMTP OpenERP!" | ||
809 | 143 | |||
810 | 144 | #. module: smtpclient | ||
811 | 145 | #: model:ir.model,name:smtpclient.model_report_smtp_server | ||
812 | 146 | #: view:report.smtp.server:0 | ||
813 | 147 | msgid "Server Statistics" | ||
814 | 148 | msgstr "Statistiques du serveur" | ||
815 | 149 | |||
816 | 150 | #. module: smtpclient | ||
817 | 151 | #: view:email.smtpclient:0 | ||
818 | 152 | msgid "Messages" | ||
819 | 153 | msgstr "Messages" | ||
820 | 154 | |||
821 | 155 | #. module: smtpclient | ||
822 | 156 | #: selection:email.smtpclient,type:0 | ||
823 | 157 | #: selection:res.company.address,name:0 | ||
824 | 158 | msgid "Sale" | ||
825 | 159 | msgstr "Vente" | ||
826 | 160 | |||
827 | 161 | #. module: smtpclient | ||
828 | 162 | #: field:email.headers,value:0 | ||
829 | 163 | msgid "Value" | ||
830 | 164 | msgstr "Valeur" | ||
831 | 165 | |||
832 | 166 | #. module: smtpclient | ||
833 | 167 | #: view:email.smtpclient:0 | ||
834 | 168 | msgid "Access Permission" | ||
835 | 169 | msgstr "Permission d'accès" | ||
836 | 170 | |||
837 | 171 | #. module: smtpclient | ||
838 | 172 | #: model:ir.model,name:smtpclient.model_email_headers | ||
839 | 173 | msgid "Email Headers" | ||
840 | 174 | msgstr "Entêtes de courrier" | ||
841 | 175 | |||
842 | 176 | #. module: smtpclient | ||
843 | 177 | #: field:email.smtpclient,delete_queue:0 | ||
844 | 178 | msgid "Queue Option" | ||
845 | 179 | msgstr "Option de file d'attente" | ||
846 | 180 | |||
847 | 181 | #. module: smtpclient | ||
848 | 182 | #: code:addons/smtpclient/smtpclient.py:0 | ||
849 | 183 | #, python-format | ||
850 | 184 | msgid "Please configure Email Server Messages [Verification / Test]" | ||
851 | 185 | msgstr "" | ||
852 | 186 | "Merci de configurer les messages du serveur email [Vérification / Test]" | ||
853 | 187 | |||
854 | 188 | #. module: smtpclient | ||
855 | 189 | #: code:addons/smtpclient/wizard/verifycode.py:0 | ||
856 | 190 | #, python-format | ||
857 | 191 | msgid "Verification failed. Invalid Verification Code!" | ||
858 | 192 | msgstr "Échec de vérification. Code de vérification non valide!" | ||
859 | 193 | |||
860 | 194 | #. module: smtpclient | ||
861 | 195 | #: model:ir.actions.act_window,name:smtpclient.act_mail_server_2_mail_history | ||
862 | 196 | msgid "Email History" | ||
863 | 197 | msgstr "Historique des emails" | ||
864 | 198 | |||
865 | 199 | #. module: smtpclient | ||
866 | 200 | #: view:email.smtpclient.history:0 | ||
867 | 201 | msgid "Server History" | ||
868 | 202 | msgstr "Historique du serveur" | ||
869 | 203 | |||
870 | 204 | #. module: smtpclient | ||
871 | 205 | #: selection:email.smtpclient,auth_type:0 | ||
872 | 206 | msgid "Yahoo!!! Server" | ||
873 | 207 | msgstr "Serveur Yahoo!" | ||
874 | 208 | |||
875 | 209 | #. module: smtpclient | ||
876 | 210 | #: view:email.smtpclient:0 | ||
877 | 211 | #: field:email.smtpclient,test_email:0 | ||
878 | 212 | msgid "Test Message" | ||
879 | 213 | msgstr "Message de test" | ||
880 | 214 | |||
881 | 215 | #. module: smtpclient | ||
882 | 216 | #: field:report.smtp.server,server_id:0 | ||
883 | 217 | msgid "Server ID" | ||
884 | 218 | msgstr "ID du serveur" | ||
885 | 219 | |||
886 | 220 | #. module: smtpclient | ||
887 | 221 | #: help:email.smtpclient,delete_queue_period:0 | ||
888 | 222 | msgid "delete emails/contents from email queue after specified no of days" | ||
889 | 223 | msgstr "" | ||
890 | 224 | "effacer les emails/contenu placé en attente après le nombre de jours spécifié" | ||
891 | 225 | |||
892 | 226 | #. module: smtpclient | ||
893 | 227 | #: field:report.smtp.server,no:0 | ||
894 | 228 | msgid "Total No." | ||
895 | 229 | msgstr "Nombre total" | ||
896 | 230 | |||
897 | 231 | #. module: smtpclient | ||
898 | 232 | #: help:email.smtpclient,process_id:0 | ||
899 | 233 | msgid "Mail Transport Agent Process" | ||
900 | 234 | msgstr "Processus d'agent de transport email" | ||
901 | 235 | |||
902 | 236 | #. module: smtpclient | ||
903 | 237 | #: view:email.smtpclient:0 | ||
904 | 238 | msgid "__user__ for User Name" | ||
905 | 239 | msgstr "__user__ pour le nom d'utilisateur" | ||
906 | 240 | |||
907 | 241 | #. module: smtpclient | ||
908 | 242 | #: field:email.smtpclient,date_create:0 | ||
909 | 243 | msgid "Date Create" | ||
910 | 244 | msgstr "Date de création" | ||
911 | 245 | |||
912 | 246 | #. module: smtpclient | ||
913 | 247 | #: field:email.smtpclient,state:0 | ||
914 | 248 | msgid "Server Status" | ||
915 | 249 | msgstr "État du serveur" | ||
916 | 250 | |||
917 | 251 | #. module: smtpclient | ||
918 | 252 | #: field:email.smtpclient.queue,error:0 | ||
919 | 253 | msgid "Last Error" | ||
920 | 254 | msgstr "Dernière erreur" | ||
921 | 255 | |||
922 | 256 | #. module: smtpclient | ||
923 | 257 | #: wizard_view:email.sendcode,init:0 | ||
924 | 258 | #: wizard_button:email.sendcode,init,send:0 | ||
925 | 259 | msgid "Send Code" | ||
926 | 260 | msgstr "Envoyer un code" | ||
927 | 261 | |||
928 | 262 | #. module: smtpclient | ||
929 | 263 | #: field:email.smtpclient.queue,name:0 | ||
930 | 264 | msgid "Subject" | ||
931 | 265 | msgstr "Sujet" | ||
932 | 266 | |||
933 | 267 | #. module: smtpclient | ||
934 | 268 | #: code:addons/smtpclient/smtpclient.py:0 | ||
935 | 269 | #, python-format | ||
936 | 270 | msgid "Read Error!" | ||
937 | 271 | msgstr "Erreur de lecture!" | ||
938 | 272 | |||
939 | 273 | #. module: smtpclient | ||
940 | 274 | #: code:addons/smtpclient/smtpclient.py:0 | ||
941 | 275 | #, python-format | ||
942 | 276 | msgid "Unable to read Server Settings" | ||
943 | 277 | msgstr "Impossible de lire les paramètres du serveur" | ||
944 | 278 | |||
945 | 279 | #. module: smtpclient | ||
946 | 280 | #: field:email.smtpclient,server_statistics:0 | ||
947 | 281 | msgid "Statistics" | ||
948 | 282 | msgstr "Statistiques" | ||
949 | 283 | |||
950 | 284 | #. module: smtpclient | ||
951 | 285 | #: wizard_view:email.testemail,init:0 | ||
952 | 286 | msgid "Test Email" | ||
953 | 287 | msgstr "Email de test" | ||
954 | 288 | |||
955 | 289 | #. module: smtpclient | ||
956 | 290 | #: field:email.smtpclient.history,server_id:0 | ||
957 | 291 | msgid "Smtp Server" | ||
958 | 292 | msgstr "Serveur SMTP" | ||
959 | 293 | |||
960 | 294 | #. module: smtpclient | ||
961 | 295 | #: field:res.company,addresses:0 | ||
962 | 296 | msgid "Email Addresses" | ||
963 | 297 | msgstr "Adresses email" | ||
964 | 298 | |||
965 | 299 | #. module: smtpclient | ||
966 | 300 | #: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_history_tree | ||
967 | 301 | #: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_server_history | ||
968 | 302 | msgid "Email Server History" | ||
969 | 303 | msgstr "Historique du serveur email" | ||
970 | 304 | |||
971 | 305 | #. module: smtpclient | ||
972 | 306 | #: selection:email.smtpclient.queue,state:0 | ||
973 | 307 | msgid "Waiting" | ||
974 | 308 | msgstr "En attente" | ||
975 | 309 | |||
976 | 310 | #. module: smtpclient | ||
977 | 311 | #: help:email.testemail,init,emailto:0 | ||
978 | 312 | msgid "Enter the address Email where you want to get the Test Email" | ||
979 | 313 | msgstr "" | ||
980 | 314 | "Saisir l'adresse email à laquelle vous voulez recevoir l'email de test" | ||
981 | 315 | |||
982 | 316 | #. module: smtpclient | ||
983 | 317 | #: selection:email.smtpclient,state:0 | ||
984 | 318 | msgid "Not Verified" | ||
985 | 319 | msgstr "Non vérifié" | ||
986 | 320 | |||
987 | 321 | #. module: smtpclient | ||
988 | 322 | #: field:email.smtpclient.history,email:0 | ||
989 | 323 | msgid "Email" | ||
990 | 324 | msgstr "Email" | ||
991 | 325 | |||
992 | 326 | #. module: smtpclient | ||
993 | 327 | #: selection:email.smtpclient.queue,state:0 | ||
994 | 328 | msgid "Sent" | ||
995 | 329 | msgstr "Envoyé" | ||
996 | 330 | |||
997 | 331 | #. module: smtpclient | ||
998 | 332 | #: field:email.smtpclient.history,user_id:0 | ||
999 | 333 | msgid "Username" | ||
1000 | 334 | msgstr "Nom d'utilisateur" | ||
1001 | 335 | |||
1002 | 336 | #. module: smtpclient | ||
1003 | 337 | #: field:res.company.address,name:0 | ||
1004 | 338 | msgid "Address Type" | ||
1005 | 339 | msgstr "Type d'adresse" | ||
1006 | 340 | |||
1007 | 341 | #. module: smtpclient | ||
1008 | 342 | #: view:email.smtpclient:0 | ||
1009 | 343 | msgid "Permission" | ||
1010 | 344 | msgstr "Permission" | ||
1011 | 345 | |||
1012 | 346 | #. module: smtpclient | ||
1013 | 347 | #: view:email.smtpclient.queue:0 | ||
1014 | 348 | msgid "Message with All Headers" | ||
1015 | 349 | msgstr "Message avec entêtes complètes" | ||
1016 | 350 | |||
1017 | 351 | #. module: smtpclient | ||
1018 | 352 | #: view:email.smtpclient:0 | ||
1019 | 353 | msgid "Message Headers" | ||
1020 | 354 | msgstr "Entêtes de message" | ||
1021 | 355 | |||
1022 | 356 | #. module: smtpclient | ||
1023 | 357 | #: field:ir.actions.server,report_id:0 | ||
1024 | 358 | msgid "Report" | ||
1025 | 359 | msgstr "Rapport" | ||
1026 | 360 | |||
1027 | 361 | #. module: smtpclient | ||
1028 | 362 | #: view:email.smtpclient:0 | ||
1029 | 363 | msgid "Other Information" | ||
1030 | 364 | msgstr "Autre information" | ||
1031 | 365 | |||
1032 | 366 | #. module: smtpclient | ||
1033 | 367 | #: view:email.smtpclient:0 | ||
1034 | 368 | msgid "Configuration" | ||
1035 | 369 | msgstr "Configuration" | ||
1036 | 370 | |||
1037 | 371 | #. module: smtpclient | ||
1038 | 372 | #: constraint:ir.cron:0 | ||
1039 | 373 | msgid "Invalid arguments" | ||
1040 | 374 | msgstr "Paramètres non valides" | ||
1041 | 375 | |||
1042 | 376 | #. module: smtpclient | ||
1043 | 377 | #: constraint:ir.ui.view:0 | ||
1044 | 378 | msgid "Invalid XML for View Architecture!" | ||
1045 | 379 | msgstr "XML non valide pour l'architecture de la vue !" | ||
1046 | 380 | |||
1047 | 381 | #. module: smtpclient | ||
1048 | 382 | #: view:email.smtpclient:0 | ||
1049 | 383 | #: field:email.smtpclient,disclaimers:0 | ||
1050 | 384 | msgid "Disclaimers" | ||
1051 | 385 | msgstr "Avertissement de responsabilité limitée" | ||
1052 | 386 | |||
1053 | 387 | #. module: smtpclient | ||
1054 | 388 | #: field:report.smtp.server,name:0 | ||
1055 | 389 | msgid "Server" | ||
1056 | 390 | msgstr "Serveur" | ||
1057 | 391 | |||
1058 | 392 | #. module: smtpclient | ||
1059 | 393 | #: view:res.company:0 | ||
1060 | 394 | msgid "SMTP Settings" | ||
1061 | 395 | msgstr "Paramètres SMTP" | ||
1062 | 396 | |||
1063 | 397 | #. module: smtpclient | ||
1064 | 398 | #: help:email.smtpclient,body:0 | ||
1065 | 399 | msgid "" | ||
1066 | 400 | "The message text that will be send along with the email which is send " | ||
1067 | 401 | "through this server" | ||
1068 | 402 | msgstr "Le message texte qui sera envoyé avec l'email envoyé par ce serveur" | ||
1069 | 403 | |||
1070 | 404 | #. module: smtpclient | ||
1071 | 405 | #: model:ir.actions.wizard,name:smtpclient.wizard_email_testemail | ||
1072 | 406 | msgid "Send Test Email" | ||
1073 | 407 | msgstr "Envoyer email de test" | ||
1074 | 408 | |||
1075 | 409 | #. module: smtpclient | ||
1076 | 410 | #: model:ir.model,name:smtpclient.model_email_smtpclient_queue | ||
1077 | 411 | msgid "Email Queue" | ||
1078 | 412 | msgstr "File d'attente email" | ||
1079 | 413 | |||
1080 | 414 | #. module: smtpclient | ||
1081 | 415 | #: view:email.smtpclient:0 | ||
1082 | 416 | msgid "Server Information" | ||
1083 | 417 | msgstr "Information sur le serveur" | ||
1084 | 418 | |||
1085 | 419 | #. module: smtpclient | ||
1086 | 420 | #: help:email.verifycode,init,code:0 | ||
1087 | 421 | msgid "Enter the verification code thay you get in your verification Email" | ||
1088 | 422 | msgstr "" | ||
1089 | 423 | "Saisir le code de vérification que vous avez reçu dans votre email de " | ||
1090 | 424 | "vérification" | ||
1091 | 425 | |||
1092 | 426 | #. module: smtpclient | ||
1093 | 427 | #: model:ir.model,name:smtpclient.model_email_smtpclient_history | ||
1094 | 428 | msgid "Email Client History" | ||
1095 | 429 | msgstr "Historique du client email" | ||
1096 | 430 | |||
1097 | 431 | #. module: smtpclient | ||
1098 | 432 | #: selection:email.smtpclient,delete_queue:0 | ||
1099 | 433 | msgid "Never Delete Message" | ||
1100 | 434 | msgstr "Ne jamais effacer le message" | ||
1101 | 435 | |||
1102 | 436 | #. module: smtpclient | ||
1103 | 437 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1104 | 438 | #, python-format | ||
1105 | 439 | msgid "OpenERP Test Email!" | ||
1106 | 440 | msgstr "Email de test OpenERP!" | ||
1107 | 441 | |||
1108 | 442 | #. module: smtpclient | ||
1109 | 443 | #: view:email.smtpclient:0 | ||
1110 | 444 | #: field:email.smtpclient,body:0 | ||
1111 | 445 | #: view:email.smtpclient.queue:0 | ||
1112 | 446 | #: field:email.smtpclient.queue,serialized_message:0 | ||
1113 | 447 | msgid "Message" | ||
1114 | 448 | msgstr "Message" | ||
1115 | 449 | |||
1116 | 450 | #. module: smtpclient | ||
1117 | 451 | #: field:email.smtpclient,process_id:0 | ||
1118 | 452 | msgid "MTA Process" | ||
1119 | 453 | msgstr "Processus MTA" | ||
1120 | 454 | |||
1121 | 455 | #. module: smtpclient | ||
1122 | 456 | #: field:email.headers,server_id:0 | ||
1123 | 457 | #: view:email.smtpclient:0 | ||
1124 | 458 | #: field:email.smtpclient,server:0 | ||
1125 | 459 | #: field:email.smtpclient.queue,server_id:0 | ||
1126 | 460 | #: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_smtp_server | ||
1127 | 461 | msgid "SMTP Server" | ||
1128 | 462 | msgstr "Serveur SMTP" | ||
1129 | 463 | |||
1130 | 464 | #. module: smtpclient | ||
1131 | 465 | #: selection:email.smtpclient,auth_type:0 | ||
1132 | 466 | msgid "Google Server" | ||
1133 | 467 | msgstr "Serveur Google" | ||
1134 | 468 | |||
1135 | 469 | #. module: smtpclient | ||
1136 | 470 | #: selection:email.smtpclient,state:0 | ||
1137 | 471 | msgid "Verified" | ||
1138 | 472 | msgstr "Vérifié" | ||
1139 | 473 | |||
1140 | 474 | #. module: smtpclient | ||
1141 | 475 | #: help:email.smtpclient,priority:0 | ||
1142 | 476 | msgid "" | ||
1143 | 477 | "Priority between 0 to 10, will be used to define the MTA process priotiry" | ||
1144 | 478 | msgstr "" | ||
1145 | 479 | "Priorité de 0 à 10, utilisé pour définir les priorités des processus MTA" | ||
1146 | 480 | |||
1147 | 481 | #. module: smtpclient | ||
1148 | 482 | #: field:email.smtpclient,port:0 | ||
1149 | 483 | msgid "SMTP Port" | ||
1150 | 484 | msgstr "Port SMTP" | ||
1151 | 485 | |||
1152 | 486 | #. module: smtpclient | ||
1153 | 487 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1154 | 488 | #, python-format | ||
1155 | 489 | msgid "Email TO Address not Defined !" | ||
1156 | 490 | msgstr "Adresse d'envoi non définie!" | ||
1157 | 491 | |||
1158 | 492 | #. module: smtpclient | ||
1159 | 493 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1160 | 494 | #, python-format | ||
1161 | 495 | msgid "SMTP Server Error !" | ||
1162 | 496 | msgstr "Erreur de serveur SMTP!" | ||
1163 | 497 | |||
1164 | 498 | #. module: smtpclient | ||
1165 | 499 | #: field:email.smtpclient,auth:0 | ||
1166 | 500 | msgid "Use Auth" | ||
1167 | 501 | msgstr "Utiliser l'authentification" | ||
1168 | 502 | |||
1169 | 503 | #. module: smtpclient | ||
1170 | 504 | #: field:email.smtpclient,pstate:0 | ||
1171 | 505 | msgid "Server Statue" | ||
1172 | 506 | msgstr "État du serveur" | ||
1173 | 507 | |||
1174 | 508 | #. module: smtpclient | ||
1175 | 509 | #: field:email.smtpclient,user:0 | ||
1176 | 510 | msgid "User Name" | ||
1177 | 511 | msgstr "Nom d'utilisateur" | ||
1178 | 512 | |||
1179 | 513 | #. module: smtpclient | ||
1180 | 514 | #: field:email.smtpclient,verify_email:0 | ||
1181 | 515 | msgid "Verify Message" | ||
1182 | 516 | msgstr "Vérifiez le message" | ||
1183 | 517 | |||
1184 | 518 | #. module: smtpclient | ||
1185 | 519 | #: model:ir.model,name:smtpclient.model_email_smtpclient | ||
1186 | 520 | #: model:ir.module.module,shortdesc:smtpclient.module_meta_information | ||
1187 | 521 | msgid "Email Client" | ||
1188 | 522 | msgstr "Client email" | ||
1189 | 523 | |||
1190 | 524 | #. module: smtpclient | ||
1191 | 525 | #: view:email.smtpclient:0 | ||
1192 | 526 | msgid "Disclaimers Message" | ||
1193 | 527 | msgstr "Message sur la limitation de garantie" | ||
1194 | 528 | |||
1195 | 529 | #. module: smtpclient | ||
1196 | 530 | #: view:email.smtpclient:0 | ||
1197 | 531 | msgid "__code__ for Verification Code" | ||
1198 | 532 | msgstr "__code__ pour le Code de Vérification" | ||
1199 | 533 | |||
1200 | 534 | #. module: smtpclient | ||
1201 | 535 | #: selection:email.smtpclient.queue,state:0 | ||
1202 | 536 | msgid "Queued" | ||
1203 | 537 | msgstr "File d'attente" | ||
1204 | 538 | |||
1205 | 539 | #. module: smtpclient | ||
1206 | 540 | #: field:email.smtpclient.history,date_create:0 | ||
1207 | 541 | #: field:email.smtpclient.queue,date_create:0 | ||
1208 | 542 | msgid "Date" | ||
1209 | 543 | msgstr "Date" | ||
1210 | 544 | |||
1211 | 545 | #. module: smtpclient | ||
1212 | 546 | #: field:email.smtpclient.queue,cc:0 | ||
1213 | 547 | msgid "CC to" | ||
1214 | 548 | msgstr "En copie à" | ||
1215 | 549 | |||
1216 | 550 | #. module: smtpclient | ||
1217 | 551 | #: model:email.smtpclient,verify_email:smtpclient.email_smtpclient_sendmailserver0 | ||
1218 | 552 | msgid "" | ||
1219 | 553 | "Verification Message. This is the code\n" | ||
1220 | 554 | "__code__ \n" | ||
1221 | 555 | "you must copy in the OpenERP Email Server (Verify Server wizard).\n" | ||
1222 | 556 | "Created by user __user__" | ||
1223 | 557 | msgstr "" | ||
1224 | 558 | "Message de vérification. Ceci est le code\n" | ||
1225 | 559 | "__code__ \n" | ||
1226 | 560 | "que vous devez saisir dans le serveur email OpenERP (assistant Vérification " | ||
1227 | 561 | "du Serveur).\n" | ||
1228 | 562 | "Créé par utilisateur __utilisateur__" | ||
1229 | 563 | |||
1230 | 564 | #. module: smtpclient | ||
1231 | 565 | #: view:email.smtpclient.queue:0 | ||
1232 | 566 | #: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_queue_tree | ||
1233 | 567 | #: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_smtp_server_queue | ||
1234 | 568 | msgid "Message Queue" | ||
1235 | 569 | msgstr "File d'attente des messages" | ||
1236 | 570 | |||
1237 | 571 | #. module: smtpclient | ||
1238 | 572 | #: selection:email.smtpclient,type:0 | ||
1239 | 573 | #: selection:res.company.address,name:0 | ||
1240 | 574 | msgid "Default" | ||
1241 | 575 | msgstr "Défaut" | ||
1242 | 576 | |||
1243 | 577 | #. module: smtpclient | ||
1244 | 578 | #: selection:email.smtpclient,delete_queue:0 | ||
1245 | 579 | msgid "Delete Content After" | ||
1246 | 580 | msgstr "Effacer le contenu après" | ||
1247 | 581 | |||
1248 | 582 | #. module: smtpclient | ||
1249 | 583 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1250 | 584 | #, python-format | ||
1251 | 585 | msgid "You have no permission to access SMTP Server : %s " | ||
1252 | 586 | msgstr "Vous n'avez aucune permission d'accès au serveur SMTP : %s " | ||
1253 | 587 | |||
1254 | 588 | #. module: smtpclient | ||
1255 | 589 | #: field:email.smtpclient,active:0 | ||
1256 | 590 | msgid "Active" | ||
1257 | 591 | msgstr "Actif" | ||
1258 | 592 | |||
1259 | 593 | #. module: smtpclient | ||
1260 | 594 | #: model:ir.actions.act_window,name:smtpclient.act_mail_server_2_mail_queue | ||
1261 | 595 | msgid "Message Queus" | ||
1262 | 596 | msgstr "File d'attente des messages" | ||
1263 | 597 | |||
1264 | 598 | #. module: smtpclient | ||
1265 | 599 | #: code:addons/smtpclient/wizard/sendcode.py:0 | ||
1266 | 600 | #: code:addons/smtpclient/wizard/testemail.py:0 | ||
1267 | 601 | #: code:addons/smtpclient/wizard/verifycode.py:0 | ||
1268 | 602 | #: view:email.smtpclient.queue:0 | ||
1269 | 603 | #: selection:email.smtpclient.queue,state:0 | ||
1270 | 604 | #, python-format | ||
1271 | 605 | msgid "Error" | ||
1272 | 606 | msgstr "Erreur" | ||
1273 | 607 | |||
1274 | 608 | #. module: smtpclient | ||
1275 | 609 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1276 | 610 | #, python-format | ||
1277 | 611 | msgid "Server Error!" | ||
1278 | 612 | msgstr "Erreur serveur !" | ||
1279 | 613 | |||
1280 | 614 | #. module: smtpclient | ||
1281 | 615 | #: selection:email.smtpclient,delete_queue:0 | ||
1282 | 616 | msgid "Clear All After" | ||
1283 | 617 | msgstr "Tout effacer après" | ||
1284 | 618 | |||
1285 | 619 | #. module: smtpclient | ||
1286 | 620 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1287 | 621 | #, python-format | ||
1288 | 622 | msgid "" | ||
1289 | 623 | "Please verify Email Server, without verification you can not send Email(s)." | ||
1290 | 624 | msgstr "" | ||
1291 | 625 | "Merci de vérifier votre serveur email, sans vérification vous ne pouvez pas " | ||
1292 | 626 | "envoyer d'email(s)." | ||
1293 | 627 | |||
1294 | 628 | #. module: smtpclient | ||
1295 | 629 | #: field:email.smtpclient,history_line:0 | ||
1296 | 630 | #: field:report.smtp.server,history:0 | ||
1297 | 631 | msgid "History" | ||
1298 | 632 | msgstr "Historique" | ||
1299 | 633 | |||
1300 | 634 | #. module: smtpclient | ||
1301 | 635 | #: field:email.smtpclient.queue,priority:0 | ||
1302 | 636 | msgid "Message Priority" | ||
1303 | 637 | msgstr "Priorité du message" | ||
1304 | 638 | |||
1305 | 639 | #. module: smtpclient | ||
1306 | 640 | #: field:ir.actions.server,file_ids:0 | ||
1307 | 641 | msgid "Attachments" | ||
1308 | 642 | msgstr "Fichiers attachés" | ||
1309 | 643 | |||
1310 | 644 | #. module: smtpclient | ||
1311 | 645 | #: view:email.smtpclient:0 | ||
1312 | 646 | msgid "__name__ for Customer Name" | ||
1313 | 647 | msgstr "__name__ pour le Nom du Client" | ||
1314 | 648 | |||
1315 | 649 | #. module: smtpclient | ||
1316 | 650 | #: view:email.smtpclient.queue:0 | ||
1317 | 651 | msgid "General" | ||
1318 | 652 | msgstr "Général" | ||
1319 | 653 | |||
1320 | 654 | #. module: smtpclient | ||
1321 | 655 | #: field:email.headers,key:0 | ||
1322 | 656 | msgid "Header" | ||
1323 | 657 | msgstr "Entête" | ||
1324 | 658 | |||
1325 | 659 | #. module: smtpclient | ||
1326 | 660 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1327 | 661 | #, python-format | ||
1328 | 662 | msgid "" | ||
1329 | 663 | "Verification Message. This is the code\n" | ||
1330 | 664 | "\n" | ||
1331 | 665 | "__code__\n" | ||
1332 | 666 | "\n" | ||
1333 | 667 | "you must copy in the OpenERP Email Server (Verify Server wizard).\n" | ||
1334 | 668 | "\n" | ||
1335 | 669 | "Created by user __user__" | ||
1336 | 670 | msgstr "" | ||
1337 | 671 | "Message de vérification. Voici le code\n" | ||
1338 | 672 | "\n" | ||
1339 | 673 | "__code__\n" | ||
1340 | 674 | "\n" | ||
1341 | 675 | "Vous devez le copier dans le serveur de couriel d'Open ERP (Assistant de " | ||
1342 | 676 | "vérification).\n" | ||
1343 | 677 | "\n" | ||
1344 | 678 | "Créer par l'utilisateur __user__" | ||
1345 | 679 | |||
1346 | 680 | #. module: smtpclient | ||
1347 | 681 | #: selection:res.company.address,name:0 | ||
1348 | 682 | msgid "Invoice" | ||
1349 | 683 | msgstr "Facture" | ||
1350 | 684 | |||
1351 | 685 | #. module: smtpclient | ||
1352 | 686 | #: wizard_view:email.verifycode,init:0 | ||
1353 | 687 | #: wizard_button:email.verifycode,init,check:0 | ||
1354 | 688 | msgid "Verify Code" | ||
1355 | 689 | msgstr "Code de vérification" | ||
1356 | 690 | |||
1357 | 691 | #. module: smtpclient | ||
1358 | 692 | #: wizard_button:email.sendcode,init,end:0 | ||
1359 | 693 | #: wizard_button:email.testemail,init,end:0 | ||
1360 | 694 | #: wizard_button:email.verifycode,init,end:0 | ||
1361 | 695 | msgid "Cancel" | ||
1362 | 696 | msgstr "Annuler" | ||
1363 | 697 | |||
1364 | 698 | #. module: smtpclient | ||
1365 | 699 | #: field:email.smtpclient,delete_queue_period:0 | ||
1366 | 700 | msgid "Delete after" | ||
1367 | 701 | msgstr "Effacer après" | ||
1368 | 702 | |||
1369 | 703 | #. module: smtpclient | ||
1370 | 704 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1371 | 705 | #, python-format | ||
1372 | 706 | msgid "Server is not Verified, Please Verify the Server !" | ||
1373 | 707 | msgstr "Le serveur n'est pas vérifié, merci de vérifier le serveur!" | ||
1374 | 708 | |||
1375 | 709 | #. module: smtpclient | ||
1376 | 710 | #: field:email.smtpclient.history,resource_id:0 | ||
1377 | 711 | msgid "Resource ID" | ||
1378 | 712 | msgstr "ID de la ressource" | ||
1379 | 713 | |||
1380 | 714 | #. module: smtpclient | ||
1381 | 715 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1382 | 716 | #, python-format | ||
1383 | 717 | msgid "SMTP Data Error !" | ||
1384 | 718 | msgstr "Erreur de données SMTP !" | ||
1385 | 719 | |||
1386 | 720 | #. module: smtpclient | ||
1387 | 721 | #: constraint:ir.model:0 | ||
1388 | 722 | msgid "" | ||
1389 | 723 | "The Object name must start with x_ and not contain any special character !" | ||
1390 | 724 | msgstr "" | ||
1391 | 725 | "Le nom de l'objet doit commencer par x_ et ne doit pas contenir de " | ||
1392 | 726 | "caractères spéciaux !" | ||
1393 | 727 | |||
1394 | 728 | #. module: smtpclient | ||
1395 | 729 | #: selection:email.smtpclient,delete_queue:0 | ||
1396 | 730 | msgid "Delete when Email Sent" | ||
1397 | 731 | msgstr "Effacer une fois l'email envoyé" | ||
1398 | 732 | |||
1399 | 733 | #. module: smtpclient | ||
1400 | 734 | #: selection:email.smtpclient,type:0 | ||
1401 | 735 | msgid "Account" | ||
1402 | 736 | msgstr "Compte" | ||
1403 | 737 | |||
1404 | 738 | #. module: smtpclient | ||
1405 | 739 | #: model:ir.module.module,description:smtpclient.module_meta_information | ||
1406 | 740 | msgid "" | ||
1407 | 741 | "Email Client module that provides:\n" | ||
1408 | 742 | " Sending Email\n" | ||
1409 | 743 | " Use Multiple Server\n" | ||
1410 | 744 | " Multi Threading\n" | ||
1411 | 745 | " Multi Attachment\n" | ||
1412 | 746 | " " | ||
1413 | 747 | msgstr "" | ||
1414 | 748 | "Module de client email qui permet d' :\n" | ||
1415 | 749 | " Envoyer des emails\n" | ||
1416 | 750 | " Utiliser plusieurs serveurs\n" | ||
1417 | 751 | " Utiliser plusieurs files d'envoi (multi-threading)\n" | ||
1418 | 752 | " Envoyer plusieurs fichiers attachés\n" | ||
1419 | 753 | " " | ||
1420 | 754 | |||
1421 | 755 | #. module: smtpclient | ||
1422 | 756 | #: selection:email.smtpclient,type:0 | ||
1423 | 757 | msgid "Stock" | ||
1424 | 758 | msgstr "Stock" | ||
1425 | 759 | |||
1426 | 760 | #. module: smtpclient | ||
1427 | 761 | #: field:email.smtpclient.history,name:0 | ||
1428 | 762 | msgid "Description" | ||
1429 | 763 | msgstr "Description" | ||
1430 | 764 | |||
1431 | 765 | #. module: smtpclient | ||
1432 | 766 | #: field:email.smtpclient,code:0 | ||
1433 | 767 | #: wizard_field:email.verifycode,init,code:0 | ||
1434 | 768 | msgid "Verification Code" | ||
1435 | 769 | msgstr "Code de vérifcation" | ||
1436 | 770 | |||
1437 | 771 | #. module: smtpclient | ||
1438 | 772 | #: selection:email.smtpclient,pstate:0 | ||
1439 | 773 | msgid "Stop" | ||
1440 | 774 | msgstr "Arrêter" | ||
1441 | 775 | |||
1442 | 776 | #. module: smtpclient | ||
1443 | 777 | #: field:email.smtpclient.queue,body:0 | ||
1444 | 778 | msgid "Email Text" | ||
1445 | 779 | msgstr "Texte de l'email" | ||
1446 | 780 | |||
1447 | 781 | #. module: smtpclient | ||
1448 | 782 | #: selection:res.company.address,name:0 | ||
1449 | 783 | msgid "Delivery" | ||
1450 | 784 | msgstr "Livraison" | ||
1451 | 785 | |||
1452 | 786 | #. module: smtpclient | ||
1453 | 787 | #: selection:email.smtpclient,pstate:0 | ||
1454 | 788 | msgid "Running" | ||
1455 | 789 | msgstr "En cours" | ||
1456 | 790 | |||
1457 | 791 | #. module: smtpclient | ||
1458 | 792 | #: view:email.smtpclient.queue:0 | ||
1459 | 793 | msgid "Last Error occured" | ||
1460 | 794 | msgstr "Dernière erreur apparu" | ||
1461 | 795 | |||
1462 | 796 | #. module: smtpclient | ||
1463 | 797 | #: selection:email.smtpclient,state:0 | ||
1464 | 798 | msgid "Waiting for Verification" | ||
1465 | 799 | msgstr "En attente de vérification" | ||
1466 | 800 | |||
1467 | 801 | #. module: smtpclient | ||
1468 | 802 | #: field:email.smtpclient,password:0 | ||
1469 | 803 | msgid "Password" | ||
1470 | 804 | msgstr "Mot de passe" | ||
1471 | 805 | |||
1472 | 806 | #. module: smtpclient | ||
1473 | 807 | #: field:email.smtpclient,users_id:0 | ||
1474 | 808 | msgid "Users Allowed" | ||
1475 | 809 | msgstr "Utilisateurs authorisés" | ||
1476 | 810 | |||
1477 | 811 | #. module: smtpclient | ||
1478 | 812 | #: code:addons/smtpclient/wizard/sendcode.py:0 | ||
1479 | 813 | #, python-format | ||
1480 | 814 | msgid "Verification Code Already Generated !" | ||
1481 | 815 | msgstr "Génération du code de vérification déjà effectuée!" | ||
1482 | 816 | |||
1483 | 817 | #. module: smtpclient | ||
1484 | 818 | #: wizard_field:email.sendcode,init,emailto:0 | ||
1485 | 819 | #: field:email.smtpclient,email:0 | ||
1486 | 820 | #: wizard_field:email.testemail,init,emailto:0 | ||
1487 | 821 | #: view:res.company:0 | ||
1488 | 822 | #: field:res.company.address,email:0 | ||
1489 | 823 | msgid "Email Address" | ||
1490 | 824 | msgstr "Adresse courriel" | ||
1491 | 825 | |||
1492 | 826 | #. module: smtpclient | ||
1493 | 827 | #: view:email.smtpclient:0 | ||
1494 | 828 | msgid "Verification Message" | ||
1495 | 829 | msgstr "Message de vérification" | ||
1496 | 830 | |||
1497 | 831 | #. module: smtpclient | ||
1498 | 832 | #: view:email.smtpclient:0 | ||
1499 | 833 | msgid "Stop Server" | ||
1500 | 834 | msgstr "Arrêter le serveur" | ||
1501 | 835 | |||
1502 | 836 | #. module: smtpclient | ||
1503 | 837 | #: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_server | ||
1504 | 838 | msgid "Email Servers" | ||
1505 | 839 | msgstr "Serveurs email" | ||
1506 | 840 | |||
1507 | 841 | #. module: smtpclient | ||
1508 | 842 | #: model:ir.actions.wizard,name:smtpclient.wizard_email_sendcode | ||
1509 | 843 | msgid "Send Verification Code" | ||
1510 | 844 | msgstr "Envoyer le code de vérification" | ||
1511 | 845 | |||
1512 | 846 | #. module: smtpclient | ||
1513 | 847 | #: field:email.smtpclient.history,model:0 | ||
1514 | 848 | msgid "Model" | ||
1515 | 849 | msgstr "Modèle" | ||
1516 | 850 | |||
1517 | 851 | #. module: smtpclient | ||
1518 | 852 | #: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_tree | ||
1519 | 853 | #: field:ir.actions.server,email_server:0 | ||
1520 | 854 | msgid "Email Server" | ||
1521 | 855 | msgstr "Serveur de couriel" | ||
1522 | 856 | |||
1523 | 857 | #. module: smtpclient | ||
1524 | 858 | #: code:addons/smtpclient/smtpclient.py:0 | ||
1525 | 859 | #, python-format | ||
1526 | 860 | msgid "Permission Error!" | ||
1527 | 861 | msgstr "Erreur de permission !" | ||
1528 | 862 | |||
1529 | 863 | #. module: smtpclient | ||
1530 | 864 | #: model:ir.model,name:smtpclient.model_res_company_address | ||
1531 | 865 | msgid "res.company.address" | ||
1532 | 866 | msgstr "res.company.address" | ||
1533 | 867 | |||
1534 | 868 | #. module: smtpclient | ||
1535 | 869 | #: field:email.smtpclient.queue,state:0 | ||
1536 | 870 | msgid "Message Status" | ||
1537 | 871 | msgstr "État du message" | ||
1538 | 872 | 0 | ||
1539 | === modified file 'stock/stock.py' | |||
1540 | --- stock/stock.py 2010-05-26 08:40:33 +0000 | |||
1541 | +++ stock/stock.py 2010-05-27 21:44:29 +0000 | |||
1542 | @@ -516,7 +516,9 @@ | |||
1543 | 516 | 'move_lines': fields.one2many('stock.move', 'picking_id', 'Internal Moves', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}), | 516 | 'move_lines': fields.one2many('stock.move', 'picking_id', 'Internal Moves', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}), |
1544 | 517 | 'delivery_line':fields.one2many('stock.delivery', 'picking_id', 'Delivery lines', readonly=True), | 517 | 'delivery_line':fields.one2many('stock.delivery', 'picking_id', 'Delivery lines', readonly=True), |
1545 | 518 | 'auto_picking': fields.boolean('Auto-Picking'), | 518 | 'auto_picking': fields.boolean('Auto-Picking'), |
1547 | 519 | 'address_id': fields.many2one('res.partner.address', 'Partner', help="Address of partner"), | 519 | 'address_id': fields.many2one('res.partner.address', 'Address', |
1548 | 520 | help="Shipping address - changing it also changes the partner"), | ||
1549 | 521 | 'partner_id': fields.related('address_id', 'partner_id', type="many2one", relation="res.partner", string="Partner", readonly = True, help="Partner for shipping and invoice",store=True), | ||
1550 | 520 | 'invoice_state': fields.selection([ | 522 | 'invoice_state': fields.selection([ |
1551 | 521 | ("invoiced", "Invoiced"), | 523 | ("invoiced", "Invoiced"), |
1552 | 522 | ("2binvoiced", "To Be Invoiced"), | 524 | ("2binvoiced", "To Be Invoiced"), |
1553 | 523 | 525 | ||
1554 | === modified file 'stock/stock_view.xml' | |||
1555 | --- stock/stock_view.xml 2010-05-26 08:40:33 +0000 | |||
1556 | +++ stock/stock_view.xml 2010-05-27 21:44:29 +0000 | |||
1557 | @@ -599,18 +599,21 @@ | |||
1558 | 599 | <field name="model">stock.picking</field> | 599 | <field name="model">stock.picking</field> |
1559 | 600 | <field name="type">form</field> | 600 | <field name="type">form</field> |
1560 | 601 | <field name="arch" type="xml"> | 601 | <field name="arch" type="xml"> |
1563 | 602 | <form string="Picking list"> | 602 | <form string="Outgoing Form"> |
1564 | 603 | <group colspan="4" col="6"> | 603 | <group colspan="4" col="6"> |
1565 | 604 | 604 | ||
1566 | 605 | <field name="name" readonly="1"/> | ||
1567 | 606 | <!-- <field name="address_id" context="{'contact_display' : 'partner'}" groups="base.group_extended"/>--> | 605 | <!-- <field name="address_id" context="{'contact_display' : 'partner'}" groups="base.group_extended"/>--> |
1568 | 607 | <field name="origin"/> | ||
1569 | 608 | 606 | ||
1573 | 609 | <field name="backorder_id" groups="base.group_extended" readonly="1"/> | 607 | <field name="min_date" select="1"/> |
1574 | 610 | <field name="date"/> | 608 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> |
1575 | 611 | <field name="min_date"/> | 609 | <field name="partner_id" colspan="4"/> |
1576 | 612 | <field name="type"/> | 610 | <field name="type"/> |
1578 | 613 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 611 | <field name="address_id" context="{'contact_display':'partner'}" colspan="4"/> |
1579 | 612 | <field name="move_type"/> | ||
1580 | 613 | <field name="origin" readonly="1"/> | ||
1581 | 614 | <field name="date" select="1" /> | ||
1582 | 615 | <field name="backorder_id" groups="base.group_extended" readonly="1"/> | ||
1583 | 616 | |||
1584 | 614 | </group> | 617 | </group> |
1585 | 615 | <notebook colspan="4"> | 618 | <notebook colspan="4"> |
1586 | 616 | <page string="General Information"> | 619 | <page string="General Information"> |
1587 | @@ -627,16 +630,9 @@ | |||
1588 | 627 | <field name="date_planned"/> | 630 | <field name="date_planned"/> |
1589 | 628 | <field name="date_expected" string="Date Expected"/> | 631 | <field name="date_expected" string="Date Expected"/> |
1590 | 629 | <field name="state"/> | 632 | <field name="state"/> |
1596 | 630 | <button | 633 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill" states="draft,waiting,confirmed,assigned"/> |
1592 | 631 | name="%(stock.track_line)d" | ||
1593 | 632 | string="Split in production lots" | ||
1594 | 633 | type="action" icon="gtk-justify-fill" | ||
1595 | 634 | states="draft,waiting,confirmed,assigned" /> | ||
1597 | 635 | 634 | ||
1602 | 636 | <button name="%(stock.move_scrap)d" | 635 | <button name="265" string="Scrap Products" type="action" icon="gtk-convert" context="{'scrap': True}" states="draft,waiting,confirmed,assigned"/> |
1599 | 637 | string="Scrap Products" type="action" | ||
1600 | 638 | icon="gtk-convert" context="{'scrap': True}" | ||
1601 | 639 | states="draft,waiting,confirmed,assigned" /> | ||
1603 | 640 | </tree> | 636 | </tree> |
1604 | 641 | <form string="Stock Moves"> | 637 | <form string="Stock Moves"> |
1605 | 642 | <notebook colspan="4"> | 638 | <notebook colspan="4"> |
1606 | @@ -654,16 +650,12 @@ | |||
1607 | 654 | <field name="date_planned"/> | 650 | <field name="date_planned"/> |
1608 | 655 | <field name="date_expected" string="Date Expected"/> | 651 | <field name="date_expected" string="Date Expected"/> |
1609 | 656 | <field name="address_id" context="{'contact_display':'partner'}"/> | 652 | <field name="address_id" context="{'contact_display':'partner'}"/> |
1615 | 657 | <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]"/> | 653 | <field name="prodlot_id" groups="base.group_extended" context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=?',product_id)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> |
1611 | 658 | <field name="prodlot_id" groups="base.group_extended" | ||
1612 | 659 | context="{'location_id':location_id, 'product_id':product_id}" | ||
1613 | 660 | domain="[('product_id','=?',product_id)]" | ||
1614 | 661 | on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> | ||
1616 | 662 | <field groups="base.group_extended" name="tracking_id"/> | 654 | <field groups="base.group_extended" name="tracking_id"/> |
1617 | 663 | <newline/> | 655 | <newline/> |
1618 | 664 | <label/> | 656 | <label/> |
1621 | 665 | <button name="%(track_line)d" string="Split in production lots" type="action" icon="gtk-justify-fill"/> | 657 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill"/> |
1622 | 666 | <button name="%(move_scrap)d" string="Scrap Move Line" type="action" icon="gtk-justify-fill"/> | 658 | <button name="265" string="Scrap Move Line" type="action" icon="gtk-justify-fill"/> |
1623 | 667 | <separator colspan="4" string="Move State"/> | 659 | <separator colspan="4" string="Move State"/> |
1624 | 668 | <field name="state"/> | 660 | <field name="state"/> |
1625 | 669 | <group colspan="2"> | 661 | <group colspan="2"> |
1626 | @@ -684,7 +676,7 @@ | |||
1627 | 684 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> | 676 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> |
1628 | 685 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> | 677 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> |
1629 | 686 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> | 678 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> |
1631 | 687 | <button name="%(action_partial_picking)d" states="assigned" string="Validate" type="action" icon="gtk-apply"/> | 679 | <button name="267" states="assigned" string="Validate" type="action" icon="gtk-apply"/> |
1632 | 688 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> | 680 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> |
1633 | 689 | </group> | 681 | </group> |
1634 | 690 | </page> | 682 | </page> |
1635 | @@ -692,12 +684,10 @@ | |||
1636 | 692 | <field colspan="4" name="note" nolabel="1"/> | 684 | <field colspan="4" name="note" nolabel="1"/> |
1637 | 693 | </page> | 685 | </page> |
1638 | 694 | <page string="Other info" groups="base.group_extended"> | 686 | <page string="Other info" groups="base.group_extended"> |
1639 | 687 | <field name="invoice_state" string="Invoice Control"/> | ||
1640 | 695 | <field name="active"/> | 688 | <field name="active"/> |
1641 | 689 | <field name="date_done"/> | ||
1642 | 696 | <field name="auto_picking"/> | 690 | <field name="auto_picking"/> |
1643 | 697 | <field name="invoice_state"/> | ||
1644 | 698 | <field name="date_done"/> | ||
1645 | 699 | <newline/> | ||
1646 | 700 | <field name="move_type"/> | ||
1647 | 701 | </page> | 691 | </page> |
1648 | 702 | </notebook> | 692 | </notebook> |
1649 | 703 | </form> | 693 | </form> |
1650 | @@ -754,15 +744,16 @@ | |||
1651 | 754 | <field name="model">stock.picking</field> | 744 | <field name="model">stock.picking</field> |
1652 | 755 | <field name="type">form</field> | 745 | <field name="type">form</field> |
1653 | 756 | <field name="arch" type="xml"> | 746 | <field name="arch" type="xml"> |
1655 | 757 | <form string="Picking list"> | 747 | <form string="Delivery Form"> |
1656 | 758 | <group col="6" colspan="4"> | 748 | <group col="6" colspan="4"> |
1657 | 759 | <field name="name" readonly="1"/> | 749 | <field name="name" readonly="1"/> |
1658 | 760 | <field name="address_id"/> | ||
1659 | 761 | <field name="origin"/> | ||
1660 | 762 | <field name="backorder_id" groups="base.group_extended" readonly="1"/> | ||
1661 | 763 | <field name="date" /> | ||
1662 | 764 | <field name="min_date"/> | 750 | <field name="min_date"/> |
1663 | 765 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 751 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> |
1664 | 752 | <field name="partner_id" colspan="4"/> | ||
1665 | 753 | <field name="address_id" context="{'contact_display':'partner'}" colspan="4"/> | ||
1666 | 754 | <field name="origin" readonly="1"/> | ||
1667 | 755 | <field name="date" select="1" /> | ||
1668 | 756 | <field name="backorder_id" groups="base.group_extended" readonly="1"/> | ||
1669 | 766 | </group> | 757 | </group> |
1670 | 767 | <notebook colspan="4"> | 758 | <notebook colspan="4"> |
1671 | 768 | <page string="General Information"> | 759 | <page string="General Information"> |
1672 | @@ -779,16 +770,8 @@ | |||
1673 | 779 | <field name="date_planned"/> | 770 | <field name="date_planned"/> |
1674 | 780 | <field name="date_expected" string="Date Expected"/> | 771 | <field name="date_expected" string="Date Expected"/> |
1675 | 781 | <field name="state"/> | 772 | <field name="state"/> |
1686 | 782 | <button | 773 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill" groups="base.group_extended" states="draft,waiting,confirmed,assigned"/> |
1687 | 783 | name="%(stock.track_line)d" | 774 | <button name="265" string="Scrap Products" type="action" icon="gtk-convert" context="{'scrap': True}" states="draft,waiting,confirmed,assigned"/> |
1678 | 784 | string="Split in production lots" | ||
1679 | 785 | type="action" icon="gtk-justify-fill" | ||
1680 | 786 | groups="base.group_extended" | ||
1681 | 787 | states="draft,waiting,confirmed,assigned" /> | ||
1682 | 788 | <button name="%(stock.move_scrap)d" | ||
1683 | 789 | string="Scrap Products" type="action" | ||
1684 | 790 | icon="gtk-convert" context="{'scrap': True}" | ||
1685 | 791 | states="draft,waiting,confirmed,assigned" /> | ||
1688 | 792 | </tree> | 775 | </tree> |
1689 | 793 | <form string="Stock Moves"> | 776 | <form string="Stock Moves"> |
1690 | 794 | <notebook colspan="4"> | 777 | <notebook colspan="4"> |
1691 | @@ -805,11 +788,7 @@ | |||
1692 | 805 | <field invisible="1" name="date"/> | 788 | <field invisible="1" name="date"/> |
1693 | 806 | <field name="date_planned"/> | 789 | <field name="date_planned"/> |
1694 | 807 | <field name="date_expected" string="Date Expected"/> | 790 | <field name="date_expected" string="Date Expected"/> |
1700 | 808 | <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]"/> | 791 | <field name="prodlot_id" groups="base.group_extended" context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=?',product_id)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> |
1696 | 809 | <field name="prodlot_id" groups="base.group_extended" | ||
1697 | 810 | context="{'location_id':location_id, 'product_id':product_id}" | ||
1698 | 811 | domain="[('product_id','=?',product_id)]" | ||
1699 | 812 | on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> | ||
1701 | 813 | <field groups="base.group_extended" name="tracking_id"/> | 792 | <field groups="base.group_extended" name="tracking_id"/> |
1702 | 814 | <separator colspan="4" string="Move State"/> | 793 | <separator colspan="4" string="Move State"/> |
1703 | 815 | <field name="state"/> | 794 | <field name="state"/> |
1704 | @@ -831,7 +810,7 @@ | |||
1705 | 831 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> | 810 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> |
1706 | 832 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> | 811 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> |
1707 | 833 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> | 812 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> |
1709 | 834 | <button name="%(action_partial_picking)d" states="assigned" string="Products Sent" type="action" icon="gtk-go-forward"/> | 813 | <button name="267" states="assigned" string="Products Sent" type="action" icon="gtk-go-forward"/> |
1710 | 835 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> | 814 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> |
1711 | 836 | </group> | 815 | </group> |
1712 | 837 | </page> | 816 | </page> |
1713 | @@ -839,12 +818,12 @@ | |||
1714 | 839 | <field colspan="4" name="note" nolabel="1"/> | 818 | <field colspan="4" name="note" nolabel="1"/> |
1715 | 840 | </page> | 819 | </page> |
1716 | 841 | <page string="Other info" groups="base.group_extended"> | 820 | <page string="Other info" groups="base.group_extended"> |
1718 | 842 | <field name="auto_picking"/> | 821 | <field name="invoice_state" string="Invoice Control"/> |
1719 | 843 | <field name="active"/> | 822 | <field name="active"/> |
1720 | 844 | <newline/> | ||
1721 | 845 | <field name="date"/> | ||
1722 | 846 | <field name="date_done"/> | 823 | <field name="date_done"/> |
1724 | 847 | <field name="move_type"/> | 824 | <field name="auto_picking"/> |
1725 | 825 | <field name="type"/> | ||
1726 | 826 | |||
1727 | 848 | </page> | 827 | </page> |
1728 | 849 | </notebook> | 828 | </notebook> |
1729 | 850 | </form> | 829 | </form> |
1730 | @@ -864,12 +843,12 @@ | |||
1731 | 864 | <filter icon="terp-stock" string="Back Order" domain="[('backorder_id','!=',False)]" help="Back Order"/> | 843 | <filter icon="terp-stock" string="Back Order" domain="[('backorder_id','!=',False)]" help="Back Order"/> |
1732 | 865 | <separator orientation="vertical"/> | 844 | <separator orientation="vertical"/> |
1733 | 866 | <field name="name"/> | 845 | <field name="name"/> |
1736 | 867 | <field name="address_id"/> | 846 | <field name="partner_id" select="1"/> |
1737 | 868 | <field name="origin"/> | 847 | <field name="address_id" context="{'contact_display':'partner'}" select="1"/> |
1738 | 869 | </group> | 848 | </group> |
1739 | 870 | <newline/> | 849 | <newline/> |
1740 | 871 | <group expand="1" string="Group By..." colspan="4" col="10"> | 850 | <group expand="1" string="Group By..." colspan="4" col="10"> |
1742 | 872 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'address_id'}"/> | 851 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'partner_id'}"/> |
1743 | 873 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> | 852 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> |
1744 | 874 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> | 853 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> |
1745 | 875 | </group> | 854 | </group> |
1746 | @@ -884,7 +863,10 @@ | |||
1747 | 884 | <field name="view_type">form</field> | 863 | <field name="view_type">form</field> |
1748 | 885 | <field name="view_mode">tree,form,calendar</field> | 864 | <field name="view_mode">tree,form,calendar</field> |
1749 | 886 | <field name="domain">[('type','=','delivery')]</field> | 865 | <field name="domain">[('type','=','delivery')]</field> |
1750 | 866 | <!-- FIXME | ||
1751 | 887 | <field name="context">{'contact_display': 'partner',"search_default_available":1}</field> | 867 | <field name="context">{'contact_display': 'partner',"search_default_available":1}</field> |
1752 | 868 | --> | ||
1753 | 869 | <field name="context">{"search_default_available":1}</field> | ||
1754 | 888 | <field name="search_view_id" ref="view_stock_delivery_filter"/> | 870 | <field name="search_view_id" ref="view_stock_delivery_filter"/> |
1755 | 889 | </record> | 871 | </record> |
1756 | 890 | <record id="action_picking_tree_delivery_view1" model="ir.actions.act_window.view"> | 872 | <record id="action_picking_tree_delivery_view1" model="ir.actions.act_window.view"> |
1757 | @@ -917,7 +899,8 @@ | |||
1758 | 917 | <field name="arch" type="xml"> | 899 | <field name="arch" type="xml"> |
1759 | 918 | <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string="Picking list"> | 900 | <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string="Picking list"> |
1760 | 919 | <field name="name"/> | 901 | <field name="name"/> |
1762 | 920 | <field name="address_id"/> | 902 | <field name="partner_id"/> |
1763 | 903 | <field name="address_id" context="{'contact_display':'partner'}"/> | ||
1764 | 921 | <field name="backorder_id" groups="base.group_extended"/> | 904 | <field name="backorder_id" groups="base.group_extended"/> |
1765 | 922 | <field name="origin"/> | 905 | <field name="origin"/> |
1766 | 923 | <field name="date"/> | 906 | <field name="date"/> |
1767 | @@ -934,15 +917,18 @@ | |||
1768 | 934 | <field name="model">stock.picking</field> | 917 | <field name="model">stock.picking</field> |
1769 | 935 | <field name="type">form</field> | 918 | <field name="type">form</field> |
1770 | 936 | <field name="arch" type="xml"> | 919 | <field name="arch" type="xml"> |
1772 | 937 | <form string="Picking list"> | 920 | <form string="Outgoing Picking list"> |
1773 | 938 | <group col="6" colspan="4"> | 921 | <group col="6" colspan="4"> |
1775 | 939 | <field name="address_id"/> | 922 | <field name="name" readonly="1"/> |
1776 | 940 | <field name="min_date"/> | 923 | <field name="min_date"/> |
1780 | 941 | <field name="name" readonly="1"/> | 924 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> |
1781 | 942 | <field name="invoice_state"/> | 925 | <field name="partner_id" colspan="4"/> |
1782 | 943 | <field name="backorder_id" readonly="1"/> | 926 | <field name="invoice_state" string="Invoice Control"/> |
1783 | 927 | <field name="address_id" context="{'contact_display':'partner'}" colspan="4"/> | ||
1784 | 928 | <field name="move_type"/> | ||
1785 | 944 | <field name="origin" readonly="1"/> | 929 | <field name="origin" readonly="1"/> |
1787 | 945 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 930 | <field name="date" select="1" /> |
1788 | 931 | <field name="backorder_id" readonly="1"/> | ||
1789 | 946 | </group> | 932 | </group> |
1790 | 947 | <notebook colspan="4"> | 933 | <notebook colspan="4"> |
1791 | 948 | <page string="General Information"> | 934 | <page string="General Information"> |
1792 | @@ -959,16 +945,8 @@ | |||
1793 | 959 | <field name="date_planned"/> | 945 | <field name="date_planned"/> |
1794 | 960 | <field name="date_expected" string="Date Expected"/> | 946 | <field name="date_expected" string="Date Expected"/> |
1795 | 961 | <field name="state"/> | 947 | <field name="state"/> |
1806 | 962 | <button | 948 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill" states="draft,waiting,confirmed,assigned"/> |
1807 | 963 | name="%(stock.track_line)d" | 949 | <button name="265" string="D" type="action" icon="gtk-convert" states="draft,waiting,confirmed,assigned"/> |
1798 | 964 | string="Split in production lots" | ||
1799 | 965 | type="action" icon="gtk-justify-fill" | ||
1800 | 966 | states="draft,waiting,confirmed,assigned" /> | ||
1801 | 967 | <button | ||
1802 | 968 | name="%(stock.move_scrap)d" | ||
1803 | 969 | string="Scrap Products" type="action" | ||
1804 | 970 | icon="gtk-convert" | ||
1805 | 971 | states="draft,waiting,confirmed,assigned" /> | ||
1808 | 972 | </tree> | 950 | </tree> |
1809 | 973 | <form string="Stock Moves"> | 951 | <form string="Stock Moves"> |
1810 | 974 | <notebook colspan="4"> | 952 | <notebook colspan="4"> |
1811 | @@ -977,7 +955,7 @@ | |||
1812 | 977 | <field name="location_id" domain="[('usage','=','internal')]"/> | 955 | <field name="location_id" domain="[('usage','=','internal')]"/> |
1813 | 978 | <field name="location_dest_id" domain="[('usage','<>','view')]"/> | 956 | <field name="location_dest_id" domain="[('usage','<>','view')]"/> |
1814 | 979 | <field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)"/> | 957 | <field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)"/> |
1816 | 980 | <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" /> | 958 | <field name="product_qty" select="1" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> |
1817 | 981 | <field name="product_uom"/> | 959 | <field name="product_uom"/> |
1818 | 982 | <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> | 960 | <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> |
1819 | 983 | <field groups="product.group_uos" name="product_uos_qty"/> | 961 | <field groups="product.group_uos" name="product_uos_qty"/> |
1820 | @@ -985,20 +963,17 @@ | |||
1821 | 985 | <field invisible="1" name="date"/> | 963 | <field invisible="1" name="date"/> |
1822 | 986 | <field name="date_planned"/> | 964 | <field name="date_planned"/> |
1823 | 987 | <field name="date_expected" string="Date Expected"/> | 965 | <field name="date_expected" string="Date Expected"/> |
1829 | 988 | <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]"/> | 966 | <field name="prodlot_id" select="1" groups="base.group_extended" context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=?',product_id)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> |
1830 | 989 | <field name="prodlot_id" groups="base.group_extended" | 967 | <field name="prodlot_id" groups="base.group_extended"/> |
1826 | 990 | context="{'location_id':location_id, 'product_id':product_id}" | ||
1827 | 991 | domain="[('product_id','=?',product_id)]" | ||
1828 | 992 | on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> | ||
1831 | 993 | <field groups="base.group_extended" name="tracking_id"/> | 968 | <field groups="base.group_extended" name="tracking_id"/> |
1832 | 994 | <label/> | 969 | <label/> |
1834 | 995 | <button name="%(track_line)d" string="Split in production lots" type="action" icon="gtk-justify-fill"/> | 970 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill"/> |
1835 | 996 | <separator colspan="4" string="Move State"/> | 971 | <separator colspan="4" string="Move State"/> |
1836 | 997 | <field name="state"/> | 972 | <field name="state"/> |
1837 | 998 | <group colspan="2"> | 973 | <group colspan="2"> |
1841 | 999 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> | 974 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> |
1842 | 1000 | <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-no"/> | 975 | <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-no"/> |
1843 | 1001 | <button name="action_cancel" states="assigned" string="Cancel" type="object" icon="gtk-cancel"/> | 976 | <button name="action_cancel" states="assigned" string="Cancel" type="object" icon="gtk-cancel"/> |
1844 | 1002 | </group> | 977 | </group> |
1845 | 1003 | </page> | 978 | </page> |
1846 | 1004 | <page string="Return Picking History"> | 979 | <page string="Return Picking History"> |
1847 | @@ -1013,7 +988,7 @@ | |||
1848 | 1013 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-yes"/> | 988 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-yes"/> |
1849 | 1014 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" groups="base.group_extended" icon="gtk-apply"/> | 989 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" groups="base.group_extended" icon="gtk-apply"/> |
1850 | 1015 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> | 990 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/> |
1852 | 1016 | <button name="%(action_partial_picking)d" states="assigned" string="Picking Done" type="action" icon="gtk-execute"/> | 991 | <button name="267" states="assigned" string="Picking Done" type="action" icon="gtk-execute"/> |
1853 | 1017 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> | 992 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> |
1854 | 1018 | </group> | 993 | </group> |
1855 | 1019 | </page> | 994 | </page> |
1856 | @@ -1022,14 +997,15 @@ | |||
1857 | 1022 | </page> | 997 | </page> |
1858 | 1023 | <page string="Other info" groups="base.group_extended"> | 998 | <page string="Other info" groups="base.group_extended"> |
1859 | 1024 | <field name="active"/> | 999 | <field name="active"/> |
1860 | 1000 | <field name="date_done"/> | ||
1861 | 1025 | <field name="auto_picking"/> | 1001 | <field name="auto_picking"/> |
1862 | 1002 | <field name="type"/> | ||
1863 | 1026 | <newline/> | 1003 | <newline/> |
1867 | 1027 | <field name="date"/> | 1004 | |
1865 | 1028 | <field name="date_done"/> | ||
1866 | 1029 | <field name="move_type"/> | ||
1868 | 1030 | </page> | 1005 | </page> |
1869 | 1031 | </notebook> | 1006 | </notebook> |
1870 | 1032 | </form> | 1007 | </form> |
1871 | 1008 | |||
1872 | 1033 | </field> | 1009 | </field> |
1873 | 1034 | </record> | 1010 | </record> |
1874 | 1035 | 1011 | ||
1875 | @@ -1044,14 +1020,14 @@ | |||
1876 | 1044 | <filter icon="terp-stock" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Outgoing Orders"/> | 1020 | <filter icon="terp-stock" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Outgoing Orders"/> |
1877 | 1045 | <separator orientation="vertical"/> | 1021 | <separator orientation="vertical"/> |
1878 | 1046 | 1022 | ||
1881 | 1047 | <field name="name"/> | 1023 | <field name="partner_id" select="1"/> |
1882 | 1048 | <field name="address_id" /> | 1024 | <field name="address_id" context="{'contact_display':'partner'}" select="1"/> |
1883 | 1049 | <!-- <field name="company_id" widget="selection"/>--> | 1025 | <!-- <field name="company_id" widget="selection"/>--> |
1884 | 1050 | 1026 | ||
1885 | 1051 | </group> | 1027 | </group> |
1886 | 1052 | <newline/> | 1028 | <newline/> |
1887 | 1053 | <group expand="1" string="Group By..." colspan="4" col="8"> | 1029 | <group expand="1" string="Group By..." colspan="4" col="8"> |
1889 | 1054 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'address_id'}"/> | 1030 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'partner_id'}"/> |
1890 | 1055 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> | 1031 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> |
1891 | 1056 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> | 1032 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> |
1892 | 1057 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> | 1033 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> |
1893 | @@ -1067,7 +1043,9 @@ | |||
1894 | 1067 | <field name="view_type">form</field> | 1043 | <field name="view_type">form</field> |
1895 | 1068 | <field name="view_mode">tree,form,calendar</field> | 1044 | <field name="view_mode">tree,form,calendar</field> |
1896 | 1069 | <field name="domain">[('type','=','out')]</field> | 1045 | <field name="domain">[('type','=','out')]</field> |
1897 | 1046 | <!-- | ||
1898 | 1070 | <field name="context">{'contact_display': 'partner'}</field> | 1047 | <field name="context">{'contact_display': 'partner'}</field> |
1899 | 1048 | --> | ||
1900 | 1071 | <field name="search_view_id" ref="view_picking_out_search"/> | 1049 | <field name="search_view_id" ref="view_picking_out_search"/> |
1901 | 1072 | </record> | 1050 | </record> |
1902 | 1073 | <record id="action_picking_tree_out_view1_waiting" model="ir.actions.act_window.view"> | 1051 | <record id="action_picking_tree_out_view1_waiting" model="ir.actions.act_window.view"> |
1903 | @@ -1096,7 +1074,8 @@ | |||
1904 | 1096 | <field name="arch" type="xml"> | 1074 | <field name="arch" type="xml"> |
1905 | 1097 | <tree colors="blue:state in ('draft');grey:state in ('done');red:state not in ('cancel', 'done') and date < current_date" string="Picking list"> | 1075 | <tree colors="blue:state in ('draft');grey:state in ('done');red:state not in ('cancel', 'done') and date < current_date" string="Picking list"> |
1906 | 1098 | <field name="name"/> | 1076 | <field name="name"/> |
1908 | 1099 | <field name="address_id"/> | 1077 | <field name="partner_id"/> |
1909 | 1078 | <field name="address_id" context="{'contact_display':'partner'}"/> | ||
1910 | 1100 | <field name="backorder_id" groups="base.group_extended"/> | 1079 | <field name="backorder_id" groups="base.group_extended"/> |
1911 | 1101 | <field name="origin"/> | 1080 | <field name="origin"/> |
1912 | 1102 | <field name="date"/> | 1081 | <field name="date"/> |
1913 | @@ -1113,18 +1092,19 @@ | |||
1914 | 1113 | <field name="model">stock.picking</field> | 1092 | <field name="model">stock.picking</field> |
1915 | 1114 | <field name="type">form</field> | 1093 | <field name="type">form</field> |
1916 | 1115 | <field name="arch" type="xml"> | 1094 | <field name="arch" type="xml"> |
1918 | 1116 | <form string="Input Picking List"> | 1095 | <form string="Incoming Picking List"> |
1919 | 1117 | <group colspan="4" col="6"> | 1096 | <group colspan="4" col="6"> |
1921 | 1118 | 1097 | <field name="name" select="1" readonly="1"/> | |
1922 | 1119 | <field name="name" readonly="1"/> | 1098 | <field name="name" readonly="1"/> |
1923 | 1120 | <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" /> | ||
1924 | 1121 | <field name="origin"/> | ||
1925 | 1122 | <field name="backorder_id" readonly="1" groups="base.group_extended"/> | ||
1926 | 1123 | <field name="date"/> | ||
1927 | 1124 | <field name="type"/> | ||
1928 | 1125 | <field name="min_date" readonly="1"/> | 1099 | <field name="min_date" readonly="1"/> |
1929 | 1126 | <field name="invoice_state" string="Invoice Control"/> | ||
1930 | 1127 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> | 1100 | <field name="company_id" groups="base.group_multi_company" widget="selection"/> |
1931 | 1101 | <field name="partner_id" colspan="4"/> | ||
1932 | 1102 | <field name="address_id" context="{'contact_display':'partner'}" on_change="onchange_partner_in(address_id)" colspan="4"/> | ||
1933 | 1103 | <field name="move_type"/> | ||
1934 | 1104 | <field name="origin" readonly="1"/> | ||
1935 | 1105 | <field name="date" select="1" /> | ||
1936 | 1106 | <field name="backorder_id" groups="base.group_extended" readonly="1"/> | ||
1937 | 1107 | |||
1938 | 1128 | </group> | 1108 | </group> |
1939 | 1129 | <notebook colspan="4"> | 1109 | <notebook colspan="4"> |
1940 | 1130 | <page string="General Information"> | 1110 | <page string="General Information"> |
1941 | @@ -1136,15 +1116,8 @@ | |||
1942 | 1136 | <field name="location_dest_id"/> | 1116 | <field name="location_dest_id"/> |
1943 | 1137 | <field name="prodlot_id" groups="base.group_extended"/> | 1117 | <field name="prodlot_id" groups="base.group_extended"/> |
1944 | 1138 | <field name="state"/> | 1118 | <field name="state"/> |
1954 | 1139 | <button | 1119 | <button name="266" string="Split in production lots" type="action" icon="gtk-justify-fill" states="draft,waiting,confirmed,assigned"/> |
1955 | 1140 | name="%(stock.track_line)d" | 1120 | <button name="265" string="Scrap Products" type="action" icon="gtk-convert" context="{'scrap': True}" states="draft,waiting,confirmed,assigned"/> |
1947 | 1141 | string="Split in production lots" | ||
1948 | 1142 | type="action" icon="gtk-justify-fill" | ||
1949 | 1143 | states="draft,waiting,confirmed,assigned" /> | ||
1950 | 1144 | <button name="%(stock.move_scrap)d" | ||
1951 | 1145 | string="Scrap Products" type="action" | ||
1952 | 1146 | icon="gtk-convert" context="{'scrap': True}" | ||
1953 | 1147 | states="draft,waiting,confirmed,assigned" /> | ||
1956 | 1148 | </tree> | 1121 | </tree> |
1957 | 1149 | <form string="Stock Moves"> | 1122 | <form string="Stock Moves"> |
1958 | 1150 | <notebook colspan="4"> | 1123 | <notebook colspan="4"> |
1959 | @@ -1164,14 +1137,11 @@ | |||
1960 | 1164 | <newline/> | 1137 | <newline/> |
1961 | 1165 | <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]"/> | 1138 | <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]"/> |
1962 | 1166 | <newline/> | 1139 | <newline/> |
1967 | 1167 | <field name="prodlot_id" groups="base.group_extended" | 1140 | <field name="prodlot_id" select="1" groups="base.group_extended" context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=?',product_id)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> |
1964 | 1168 | context="{'location_id':location_id, 'product_id':product_id}" | ||
1965 | 1169 | domain="[('product_id','=?',product_id)]" | ||
1966 | 1170 | on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/> | ||
1968 | 1171 | <field groups="base.group_extended" name="tracking_id"/> | 1141 | <field groups="base.group_extended" name="tracking_id"/> |
1969 | 1172 | <newline/> | 1142 | <newline/> |
1970 | 1173 | <label/> | 1143 | <label/> |
1972 | 1174 | <button groups="base.group_extended" name="%(track_line)d" string="Split in production lots" type="action" icon="gtk-justify-fill"/> | 1144 | <button groups="base.group_extended" name="266" string="Split in production lots" type="action" icon="gtk-justify-fill"/> |
1973 | 1175 | <separator colspan="4" string="Move State"/> | 1145 | <separator colspan="4" string="Move State"/> |
1974 | 1176 | <field name="state"/> | 1146 | <field name="state"/> |
1975 | 1177 | <group colspan="2"> | 1147 | <group colspan="2"> |
1976 | @@ -1188,7 +1158,7 @@ | |||
1977 | 1188 | </field> | 1158 | </field> |
1978 | 1189 | <group col="7" colspan="4"> | 1159 | <group col="7" colspan="4"> |
1979 | 1190 | <label colspan="5"/> | 1160 | <label colspan="5"/> |
1981 | 1191 | <button name="%(act_stock_picking_move_wizard)d" string="Unreceived Products" type="action" states="draft" icon="gtk-redo"/> | 1161 | <button name="288" string="Unreceived Products" type="action" states="draft" icon="gtk-redo"/> |
1982 | 1192 | </group> | 1162 | </group> |
1983 | 1193 | <group col="10" colspan="4"> | 1163 | <group col="10" colspan="4"> |
1984 | 1194 | <field name="state" readonly="1"/> | 1164 | <field name="state" readonly="1"/> |
1985 | @@ -1196,13 +1166,21 @@ | |||
1986 | 1196 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> | 1166 | <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/> |
1987 | 1197 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> | 1167 | <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/> |
1988 | 1198 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_extended" icon="gtk-jump-to"/> | 1168 | <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_extended" icon="gtk-jump-to"/> |
1990 | 1199 | <button name="%(action_partial_picking)d" states="assigned" string="Products Received" type="action" icon="gtk-ok"/> | 1169 | <button name="267" states="assigned" string="Products Received" type="action" icon="gtk-ok"/> |
1991 | 1200 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> | 1170 | <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel"/> |
1992 | 1201 | </group> | 1171 | </group> |
1993 | 1202 | </page> | 1172 | </page> |
1994 | 1203 | <page string="Notes"> | 1173 | <page string="Notes"> |
1995 | 1204 | <field colspan="4" name="note" nolabel="1"/> | 1174 | <field colspan="4" name="note" nolabel="1"/> |
1996 | 1205 | </page> | 1175 | </page> |
1997 | 1176 | <page string="Other info" groups="base.group_extended"> | ||
1998 | 1177 | <field name="invoice_state" string="Invoice Control"/> | ||
1999 | 1178 | <field name="active"/> | ||
2000 | 1179 | <field name="date_done"/> | ||
2001 | 1180 | <field name="auto_picking"/> | ||
2002 | 1181 | <field name="type"/> | ||
2003 | 1182 | </page> | ||
2004 | 1183 | |||
2005 | 1206 | </notebook> | 1184 | </notebook> |
2006 | 1207 | </form> | 1185 | </form> |
2007 | 1208 | </field> | 1186 | </field> |
2008 | @@ -1220,14 +1198,13 @@ | |||
2009 | 1220 | <filter icon="terp-stock" string="Back Order" domain="[('backorder_id', '!=', False)]" help="Has Back Order" groups="base.group_extended"/> | 1198 | <filter icon="terp-stock" string="Back Order" domain="[('backorder_id', '!=', False)]" help="Has Back Order" groups="base.group_extended"/> |
2010 | 1221 | <separator orientation="vertical"/> | 1199 | <separator orientation="vertical"/> |
2011 | 1222 | <field name="name"/> | 1200 | <field name="name"/> |
2014 | 1223 | <field name="address_id"/> | 1201 | <field name="partner_id" select="1"/> |
2015 | 1224 | <field name="company_id" widget="selection" groups="base.group_multi_company" /> | 1202 | <field name="address_id" context="{'contact_display':'partner'}" select="1"/> |
2016 | 1225 | </group> | 1203 | </group> |
2017 | 1226 | <newline/> | 1204 | <newline/> |
2018 | 1227 | <group expand="1" string="Group By..." colspan="4" col="8"> | 1205 | <group expand="1" string="Group By..." colspan="4" col="8"> |
2019 | 1228 | <filter icon="terp-stock" name="state" string="State" domain="[]" context="{'group_by':'state'}"/> | 1206 | <filter icon="terp-stock" name="state" string="State" domain="[]" context="{'group_by':'state'}"/> |
2020 | 1229 | <separator orientation="vertical" /> | 1207 | <separator orientation="vertical" /> |
2021 | 1230 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'address_id'}"/> | ||
2022 | 1231 | <separator orientation="vertical" /> | 1208 | <separator orientation="vertical" /> |
2023 | 1232 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> | 1209 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> |
2024 | 1233 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> | 1210 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> |
2025 | @@ -1246,7 +1223,10 @@ | |||
2026 | 1246 | <field name="view_type">form</field> | 1223 | <field name="view_type">form</field> |
2027 | 1247 | <field name="view_mode">tree,form,calendar</field> | 1224 | <field name="view_mode">tree,form,calendar</field> |
2028 | 1248 | <field name="domain">[('type','=','in')]</field> | 1225 | <field name="domain">[('type','=','in')]</field> |
2029 | 1226 | <!-- | ||
2030 | 1249 | <field name="context">{'contact_display': 'partner',"search_default_available":1}</field> | 1227 | <field name="context">{'contact_display': 'partner',"search_default_available":1}</field> |
2031 | 1228 | --> | ||
2032 | 1229 | <field name="context">{"search_default_available":1}</field> | ||
2033 | 1250 | <field name="search_view_id" ref="view_picking_in_search"/> | 1230 | <field name="search_view_id" ref="view_picking_in_search"/> |
2034 | 1251 | </record> | 1231 | </record> |
2035 | 1252 | <record id="action_invoice_tree5_view1" model="ir.actions.act_window.view"> | 1232 | <record id="action_invoice_tree5_view1" model="ir.actions.act_window.view"> |
2036 | @@ -1285,7 +1265,6 @@ | |||
2037 | 1285 | <newline/> | 1265 | <newline/> |
2038 | 1286 | <group expand="1" string="Group By..." colspan="4" col="8"> | 1266 | <group expand="1" string="Group By..." colspan="4" col="8"> |
2039 | 1287 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> | 1267 | <filter string="State" icon="terp-stock" domain="[]" context="{'group_by':'state'}"/> |
2040 | 1288 | <filter string="Partner" icon="terp-stock" domain="[]" context="{'group_by':'address_id'}"/> | ||
2041 | 1289 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> | 1268 | <filter string="Order Date" icon="terp-stock" domain="[]" context="{'group_by':'date'}"/> |
2042 | 1290 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> | 1269 | <filter string="Expected Date" icon="terp-stock" domain="[]" context="{'group_by':'min_date'}"/> |
2043 | 1291 | <filter string="Origin" icon="terp-stock" domain="[]" context="{'group_by':'origin'}"/> | 1270 | <filter string="Origin" icon="terp-stock" domain="[]" context="{'group_by':'origin'}"/> |
2044 | @@ -1301,7 +1280,10 @@ | |||
2045 | 1301 | <field name="view_type">form</field> | 1280 | <field name="view_type">form</field> |
2046 | 1302 | <field name="view_mode">tree,form,calendar</field> | 1281 | <field name="view_mode">tree,form,calendar</field> |
2047 | 1303 | <field name="domain">[('type','=','internal')]</field> | 1282 | <field name="domain">[('type','=','internal')]</field> |
2048 | 1283 | <!-- | ||
2049 | 1304 | <field name="context">{'contact_display': 'partner',"search_default_confirmed":1}</field> | 1284 | <field name="context">{'contact_display': 'partner',"search_default_confirmed":1}</field> |
2050 | 1285 | --> | ||
2051 | 1286 | <field name="context">{"search_default_confirmed":1}</field> | ||
2052 | 1305 | <field name="search_view_id" ref="view_picking_internal_search"/> | 1287 | <field name="search_view_id" ref="view_picking_internal_search"/> |
2053 | 1306 | </record> | 1288 | </record> |
2054 | 1307 | <menuitem action="action_picking_tree6" id="menu_action_picking_tree6" parent="menu_stock_warehouse_mgmt" groups="base.group_extended" sequence="2"/> | 1289 | <menuitem action="action_picking_tree6" id="menu_action_picking_tree6" parent="menu_stock_warehouse_mgmt" groups="base.group_extended" sequence="2"/> |
forgot to push the changes