Odoo Hilfe

0

0
3 Antworten
1
Avatar

Anil R. Kesariya (AKE) Indien

--Anil R. Kesariya (AKE)--
6604
| 8 7 10
Rajkot, Indien
--Anil R. Kesariya (AKE)--

Odoo Techno Functional Expert

* Engaged with odoo since May - 2012.

* Customise existing module or develop new module base on customer requirement.

* Played key developer role in many past and running projects.

* Expert in requirement gathering of business and transforming requirement into odoo platform.

* Major expertise in core modules, database, report development and theme development.

* Integration expert.

Linkedin  : https://in.linkedin.com/in/anil-kesariya-97b20a66

Upwork : https://www.upwork.com/fl/anilkesariya


Anil R. Kesariya (AKE) Indien
11.01.18, 05:16

Gagea,

Step 1 : Set boolean field on res.partner model

example :

_inherit = 'res.partner'
is_shipping_contact = fields.Boolean("Is Shipping Contact?")
# Inherit partner view and add this boolean field

Step 2 :  Based on that boolean field use condition/ apply condition where you have a selection of customer field.

Apply this domain in the field, partner wherever you want to list the contacts/customers/partner which should be flagged with shipping.

This would be domain :


domain = "[('is_shipping_contact','=',True)]

Hope this will give you an idea, what needs to be done.


Rgds,

Anil.

0
Pujara Geet Indien
11.01.18, 06:02

Hello,

In Contact Menu You will find One Page Contact&Address,

Click on Create Button And One Wizard Open Now, Create Address Using Boolean That which type of Address You Want to Create,

For Example

Click On Invoice address or

and Fill Details and save Then,
Go to Sales>

Configuration>Settings

Click On

Display 3 fields on sales orders: customer, invoice address, delivery address

Using This Configuration It'll Display Both Address On Order/Invoice.


Thanks


 
0
Gagea Alexandru Rumänien
11.01.18, 06:58

@Anil : I'm unable to reply to your comment, however, initially i added in studio on the res.contact model a boolean checkbox ( ex: is shipping contact) and on an invoice, at the shipping address I've added the exact domain  [('is_shipping_contact','=',True)] 

you provided. If i check the shipping box on 2 different companies( at the contact & addresses info ), it will give me in the invoice - shipping address, the contacts from both companies. I'm not exactly sure how to do it in studio to give it only from the selected customer...


@Pujara :  I have the option activated, in those address fields, i want to have only the contact and address of the customer i select. At the moment its displaying all of the contacts

Fragen Sie
Keep Informed
1 Verfolger
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now